Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion includes/abilities-api/class-wp-ability-category.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function __construct( string $slug, array $args ) {
_doing_it_wrong(
__METHOD__,
sprintf(
/* translators: %s: Property name. */
/* translators: %1$s: Property name, %2$s: Ability category slug, %3$s: Class name. */
__( 'Property "%1$s" is not a valid property for ability category "%2$s". Please check the %3$s class for allowed properties.' ),
'<code>' . esc_html( $property_name ) . '</code>',
'<code>' . esc_html( $this->slug ) . '</code>',
Expand Down
2 changes: 1 addition & 1 deletion includes/abilities-api/class-wp-ability.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function __construct( string $name, array $args ) {
_doing_it_wrong(
__METHOD__,
sprintf(
/* translators: %s: Property name. */
/* translators: %1$s: Property name, %2$s: Ability name, %3$s: Class name. */
__( 'Property "%1$s" is not a valid property for ability "%2$s". Please check the %3$s class for allowed properties.' ),
'<code>' . esc_html( $property_name ) . '</code>',
'<code>' . esc_html( $this->name ) . '</code>',
Expand Down