[wp-trac] [WordPress Trac] #37436: "Popular Plugin" UI in WordPress News dashboard widget doesn't respect DISALLOW_FILE_MODS

WordPress Trac noreply at wordpress.org
Fri Oct 14 10:26:10 UTC 2016


#37436: "Popular Plugin" UI in WordPress News dashboard widget doesn't respect
DISALLOW_FILE_MODS
-----------------------------+------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.7
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-unit-tests => has-patch


Comment:

 @rachelbaker `wp_disallow_file_mods()` is surely nice to have, but needs a
 filter to be actually useful. That way we could more easily write unit
 tests for the code using it. We should do that in a separate ticket
 though. For this ticket, I'd go with [attachment:37436.2.patch] and the
 upgrade routine.

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


More information about the wp-trac mailing list