Plugin Directory

Changeset 3205481


Ignore:
Timestamp:
12/10/2024 10:04:10 AM (16 months ago)
Author:
aliakro
Message:

Update to version 4.1.7 from GitHub

Location:
shortcode-variables
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shortcode-variables/tags/4.1.7/includes/hooks.php

    r2668902 r3205481  
    8888    check_ajax_referer( 'sh-cd-security', 'security' );
    8989
     90    sh_cd_permission_check();
     91
    9092    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    9193
     
    108110    check_ajax_referer( 'sh-cd-security', 'security' );
    109111
     112    sh_cd_permission_check();
     113
    110114    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    111115
     
    132136    check_ajax_referer( 'sh-cd-security', 'security' );
    133137
     138    sh_cd_permission_check();
     139
    134140    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    135141
     
    156162    check_ajax_referer( 'sh-cd-security', 'security' );
    157163
     164    sh_cd_permission_check();
     165
    158166    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    159167    $content = ( false === empty( $_POST['content'] ) ) ? $_POST['content'] : '';
     
    180188
    181189    check_ajax_referer( 'sh-cd-security', 'security' );
     190
     191    sh_cd_permission_check();
    182192
    183193    if( true === empty( $_POST['slug'] ) ) {
  • shortcode-variables/tags/4.1.7/readme.txt

    r3189611 r3205481  
    55Requires at least: 6.0
    66Tested up to: 6.7
    7 Stable tag: 4.1.6
     7Stable tag: 4.1.7
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    148148== Changelog ==
    149149
     150= 4.1.7 =
     151
     152* Improvement: Added additional security checks to Ajax handlers.
     153
    150154= 4.1.6 =
    151155
  • shortcode-variables/tags/4.1.7/shortcode-variables.php

    r3189611 r3205481  
    66 * Plugin Name: Snippet Shortcodes
    77 * Description: Create your own shortcodes and assign text / variables to it or use our premade ones. You can then embed these shortcodes throughout your entire site and only have to change the value in one place.
    8  * Version: 4.1.6
     8 * Version: 4.1.7
    99 * Requires at least:   6.0
    1010 * Tested up to:        6.5
     
    3535define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) );
    3636
    37 define( 'SH_CD_PLUGIN_VERSION', '4.1.6' );
     37define( 'SH_CD_PLUGIN_VERSION', '4.1.7' );
    3838define( 'SH_CD_PLUGIN_NAME', 'Snippet Shortcodes' );
    3939define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' );
  • shortcode-variables/trunk/includes/hooks.php

    r2668902 r3205481  
    8888    check_ajax_referer( 'sh-cd-security', 'security' );
    8989
     90    sh_cd_permission_check();
     91
    9092    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    9193
     
    108110    check_ajax_referer( 'sh-cd-security', 'security' );
    109111
     112    sh_cd_permission_check();
     113
    110114    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    111115
     
    132136    check_ajax_referer( 'sh-cd-security', 'security' );
    133137
     138    sh_cd_permission_check();
     139
    134140    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    135141
     
    156162    check_ajax_referer( 'sh-cd-security', 'security' );
    157163
     164    sh_cd_permission_check();
     165
    158166    $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL;
    159167    $content = ( false === empty( $_POST['content'] ) ) ? $_POST['content'] : '';
     
    180188
    181189    check_ajax_referer( 'sh-cd-security', 'security' );
     190
     191    sh_cd_permission_check();
    182192
    183193    if( true === empty( $_POST['slug'] ) ) {
  • shortcode-variables/trunk/readme.txt

    r3189611 r3205481  
    55Requires at least: 6.0
    66Tested up to: 6.7
    7 Stable tag: 4.1.6
     7Stable tag: 4.1.7
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    148148== Changelog ==
    149149
     150= 4.1.7 =
     151
     152* Improvement: Added additional security checks to Ajax handlers.
     153
    150154= 4.1.6 =
    151155
  • shortcode-variables/trunk/shortcode-variables.php

    r3189611 r3205481  
    66 * Plugin Name: Snippet Shortcodes
    77 * Description: Create your own shortcodes and assign text / variables to it or use our premade ones. You can then embed these shortcodes throughout your entire site and only have to change the value in one place.
    8  * Version: 4.1.6
     8 * Version: 4.1.7
    99 * Requires at least:   6.0
    1010 * Tested up to:        6.5
     
    3535define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) );
    3636
    37 define( 'SH_CD_PLUGIN_VERSION', '4.1.6' );
     37define( 'SH_CD_PLUGIN_VERSION', '4.1.7' );
    3838define( 'SH_CD_PLUGIN_NAME', 'Snippet Shortcodes' );
    3939define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' );
Note: See TracChangeset for help on using the changeset viewer.