Changeset 63440 for trunk/src/wp-includes/class-wp-scripts.php
- Timestamp:
- 09/02/2026 06:36:32 PM (9 days ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-scripts.php (modified) (2 diffs)
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 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)