Changes between Initial Version and Version 1 of Ticket #58664, comment 29
- Timestamp:
- 09/25/2023 11:25:17 PM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58664, comment 29
initial v1 34 34 $src = esc_url_raw( apply_filters( 'script_loader_src', $src, $handle ) ); 35 35 36 + if ( preg_match( "/^(.+?)' 36 + if ( preg_match( "/^(.+?)'\s(.*)$/", $src, $matches ) ) { 37 37 + _deprecated_hook( 'clean_url', '6.3', 'script loading strategies', __( 'Do not use clean_url filter to inject script tag attributes.' ) ); 38 38 + $src = $matches[1];