Open graph tags lost during import
-
Looks like the _save_postdata call overwrites the values being imported from the xml file.
I fixed locally by adding this check to the _save_postdata call:
public function _save_postdata( $post_id ){ if( !isset($_POST['ny_og_title']) ) { return $post_id; }
Should verify that the update code only runs on a form post.
- The topic ‘Open graph tags lost during import’ is closed to new replies.