ID); $frozen_post = ($frozen_values !== null and count($frozen_values) > 0 and 'yes' == $frozen_values[0]); if (is_syndicated($post->ID)) : ?>

This is a syndicated post, which originally appeared at ID)); ?>. View original post.

This post was created locally at this website.

ID) : return $post_id; endif; // Check permissions $cap[0] = 'edit_post'; $cap[1] = 'edit_' . $_POST['post_type']; if ( !current_user_can( $cap[0], $post_id ) and !current_user_can( $cap[1], $post_id ) ) : return $post_id; endif; // OK, we're golden. Now let's save some data. if (isset($_POST['freeze_updates'])) : update_post_meta($post_id, '_syndication_freeze_updates', $_POST['freeze_updates']); $ret = $_POST['freeze_updates']; // If you make manual edits through the WordPress editing // UI then they should be run through normal WP formatting // filters. update_post_meta($post_id, '_feedwordpress_formatting_filters', 'yes'); else : delete_post_meta($post_id, '_syndication_freeze_updates'); $ret = NULL; endif; do_action('feedwordpress_save_edit_controls', $post_id); return $ret; } // function feedwordpress_save_edit_controls