We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 279a3ab commit 03da094Copy full SHA for 03da094
public/class-hook-flowchart.php
@@ -233,7 +233,7 @@ function parent_hook() {
233
} elseif ( $child === 1 && !isset( $this->hooks[ $wp_current_filter[ 0 ] ][ $hook_name ] ) ) {
234
$this->hooks[ $wp_current_filter[ 0 ] ][ $hook_name ] = array();
235
} elseif ( $child === 2 && !isset( $this->hooks[ $wp_current_filter[ 0 ] ][ $wp_current_filter[ 1 ] ][ $hook_name ] ) ) {
236
- $this->hooks[ $wp_current_filter[ 0 ] ][ $wp_current_filter[ 1 ] ][ $hook_name ] = [ ];
+ $this->hooks[ $wp_current_filter[ 0 ] ][ $wp_current_filter[ 1 ] ][ $hook_name ] = array();
237
} elseif ( $child === 3 ) {
238
$this->hooks[ $wp_current_filter[ 0 ] ][ $wp_current_filter[ 1 ] ][ $wp_current_filter[ 2 ] ][ $hook_name ] = 1;
239
}
0 commit comments