[wp-trac] [WordPress Trac] #46420: Warnings on front-end when trying to display the archive for a non-existent term of a custom taxonomy

WordPress Trac noreply at wordpress.org
Wed Jul 31 06:07:48 UTC 2019


#46420: Warnings on front-end when trying to display the archive for a non-existent
term of a custom taxonomy
-------------------------------------------------+-------------------------
 Reporter:  zaantar                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.3
Component:  Taxonomy                             |     Version:  5.1
 Severity:  minor                                |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  template
  testing dev-feedback                           |
-------------------------------------------------+-------------------------

Comment (by donmhico):

 On my attachment,
 [https://core.trac.wordpress.org/attachment/ticket/46420/46420.2.diff
 46420.2.diff], line 1607. You'll see

 {{{#!php
 $title = __( 'Not found' );
 }}}

 I'm not sure if this is the `$title` in this case. Any feedback would be
 greatly appreciated.

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


More information about the wp-trac mailing list