Skip to content

Commit

Permalink
Fix minor PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo-d committed May 20, 2019
1 parent c0d9ec7 commit e766263
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @link https://make.wordpress.org/themes/handbook/review/required/#presentation-vs-functionality
*
* @since 0.1.0
* @since 0.2.0 Updated the list of forbidden functions.
* @since 0.2.0 Added the `editor-blocks` group.
*/
class ForbiddenFunctionsSniff extends AbstractFunctionRestrictionsSniff {

Expand Down Expand Up @@ -50,7 +50,7 @@ public function getGroups() {

'editor-blocks' => array(
'type' => 'error',
'message' => 'Registering and deregistering editor blocks should be done in a plugin, not in the theme. Found %s().',
'message' => 'Registering and deregistering editor blocks should be done in a plugin, not in a theme. Found %s().',
'functions' => array(
'register_block_*',
'unregister_block_*',
Expand Down

0 comments on commit e766263

Please sign in to comment.