Changeset 34018
- Timestamp:
- 09/10/2015 09:23:17 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r33734 r34018 1949 1949 wp_cache_delete( 'plugins', 'plugins' ); 1950 1950 } 1951 1952 /** 1953 * @param string $plugin 1954 */ 1955 function plugin_sandbox_scrape( $plugin ) { 1956 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); 1957 include( WP_PLUGIN_DIR . '/' . $plugin ); 1958 } -
trunk/src/wp-admin/plugins.php
r33983 r34018 149 149 @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. 150 150 // Go back to "sandbox" scope so we get the same errors as before 151 /**152 * @param string $plugin153 */154 function plugin_sandbox_scrape( $plugin ) {155 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin );156 include( WP_PLUGIN_DIR . '/' . $plugin );157 }158 151 plugin_sandbox_scrape( $plugin ); 159 152 /** This action is documented in wp-admin/includes/plugin.php */
Note: See TracChangeset
for help on using the changeset viewer.