#59160 closed defect (bug) (wontfix)
Twenty Thirteen: The file name is not correct as per the WordPress Phpcs rule
| Reported by: | himshekhar07 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | coding-standards |
Description
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.
Change History (2)
#1
@
3 years ago
- Component Themes → Bundled Theme
- Keywords needs-patch removed
- Milestone Awaiting Review
- Resolution → worksforme
- Status new → closed
#2
@
3 years ago
- Focuses coding-standards added
- Resolution worksforme → wontfix
- Summary The file name is not correct as per the WordPress Phpcs rule in twentythirteen theme → Twenty Thirteen: The file name is not correct as per the WordPress Phpcs rule
Please note that this file is excluded from WPCS checks, so this is a non-issue.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello and thanks for the ticket,
post_formatis the slug of the taxonomy, so it's expected that the archive template for this taxonomy would betaxonomy-post_format.php.taxonomy-post-format.phpwon't work to display the taxonomy archive :)Closing as
worksforme.