Skip to content

Commit

Permalink
Update class-textdomain-check.php
Browse files Browse the repository at this point in the history
Add textdomain exceptions for default themes Twenty Twenty-Two, Twenty Twenty-Three, Twenty Twenty-Four, and Twenty Twenty-Five,
  • Loading branch information
joedolson authored Feb 11, 2025
1 parent b2b4cec commit b0a658d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/class-textdomain-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class TextDomain_Check implements themecheck {
);

// Core names their themes differently.
var $exceptions = array( 'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen', 'twentyeighteen', 'twentynineteen', 'twentytwenty', 'twentytwentyone' );
var $exceptions = array( 'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen', 'twentyeighteen', 'twentynineteen', 'twentytwenty', 'twentytwentyone', 'twentytwentytwo', 'twentytwentythree', 'twentytwentyfour', 'twentytwentyfive' );

function set_context( $data ) {
if ( isset( $data['theme']['Name'] ) ) {
Expand Down

0 comments on commit b0a658d

Please sign in to comment.