Plugin Directory

Changeset 3380670


Ignore:
Timestamp:
10/19/2025 03:42:25 AM (3 months ago)
Author:
kotakdigitalcom
Message:

v1.0.8

Location:
kotaqx-poster/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kotaqx-poster/trunk/Readme.txt

    r3380444 r3380670  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.0.7
     7Stable tag: 1.0.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    105105== Changelog ==
    106106
     107= 1.0.8 =
     108* Fix: Prevented fatal error when upgrading the Free plugin without updating the Pro version by adding a fallback if the instance() method does not exist.
     109
    107110= 1.0.7 =
    108111* Improve: Republish platform handler code and add log event.
  • kotaqx-poster/trunk/includes/ProInstance.php

    r3380444 r3380670  
    2020     */
    2121    public static function get() {
    22         if (self::$instance === null && class_exists('\KotakDigital\PosterPro\Kotaqx_Poster_Pro')) {
    23             self::$instance = \KotakDigital\PosterPro\Kotaqx_Poster_Pro::instance();
     22        if (self::$instance === null) {
     23            $class = '\KotakDigital\PosterPro\Kotaqx_Poster_Pro';
     24
     25            if (class_exists($class)) {
     26                // Check if the class has a static instance method
     27                if (method_exists($class, 'instance')) {
     28                    // @since 1.7.0 - Use singleton instance method
     29                    self::$instance = $class::instance();
     30                } else {
     31                    self::$instance = new $class();
     32                }
     33            }
    2434        }
     35
    2536        return self::$instance;
    2637    }
  • kotaqx-poster/trunk/kotaqx-poster.php

    r3380444 r3380670  
    55 * Plugin URI:        https://kotakdigital.com/downloads/kotaqx-poster/
    66 * Description:       Automatically recover missed schedule posts, and share published content to other platforms.
    7  * Version:           1.0.7
     7 * Version:           1.0.8
    88 * Author:            Kotak Digital
    99 * Author URI:        https://kotakdigital.com
     
    2020
    2121if (!defined('KOTAQX_POSTER_VERSION')) {
    22     define('KOTAQX_POSTER_VERSION', '1.0.7');
     22    define('KOTAQX_POSTER_VERSION', '1.0.8');
    2323}
    2424if (!defined('KOTAQX_POSTER_URL')) {
Note: See TracChangeset for help on using the changeset viewer.