Changeset 3287859
- Timestamp:
- 05/05/2025 02:12:15 PM (10 months ago)
- Location:
- xpro-theme-builder/trunk
- Files:
-
- 4 edited
-
changelog.txt (modified) (1 diff)
-
plugin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
xpro-theme-builder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xpro-theme-builder/trunk/changelog.txt
r3246401 r3287859 1 = V 1.2.8.5 - 05 May 2025 = 2 3 Fix: Resolved shortcode vulnerability issue in theme builder. 4 5 1 6 = V 1.2.8.4 - 25 February 2025 = 2 7 -
xpro-theme-builder/trunk/plugin.php
r3228269 r3287859 334 334 } 335 335 336 // if post type private and user can not read the post 337 $post = get_post( $id ); 338 if ( ! $post || $post->post_status === 'private' && ! current_user_can( 'read_post', $id ) ) { 339 wp_die( __( 'You are not allowed to access this post.', 'xpro-elementor-addons' ), 403 ); 336 $post = get_post( $id ); 337 if ( ! $post ) { 338 wp_die( __( 'Post not found.', 'xpro-elementor-addons' ), 404 ); 339 } 340 if ( ! empty( $post->post_password ) && post_password_required( $post ) ) { 341 wp_die( __( 'This post is password protected.', 'xpro-elementor-addons' ), 403 ); 342 } 343 if ( $post->post_status === 'trash' ) { 344 wp_die( __( 'You are not allowed to access this post (Trashed Post).', 'xpro-elementor-addons' ), 403 ); 345 } 346 $post_status = $post->post_status; 347 $status_labels = [ 348 'private' => 'Private Post', 349 'draft' => 'Draft Post', 350 'pending' => 'Pending Post', 351 'trash' => 'Trashed Post', 352 ]; 353 if ( 354 in_array( $post_status, array_keys( $status_labels ), true ) && 355 ! current_user_can( 'read_post', $id ) 356 ) { 357 $label = $status_labels[ $post_status ]; 358 wp_die( sprintf( __( 'You are not allowed to access this post(%s).', 'xpro-elementor-addons' ), $label ), 403 ); 340 359 } 341 360 -
xpro-theme-builder/trunk/readme.txt
r3246401 r3287859 1 1 === Xpro Theme Builder For Elementor - FREE === 2 2 Plugin Name: Xpro Theme Builder For Elementor - FREE 3 Version: 1.2.8. 43 Version: 1.2.8.5 4 4 Contributors: Xpro 5 5 Tags: elementor, theme builder, header footer builder, sticky header, free theme builder 6 6 Requires at least: 5.0 7 Tested up to: 6. 7.27 Tested up to: 6.8.1 8 8 Stable tag: trunk 9 9 Requires PHP: 7.0 … … 290 290 == Changelog == 291 291 292 = V 1.2.8.5 - 05 May 2025 = 293 294 Fix: Resolved shortcode vulnerability issue in theme builder. 295 296 292 297 = V 1.2.8.4 - 25 February 2025 = 293 298 -
xpro-theme-builder/trunk/xpro-theme-builder.php
r3246401 r3287859 6 6 * Author: Xpro 7 7 * Author URI: https://www.wpxpro.com/ 8 * Version: 1.2.8. 48 * Version: 1.2.8.5 9 9 * Developer: Xpro Team 10 10 * Text Domain: xpro-theme-builder 11 * Elementor tested up to: 3.2 7.611 * Elementor tested up to: 3.28.4 12 12 * 13 13 * @package xpro-theme-builder 14 14 */ 15 15 16 define( 'XPRO_THEME_BUILDER_VER', '1.2.8. 4' );16 define( 'XPRO_THEME_BUILDER_VER', '1.2.8.5' ); 17 17 define( 'XPRO_THEME_BUILDER_FILE', __FILE__ ); 18 18 define( 'XPRO_THEME_BUILDER_BASE', plugin_basename( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.