[wp-trac] [WordPress Trac] #40111: WP REST API Decode Slug URL

WordPress Trac noreply at wordpress.org
Sat Mar 11 22:01:04 UTC 2017


#40111: WP REST API Decode Slug URL
-------------------------------+------------------------------
 Reporter:  yogevlahyani       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback
 * component:  General => REST API


Comment:

 Hi @yogevlahyani, welcome to WordPress Trac!

 That's how UTF-8 characters are represented in URLs, see
 https://en.wikipedia.org/wiki/Percent-encoding. They can be decoded with
 [http://php.net/manual/en/function.urldecode.php urldecode()] PHP
 function.

 Could you clarify the issue you are running into and provide the steps to
 reproduce it on a clean install?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40111#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list