if ( !
empty( $post->post_password
) ) { $post_states['protected'
] =
_x( 'Password protected', 'post status'
);
} if ( 'private' ===
$post->post_status && 'private' !==
$post_status ) { $post_states['private'
] =
_x( 'Private', 'post status'
);
} if ( 'draft' ===
$post->post_status
) { if ( get_post_meta( $post->ID, '_customize_changeset_uuid', true
) ) { $post_states[] =
__( 'Customization Draft'
);
} elseif ( 'draft' !==
$post_status ) { $post_states['draft'
] =
_x( 'Draft', 'post status'
);
} } elseif ( 'trash' ===
$post->post_status &&
get_post_meta( $post->ID, '_customize_changeset_uuid', true
) ) { $post_states[] =
_x( 'Customization Draft', 'post status'
);
} if ( 'pending' ===
$post->post_status && 'pending' !==
$post_status ) { $post_states['pending'
] =
_x( 'Pending', 'post status'
);
}