We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2563a commit ea85a03Copy full SHA for ea85a03
1 file changed
wordpress-coding-standards/php.md
@@ -522,15 +522,15 @@ Correct:
522
523
```php
524
if ( 0 === strpos( $text, 'WordPress' ) ) {
525
- echo esc_html__( 'Yay WordPress!' );
+ echo esc_html__( 'Yay WordPress!', 'textdomain' );
526
}
527
```
528
529
Incorrect:
530
531
532
if ( 0 == strpos( 'WordPress', 'foo' ) ) {
533
534
535
536
0 commit comments