mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-30 16:55:02 +02:00
a0446fdfe8
In order for clients to present permalink previews, the REST API must share the computed results of get_sample_permalink(). These two values are now exposed as permalink_template and generated_slug for public, viewable post types, but only for context=edit. Merges [43720] to trunk. Props danielbachhuber, rahulsprajapati. Fixes #45017. Built from https://develop.svn.wordpress.org/trunk@43980 git-svn-id: http://core.svn.wordpress.org/trunk@43812 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-rest-attachments-controller.php | ||
class-wp-rest-comments-controller.php | ||
class-wp-rest-controller.php | ||
class-wp-rest-post-statuses-controller.php | ||
class-wp-rest-post-types-controller.php | ||
class-wp-rest-posts-controller.php | ||
class-wp-rest-revisions-controller.php | ||
class-wp-rest-settings-controller.php | ||
class-wp-rest-taxonomies-controller.php | ||
class-wp-rest-terms-controller.php | ||
class-wp-rest-users-controller.php |