Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295245

Display the page title, even if "0"

$
0
0

Updated: Comment 26

Problem/Motivation

#577424: The zero incident highlighted that we should double check our loose comparisons.
Here is the first bug I stumbled upon: the page title is not displayed if it is equal to "0".

Steps to reproduce: Create a new node, type "0" as a title, save. Title "0" is not displayed

Proposed resolution

Check title existence in page.html.twig; instead of it's emptiness

Remaining tasks

None

User interface changes

No UI changes

API changes

No API changes


Viewing all articles
Browse latest Browse all 295245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>