diff --git a/lib/compat/wordpress-5.9/class-gutenberg-rest-templates-controller.php b/lib/compat/wordpress-5.9/class-gutenberg-rest-templates-controller.php index 558c7068196d2..e35214bbca1ec 100644 --- a/lib/compat/wordpress-5.9/class-gutenberg-rest-templates-controller.php +++ b/lib/compat/wordpress-5.9/class-gutenberg-rest-templates-controller.php @@ -395,7 +395,7 @@ protected function prepare_item_for_database( $request ) { if ( ! $user_obj ) { return new WP_Error( 'rest_invalid_author', - __( 'Invalid author ID.' ), + __( 'Invalid author ID.', 'gutenberg' ), array( 'status' => 400 ) ); } @@ -607,7 +607,7 @@ public function get_item_schema() { 'readonly' => true, ), 'author' => array( - 'description' => __( 'The ID for the author of the template.' ), + 'description' => __( 'The ID for the author of the template.', 'gutenberg' ), 'type' => 'integer', 'context' => array( 'view', 'edit', 'embed' ), ),