[wp-trac] [WordPress Trac] #38673: Introduce helper function for DISALLOW_FILE_MODS checks

WordPress Trac noreply at wordpress.org
Fri Apr 7 14:35:42 UTC 2017


#38673: Introduce helper function for DISALLOW_FILE_MODS checks
------------------------------+-------------------------
 Reporter:  MaximeCulea       |       Owner:  swissspidy
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.8
Component:  Upgrade/Install   |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-------------------------
Changes (by swissspidy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40394"]:
 {{{
 #!CommitTicketReference repository="" revision="40394"
 Upgrade/Install: Introduce `wp_disallow_file_mods()` helper function.

 This is a wrapper around the checks for the `DISALLOW_FILE_MODS` constant
 to determine whether file modifications are disallowed.

 Props MaximeCulea.
 Fixes #38673.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38673#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list