Changeset 56031 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 06/26/2023 10:15:04 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r55990 r56031 3320 3320 3321 3321 $url = empty( $attachment['url'] ) ? '' : $attachment['url']; 3322 $rel = ( str pos( $url, 'attachment_id' ) || get_attachment_link( $id )== $url );3322 $rel = ( str_contains( $url, 'attachment_id' ) || get_attachment_link( $id ) === $url ); 3323 3323 3324 3324 remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' );
Note: See TracChangeset
for help on using the changeset viewer.