Changeset 55990 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 06/22/2023 02:55:47 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r55988 r55990 3324 3324 remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' ); 3325 3325 3326 if ( 'image' === substr( $post->post_mime_type, 0, 5) ) {3326 if ( str_starts_with( $post->post_mime_type, 'image' ) ) { 3327 3327 $align = isset( $attachment['align'] ) ? $attachment['align'] : 'none'; 3328 3328 $size = isset( $attachment['image-size'] ) ? $attachment['image-size'] : 'medium';
Note: See TracChangeset
for help on using the changeset viewer.