Changeset 44288
- Timestamp:
- 12/18/2018 11:07:46 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/l10n.php
r44284 r44288 902 902 } 903 903 904 $obj = $wp_scripts->registered[ $handle ]; 905 906 $src = $obj->src; 904 $src = $wp_scripts->registered[ $handle ]->src; 905 907 906 if ( ! preg_match( '|^(https?:)?//|', $src ) && ! ( $wp_scripts->content_url && 0 === strpos( $src, $wp_scripts->content_url ) ) ) { 908 907 $src = $wp_scripts->base_url . $src; 909 908 } 910 /** This filter is documented in wp-includes/class.wp-scripts.php */911 $src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) );912 909 913 910 $relative = false;
Note: See TracChangeset
for help on using the changeset viewer.