Skip to content

Commit

Permalink
Remove gutenberg context.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jan 26, 2024
1 parent 06605df commit b73cb62
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ private static function get_wp_templates_author_text_field( $template_object ) {
case 'user':
$author = get_user_by( 'id', $template_object->author );
if ( ! $author ) {
return __( 'Unknown author', 'gutenberg' );
return __( 'Unknown author' );
}
return $author->get( 'display_name' );
}
Expand Down Expand Up @@ -1061,12 +1061,12 @@ public function get_item_schema() {
),
'author_text' => array(
'type' => 'string',
'description' => __( 'Human readable text for the author.', 'gutenberg' ),
'description' => __( 'Human readable text for the author.' ),
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
),
'original_source' => array(
'description' => __( 'Where the template originally comes from e.g. \'theme\'', 'gutenberg' ),
'description' => __( 'Where the template originally comes from e.g. \'theme\'' ),
'type' => 'string',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
Expand Down

0 comments on commit b73cb62

Please sign in to comment.