Changeset 63440
- Timestamp:
- 09/02/2026 06:36:32 PM (3 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
class-wp-scripts.php (modified) (2 diffs)
-
class-wp-styles.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-scripts.php
r62550 r63440 202 202 * @param bool $display Optional. Whether to print the extra script 203 203 * instead of just returning it. Default true. 204 * @return bool|string|null Null if no data exists, extra scripts if `$display` is true,204 * @return bool|string|null Null if no data exists, extra scripts if `$display` is false, 205 205 * true otherwise. 206 * @phpstan-return ( $display is true ? true|null : string|null ) 206 207 */ 207 208 public function print_scripts_l10n( $handle, $display = true ) { … … 218 219 * @param bool $display Optional. Whether to print the extra script 219 220 * instead of just returning it. Default true. 220 * @return bool|string|null Null if no data exists, extra scripts if `$display` is true,221 * @return bool|string|null Null if no data exists, extra scripts if `$display` is false, 221 222 * true otherwise. 223 * @phpstan-return ( $display is true ? true|null : string|null ) 222 224 */ 223 225 public function print_extra_script( $handle, $display = true ) { -
trunk/src/wp-includes/class-wp-styles.php
r62550 r63440 297 297 * @param bool $display Optional. Whether to print the inline style 298 298 * instead of just returning it. Default true. 299 * @return string|bool False if no data exists, inline styles if `$display` is true,299 * @return string|bool False if no data exists, inline styles if `$display` is false, 300 300 * true otherwise. 301 * @phpstan-return ( $display is true ? bool : string|false ) 301 302 */ 302 303 public function print_inline_style( $handle, $display = true ) {
Note:
See TracChangeset
for help on using the changeset viewer.