Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#31032 closed enhancement (wontfix)

Add Warning Comment on wp-includes/functions.php

Reported by: ounziw's profile ounziw 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)

wp-includes_functions.patch (562 bytes) - added by ounziw 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @valendesigns
10 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

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 to index.php, or perhaps even taxonomy.php as those are both file names used in themes? Where do we logically stop, because the rabbit hole goes deep?

#2 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.