Skip to content

Commit

Permalink
Enable the Posts connector on the front end
Browse files Browse the repository at this point in the history
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
  • Loading branch information
coreymckrill authored May 10, 2021
1 parent a8b5f46 commit 9c2b280
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions connectors/class-connector-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 9c2b280

Please sign in to comment.