Plugin Directory

Changeset 2500538


Ignore:
Timestamp:
03/21/2021 08:23:19 PM (5 years ago)
Author:
stappdevelopment
Message:

Bugfix after update from 1.0

Location:
stapp-video
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stapp-video/tags/1.3/includes/db/stapp_video_readData.php

    r2500469 r2500538  
    22
    33include_once STAPP_VIDEO_PLUGIN_DIR."/includes/db/stapp_video_global_db.php";
     4include_once STAPP_VIDEO_PLUGIN_DIR."/includes/stapp_activate_plugin.php";
    45
    56
     
    229230
    230231    private function isProEnabeled(){
    231          if (get_option('stapp_video_pro_value') == 1){
    232              return true;
    233          }
    234          return false;
    235     }
    236 
    237 }
     232        $this->checkOptionExists('stapp_video_pro_value');
     233        if (get_option('stapp_video_pro_value') == 1){
     234            return true;
     235        }
     236        return false;
     237    }
     238
     239
     240    private function checkOptionExists($optionKey){
     241        $option = trim( get_option($optionKey));
     242        if ( empty( $option ) ) {
     243            $c = new stapp_video_activate_plugin();
     244            $c->activate();
     245        }
     246    }
     247
     248}
  • stapp-video/tags/1.3/readme.txt

    r2500470 r2500538  
    66Tested up to: 5.7
    77Requires PHP: 7.0
    8 Stable tag: 1.2
     8Stable tag: 1.3
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939== Changelog ==
    4040
     41
     42= 1.3 =
     43
     44 * Bugfix after updating from V1.0
     45
     46
    4147= 1.2 =
    4248
  • stapp-video/tags/1.3/stapp_video.php

    r2500469 r2500538  
    77Plugin URI: https://dev-wordpress.com/forum/
    88Description: Insert videos on any postion via shortcode
    9 Version: 1.2
     9Version: 1.3
    1010Author: STApp Professional GmbH
    1111Author URI: https://stapp-professional.de
     
    2424
    2525
    26 define( 'STAPP_VIDEO_VERSION', '1.2' );
     26define( 'STAPP_VIDEO_VERSION', '1.3' );
    2727
    2828define( 'STAPP_VIDEO_REQUIRED_WP_VERSION', '5.7' );
  • stapp-video/trunk/includes/db/stapp_video_readData.php

    r2500469 r2500538  
    22
    33include_once STAPP_VIDEO_PLUGIN_DIR."/includes/db/stapp_video_global_db.php";
     4include_once STAPP_VIDEO_PLUGIN_DIR."/includes/stapp_activate_plugin.php";
    45
    56
     
    229230
    230231    private function isProEnabeled(){
    231          if (get_option('stapp_video_pro_value') == 1){
    232              return true;
    233          }
    234          return false;
    235     }
    236 
    237 }
     232        $this->checkOptionExists('stapp_video_pro_value');
     233        if (get_option('stapp_video_pro_value') == 1){
     234            return true;
     235        }
     236        return false;
     237    }
     238
     239
     240    private function checkOptionExists($optionKey){
     241        $option = trim( get_option($optionKey));
     242        if ( empty( $option ) ) {
     243            $c = new stapp_video_activate_plugin();
     244            $c->activate();
     245        }
     246    }
     247
     248}
  • stapp-video/trunk/readme.txt

    r2500470 r2500538  
    66Tested up to: 5.7
    77Requires PHP: 7.0
    8 Stable tag: 1.2
     8Stable tag: 1.3
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939== Changelog ==
    4040
     41
     42= 1.3 =
     43
     44 * Bugfix after updating from V1.0
     45
     46
    4147= 1.2 =
    4248
  • stapp-video/trunk/stapp_video.php

    r2500469 r2500538  
    77Plugin URI: https://dev-wordpress.com/forum/
    88Description: Insert videos on any postion via shortcode
    9 Version: 1.2
     9Version: 1.3
    1010Author: STApp Professional GmbH
    1111Author URI: https://stapp-professional.de
     
    2424
    2525
    26 define( 'STAPP_VIDEO_VERSION', '1.2' );
     26define( 'STAPP_VIDEO_VERSION', '1.3' );
    2727
    2828define( 'STAPP_VIDEO_REQUIRED_WP_VERSION', '5.7' );
Note: See TracChangeset for help on using the changeset viewer.