Changeset 57034 for trunk/src/wp-includes/blocks/file.php
- Timestamp:
- 10/31/2023 03:11:42 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/file.php
r56710 r57034 60 60 $processor->set_attribute( 'data-wp-interactive', '' ); 61 61 $processor->next_tag( 'object' ); 62 $processor->set_attribute( 'data-wp-style--display', 'selectors.core.file.hasPdfPreview' ); 62 $processor->set_attribute( 'data-wp-bind--hidden', '!selectors.core.file.hasPdfPreview' ); 63 $processor->set_attribute( 'hidden', true ); 63 64 return $processor->get_updated_html(); 64 65 }
Note: See TracChangeset
for help on using the changeset viewer.