[wp-trac] [WordPress Trac] #45017: REST API: Expose permalink_template in the Posts controller

WordPress Trac noreply at wordpress.org
Wed Oct 3 10:50:27 UTC 2018


#45017: REST API: Expose permalink_template in the Posts controller
------------------------------------------+-----------------------
 Reporter:  danielbachhuber               |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  5.0
Component:  REST API                      |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+-----------------------

Comment (by sanchothefat):

 Question: shouldn't this information be part of the ''Post Types''
 controller responses if not just exposed via `wp_localize_script()` or
 similar?

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


More information about the wp-trac mailing list