Changeset 57606
- Timestamp:
- 02/12/2024 11:08:55 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r57592 r57606 500 500 501 501 // Load active plugins. 502 $all_plugin_data = get_option( 'plugin_data', array() ); 503 $failed_plugins = array(); 502 $all_plugin_data = get_option( 'plugin_data', array() ); 503 $failed_plugins = array(); 504 $plugins_dir_strlen = strlen( trailingslashit( WP_PLUGIN_DIR ) ); 504 505 foreach ( wp_get_active_and_valid_plugins() as $plugin ) { 505 $plugin_file = s tr_replace( trailingslashit( WP_PLUGIN_DIR ), '', $plugin );506 $plugin_file = substr( $plugin, $plugins_dir_strlen ); 506 507 $plugin_headers = $all_plugin_data[ $plugin_file ]; 507 508 $errors = array();
Note: See TracChangeset
for help on using the changeset viewer.