Make WordPress Core

Changeset 21349


Ignore:
Timestamp:
07/26/2012 03:01:44 PM (12 years ago)
Author:
ryan
Message:

Remove debug cruft. Props ocean90. fixes #21315

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r21315 r21349  
    12341234
    12351235    // Check global in case errors have been added on this pageload
    1236     if ( ! count( $wp_settings_errors ) ) {
     1236    if ( ! count( $wp_settings_errors ) )
    12371237        return array();
    1238     }
    12391238
    12401239    // Filter the results to those of a specific setting if one was set
    12411240    if ( $setting ) {
    12421241        foreach ( (array) $wp_settings_errors as $key => $details ) {
    1243             debug_log( $details['setting'] );
    12441242            if ( $setting == $details['setting'] )
    12451243                $setting_errors[] = $wp_settings_errors[$key];
Note: See TracChangeset for help on using the changeset viewer.