Skip to content

Commit a2979ca

Browse files
committed
Add PHPCS ignore comment for translation domain
Added a phpcs:ignore comment to suppress missing translation domain warning in get_planet_feed_url, clarifying that the WP Core translation is being used intentionally.
1 parent 98980d5 commit a2979ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/adapters/class-wordpress.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ protected function get_news_feed_url() {
218218
*/
219219
protected function get_planet_feed_url() {
220220
// Translators: Link to the Planet feed of the locale.
221+
// phpcs:ignore WordPress.WP.I18n.MissingArgDomainDefault -- Using WP Core translation.
221222
return \__( 'https://planet.wordpress.org/feed/' );
222223
}
223224

0 commit comments

Comments
 (0)