[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 13:58:09 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:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 I found one file having the name "taxonomy-post_format.php". But as per
 the rule we have to name it "taxonomy-post-format.php" and also we need to
 follow consistency with the file name pattern.


 Filenames should be all lowercase with hyphens as word separators.
 Expected taxonomy-post-format.php, but found taxonomy-post_format.php.

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


More information about the wp-trac mailing list