Use correct var in inline_edit_row(). fixes #12887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
06a8eee4e0
commit
736d80e1c0
|
@ -844,7 +844,7 @@ function get_hidden_columns($screen) {
|
|||
*
|
||||
* @since 2.7
|
||||
*
|
||||
* @param string $type 'post' or 'page'
|
||||
* @param string $screen
|
||||
*/
|
||||
function inline_edit_row( $screen ) {
|
||||
global $current_user, $mode;
|
||||
|
@ -1143,7 +1143,7 @@ endif; // post_type_supports comments or pings ?>
|
|||
foreach ( $columns as $column_name => $column_display_name ) {
|
||||
if ( isset( $core_columns[$column_name] ) )
|
||||
continue;
|
||||
do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $type);
|
||||
do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $screen->post_type );
|
||||
}
|
||||
?>
|
||||
<p class="submit inline-edit-save">
|
||||
|
|
Loading…
Reference in New Issue