Undefined variable: type in wp-admin/includes/template.php on line 1130
|Reported by:||caesarsgrunt||Owned by:|
Line 1130 of wp-admin/includes/template.php, in the function inline_edit_row(), reads as follows :
do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $type);
but the variable $type is no defined anywhere.
The phpdoc for the function states that there should be a $type attribute :
* @param string $type 'post' or 'page'
but the only parameter is actually $screen.
The result is that with WP_DEBUG set I get the following error for every custom column :
Notice: Undefined variable: type in /Users/caesar/Sites/wordpress/wp-admin/includes/template.php on line 1130
Running latest nightly as of 7th April @ 05:00 GMT.