From 9c2b28057829bfbc01daf4f7be638e15f89e5d47 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Mon, 10 May 2021 13:51:05 -0700 Subject: [PATCH] Enable the Posts connector on the front end Post creation and updating that happens through the REST API is not considered to occur in the "admin" even if the request is made from the block editor. Therefore, these events aren't getting logged because the Posts connector is disabled for the frontend. I don't know what the rationale is for disabling it, but by _not_ doing that, post creation gets logged. Fixes #1250 --- connectors/class-connector-posts.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/connectors/class-connector-posts.php b/connectors/class-connector-posts.php index dd6893b1d..6b0dc9694 100644 --- a/connectors/class-connector-posts.php +++ b/connectors/class-connector-posts.php @@ -28,13 +28,6 @@ class Connector_Posts extends Connector { 'deleted_post', ); - /** - * Register connector in the WP Frontend - * - * @var bool - */ - public $register_frontend = false; - /** * Return translated connector label *