- File:
-
- 1 edited
-
trunk/wp-includes/class.wp-dependencies.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-dependencies.php
r12558 r16469 38 38 * Process the items passed to it or the queue. Processes all dependencies. 39 39 * 40 * @param mixed handles (optional) items to be processed.(void) processes queue, (string) process that item, (array of strings) process those items40 * @param mixed $handles (optional) items to be processed. (void) processes queue, (string) process that item, (array of strings) process those items 41 41 * @return array Items that have been processed 42 42 */ 43 43 function do_items( $handles = false, $group = false ) { 44 // Print the queue if nothing is passed. If a string is passed, print that script.If an array is passed, print those scripts.44 // Print the queue if nothing is passed. If a string is passed, print that script. If an array is passed, print those scripts. 45 45 $handles = false === $handles ? $this->queue : (array) $handles; 46 46 $this->all_deps( $handles ); … … 73 73 * Recursively builds array of items to process taking dependencies into account. Does NOT catch infinite loops. 74 74 * 75 76 * @param mixed handles Accepts (string) dep name or (array of strings) dep names77 * @param bool recursion Used internally when function calls itself75 * 76 * @param mixed $handles Accepts (string) dep name or (array of strings) dep names 77 * @param bool $recursion Used internally when function calls itself 78 78 */ 79 79 function all_deps( $handles, $recursion = false, $group = false ) { … … 126 126 * Adds the item only if no item of that name already exists 127 127 * 128 * @param string handle Script name129 * @param string src Script url130 * @param array deps (optional) Array of script names on which this script depends131 * @param string ver (optional) Script version (used for cache busting)128 * @param string $handle Script name 129 * @param string $src Script url 130 * @param array $deps (optional) Array of script names on which this script depends 131 * @param string $ver (optional) Script version (used for cache busting) 132 132 * @return array Hierarchical array of dependencies 133 133 */ … … 144 144 * Adds data only if script has already been added 145 145 * 146 * @param string handle Script name147 * @param string data_name Name of object in which to store extra data148 * @param array data Array of extra data146 * @param string $handle Script name 147 * @param string $data_name Name of object in which to store extra data 148 * @param array $data Array of extra data 149 149 * @return bool success 150 150 */
Note: See TracChangeset
for help on using the changeset viewer.