[wp-trac] [WordPress Trac] #42513: WP_Theme::get_post_templates() is extremely inefficient for large themes

WordPress Trac noreply at wordpress.org
Sun Nov 12 13:13:43 UTC 2017


#42513: WP_Theme::get_post_templates() is extremely inefficient for large themes
-------------------------------------+-------------------------------------
 Reporter:  gschoppe                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:  4.8.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-unit-    |     Focuses:  administration,
  tests                              |  performance
-------------------------------------+-------------------------------------

Comment (by gschoppe):

 I have opened a related ticket to refactor the regex used to parse file
 header comments, so that get_file_data will support the single line
 variant.

 Related Ticket: [https://core.trac.wordpress.org/ticket/42517 #42517]

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


More information about the wp-trac mailing list