Changeset 1785300
- Timestamp:
- 12/12/2017 10:57:59 AM (8 years ago)
- Location:
- fscf-sms
- Files:
-
- 3 edited
- 7 copied
-
tags/2.4.2 (copied) (copied from fscf-sms/trunk)
-
tags/2.4.2/fscf-sms.php (modified) (4 diffs)
-
tags/2.4.2/lib/class-clockwork-plugin.php (copied) (copied from fscf-sms/trunk/lib/class-clockwork-plugin.php)
-
tags/2.4.2/lib/clockwork/class-Clockwork.php (copied) (copied from fscf-sms/trunk/lib/clockwork/class-Clockwork.php)
-
tags/2.4.2/readme.txt (copied) (copied from fscf-sms/trunk/readme.txt) (2 diffs)
-
tags/2.4.2/templates/clockwork-options.php (copied) (copied from fscf-sms/trunk/templates/clockwork-options.php)
-
tags/2.4.2/templates/clockwork-test-message.php (copied) (copied from fscf-sms/trunk/templates/clockwork-test-message.php)
-
tags/2.4.2/templates/form-options.php (copied) (copied from fscf-sms/trunk/templates/form-options.php)
-
trunk/fscf-sms.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fscf-sms/tags/2.4.2/fscf-sms.php
r838417 r1785300 4 4 Plugin URI: http://wordpress.org/extend/plugins/contact-form-7-sms-addon/ 5 5 Description: Send SMS notifications when somebody submits your contact form 6 Version: 2. 1.26 Version: 2.4.2 7 7 Author: Mediaburst 8 8 Author URI: http://www.mediaburst.co.uk/ 9 9 */ 10 10 11 11 /* Copyright 2012, Mediaburst Limited. 12 12 … … 39 39 $versions = array_reverse( $versions ); 40 40 $first_plugin = reset( $versions ); 41 41 42 42 // Require Clockwork plugin architecture 43 43 if( !class_exists( 'Clockwork_Plugin' ) ) { 44 44 require_once( dirname( dirname( __FILE__ ) ) . '/' . $first_plugin . '/lib/class-clockwork-plugin.php' ); 45 45 } 46 46 47 47 // Require each plugin, unless major version doesn't match 48 48 preg_match( '/([0-9]+)\./', reset( array_keys( $versions ) ), $matches ); 49 49 $major_version = intval( $matches[1] ); 50 50 51 51 foreach( $GLOBALS['clockwork_plugins'] as $plugin => $version ) { 52 52 preg_match( '/([0-9]+)\./', $version, $matches ); 53 53 54 54 if( intval( $matches[1] ) < $major_version ) { 55 55 // If it's a major version behind, automatically deactivate it … … 58 58 $plugin_data = get_plugin_data( $plugin_path ); 59 59 deactivate_plugins( $plugin_path ); 60 60 61 61 // Output a message to tell the admin what's going on 62 62 $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>'; … … 65 65 require_once( dirname( dirname( __FILE__ ) ) . '/' . $plugin . '/main.php' ); 66 66 } 67 67 68 68 } 69 69 } 70 70 71 71 } 72 72 -
fscf-sms/tags/2.4.2/readme.txt
r1781429 r1785300 7 7 Requires at least: 3.3.0 8 8 Tested up to: 4.0.0 9 Stable tag: 2.4. 19 Stable tag: 2.4.2 10 10 11 11 Works with the Fast Secure Contact Form plugin to send SMS notifications when somebody … … 71 71 == Changelog == 72 72 73 = 2.4.2 = 74 * Security Hardening 75 73 76 = 2.4.0 = 74 77 * Fix XSS Vulnerability -
fscf-sms/trunk/fscf-sms.php
r838417 r1785300 4 4 Plugin URI: http://wordpress.org/extend/plugins/contact-form-7-sms-addon/ 5 5 Description: Send SMS notifications when somebody submits your contact form 6 Version: 2. 1.26 Version: 2.4.2 7 7 Author: Mediaburst 8 8 Author URI: http://www.mediaburst.co.uk/ 9 9 */ 10 10 11 11 /* Copyright 2012, Mediaburst Limited. 12 12 … … 39 39 $versions = array_reverse( $versions ); 40 40 $first_plugin = reset( $versions ); 41 41 42 42 // Require Clockwork plugin architecture 43 43 if( !class_exists( 'Clockwork_Plugin' ) ) { 44 44 require_once( dirname( dirname( __FILE__ ) ) . '/' . $first_plugin . '/lib/class-clockwork-plugin.php' ); 45 45 } 46 46 47 47 // Require each plugin, unless major version doesn't match 48 48 preg_match( '/([0-9]+)\./', reset( array_keys( $versions ) ), $matches ); 49 49 $major_version = intval( $matches[1] ); 50 50 51 51 foreach( $GLOBALS['clockwork_plugins'] as $plugin => $version ) { 52 52 preg_match( '/([0-9]+)\./', $version, $matches ); 53 53 54 54 if( intval( $matches[1] ) < $major_version ) { 55 55 // If it's a major version behind, automatically deactivate it … … 58 58 $plugin_data = get_plugin_data( $plugin_path ); 59 59 deactivate_plugins( $plugin_path ); 60 60 61 61 // Output a message to tell the admin what's going on 62 62 $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>'; … … 65 65 require_once( dirname( dirname( __FILE__ ) ) . '/' . $plugin . '/main.php' ); 66 66 } 67 67 68 68 } 69 69 } 70 70 71 71 } 72 72 -
fscf-sms/trunk/readme.txt
r1781429 r1785300 7 7 Requires at least: 3.3.0 8 8 Tested up to: 4.0.0 9 Stable tag: 2.4. 19 Stable tag: 2.4.2 10 10 11 11 Works with the Fast Secure Contact Form plugin to send SMS notifications when somebody … … 71 71 == Changelog == 72 72 73 = 2.4.2 = 74 * Security Hardening 75 73 76 = 2.4.0 = 74 77 * Fix XSS Vulnerability
Note: See TracChangeset
for help on using the changeset viewer.