[wp-trac] [WordPress Trac] #58138: For echo the translated string, use _e() instead of __()
WordPress Trac
noreply at wordpress.org
Sun Apr 16 08:42:21 UTC 2023
#58138: For echo the translated string, use _e() instead of __()
-------------------------+-------------------------------
Reporter: mujuonly | Owner: mujuonly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.3
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by mujuonly):
@vladytimy @audrasjb The current code is like `echo __( 'Search Media' )
. ':';`, so it should be like `_e( 'Search Media:' );` right.?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58138#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list