Changeset 3429238
- Timestamp:
- 12/29/2025 05:58:06 PM (3 months ago)
- Location:
- custom-layouts/trunk
- Files:
-
- 8 edited
-
README.txt (modified) (2 diffs)
-
assets/admin/gutenberg.asset.php (modified) (1 diff)
-
assets/admin/layout.asset.php (modified) (1 diff)
-
assets/admin/settings.asset.php (modified) (1 diff)
-
assets/admin/template.asset.php (modified) (1 diff)
-
custom-layouts.php (modified) (1 diff)
-
includes/class-custom-layouts-admin.php (modified) (2 diffs)
-
includes/class-custom-layouts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-layouts/trunk/README.txt
r3419531 r3429238 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 1.5. 07 Stable tag: 1.5.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 179 179 180 180 == Changelog == 181 182 = 1.5.1 = 183 * Fix - an issue that prevented layouts and template from being saved in the admin editors. 181 184 182 185 = 1.5.0 = -
custom-layouts/trunk/assets/admin/gutenberg.asset.php
r3419531 r3429238 1 <?php 2 /** 3 * Gutenberg Asset File 4 * 5 * @package Custom_Layouts 6 */ 7 8 return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '827b1a7ed2b53d624ad2'); 1 <?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '827b1a7ed2b53d624ad2'); -
custom-layouts/trunk/assets/admin/layout.asset.php
r3419531 r3429238 1 <?php 2 /** 3 * Layout Asset File 4 * 5 * @package Custom_Layouts 6 */ 7 8 return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => 'e39c945ebc5b952d28a0'); 1 <?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => 'e39c945ebc5b952d28a0'); -
custom-layouts/trunk/assets/admin/settings.asset.php
r3419531 r3429238 1 <?php 2 /** 3 * Settings Asset File 4 * 5 * @package Custom_Layouts 6 */ 7 8 return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '4793a2991ec55f01a04e'); 1 <?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '4793a2991ec55f01a04e'); -
custom-layouts/trunk/assets/admin/template.asset.php
r3419531 r3429238 1 <?php 2 /** 3 * Template Asset File 4 * 5 * @package Custom_Layouts 6 */ 7 8 return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '279bc4c0b42292ef3bd2'); 1 <?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '279bc4c0b42292ef3bd2'); -
custom-layouts/trunk/custom-layouts.php
r3419531 r3429238 7 7 * Plugin URI: https://customlayouts.com 8 8 * Description: Build a list or grid layout of any post type. Design the look of each item in the layout using our powerful drag and drop template editor. 9 * Version: 1.5. 09 * Version: 1.5.1 10 10 * Author: Code Amp 11 11 * Author URI: https://codeamp.com -
custom-layouts/trunk/includes/class-custom-layouts-admin.php
r3419531 r3429238 767 767 768 768 // Verify nonce for CSRF protection. 769 if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'update-post_' . get_post_type( $post_id )) ) {769 if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'update-post_' . (int) $post_id ) ) { 770 770 return; 771 771 } … … 821 821 822 822 // Verify nonce for CSRF protection. 823 if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'update-post_' . get_post_type( $post_id )) ) {823 if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'update-post_' . (int) $post_id ) ) { 824 824 return; 825 825 } -
custom-layouts/trunk/includes/class-custom-layouts.php
r3419531 r3429238 19 19 20 20 if ( ! defined( 'CUSTOM_LAYOUTS_VERSION' ) ) { 21 define( 'CUSTOM_LAYOUTS_VERSION', '1.5. 0' );21 define( 'CUSTOM_LAYOUTS_VERSION', '1.5.1' ); 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.