[wp-trac] [WordPress Trac] #37409: Broken & illogic conditional check in wp_get_document_title()

WordPress Trac noreply at wordpress.org
Tue Jul 19 17:17:52 UTC 2016


#37409: Broken & illogic conditional check in wp_get_document_title()
--------------------------+------------------------------
 Reporter:  ReneHermi     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.5.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ReneHermi):

 More testing indicated that is_home() must be removed completely if we
 consider to clean it up.
 My initial suggestion leads to conditional fault when
 mashsb_get_document_title() is used on any other page other than
 is_home().

 During my testing removing is_home() condition works flawless on all
 included conditions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37409#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list