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:
parent
ea4da9e13c
commit
ea329981d1
@ -284,6 +284,8 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
|
|||||||
* Print Javascript templates required for the revisions experience.
|
* Print Javascript templates required for the revisions experience.
|
||||||
*
|
*
|
||||||
* @since 4.1.0
|
* @since 4.1.0
|
||||||
|
*
|
||||||
|
* @global WP_Post $post The global `$post` object.
|
||||||
*/
|
*/
|
||||||
function wp_print_revision_templates() {
|
function wp_print_revision_templates() {
|
||||||
global $post;
|
global $post;
|
||||||
|
Loading…
Reference in New Issue
Block a user