[wp-trac] [WordPress Trac] #59160: The file name is not correct as per the WordPress Phpcs rule in twentythirteen theme

WordPress Trac noreply at wordpress.org
Mon Aug 21 14:03:28 UTC 2023


#59160: The file name is not correct as per the WordPress Phpcs rule in
twentythirteen theme
---------------------------+-------------------------
 Reporter:  himshekhar07   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  worksforme
 Keywords:                 |     Focuses:
---------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  needs-patch =>
 * resolution:   => worksforme
 * status:  new => closed
 * component:  Themes => Bundled Theme
 * milestone:  Awaiting Review =>


Comment:

 Hello and thanks for the ticket,

 `post_format` is the slug of the taxonomy, so it's expected that the
 archive template for this taxonomy would be `taxonomy-post_format.php`.

 `taxonomy-post-format.php` won't work to display the taxonomy archive :)

 Closing as `worksforme`.

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


More information about the wp-trac mailing list