Plugin Directory

Changeset 3321249


Ignore:
Timestamp:
07/02/2025 01:37:13 PM (8 months ago)
Author:
aiapponsite
Message:

Release version 1.2.4.3

Location:
ai-app-onsite
Files:
113 added
8 edited

Legend:

Unmodified
Added
Removed
  • ai-app-onsite/tags/1.2.4.2/ai-app-onsite.php

    r3321005 r3321249  
    44 * Plugin Name: AI App Onsite
    55 * Description: AIappOnsite - AI Web App Creator WP Plugin allows users to create their own AI-powered web app and launch it on their own site with no additional development needed. AI App Onsite web app creator is an AI web app builder for WordPress.
    6  * Version: 1.2.4.2
     6 * Version: 1.2.4.21.2.4.3
    77 * Author: By AIappOnsite
    88 * Author URI: https://aiapponsite.com/
     
    4646}
    4747
    48 define('AI_APP_ONSITE_VERSION', '1.2.4.2');
     48define('AI_APP_ONSITE_VERSION', '1.2.4.3');
    4949define('AI_APP_ONSITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
    5050define('AI_APP_ONSITE_PLUGIN_URL', plugin_dir_url(__FILE__));
  • ai-app-onsite/tags/1.2.4.2/includes/class-ai-app-onsite-db-handler.php

    r3321005 r3321249  
    177177            }
    178178
    179             $add_column_if_missing = function ( $column, $definition, $after = '' ) use ( $wpdb, $app_properties_table ) {
    180                 $exists = $wpdb->get_var( $wpdb->prepare( "SHOW COLUMNS FROM $app_properties_table LIKE %s", $column ) );
    181                 if ( ! $exists ) {
    182                     $after_sql = $after ? " AFTER `$after`" : '';
    183                     $wpdb->query( "ALTER TABLE $app_properties_table ADD COLUMN `$column` $definition$after_sql" );
    184                 }
    185             };
    186 
    187             $add_column_if_missing( 'app_corner', 'TEXT', 'bg_color' );
    188             $add_column_if_missing( 'app_height', 'TEXT', 'app_corner' );
     179            $add_column_if_missing = function ( $column, $definition, $after = '' ) use ( $app_properties_table ) {
     180                $exists = $this->wpdb->get_var( $this->wpdb->prepare( "SHOW COLUMNS FROM $app_properties_table LIKE %s", $column ) );
     181                if ( ! $exists ) {
     182                    $after_sql = $after ? " AFTER `$after`" : '';
     183                    $this->wpdb->query( "ALTER TABLE $app_properties_table ADD COLUMN `$column` $definition$after_sql" );
     184                }
     185            };
     186
     187            $add_column_if_missing( 'app_corner', 'TEXT', 'bg_color' );
     188            $add_column_if_missing( 'app_height', 'TEXT', 'app_corner' );
    189189
    190190            return $success;
  • ai-app-onsite/tags/1.2.4.2/readme.md

    r3321005 r3321249  
    55**Requires at least:** 4.7 
    66**Tested up to:** 6.7.1 
    7 **Stable tag:** 1.2.4.2
     7**Stable tag:** 1.2.4.3
    88**Requires PHP:** 7.0 
    99**License:** GPLv2 or later 
     
    9898  Added a safe check during plugin upgrade to ensure `app_corner` and `app_height` columns exist in the `app_properties` table. If missing, they are automatically added without requiring manual database migration.
    9999
     100### 1.2.4.3
     101- Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     102
     103
    100104
    101105---
     
    119123- Improved database handler consistency for better reliability.
    120124
     125### 1.2.4.3
     126- Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     127
     128
    121129---
    122130
  • ai-app-onsite/tags/1.2.4.2/readme.txt

    r3321005 r3321249  
    44Requires at least: 4.7
    55Tested up to: 6.7.1
    6 Stable tag: 1.2.4.2
     6Stable tag: 1.2.4.3
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    8181* Improved database handler consistency for better reliability.
    8282
     83= 1.2.4.3 =
     84* Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     85
    8386== Upgrade Notice ==
    8487
  • ai-app-onsite/trunk/ai-app-onsite.php

    r3321005 r3321249  
    44 * Plugin Name: AI App Onsite
    55 * Description: AIappOnsite - AI Web App Creator WP Plugin allows users to create their own AI-powered web app and launch it on their own site with no additional development needed. AI App Onsite web app creator is an AI web app builder for WordPress.
    6  * Version: 1.2.4.2
     6 * Version: 1.2.4.3
    77 * Author: By AIappOnsite
    88 * Author URI: https://aiapponsite.com/
     
    4646}
    4747
    48 define('AI_APP_ONSITE_VERSION', '1.2.4.2');
     48define('AI_APP_ONSITE_VERSION', '1.2.4.3');
    4949define('AI_APP_ONSITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
    5050define('AI_APP_ONSITE_PLUGIN_URL', plugin_dir_url(__FILE__));
  • ai-app-onsite/trunk/includes/class-ai-app-onsite-db-handler.php

    r3321005 r3321249  
    177177            }
    178178
    179             $add_column_if_missing = function ( $column, $definition, $after = '' ) use ( $wpdb, $app_properties_table ) {
    180                 $exists = $wpdb->get_var( $wpdb->prepare( "SHOW COLUMNS FROM $app_properties_table LIKE %s", $column ) );
    181                 if ( ! $exists ) {
    182                     $after_sql = $after ? " AFTER `$after`" : '';
    183                     $wpdb->query( "ALTER TABLE $app_properties_table ADD COLUMN `$column` $definition$after_sql" );
    184                 }
    185             };
    186 
    187             $add_column_if_missing( 'app_corner', 'TEXT', 'bg_color' );
    188             $add_column_if_missing( 'app_height', 'TEXT', 'app_corner' );
     179            $add_column_if_missing = function ( $column, $definition, $after = '' ) use ( $app_properties_table ) {
     180                $exists = $this->wpdb->get_var( $this->wpdb->prepare( "SHOW COLUMNS FROM $app_properties_table LIKE %s", $column ) );
     181                if ( ! $exists ) {
     182                    $after_sql = $after ? " AFTER `$after`" : '';
     183                    $this->wpdb->query( "ALTER TABLE $app_properties_table ADD COLUMN `$column` $definition$after_sql" );
     184                }
     185            };
     186
     187            $add_column_if_missing( 'app_corner', 'TEXT', 'bg_color' );
     188            $add_column_if_missing( 'app_height', 'TEXT', 'app_corner' );
    189189
    190190            return $success;
  • ai-app-onsite/trunk/readme.md

    r3321005 r3321249  
    55**Requires at least:** 4.7 
    66**Tested up to:** 6.7.1 
    7 **Stable tag:** 1.2.4.2
     7**Stable tag:** 1.2.4.3
    88**Requires PHP:** 7.0 
    99**License:** GPLv2 or later 
     
    9898  Added a safe check during plugin upgrade to ensure `app_corner` and `app_height` columns exist in the `app_properties` table. If missing, they are automatically added without requiring manual database migration.
    9999
     100### 1.2.4.3
     101- Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     102
     103
    100104
    101105---
     
    119123- Improved database handler consistency for better reliability.
    120124
     125### 1.2.4.3
     126- Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     127
     128
    121129---
    122130
  • ai-app-onsite/trunk/readme.txt

    r3321005 r3321249  
    44Requires at least: 4.7
    55Tested up to: 6.7.1
    6 Stable tag: 1.2.4.2
     6Stable tag: 1.2.4.3
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    8181* Improved database handler consistency for better reliability.
    8282
     83= 1.2.4.3 =
     84* Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.
     85
    8386== Upgrade Notice ==
    8487
Note: See TracChangeset for help on using the changeset viewer.