Make WordPress Core

Changeset 14026


Ignore:
Timestamp:
04/07/2010 06:01:29 AM (14 years ago)
Author:
nacin
Message:

Use correct var in inline_edit_row(). fixes #12887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r14025 r14026  
    845845 * @since 2.7
    846846 *
    847  * @param string $type 'post' or 'page'
     847 * @param string $screen
    848848 */
    849849function inline_edit_row( $screen ) {
     
    11441144        if ( isset( $core_columns[$column_name] ) )
    11451145            continue;
    1146         do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $type);
     1146        do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $screen->post_type );
    11471147    }
    11481148?>
Note: See TracChangeset for help on using the changeset viewer.