[wp-trac] [WordPress Trac] #38364: Introduce `wp_disallow_file_mods()` wrapper function
WordPress Trac
noreply at wordpress.org
Wed Oct 19 08:52:36 UTC 2016
#38364: Introduce `wp_disallow_file_mods()` wrapper function
-------------------------+-----------------------------
Reporter: swissspidy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
As a follow-up to #37436, we might wanna think about introducing a wrapper
function around `DISALLOW_FILE_MODS` checks. In such a
`wp_disallow_file_mods()`, we could add a filter to make code more
testable.
Related: #37699.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38364>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list