Changeset 45590 for trunk/src/wp-includes/load.php
- Timestamp:
- 07/02/2019 11:41:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r45580 r45590 110 110 $PHP_SELF = $_SERVER['PHP_SELF']; 111 111 if ( empty( $PHP_SELF ) ) { 112 $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace( '/(\?.*)?$/', '', $_SERVER['REQUEST_URI'] ); 112 $_SERVER['PHP_SELF'] = preg_replace( '/(\?.*)?$/', '', $_SERVER['REQUEST_URI'] ); 113 $PHP_SELF = $_SERVER['PHP_SELF']; 113 114 } 114 115 } … … 635 636 return $mu_plugins; 636 637 } 637 if ( ! $dh = opendir( WPMU_PLUGIN_DIR ) ) { 638 $dh = opendir( WPMU_PLUGIN_DIR ); 639 if ( ! $dh ) { 638 640 return $mu_plugins; 639 641 } … … 1165 1167 require_once ABSPATH . WPINC . '/plugin.php'; 1166 1168 1167 $locales = $locations = array(); 1169 $locales = array(); 1170 $locations = array(); 1168 1171 1169 1172 while ( true ) {
Note: See TracChangeset
for help on using the changeset viewer.