Changeset 57683 for trunk/src/wp-includes/block-patterns.php
- Timestamp:
- 02/21/2024 06:48:30 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns.php
r57353 r57683 392 392 } 393 393 394 // The actual pattern content is the output of the file. 395 ob_start(); 396 include $file_path; 397 $pattern_data['content'] = ob_get_clean(); 398 if ( ! $pattern_data['content'] ) { 399 continue; 400 } 394 $pattern_data['file_path'] = $file_path; 401 395 402 396 // Translate the pattern metadata.
Note: See TracChangeset
for help on using the changeset viewer.