[wp-meta] [Making WordPress.org] #1478: Credits API: Remove `remove_accents()`
Making WordPress.org
noreply at wordpress.org
Thu Dec 17 22:44:54 UTC 2015
#1478: Credits API: Remove `remove_accents()`
--------------------+-------------------------------
Reporter: ocean90 | Owner:
Type: defect | Status: new
Priority: normal | Component: api.wordpress.org
Keywords: |
--------------------+-------------------------------
It's time to show people's real name. Follow-up to #117.
I'm going to use the same approach as we're using for the plugins API.
{{{
private function _encode( $raw ) {
$raw = mb_convert_encoding( $raw, 'UTF-8', 'ASCII, JIS, UTF-8,
Windows-1252, ISO-8859-1' );
return ent2ncr( htmlspecialchars_decode( htmlentities( $raw,
ENT_NOQUOTES, 'UTF-8' ), ENT_NOQUOTES ) );
}
}}}
Let's see how this will work.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1478>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list