Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Gutenberg_Content_Guidelines_Post_Type {
*
* @var string
*/
const POST_TYPE = 'wp_content_guideline';
const POST_TYPE = 'wp_guideline';

/**
* The standard guideline category meta keys.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Gutenberg_Content_Guidelines_Revisions_Controller extends WP_REST_Revision
*
* @param string $parent_post_type Post type of the parent.
*/
public function __construct( $parent_post_type = 'wp_content_guideline' ) {
public function __construct( $parent_post_type = 'wp_guideline' ) {
parent::__construct( $parent_post_type );

// Re-set private properties from WP_REST_Revisions_Controller.
Expand Down
Loading