Ticket #19377: settings-errors.2.diff
File settings-errors.2.diff, 592 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/template.php
function get_settings_errors( $setting = '', $sanitize = FALSE ) { 1319 1319 */ 1320 1320 function settings_errors( $setting = '', $sanitize = FALSE, $hide_on_update = FALSE ) { 1321 1321 1322 if ($hide_on_update AND $_GET['settings-updated']) return; 1322 if ( $hide_on_update && empty( $_GET['settings-updated'] ) ) 1323 return; 1323 1324 1324 1325 $settings_errors = get_settings_errors( $setting, $sanitize ); 1325 1326