Changeset 3380670
- Timestamp:
- 10/19/2025 03:42:25 AM (3 months ago)
- Location:
- kotaqx-poster/trunk
- Files:
-
- 3 edited
-
Readme.txt (modified) (2 diffs)
-
includes/ProInstance.php (modified) (1 diff)
-
kotaqx-poster.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kotaqx-poster/trunk/Readme.txt
r3380444 r3380670 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 105 105 == Changelog == 106 106 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 107 110 = 1.0.7 = 108 111 * Improve: Republish platform handler code and add log event. -
kotaqx-poster/trunk/includes/ProInstance.php
r3380444 r3380670 20 20 */ 21 21 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 } 24 34 } 35 25 36 return self::$instance; 26 37 } -
kotaqx-poster/trunk/kotaqx-poster.php
r3380444 r3380670 5 5 * Plugin URI: https://kotakdigital.com/downloads/kotaqx-poster/ 6 6 * Description: Automatically recover missed schedule posts, and share published content to other platforms. 7 * Version: 1.0. 77 * Version: 1.0.8 8 8 * Author: Kotak Digital 9 9 * Author URI: https://kotakdigital.com … … 20 20 21 21 if (!defined('KOTAQX_POSTER_VERSION')) { 22 define('KOTAQX_POSTER_VERSION', '1.0. 7');22 define('KOTAQX_POSTER_VERSION', '1.0.8'); 23 23 } 24 24 if (!defined('KOTAQX_POSTER_URL')) {
Note: See TracChangeset
for help on using the changeset viewer.