Changeset 55748
- Timestamp:
- 05/11/2023 11:42:00 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-hook.php
r54133 r55748 291 291 292 292 $this->iterations[ $nesting_level ] = array_keys( $this->callbacks ); 293 $num_args = count( $args ); 293 294 $num_args = count( $args ); 294 295 295 296 do { 296 297 $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] ); 297 $priority = $this->current_priority[ $nesting_level ]; 298 299 $priority = $this->current_priority[ $nesting_level ]; 298 300 299 301 foreach ( $this->callbacks[ $priority ] as $the_ ) { … … 411 413 412 414 foreach ( $filters as $hook_name => $callback_groups ) { 413 if ( is_object( $callback_groups ) &&$callback_groups instanceof WP_Hook ) {415 if ( $callback_groups instanceof WP_Hook ) { 414 416 $normalized[ $hook_name ] = $callback_groups; 415 417 continue;
Note: See TracChangeset
for help on using the changeset viewer.