Changeset 3395805
- Timestamp:
- 11/14/2025 02:42:15 PM (4 months ago)
- Location:
- qi-blocks/trunk
- Files:
-
- 4 edited
-
class-qi-blocks.php (modified) (1 diff)
-
constants.php (modified) (1 diff)
-
inc/admin/global-styles/class-qi-blocks-framework-global-styles.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
qi-blocks/trunk/class-qi-blocks.php
r3392969 r3395805 6 6 Author URI: https://qodeinteractive.com/ 7 7 Plugin URI: https://qodeinteractive.com/qi-blocks-for-gutenberg/ 8 Version: 1.4. 58 Version: 1.4.6 9 9 Requires at least: 5.8 10 10 Requires PHP: 7.4 -
qi-blocks/trunk/constants.php
r3392969 r3395805 6 6 } 7 7 8 define( 'QI_BLOCKS_VERSION', '1.4. 5' );8 define( 'QI_BLOCKS_VERSION', '1.4.6' ); 9 9 define( 'QI_BLOCKS_ABS_PATH', __DIR__ ); 10 10 define( 'QI_BLOCKS_REL_PATH', dirname( plugin_basename( __FILE__ ) ) ); -
qi-blocks/trunk/inc/admin/global-styles/class-qi-blocks-framework-global-styles.php
r3387712 r3395805 479 479 480 480 if ( $blocks_removed ) { 481 unset( $global_styles['posts'][ $page_id ][ $block_index ] ); 482 483 $update = true; 481 $global_post_styles = $global_styles['posts'][ $page_id ]; 482 483 if ( is_object( $global_post_styles ) ) { 484 unset( $global_styles['posts'][ $page_id ]->{$block_index} ); 485 486 $update = true; 487 } elseif ( is_array( $global_post_styles ) ) { 488 unset( $global_styles['posts'][ $page_id ][ $block_index ] ); 489 490 $update = true; 491 } 484 492 } 485 493 } … … 511 519 512 520 // Update global options indexes. 513 if ( $update ) {521 if ( $update && is_array( $global_styles['posts'][ $page_id ] ) ) { 514 522 $global_styles['posts'][ $page_id ] = array_values( $global_styles['posts'][ $page_id ] ); 515 523 } -
qi-blocks/trunk/readme.txt
r3395088 r3395805 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.4. 57 Stable tag: 1.4.6 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 293 293 == Changelog == 294 294 295 = 1.4.6 - 14-11-2025 = 296 - Fixed - Fatal error: Uncaught Error: Cannot use object of type stdClass as array 297 295 298 = 1.4.5 - 10-11-2025 = 296 299 - Fixed the undefined filter function preventing block options from being saved
Note: See TracChangeset
for help on using the changeset viewer.