Wordpress/tests/phpunit/includes
Jeremy Felt 894a8e02d2 REST API: Include permalink_template/generated_slug for Posts
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.


git-svn-id: https://develop.svn.wordpress.org/trunk@43980 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-12 02:11:22 +00:00
..
factory Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
bootstrap.php Build/Test Tools: Introduce support for a WP_TESTS_CONFIG_FILE_PATH constant to override the test suite config file location. 2018-06-16 14:21:18 +00:00
class-basic-object.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
class-basic-subclass.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
exceptions.php
factory.php Add tests for get_bookmarks() cache. 2016-05-25 18:20:24 +00:00
functions.php Build/Test Tools: Add documentation for tests_add_filter(), _test_filter_build_unique_id(), _delete_all_data(), _delete_all_posts(). 2018-08-02 22:35:10 +00:00
install.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-fs.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-image-editor.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mock-mailer.php Code is Poetry. 2017-11-30 23:09:33 +00:00
object-cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
phpunit6-compat.php Code is Poetry. 2017-11-30 23:09:33 +00:00
plural-form-function.php Code is Poetry. 2017-11-30 23:09:33 +00:00
speed-trap-listener.php Code is Poetry. 2017-11-30 23:09:33 +00:00
spy-rest-server.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-ajax.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-canonical.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase-rest-api.php REST API: Introduce baby API to the world. 2015-10-08 02:30:18 +00:00
testcase-rest-controller.php REST API: Include permalink_template/generated_slug for Posts 2018-12-12 02:11:22 +00:00
testcase-rest-post-type-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
testcase-xmlrpc.php Code is Poetry. 2017-11-30 23:09:33 +00:00
testcase.php Tests: Skip multisite-only or single site-only tests correctly based on test doc annotations. 2018-04-25 22:37:08 +00:00
trac.php Code is Poetry. 2017-11-30 23:09:33 +00:00
utils.php General: PHP7.3 throws an E_WARNING when using continue to target a switch 2018-09-23 22:49:02 +00:00
wp-profiler.php Code is Poetry. 2017-11-30 23:09:33 +00:00