Changeset 61358 for trunk/src/wp-includes/class-wp-scripts.php
- Timestamp:
- 12/07/2025 04:14:08 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-scripts.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-scripts.php
r61357 r61358 47 47 * 48 48 * @since 2.8.0 49 * @var array49 * @var string[] 50 50 */ 51 51 public $in_footer = array(); … … 119 119 * 120 120 * @since 2.8.0 121 * @var array121 * @var string[]|null 122 122 */ 123 123 public $default_dirs; … … 375 375 376 376 if ( 377 $this->in_default_dir( $filtered_src ) 377 is_string( $filtered_src ) 378 && $this->in_default_dir( $filtered_src ) 378 379 && ( $before_script || $after_script || $translations_stop_concat || $this->is_delayed_strategy( $strategy ) ) 379 380 ) { … … 590 591 * @since 2.1.0 591 592 * 592 * @param string $handle Name of the script to attach data to.593 * @param string $object_name Name of the variable that will contain the data.594 * @param array $l10n Array of data to localize.593 * @param string $handle Name of the script to attach data to. 594 * @param string $object_name Name of the variable that will contain the data. 595 * @param array<string, mixed> $l10n Array of data to localize. 595 596 * @return bool True on success, false on failure. 596 597 */
Note: See TracChangeset
for help on using the changeset viewer.