Make WordPress Core

Changeset 25468


Ignore:
Timestamp:
09/17/2013 04:07:35 AM (11 years ago)
Author:
dd32
Message:

WordPress Core Automatic Updates: Remove some debug. See #22704

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r25467 r25468  
    13951395            return false;
    13961396
    1397         /*wp_mail(
    1398             get_site_option( 'admin_email' ),
    1399             __METHOD__,
    1400             "Starting an upgrade for:\n\n" . var_export( compact( 'type', 'item' ), true ) . "\n\n" . wp_debug_backtrace_summary()
    1401         );*/
    1402 
    14031397        // Boom, This sites about to get a whole new splash of paint!
    14041398        $upgrade_result = $upgrader->upgrade( $item, array(
     
    14281422        }
    14291423
    1430         //var_dump( compact( 'type', 'item', 'upgrader', 'upgrade_result' ) );
    1431 
    14321424        wp_mail(
    14331425            get_site_option( 'admin_email' ),
     
    14531445            if ( get_site_option( $lock_name ) < ( time() - HOUR_IN_SECONDS ) )
    14541446                delete_site_option( $lock_name );
    1455             else { // The process is already locked
    1456                 echo "There's a lock in place";
     1447            else // The process is already locked
    14571448                return;
    1458             }
    14591449        }
    14601450        // Lock upgrades for us for half an hour
Note: See TracChangeset for help on using the changeset viewer.