From 106a94406ee089a2ccdbbf76b01c49b53c643037 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 29 Sep 2011 21:21:15 +0000 Subject: [PATCH] Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3. git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-posts-list-table.php | 10 +++++++++- wp-admin/includes/meta-boxes.php | 13 ++++++++++++- wp-includes/post-template.php | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index fe8ef112df..d76c745002 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -846,7 +846,15 @@ class WP_Posts_List_Table extends WP_List_Table {