Changeset 44318
- Timestamp:
- 12/19/2018 12:17:25 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 44288
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/l10n.php
r44317 r44318 926 926 } 927 927 928 $obj = $wp_scripts->registered[ $handle ]; 929 930 $src = $obj->src; 928 $src = $wp_scripts->registered[ $handle ]->src; 929 931 930 if ( ! preg_match( '|^(https?:)?//|', $src ) && ! ( $wp_scripts->content_url && 0 === strpos( $src, $wp_scripts->content_url ) ) ) { 932 931 $src = $wp_scripts->base_url . $src; 933 932 } 934 /** This filter is documented in wp-includes/class.wp-scripts.php */935 $src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) );936 933 937 934 $relative = false;
Note: See TracChangeset
for help on using the changeset viewer.