Skip to content

Commit

Permalink
Adds missing block template class properties (#37556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 22, 2021
1 parent 751e7be commit 29e39d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/compat/wordpress-5.9/class-gutenberg-block-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,20 @@ class Gutenberg_Block_Template {
* @var int
*/
public $author = 0;

/**
* Post types.
*
* @since 5.9.0
* @var array
*/
public $post_types;

/**
* Area.
*
* @since 5.9.0
* @var string
*/
public $area;
}

0 comments on commit 29e39d0

Please sign in to comment.