Skip to content

Commit 1951787

Browse files
authored
Merge pull request #119 from wpscholar/features/correct-site-status-in-list-view
2 parents 72db97e + 2d8b135 commit 1951787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-wp-push-syndication-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function manage_columns( $column_name, $id ) {
191191
break;
192192
case 'site_status':
193193
$site_status = get_post_meta( $id, 'syn_site_enabled', true );
194-
if ( ! $site_status ) {
194+
if ( ! filter_var( $site_status, FILTER_VALIDATE_BOOLEAN ) ) {
195195
esc_html_e( 'disabled', 'push-syndication' );
196196
} else {
197197
esc_html_e( 'enabled', 'push-syndication' );

0 commit comments

Comments
 (0)