Add quick_edit_dropdown_pages_args filter

git-svn-id: https://develop.svn.wordpress.org/trunk@10071 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-12-05 19:40:30 +00:00
parent b6a0df1678
commit 7cf788ba56
1 changed files with 1 additions and 0 deletions

View File

@ -1050,6 +1050,7 @@ function inline_edit_row( $type ) {
$dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0); $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0);
if ( $bulk ) if ( $bulk )
$dropdown_args['show_option_no_change'] = __('- No Change -'); $dropdown_args['show_option_no_change'] = __('- No Change -');
$dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args);
wp_dropdown_pages($dropdown_args); wp_dropdown_pages($dropdown_args);
?> ?>
</label> </label>