Changeset 3399166
- Timestamp:
- 11/19/2025 05:30:25 PM (4 months ago)
- Location:
- insert-pages/trunk
- Files:
-
- 2 edited
-
insert-pages.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
insert-pages/trunk/insert-pages.php
r3306766 r3399166 9 9 * License: GPL2 10 10 * Requires at least: 3.3.0 11 * Version: 3.9. 211 * Version: 3.9.3 12 12 * 13 13 * @package insert-pages … … 491 491 } 492 492 } 493 494 // Integration: if the Otter Blocks plugin is active, enqueue any assets 495 // for blocks in the inserted page. 496 // See: https://github.com/Codeinwp/otter-blocks/blob/master/inc/css/class-block-frontend.php#L662. 497 add_filter( 498 'themeisle_gutenberg_blocks_enqueue_assets', 499 function ( $posts ) use ( $inserted_page ) { 500 if ( ! empty( $inserted_page ) ) { 501 $posts[] = $inserted_page; 502 } 503 504 return $posts; 505 } 506 ); 493 507 494 508 // Loop detection: check if the page we are inserting has already been -
insert-pages/trunk/readme.txt
r3306766 r3399166 3 3 Tags: insert, pages, shortcode, embed 4 4 Tested up to: 6.8 5 Stable tag: 3.9. 25 Stable tag: 3.9.3 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 110 110 111 111 == Changelog == 112 113 = 3.9.3 = 114 * Support Otter Blocks in inserted pages. Props @joeb2880 for the [request](https://wordpress.org/support/topic/otter-accordions-not-displaying-properly-when-inserted/)! 112 115 113 116 = 3.9.2 =
Note: See TracChangeset
for help on using the changeset viewer.