Fixes. Tag 1.4.9.2
This commit is contained in:
@@ -211,7 +211,7 @@ function opalestate_toggle_featured_property() {
|
||||
$check = apply_filters( 'opalestate_set_feature_property_checked', false );
|
||||
if ( $check ) {
|
||||
do_action( 'opalestate_toggle_featured_property_before', $user_id, $property_id );
|
||||
update_post_meta( $property_id, OPALESTATE_PROPERTY_PREFIX . 'featured', 1 );
|
||||
update_post_meta( $property_id, OPALESTATE_PROPERTY_PREFIX . 'featured', 'on' );
|
||||
echo json_encode( [ 'status' => true, 'msg' => esc_html__( 'Could not set this as featured', 'opalestate-pro' ) ] );
|
||||
wp_die();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user