Plugin Directory

Changeset 2077363


Ignore:
Timestamp:
04/29/2019 09:35:19 PM (7 years ago)
Author:
blacklodgegames
Message:

2.0.7

  • Fixed: Okay, same issue as last time, but confident that it is actually patched in this update, including on multisite installations.
Location:
indiedev-game-marketer
Files:
99 added
11 edited

Legend:

Unmodified
Added
Removed
  • indiedev-game-marketer/trunk/README.txt

    r2077119 r2077363  
    55Requires at least: 5.0.0
    66Tested up to: 5.1.1
    7 Stable tag: 2.0.6
     7Stable tag: 2.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 2.0.7 =
     54* Fixed: Okay, same issue as last time, but confident that it is actually patched in this update, including on multisite installations.
    5255
    5356= 2.0.6 =
  • indiedev-game-marketer/trunk/admin/class-indiedev-game-marketer-admin.php

    r2073486 r2077363  
    44 * The admin-specific functionality of the plugin.
    55 *
    6  * @link       http://blacklodgegames.com
     6 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    77 * @since      1.0.0
    88 *
  • indiedev-game-marketer/trunk/admin/partials/indiedev-game-marketer-admin-display.php

    r2052803 r2077363  
    66 * This file is used to markup the admin-facing aspects of the plugin.
    77 *
    8  * @link       http://blacklodgegames.com
     8 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    99 * @since      1.0.0
    1010 *
  • indiedev-game-marketer/trunk/includes/class-indiedev-game-marketer-activator.php

    r2077119 r2077363  
    44 * Fired during plugin activation
    55 *
    6  * @link       http://blacklodgegames.com
     6 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    77 * @since      1.0.0
    88 *
     
    159159        public static function upgradeDb() {
    160160            global $wpdb;
    161             $row = $wpdb->get_results(  "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = '{$wpdb->prefix}idgm_games' AND column_name = 'release_a_url'"  );
    162 
    163             if(empty($row)){
    164                $wpdb->query("ALTER TABLE '{$wpdb->prefix}idgm_games' ADD release_a_url varchar(254) DEFAULT '' NOT NULL, release_b_url varchar(254) DEFAULT '' NOT NULL, release_c_url varchar(254) DEFAULT '' NOT NULL, release_d_url varchar(254) DEFAULT '' NOT NULL, release_e_url varchar(254) DEFAULT '' NOT NULL, release_f_url varchar(254) DEFAULT '' NOT NULL, release_g_url varchar(254) DEFAULT '' NOT NULL, release_h_url varchar(254) DEFAULT '' NOT NULL, release_i_url varchar(254) DEFAULT '' NOT NULL, release_j_url varchar(254) DEFAULT '' NOT NULL;");
    165             } 
    166            
    167             $row = null;
     161           
    168162            $row = $wpdb->get_results(  "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = '{$wpdb->prefix}idgm_games' AND column_name = 'community_managers'"  );
    169163
     
    179173            global $Indiedev_Game_Marketer_dbVersion;
    180174            $installed_db_version = get_option( 'idgm_db_version' );
    181             //if ($installed_db_version !== false) {
    182                 //if ($installed_db_version != $Indiedev_Game_Marketer_dbVersion) { // Perform an upgrade
     175            if ($installed_db_version !== false) {
     176                if ($installed_db_version != $Indiedev_Game_Marketer_dbVersion) { // Perform an upgrade
    183177                    // Upgrade code goes here
    184178                   
     
    208202                    }                   
    209203                                     
    210                 //}
    211             //}
     204                }
     205            }
    212206        }
    213207       
  • indiedev-game-marketer/trunk/includes/class-indiedev-game-marketer-deactivator.php

    r1554089 r2077363  
    44 * Fired during plugin deactivation
    55 *
    6  * @link       http://blacklodgegames.com
     6 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    77 * @since      1.0.0
    88 *
  • indiedev-game-marketer/trunk/includes/class-indiedev-game-marketer-i18n.php

    r1554089 r2077363  
    77 * so that it is ready for translation.
    88 *
    9  * @link       http://blacklodgegames.com
     9 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    1010 * @since      1.0.0
    1111 *
  • indiedev-game-marketer/trunk/includes/class-indiedev-game-marketer-loader.php

    r1554089 r2077363  
    44 * Register all actions and filters for the plugin
    55 *
    6  * @link       http://blacklodgegames.com
     6 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    77 * @since      1.0.0
    88 *
  • indiedev-game-marketer/trunk/includes/class-indiedev-game-marketer.php

    r2073486 r2077363  
    77 * public-facing side of the site and the admin area.
    88 *
    9  * @link       http://blacklodgegames.com
     9 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    1010 * @since      1.0.0
    1111 *
     
    7272        global $Indiedev_Game_Marketer_dbVersion;
    7373        $this->plugin_name = 'indiedev-game-marketer';
    74         $this->version = '2.0.5';
     74        $this->version = '2.0.7';
    7575               
    76         $Indiedev_Game_Marketer_dbVersion = '2.0.5';
     76        $Indiedev_Game_Marketer_dbVersion = '2.0.7';
    7777
    7878        $this->load_dependencies();
  • indiedev-game-marketer/trunk/indiedev-game-marketer.php

    r2077119 r2077363  
    1717 * Plugin URI:        https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    1818 * Description:       Promote indie games for all platforms using the power & familiarity of Wordpress.
    19  * Version:           2.0.6
     19 * Version:           2.0.7
    2020 * Author:            IndieDev.tools
    21  * Author URI:        https://indiedev.tools
     21 * Author URI:        https://www.indiedev.tools
    2222 * License:           GPL-2.0+
    2323 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
     
    7777function run_indiedev_game_marketer() {
    7878
    79         define( 'IDGM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );   
    80    
     79    define( 'IDGM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
     80    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
     81    require_once WP_PLUGIN_DIR . '/indiedev-game-marketer/includes/class-indiedev-game-marketer-activator.php';
     82    Indiedev_Game_Marketer_Activator::upgrade(is_network_only_plugin('indiedev-game-marketer/indiedev-game-marketer.php'));
    8183    $plugin = new Indiedev_Game_Marketer();
    8284    $plugin->run();
  • indiedev-game-marketer/trunk/public/class-indiedev-game-marketer-public.php

    r2073486 r2077363  
    44 * The public-facing functionality of the plugin.
    55 *
    6  * @link       http://blacklodgegames.com
     6 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    77 * @since      1.0.0
    88 *
  • indiedev-game-marketer/trunk/uninstall.php

    r1554089 r2077363  
    2020 * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
    2121 *
    22  * @link       http://blacklodgegames.com
     22 * @link       https://www.indiedev.tools/product/indiedev-game-marketer-wp-plugin-for-wordpress/
    2323 * @since      1.0.0
    2424 *
Note: See TracChangeset for help on using the changeset viewer.