WordPress.org

Make WordPress Core

Ticket #22050: 22050.patch

File 22050.patch, 517 bytes (added by bradyvercher, 3 years ago)
  • wp-admin/includes/template.php

     
    12031203 
    12041204        // Filter the results to those of a specific setting if one was set 
    12051205        if ( $setting ) { 
     1206                $setting_errors = array(); 
    12061207                foreach ( (array) $wp_settings_errors as $key => $details ) { 
    12071208                        if ( $setting == $details['setting'] ) 
    12081209                                $setting_errors[] = $wp_settings_errors[$key];