WordPress.org

Plugin Directory

Changeset 632889


Ignore:
Timestamp:
12/02/12 05:00:51 (17 months ago)
Author:
pento
Message:

Fixed sanity checking of normal updates marked for SVN updates

Location:
automatic-updater/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • automatic-updater/trunk/automatic-updater.php

    r632876 r632889  
    220220            return; 
    221221 
    222         if ( $this->options['svn'] ) 
     222        if ( $this->options['svn']['core'] ) 
    223223            return; 
    224224 
     
    323323            // Remove any plugins from the list that may've already been updated 
    324324            if ( version_compare( $plugin->Version, $plugin->update->new_version, '>=' ) ) 
     325                unset( $plugins[ $id ] ); 
     326 
     327            // Remove any plugins that are marked for SVN update 
     328            if ( array_key_exists( $id, $options['svn']['plugins'] ) ) 
    325329                unset( $plugins[ $id ] ); 
    326330 
     
    414418                unset( $themes[ $id ] ); 
    415419 
     420            // Remove any themes that are marked for SVN update 
     421            if ( array_key_exists( $id, $options['svn']['themes'] ) ) 
     422                unset( $themes[ $id ] ); 
     423 
    416424            // Remove any themes that have failed to upgrade 
    417425            if ( ! empty( $this->options['retries']['themes'][ $id ] ) ) { 
     
    428436            return; 
    429437 
    430     $this->running = true; 
     438        $this->running = true; 
    431439 
    432440        do_action( 'auto_updater_before_update', 'themes' ); 
  • automatic-updater/trunk/readme.txt

    r632886 r632889  
    4646= 0.8.1 = 
    4747* FIXED: Some unnecessary characters appearing in Admin when SVN isn't being used 
     48* FIXED: Sanity checking of normal updates marked for SVN updates 
    4849 
    4950= 0.8 = 
Note: See TracChangeset for help on using the changeset viewer.