Skip to content

Commit 7f59459

Browse files
committed
Add backticks around the class names
Still under discussion is the BackPress mention in the paragraph.
1 parent a03e907 commit 7f59459

File tree

1 file changed

+1
-1
lines changed
  • wordpress-coding-standards

1 file changed

+1
-1
lines changed

wordpress-coding-standards/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Class file names should be based on the class name with `class-` prepended and t
383383
class-wp-error.php
384384
```
385385

386-
This file-naming standard is for all current and new files with classes. There is one exception for three files that contain code that got ported into BackPress: class.wp-dependencies.php, class.wp-scripts.php, class.wp-styles.php. Those files are prepended with `class.`, a dot after the word class instead of a hyphen.
386+
This file-naming standard is for all current and new files with classes. There is one exception for three files that contain code that got ported into BackPress: `class.wp-dependencies.php`, `class.wp-scripts.php`, `class.wp-styles.php`. Those files are prepended with `class.`, a dot after the word class instead of a hyphen.
387387

388388
Files containing template tags in `wp-includes` should have `-template` appended to the end of the name so that they are obvious.
389389

0 commit comments

Comments
 (0)