[wp-trac] [WordPress Trac] #54364: permalink from REST API is wrong when wp_unique_post_slug is filtered

WordPress Trac noreply at wordpress.org
Tue Nov 2 14:35:06 UTC 2021


#54364: permalink from REST API is wrong when wp_unique_post_slug is filtered
--------------------------+------------------------------
 Reporter:  nilav18       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.8.1
 Severity:  minor         |  Resolution:  wontfix
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------
Changes (by nilav18):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Sorry, I finally found my error. I have to apply my function
 (custom_unique_post_slug) also in my callback function for the filter
 post_type_link.

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


More information about the wp-trac mailing list