Changeset 3205481
- Timestamp:
- 12/10/2024 10:04:10 AM (16 months ago)
- Location:
- shortcode-variables
- Files:
-
- 6 edited
- 1 copied
-
tags/4.1.7 (copied) (copied from shortcode-variables/trunk)
-
tags/4.1.7/includes/hooks.php (modified) (5 diffs)
-
tags/4.1.7/readme.txt (modified) (2 diffs)
-
tags/4.1.7/shortcode-variables.php (modified) (2 diffs)
-
trunk/includes/hooks.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shortcode-variables.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shortcode-variables/tags/4.1.7/includes/hooks.php
r2668902 r3205481 88 88 check_ajax_referer( 'sh-cd-security', 'security' ); 89 89 90 sh_cd_permission_check(); 91 90 92 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 91 93 … … 108 110 check_ajax_referer( 'sh-cd-security', 'security' ); 109 111 112 sh_cd_permission_check(); 113 110 114 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 111 115 … … 132 136 check_ajax_referer( 'sh-cd-security', 'security' ); 133 137 138 sh_cd_permission_check(); 139 134 140 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 135 141 … … 156 162 check_ajax_referer( 'sh-cd-security', 'security' ); 157 163 164 sh_cd_permission_check(); 165 158 166 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 159 167 $content = ( false === empty( $_POST['content'] ) ) ? $_POST['content'] : ''; … … 180 188 181 189 check_ajax_referer( 'sh-cd-security', 'security' ); 190 191 sh_cd_permission_check(); 182 192 183 193 if( true === empty( $_POST['slug'] ) ) { -
shortcode-variables/tags/4.1.7/readme.txt
r3189611 r3205481 5 5 Requires at least: 6.0 6 6 Tested up to: 6.7 7 Stable tag: 4.1. 67 Stable tag: 4.1.7 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 148 148 == Changelog == 149 149 150 = 4.1.7 = 151 152 * Improvement: Added additional security checks to Ajax handlers. 153 150 154 = 4.1.6 = 151 155 -
shortcode-variables/tags/4.1.7/shortcode-variables.php
r3189611 r3205481 6 6 * Plugin Name: Snippet Shortcodes 7 7 * 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. 68 * Version: 4.1.7 9 9 * Requires at least: 6.0 10 10 * Tested up to: 6.5 … … 35 35 define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) ); 36 36 37 define( 'SH_CD_PLUGIN_VERSION', '4.1. 6' );37 define( 'SH_CD_PLUGIN_VERSION', '4.1.7' ); 38 38 define( 'SH_CD_PLUGIN_NAME', 'Snippet Shortcodes' ); 39 39 define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' ); -
shortcode-variables/trunk/includes/hooks.php
r2668902 r3205481 88 88 check_ajax_referer( 'sh-cd-security', 'security' ); 89 89 90 sh_cd_permission_check(); 91 90 92 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 91 93 … … 108 110 check_ajax_referer( 'sh-cd-security', 'security' ); 109 111 112 sh_cd_permission_check(); 113 110 114 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 111 115 … … 132 136 check_ajax_referer( 'sh-cd-security', 'security' ); 133 137 138 sh_cd_permission_check(); 139 134 140 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 135 141 … … 156 162 check_ajax_referer( 'sh-cd-security', 'security' ); 157 163 164 sh_cd_permission_check(); 165 158 166 $id = ( false === empty( $_POST['id'] ) ) ? (int) $_POST['id'] : NULL; 159 167 $content = ( false === empty( $_POST['content'] ) ) ? $_POST['content'] : ''; … … 180 188 181 189 check_ajax_referer( 'sh-cd-security', 'security' ); 190 191 sh_cd_permission_check(); 182 192 183 193 if( true === empty( $_POST['slug'] ) ) { -
shortcode-variables/trunk/readme.txt
r3189611 r3205481 5 5 Requires at least: 6.0 6 6 Tested up to: 6.7 7 Stable tag: 4.1. 67 Stable tag: 4.1.7 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 148 148 == Changelog == 149 149 150 = 4.1.7 = 151 152 * Improvement: Added additional security checks to Ajax handlers. 153 150 154 = 4.1.6 = 151 155 -
shortcode-variables/trunk/shortcode-variables.php
r3189611 r3205481 6 6 * Plugin Name: Snippet Shortcodes 7 7 * 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. 68 * Version: 4.1.7 9 9 * Requires at least: 6.0 10 10 * Tested up to: 6.5 … … 35 35 define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) ); 36 36 37 define( 'SH_CD_PLUGIN_VERSION', '4.1. 6' );37 define( 'SH_CD_PLUGIN_VERSION', '4.1.7' ); 38 38 define( 'SH_CD_PLUGIN_NAME', 'Snippet Shortcodes' ); 39 39 define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' );
Note: See TracChangeset
for help on using the changeset viewer.