Changeset 30681 for trunk/src/wp-includes/class.wp-styles.php
- Timestamp:
- 12/01/2014 01:33:34 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class.wp-styles.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-styles.php
r29958 r30681 40 40 } 41 41 42 /** 43 * @param string $handle 44 * @return bool 45 */ 42 46 public function do_item( $handle ) { 43 47 if ( !parent::do_item($handle) ) … … 120 124 } 121 125 126 /** 127 * @param string $handle 128 * @param string $code 129 */ 122 130 public function add_inline_style( $handle, $code ) { 123 131 if ( ! $code ) { … … 135 143 } 136 144 145 /** 146 * @param string $handle 147 * @param bool $echo 148 * @return bool 149 */ 137 150 public function print_inline_style( $handle, $echo = true ) { 138 151 $output = $this->get_data( $handle, 'after' ); … … 153 166 } 154 167 168 /** 169 * @param mixed $handles 170 * @param bool $recursion 171 * @param mixed $group 172 * @return bool 173 */ 155 174 public function all_deps( $handles, $recursion = false, $group = false ) { 156 175 $r = parent::all_deps( $handles, $recursion ); … … 168 187 } 169 188 189 /** 190 * @param string $src 191 * @param string $ver 192 * @param string $handle 193 * @return string 194 */ 170 195 public function _css_href( $src, $ver, $handle ) { 171 196 if ( !is_bool($src) && !preg_match('|^(https?:)?//|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) { … … 188 213 } 189 214 215 /** 216 * @param string $src 217 * @return bool 218 */ 190 219 public function in_default_dir($src) { 191 220 if ( ! $this->default_dirs )
Note: See TracChangeset
for help on using the changeset viewer.