[wp-trac] [WordPress Trac] #57278: Add filter to allow filtering of the must-use plugins list in the admin

WordPress Trac noreply at wordpress.org
Wed May 17 22:40:40 UTC 2023


#57278: Add filter to allow filtering of the must-use plugins list in the admin
-------------------------------------------------+-------------------------
 Reporter:  nateallen                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Plugins                              |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing has-testing-info                       |  administration
-------------------------------------------------+-------------------------

Comment (by zunaid321):

 Report

 This report confirms that the suggested patch fixes the problem.
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/3728

 Environment
 OS: Windows 11 (22H2)
 Web Server: nginx/1.23.4
 PHP: 7.4.33
 WordPress: 6.3-alpha-55505-src
 Browsers: Chrome Version 113.0.5672.126 (Official Build) (64-bit)
 Theme: Twenty Twenty-Three

 Steps

 Added the file: mu-loader.php with the mentioned code to the mu-plugins
 directory.
 Added Jetpack to the mu-plugins directory
 Added the above filter code to functions.php of my current theme.

 Results

 I was able to replicate the feature as mentioned in this ticket.

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


More information about the wp-trac mailing list