Wordpress/tests
Ryan McCue 292a871e44 REST API: Set global $post when preparing revisions.
For compatibility with filters on hooks on content filters (such as shortcodes), we need to set the global. This mirrors the Posts controller.

Props pdufour, jnylen0.
Fixes #40626.


git-svn-id: https://develop.svn.wordpress.org/trunk@40601 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-10 04:31:28 +00:00
..
phpunit REST API: Set global $post when preparing revisions. 2017-05-10 04:31:28 +00:00
qunit Fix linting errors in tinymce-obsolete.js. 2017-05-08 06:05:39 +00:00