Plugin Directory

Changeset 1785300


Ignore:
Timestamp:
12/12/2017 10:57:59 AM (8 years ago)
Author:
mediaburst
Message:

Update Metadata

Location:
fscf-sms
Files:
3 edited
7 copied

Legend:

Unmodified
Added
Removed
  • fscf-sms/tags/2.4.2/fscf-sms.php

    r838417 r1785300  
    44Plugin URI: http://wordpress.org/extend/plugins/contact-form-7-sms-addon/
    55Description: Send SMS notifications when somebody submits your contact form
    6 Version: 2.1.2
     6Version: 2.4.2
    77Author: Mediaburst
    88Author URI: http://www.mediaburst.co.uk/
    99*/
    10  
     10
    1111/*  Copyright 2012, Mediaburst Limited.
    1212
     
    3939    $versions = array_reverse( $versions );
    4040    $first_plugin = reset( $versions );
    41    
     41
    4242    // Require Clockwork plugin architecture
    4343    if( !class_exists( 'Clockwork_Plugin' ) ) {
    4444      require_once( dirname( dirname( __FILE__ ) ) . '/' . $first_plugin . '/lib/class-clockwork-plugin.php' );
    4545    }
    46    
     46
    4747    // Require each plugin, unless major version doesn't match
    4848    preg_match( '/([0-9]+)\./', reset( array_keys( $versions ) ), $matches );
    4949    $major_version = intval( $matches[1] );
    50    
     50
    5151    foreach( $GLOBALS['clockwork_plugins'] as $plugin => $version ) {
    5252      preg_match( '/([0-9]+)\./', $version, $matches );
    53      
     53
    5454      if( intval( $matches[1] ) < $major_version ) {
    5555        // If it's a major version behind, automatically deactivate it
     
    5858        $plugin_data = get_plugin_data( $plugin_path );
    5959        deactivate_plugins( $plugin_path );
    60        
     60
    6161        // Output a message to tell the admin what's going on
    6262        $message = '<div id="message" class="error"><p><strong>The plugin ' . $plugin_data['Name'] . ' has an important update available. It has been disabled until it has been updated.</strong></p></div>';
     
    6565        require_once( dirname( dirname( __FILE__ ) ) . '/' . $plugin . '/main.php' );
    6666      }
    67      
     67
    6868    }
    6969  }
    70  
     70
    7171}
    7272
  • fscf-sms/tags/2.4.2/readme.txt

    r1781429 r1785300  
    77Requires at least: 3.3.0
    88Tested up to: 4.0.0
    9 Stable tag: 2.4.1
     9Stable tag: 2.4.2
    1010
    1111Works with the Fast Secure Contact Form plugin to send SMS notifications when somebody
     
    7171== Changelog ==
    7272
     73= 2.4.2 =
     74* Security Hardening
     75
    7376= 2.4.0 =
    7477* Fix XSS Vulnerability
  • fscf-sms/trunk/fscf-sms.php

    r838417 r1785300  
    44Plugin URI: http://wordpress.org/extend/plugins/contact-form-7-sms-addon/
    55Description: Send SMS notifications when somebody submits your contact form
    6 Version: 2.1.2
     6Version: 2.4.2
    77Author: Mediaburst
    88Author URI: http://www.mediaburst.co.uk/
    99*/
    10  
     10
    1111/*  Copyright 2012, Mediaburst Limited.
    1212
     
    3939    $versions = array_reverse( $versions );
    4040    $first_plugin = reset( $versions );
    41    
     41
    4242    // Require Clockwork plugin architecture
    4343    if( !class_exists( 'Clockwork_Plugin' ) ) {
    4444      require_once( dirname( dirname( __FILE__ ) ) . '/' . $first_plugin . '/lib/class-clockwork-plugin.php' );
    4545    }
    46    
     46
    4747    // Require each plugin, unless major version doesn't match
    4848    preg_match( '/([0-9]+)\./', reset( array_keys( $versions ) ), $matches );
    4949    $major_version = intval( $matches[1] );
    50    
     50
    5151    foreach( $GLOBALS['clockwork_plugins'] as $plugin => $version ) {
    5252      preg_match( '/([0-9]+)\./', $version, $matches );
    53      
     53
    5454      if( intval( $matches[1] ) < $major_version ) {
    5555        // If it's a major version behind, automatically deactivate it
     
    5858        $plugin_data = get_plugin_data( $plugin_path );
    5959        deactivate_plugins( $plugin_path );
    60        
     60
    6161        // Output a message to tell the admin what's going on
    6262        $message = '<div id="message" class="error"><p><strong>The plugin ' . $plugin_data['Name'] . ' has an important update available. It has been disabled until it has been updated.</strong></p></div>';
     
    6565        require_once( dirname( dirname( __FILE__ ) ) . '/' . $plugin . '/main.php' );
    6666      }
    67      
     67
    6868    }
    6969  }
    70  
     70
    7171}
    7272
  • fscf-sms/trunk/readme.txt

    r1781429 r1785300  
    77Requires at least: 3.3.0
    88Tested up to: 4.0.0
    9 Stable tag: 2.4.1
     9Stable tag: 2.4.2
    1010
    1111Works with the Fast Secure Contact Form plugin to send SMS notifications when somebody
     
    7171== Changelog ==
    7272
     73= 2.4.2 =
     74* Security Hardening
     75
    7376= 2.4.0 =
    7477* Fix XSS Vulnerability
Note: See TracChangeset for help on using the changeset viewer.