Changeset 47219 for trunk/src/wp-includes/class.wp-scripts.php
- Timestamp:
- 02/09/2020 04:52:28 PM (6 years 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
r47170 r47219 476 476 */ 477 477 public function localize( $handle, $object_name, $l10n ) { 478 if ( $handle === 'jquery') {478 if ( 'jquery' === $handle ) { 479 479 $handle = 'jquery-core'; 480 480 } … … 522 522 */ 523 523 public function set_group( $handle, $recursion, $group = false ) { 524 if ( isset( $this->registered[ $handle ]->args ) && $this->registered[ $handle ]->args === 1) {524 if ( isset( $this->registered[ $handle ]->args ) && 1 === $this->registered[ $handle ]->args ) { 525 525 $grp = 1; 526 526 } else {
Note: See TracChangeset
for help on using the changeset viewer.