Skip to content

Commit

Permalink
fix oembed preview on options-page
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarceli committed Dec 10, 2015
1 parent d772c27 commit acf4559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2_Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function get_oembed( $args ) {
*/
public function hijack_oembed_cache_get( $check, $object_id, $meta_key ) {

if ( ! $this->hijack || ( $this->object_id != $object_id && 1987645321 !== $object_id ) ) {
if ( ! $this->hijack || ( $this->object_id != $object_id ) ) {
return $check;
}

Expand Down

0 comments on commit acf4559

Please sign in to comment.