From a7126004c7c92144aa69b0ebc705579ba6f7a7e2 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sat, 20 Mar 2010 01:10:01 +0000 Subject: [PATCH] Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global git-svn-id: http://svn.automattic.com/wordpress/trunk@13772 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index b4189c9b9..6e8ba5efe 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1190,7 +1190,7 @@ function wp_list_post_revisions( $post_id = 0, $args = null ) {
- +