Skip to content

Commit 9052411

Browse files
committed
freakin' metaboxes!
Signed-off-by: Kev Provance <[email protected]>
1 parent e9ab14a commit 9052411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function init() {
310310
$this->wp_links[ $box_id ]['page_template'] = isset( $this->wp_links[ $box_id ]['page_template'] ) ? wp_parse_args( $this->wp_links[ $box_id ]['page_template'], $box['page_template'] ) : $box['page_template'];
311311
}
312312

313-
if ( isset( $box['post_format'] ) && ( in_array( $this->post_type, $this->post_types, true ) || '' === $this->post_type ) ) {
313+
if ( isset( $box['post_format'] ) && ( in_array( $this->post_type, $this->post_types, true ) || '' === $this->post_type || false === $this->post_type ) ) {
314314
if ( ! is_array( $box['post_format'] ) ) {
315315
$box['post_format'] = array( $box['post_format'] );
316316
}

0 commit comments

Comments
 (0)