#31032 closed enhancement (wontfix)
Add Warning Comment on wp-includes/functions.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
WordPress has wp-includes/functions.php. WP's theme also has a file named functions.php
Some people may edit wp-includes/functions.php, willing to edit his/her theme.
WARNING message on top of the wp-includes/functions.php will reduce such mistakes.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
I think this is too much of an edge case and really ins't needed. If someone is directly editing WP core files they don't know what they're doing to begin with. As well, if we're going to add message like this to
functions.php
, then shouldn't we add it toindex.php
, or perhaps eventaxonomy.php
as those are both file names used in themes? Where do we logically stop, because the rabbit hole goes deep?