#45191 closed defect (bug) (fixed)
Remove the 'default' textdomain on __() translation functions introduced into script-loader.php for 5.0
Reported by: | garrett-eclipse | Owned by: | pento |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | I18N | Keywords: | has-patch |
Focuses: | coding-standards | Cc: |
Description
Found in the 5.0 branch in the /wp-includes/script-loader.php
is the use of 'default' as the textdomain for the () translation functions;
https://core.trac.wordpress.org/browser/branches/5.0/src/wp-includes/script-loader.php#L405-414
<?php 'future' => __( '%s from now', 'default' ), /* translators: %s: duration */ 'past' => __( '%s ago', 'default' ), ), ), 'formats' => array( 'time' => get_option( 'time_format', __( 'g:i a', 'default' ) ), 'date' => get_option( 'date_format', __( 'F j, Y', 'default' ) ), 'datetime' => __( 'F j, Y g:i a', 'default' ), 'datetimeAbbreviated' => __( 'M j, Y g:i a', 'default' ),
These should be removed as unnecessary.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Working Patch.