[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 01:51:47 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 needs-unit-tests  |     Focuses:
----------------------------------------+------------------

Comment (by rachelbaker):

 @swissspidy I don't see a straightforward way to test this change either.
 Do you think it would also make sense to make a wrapper function for
 `defined( 'DISALLOW_FILE_EDIT' ) && DISALLOW_FILE_EDIT` as well?

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


More information about the wp-trac mailing list