Plugin Directory

Changeset 3379194


Ignore:
Timestamp:
10/16/2025 03:48:23 AM (5 months ago)
Author:
sided
Message:

Embed placement setting save, tag upgraded to 1.4.10

Location:
sided/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sided/trunk/partials/functions.php

    r3372411 r3379194  
    243243{
    244244    $_POST['jsonObj']['updated_at'] = current_datetime();
    245     echo esc_js(update_option('sided_sided_embed_placement_options', esc_js($_POST['jsonObj'])));
     245    // commented on 2024-10-16, it was not saving embed placement options
     246    // echo esc_js(update_option('sided_sided_embed_placement_options', esc_js($_POST['jsonObj'])));
     247   
     248    // changes made on 2024-10-16 to save embed placement options
     249    if (get_option('sided_sided_embed_placement_options') == false) {
     250        add_option('sided_sided_embed_placement_options', $_POST['jsonObj']);
     251    } else {
     252        update_option('sided_sided_embed_placement_options', $_POST['jsonObj']);
     253    }
     254    // changes made on 2024-10-16 to save embed placement options end
    246255    wp_die();
    247256}
  • sided/trunk/readme.txt

    r3372411 r3379194  
    55Requires at least: 4.7
    66Tested up to: 6.5.3
    7 Stable tag: 1.4.9
     7Stable tag: 1.4.10
    88Requires PHP: 7.0
    99License: GPLv2 or later
  • sided/trunk/sided.php

    r3372411 r3379194  
    44* Plugin URI: https://sided.co/
    55* Description: It is a wordpress plugin to embed sided polls in your Wordpress website.
    6 * Version: 1.4.9
     6* Version: 1.4.10
    77* Author: Sided
    88**/
    99
    10 define( 'SIDED_VERSION', '1.4.9' );
     10define( 'SIDED_VERSION', '1.4.10' );
    1111define( 'SIDED_PLUGIN', __FILE__ );
    1212define( 'SIDED_PLUGIN_DIR', untrailingslashit( dirname( SIDED_PLUGIN ) ) );
Note: See TracChangeset for help on using the changeset viewer.