[wp-trac] [WordPress Trac] #27934: $wp_plugin_paths is null in plugin_basename

WordPress Trac noreply at wordpress.org
Mon Apr 21 06:54:05 UTC 2014


#27934: $wp_plugin_paths is null in plugin_basename
--------------------------+----------------------
 Reporter:  dsawardekar   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Plugins       |     Version:  3.9
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by rmccue):

 Replying to [comment:5 dsawardekar]:
 > Not sure if it's a partial install issue. I did a diff of the relevant
 files with the 3.9.0 tag to verify. No changes were detected.

 `wp-settings.php` should have `$GLOBALS['wp_plugin_paths'] = array();` on
 line 167.

 The only other thing I can think of is that you somehow have a customised
 `wp-settings.php`, or you're loading WordPress without loading this. We've
 seen this issue pop up before with WP-CLI, which uses a custom `wp-
 settings.php` and had to be updated to match.

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


More information about the wp-trac mailing list