- Timestamp:
- 03/14/2024 08:57:48 AM (10 months ago)
- Location:
- branches/6.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/src/wp-includes/interactivity-api/interactivity-api.php
r57774 r57830 58 58 59 59 /* 60 * Uses a priority of 20 to ensure that other filters can add additional60 * Uses a priority of 100 to ensure that other filters can add additional 61 61 * directives before the processing starts. 62 62 */ 63 add_filter( 'render_block_' . $block_name, $process_interactive_blocks, 20, 2 );63 add_filter( 'render_block_' . $block_name, $process_interactive_blocks, 100, 2 ); 64 64 } 65 65 } … … 67 67 return $parsed_block; 68 68 } 69 add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interactive_blocks' ); 69 /* 70 * Uses a priority of 100 to ensure that other filters can add additional attributes to 71 * $parsed_block before the processing starts. 72 */ 73 add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interactive_blocks', 100, 1 ); 70 74 71 75 /**
Note: See TracChangeset
for help on using the changeset viewer.