[wp-trac] [WordPress Trac] #23254: Empty Page Title Not Handled in Menu System

WordPress Trac noreply at wordpress.org
Mon Jan 21 20:57:57 UTC 2013


#23254: Empty Page Title Not Handled in Menu System
-------------------------------------+--------------------------
 Reporter:  cais                     |       Type:  defect (bug)
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  Menus
  Version:  3.5                      |   Severity:  normal
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------
 I noticed some peculiar menu layouts and sorted it out to having some
 pages with no titles (not sure the actual use case for a page without a
 title but it is in my test environments).

 The Walker class is recognizing the page exists and creating an
 appropriate `<a href=...>` wrapper for it but with no Page Title it is not
 being displayed. If this is by design I think it should be revisited and
 if this is a defect then the included patch (not very pretty) may offer a
 possible solution or at least a consideration.

 The patch checks if the Page Title is empty and if it is uses the Page ID
 as the title.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23254>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list