Skip to content

Commit

Permalink
Add textdomain exceptions for newere default themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj authored Feb 11, 2025
2 parents b2b4cec + b0a658d commit c455a41
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 c455a41

Please sign in to comment.