Ticket #42319: 42319.patch
| File 42319.patch, 1.0 KB (added by , 9 years ago) |
|---|
-
src/wp-includes/class-wp-hook.php
288 288 $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) ); 289 289 } 290 290 } 291 } while ( false !== next( $this->iterations[ $nesting_level ] ) );291 } while ( ! is_null( $this->iterations[ $nesting_level ] ) && false !== next( $this->iterations[ $nesting_level ] ) ); 292 292 293 293 unset( $this->iterations[ $nesting_level ] ); 294 294 unset( $this->current_priority[ $nesting_level ] ); … … 331 331 foreach ( $this->callbacks[ $priority ] as $the_ ) { 332 332 call_user_func_array( $the_['function'], $args ); 333 333 } 334 } while ( false !== next( $this->iterations[ $nesting_level ] ) );334 } while ( ! is_null( $this->iterations[ $nesting_level ] ) && false !== next( $this->iterations[ $nesting_level ] ) ); 335 335 336 336 unset( $this->iterations[ $nesting_level ] ); 337 337 $this->nesting_level--;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)