[wp-trac] [WordPress Trac] #38766: Post type templates ignore the last post type if there is a trailing full stop.

WordPress Trac noreply at wordpress.org
Sun Nov 13 01:35:04 UTC 2016


#38766: Post type templates ignore the last post type if there is a trailing full
stop.
--------------------------------------------------+-----------------------
 Reporter:  peterwilsoncc                         |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  4.7
Component:  Posts, Post Types                     |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-opinion  |     Focuses:  template
--------------------------------------------------+-----------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests 2nd-
     opinion


Comment:

 Unit tests added in [attachment:38766.2.diff].

 After a second opinion, is regex's `u` modifier bad for performance?

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


More information about the wp-trac mailing list