Changeset 57035 for branches/6.4/src/wp-includes/blocks/file.php
- Timestamp:
- 10/31/2023 05:15:59 PM (3 years ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/blocks/file.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/src/wp-includes/blocks/file.php
r56710 r57035 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.