Skip to content

Commit

Permalink
Update _x( ) context to be more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jan 30, 2024
1 parent 68a7596 commit 27e9c67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function gutenberg_register_block_bindings_pattern_overrides_source() {
register_block_bindings_source(
'core/pattern-overrides',
array(
'label' => _x( 'Pattern Overrides', 'Label for the block bindings source used for synced pattern overrides' ),
'label' => _x( 'Pattern Overrides', 'block bindings source' ),
'get_value_callback' => 'gutenberg_block_bindings_pattern_overrides_callback',
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function gutenberg_register_block_bindings_post_meta_source() {
register_block_bindings_source(
'core/post-meta',
array(
'label' => _x( 'Post Meta', 'Label for the block bindings source used to connect with post meta' ),
'label' => _x( 'Post Meta', 'block bindings source' ),
'get_value_callback' => 'gutenberg_block_bindings_post_meta_callback',
)
);
Expand Down

0 comments on commit 27e9c67

Please sign in to comment.