Ticket #34808: 34808.2.diff
File 34808.2.diff, 1.2 KB (added by , 9 years ago) |
---|
-
src/wp-includes/media.php
1206 1206 * @return string Converted content with 'srcset' and 'sizes' attributes added to images. 1207 1207 */ 1208 1208 function wp_make_content_images_responsive( $content ) { 1209 // Deprecation warning at function call. 1210 trigger_error( 'Deprecated function called - (wp_make_content_images_responsive).', E_USER_DEPRECATED ); 1211 exit; 1212 1209 1213 $images = get_media_embedded_in_content( $content, 'img' ); 1210 1214 1211 1215 $selected_images = $attachment_ids = array(); -
src/wp-includes/functions.php
4984 4984 * @return string Tag RegEx. 4985 4985 */ 4986 4986 function get_tag_regex( $tag ) { 4987 // Deprecation warning at function call. 4988 trigger_error( 'Deprecated function called - (get_tag_regex).', E_USER_DEPRECATED ); 4989 exit; 4990 4987 4991 if ( empty( $tag ) ) 4988 4992 return; 4989 4993 return sprintf( '<%1$s[^<]*(?:>[\s\S]*<\/%1$s>|\s*\/>)', tag_escape( $tag ) );