From 77696a15c6cfea13d94cf824cd5cf950e8d2a990 Mon Sep 17 00:00:00 2001 From: Matthew Boynes Date: Fri, 16 Mar 2018 21:09:23 -0400 Subject: [PATCH] Syntax error --- wp-post-meta-revisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-post-meta-revisions.php b/wp-post-meta-revisions.php index 5e00137..f27c8db 100644 --- a/wp-post-meta-revisions.php +++ b/wp-post-meta-revisions.php @@ -33,7 +33,7 @@ public function __construct() { add_filter( 'wp_save_post_revision_post_has_changed', array( $this, '_wp_check_revisioned_meta_fields_have_changed' ), 10, 3 ); // When `the_preview` is run, automatically add the metadata filter. - add_filter( 'the_preview', array( $this, '_add_metadata_preview_filter' ); + add_filter( 'the_preview', array( $this, '_add_metadata_preview_filter' ) ); } /**