Changeset 1834651
- Timestamp:
- 03/06/2018 04:23:36 PM (8 years ago)
- Location:
- affilinet-performance-module
- Files:
-
- 2 edited
-
tags/1.9.3/classes/Plugin.php (modified) (1 diff)
-
trunk/classes/Plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
affilinet-performance-module/tags/1.9.3/classes/Plugin.php
r1834647 r1834651 32 32 33 33 // check for version changes 34 $pluginVersion = get_file_data( AFFILINET_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'affilinet.php', array( 'Version' => 'Version' ), 'plugin' ) ['Version'];35 if ( get_option( 'affilinet-performance-ads-version', false ) !== $pluginVersion ) {34 $pluginVersion = get_file_data( AFFILINET_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'affilinet.php', array( 'Version' => 'Version' ), 'plugin' ); 35 if ( get_option( 'affilinet-performance-ads-version', false ) !== $pluginVersion['Version'] ) { 36 36 $this->plugin_upgraded(); 37 update_option( 'affilinet-performance-ads-version', $pluginVersion );37 update_option( 'affilinet-performance-ads-version', $pluginVersion['Version'] ); 38 38 } 39 39 -
affilinet-performance-module/trunk/classes/Plugin.php
r1834647 r1834651 33 33 // check for version changes 34 34 35 $pluginVersion = get_file_data( AFFILINET_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'affilinet.php', array( 'Version' => 'Version' ), 'plugin' )['Version']; 36 if ( get_option( 'affilinet-performance-ads-version', false ) !== $pluginVersion ) { 35 // check for version changes 36 $pluginVersion = get_file_data( AFFILINET_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'affilinet.php', array( 'Version' => 'Version' ), 'plugin' ); 37 if ( get_option( 'affilinet-performance-ads-version', false ) !== $pluginVersion['Version'] ) { 37 38 $this->plugin_upgraded(); 38 update_option( 'affilinet-performance-ads-version', $pluginVersion );39 update_option( 'affilinet-performance-ads-version', $pluginVersion['Version'] ); 39 40 } 40 41
Note: See TracChangeset
for help on using the changeset viewer.