Plugin Directory

Changeset 847596


Ignore:
Timestamp:
01/29/2014 11:11:47 AM (12 years ago)
Author:
belinde
Message:

solite piccole sviste

Location:
autochmod
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • autochmod/tags/0.5/autochmod.php

    r847590 r847596  
    6363    public function delete_option_auto_updater_lock( $option ) {
    6464        $this->togli_permessi( ABSPATH );
    65         wp_unschedule_event( get_option('autochmod_safe_again_at'), 'rimuovi_permessi_scrittura' );
     65        wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    6666        delete_option( 'autochmod_safe_again_at' );
    6767        update_option( 'autochmod_protection_active', true );
     
    187187                case 'togli':
    188188                    $this->togli_permessi( ABSPATH );
     189                    wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    189190                    delete_option( 'autochmod_safe_again_at' );
    190191                    update_option( 'autochmod_protection_active', true );
     
    199200                case 'eterno':
    200201                    $this->metti_permessi( ABSPATH );
     202                    wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    201203                    update_option( 'autochmod_safe_again_at', 0 );
    202204                    update_option( 'autochmod_protection_active', false );
  • autochmod/trunk/autochmod.php

    r847590 r847596  
    6363    public function delete_option_auto_updater_lock( $option ) {
    6464        $this->togli_permessi( ABSPATH );
    65         wp_unschedule_event( get_option('autochmod_safe_again_at'), 'rimuovi_permessi_scrittura' );
     65        wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    6666        delete_option( 'autochmod_safe_again_at' );
    6767        update_option( 'autochmod_protection_active', true );
     
    187187                case 'togli':
    188188                    $this->togli_permessi( ABSPATH );
     189                    wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    189190                    delete_option( 'autochmod_safe_again_at' );
    190191                    update_option( 'autochmod_protection_active', true );
     
    199200                case 'eterno':
    200201                    $this->metti_permessi( ABSPATH );
     202                    wp_unschedule_event( get_option( 'autochmod_safe_again_at' ), 'rimuovi_permessi_scrittura' );
    201203                    update_option( 'autochmod_safe_again_at', 0 );
    202204                    update_option( 'autochmod_protection_active', false );
Note: See TracChangeset for help on using the changeset viewer.