Changeset 2501538
- Timestamp:
- 03/23/2021 08:23:36 AM (5 years ago)
- Location:
- platformly/trunk
- Files:
-
- 2 edited
-
platformly.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platformly/trunk/platformly.php
r2379391 r2501538 4 4 Plugin Name: Platform.ly Official 5 5 Description: Platform.ly plugin is the easiest way to setup your optins and pages that your created with Platform.ly. After building your optin or page with our interactive WYSIWYG builders, you can set them up to show on your site with just a couple of clicks. 6 Version: 1. 86 Version: 1.9 7 7 Author: Platform.ly 8 8 Author URI: https://www.platform.ly/ … … 15 15 define("PLATFORMLY_PING_SLUG", "platformly_ping_for_update_page"); 16 16 define("PLATFORMLY_URL", "https://pageserver.platform.ly"); 17 18 define('PLATFORMLY_PLUGIN_VERSION', '1.9'); 19 20 //update 21 $plyVersion = get_option('ply_plugin_version'); 22 23 updatePlugin($plyVersion); 17 24 18 25 include plugin_dir_path(__FILE__) . '/inc/ply.functions.php'; … … 140 147 ply_page_pid int NULL, 141 148 ply_page_options text NULL, 142 ply_page_html text NULL,149 ply_page_html longtext NULL, 143 150 ply_page_stats text NULL, 144 151 ply_page_type VARCHAR(255) NULL, … … 160 167 ) {$charset_collate};"; 161 168 dbDelta($sql); 169 170 update_option('ply_plugin_version', PLATFORMLY_PLUGIN_VERSION); 162 171 163 172 if(platform_ly_check_ply_wc_plugin_is_activated() && get_option('ply_plugin_cid')){ … … 346 355 } 347 356 if(isset($page) && !empty($page)){ 357 status_header(200); 348 358 echo $page['ply_page_html']; 349 359 die(); … … 469 479 } 470 480 } 481 482 function updatePlugin($version){ 483 global $wpdb; 484 if(empty($version)){ 485 $sql = 'ALTER TABLE `wp_ply_pages` CHANGE `ply_page_html` `ply_page_html` LONGTEXT'; 486 $wpdb->query($sql); 487 update_option('ply_plugin_version', PLATFORMLY_PLUGIN_VERSION); 488 } 489 } -
platformly/trunk/readme.txt
r2379391 r2501538 3 3 Tags: CRM, ecommerce, custom pages, landing pages, optin forms, events, tracking links, platform.ly, platform, platformly 4 4 Requires at least: 4.6 5 Tested up to: 5. 5.15 Tested up to: 5.7 6 6 Requires PHP: 5.5.9 7 7 Stable tag: trunk … … 78 78 == Upgrade Notice == 79 79 80 = 1.9 = 81 - Minor fixes 82 80 83 = 1.8 = 81 84 - Minor fixes
Note: See TracChangeset
for help on using the changeset viewer.