[wp-trac] [WordPress Trac] #31521: wp_title if archive of year w/o permalink fires php notice in locale.php

WordPress Trac noreply at wordpress.org
Fri Sep 1 12:53:59 UTC 2017


#31521: wp_title if archive of year w/o permalink fires php notice in locale.php
----------------------------------------+-----------------------------
 Reporter:  michelwppi                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  General                     |     Version:  4.1.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  template
----------------------------------------+-----------------------------

Comment (by herregroen):

 Currently looking at this.

 To help others, the steps to reproduce:

 1. set permalinks to plain.
 2. Add `wp_title` somewhere on your archive page.
 2. Go to `yourdomain.com?m=2017`.
 3. See the error before `wp_title` is output.

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


More information about the wp-trac mailing list