4.1 Docs Audit: Document the `$post` global in the DocBlock for `wp_print_revision_templates()`.

See #30469.


git-svn-id: https://develop.svn.wordpress.org/trunk@30602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-11-28 09:04:35 +00:00
parent ea4da9e13c
commit ea329981d1
1 changed files with 2 additions and 0 deletions

View File

@ -284,6 +284,8 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
* Print Javascript templates required for the revisions experience.
*
* @since 4.1.0
*
* @global WP_Post $post The global `$post` object.
*/
function wp_print_revision_templates() {
global $post;