@@ 570-571 (lines=2) @@ | ||
567 | if ( ! $post = get_post() ) |
|
568 | return $terms; |
|
569 | ||
570 | if ( empty( $_REQUEST['post_format'] ) || $post->ID != $post_id || 'post_format' != $taxonomy || 'revision' == $post->post_type ) |
|
571 | return $terms; |
|
572 | ||
573 | if ( 'standard' == $_REQUEST['post_format'] ) |
|
574 | $terms = array(); |
|
@@ 597-599 (lines=3) @@ | ||
594 | return $value; |
|
595 | } |
|
596 | ||
597 | if ( empty( $_REQUEST['_thumbnail_id'] ) || $post->ID != $post_id || '_thumbnail_id' != $meta_key || 'revision' == $post->post_type ) { |
|
598 | return $value; |
|
599 | } |
|
600 | ||
601 | $thumbnail_id = intval( $_REQUEST['_thumbnail_id'] ); |
|
602 | if ( $thumbnail_id <= 0 ) { |