Changeset 21349 for trunk/wp-admin/includes/template.php
- Timestamp:
- 07/26/2012 03:01:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r21315 r21349 1234 1234 1235 1235 // Check global in case errors have been added on this pageload 1236 if ( ! count( $wp_settings_errors ) ) {1236 if ( ! count( $wp_settings_errors ) ) 1237 1237 return array(); 1238 }1239 1238 1240 1239 // Filter the results to those of a specific setting if one was set 1241 1240 if ( $setting ) { 1242 1241 foreach ( (array) $wp_settings_errors as $key => $details ) { 1243 debug_log( $details['setting'] );1244 1242 if ( $setting == $details['setting'] ) 1245 1243 $setting_errors[] = $wp_settings_errors[$key];
Note: See TracChangeset
for help on using the changeset viewer.