Skip to content
Snippets Groups Projects
Commit 0fb4eb59 authored by Prasath Nadarajah's avatar Prasath Nadarajah
Browse files

updating post meta

parent 0f3b3741
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ class WP_RSS_Client extends SimplePie implements WP_Client{
public static function save_settings( $site_ID ) {
update_post_meta( $site_ID, 'syn_feed_url', esc_url_raw( $_POST['feed_url'] ) );
update_post_meta( $site_ID, 'syn_selected_post_type', esc_url_raw( $_POST['feed_url'] ) );
update_post_meta( $site_ID, 'syn_selected_post_status', esc_url_raw( $_POST['feed_url'] ) );
update_post_meta( $site_ID, 'syn_selected_post_type', $_POST['selected_post_type'] );
update_post_meta( $site_ID, 'syn_selected_post_status', $_POST['selected_post_status'] );
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment