[wp-trac] [WordPress Trac] #34275: Missing i18n in the WP_oEmbed_Controller class
WordPress Trac
noreply at wordpress.org
Mon Oct 12 23:03:23 UTC 2015
#34275: Missing i18n in the WP_oEmbed_Controller class
--------------------------+-------------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Embeds | Version: trunk
Severity: normal | Keywords: needs-patch 2nd-opinion
Focuses: |
--------------------------+-------------------------------------
The `WP_oEmbed_Controller::parse_query()` method includes the following
line:
{{{
echo 'URL parameter missing';
}}}
The `WP_oEmbed_Controller::json_response()` method includes the following
line:
{{{
return 'Not implemented';
}}}
The `WP_oEmbed_Controller::xml_response()` method includes the following
line:
{{{
return 'Not implemented';
}}}
The first instance needs internationalizing. The second and third
instances should either not output the 'Not implemented' string at all, or
they should use the return value of `get_status_header_desc( 501 )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34275>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list