- File:
-
- 1 edited
-
trunk/wp-includes/class.wp-scripts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-scripts.php
r12559 r16469 40 40 * Prints the scripts passed to it or the print queue. Also prints all necessary dependencies. 41 41 * 42 * @param mixed handles (optional) Scripts to be printed. (void) prints queue, (string) prints that script, (array of strings) prints those scripts.43 * @param int group (optional) If scripts were queued in groups prints this group number.42 * @param mixed $handles (optional) Scripts to be printed. (void) prints queue, (string) prints that script, (array of strings) prints those scripts. 43 * @param int $group (optional) If scripts were queued in groups prints this group number. 44 44 * @return array Scripts that have been printed 45 45 */ … … 136 136 * Localizes only if script has already been added 137 137 * 138 * @param string handle Script name139 * @param string object_name Name of JS object to hold l10n info140 * @param array l10n Array of JS var name => localized string138 * @param string $handle Script name 139 * @param string $object_name Name of JS object to hold l10n info 140 * @param array $l10n Array of JS var name => localized string 141 141 * @return bool Successful localization 142 142 */ … … 184 184 return true; 185 185 186 if ( 0 === strpos( $src, '/wp-includes/js/l10n' ) ) 187 return false; 188 186 189 foreach ( (array) $this->default_dirs as $test ) { 187 190 if ( 0 === strpos($src, $test) )
Note: See TracChangeset
for help on using the changeset viewer.