Changeset 28907
- Timestamp:
- 06/29/2014 10:22:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-scripts.php
r28518 r28907 219 219 } 220 220 221 public function in_default_dir( $src) {222 if ( ! $this->default_dirs ) 221 public function in_default_dir( $src ) { 222 if ( ! $this->default_dirs ) { 223 223 return true; 224 225 if ( 0 === strpos( $src, '/wp-includes/js/l10n' ) ) 224 } 225 226 if ( 0 === strpos( $src, '/' . WPINC . '/js/l10n' ) ) { 226 227 return false; 228 } 227 229 228 230 foreach ( (array) $this->default_dirs as $test ) { 229 if ( 0 === strpos( $src, $test) )231 if ( 0 === strpos( $src, $test ) ) { 230 232 return true; 233 } 231 234 } 232 235 return false;
Note: See TracChangeset
for help on using the changeset viewer.