Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
In block.module file, i discovered a menu item, function block_menu, related to a function that no longer exists :
$items['admin/build/block/list/js'] = array(
'title' => 'JavaScript List Form',
'page callback' => 'block_admin_display_js',
'access arguments' => array('administer blocks'),
'type' => MENU_CALLBACK,
'file' => 'block.admin.inc',
);
I suggest to remove this item.
Comment | File | Size | Author |
---|---|---|---|
#5 | do-nonexisting-menu-item.patch | 661 bytes | Heine |
#2 | 408104_2.patch | 856 bytes | asimmonds |
#1 | 408104.patch | 848 bytes | asimmonds |
Comments
Comment #1
asimmonds CreditAttribution: asimmonds commentedblock_admin_display_js() was removed in #181066: Drag and drop of table rows (e.g. block admin) about 6.0-beta3 time, but it looks like this menu_item was left.
Block admin is still functional with both js enabled and disabled, when this is removed.
Comment #2
asimmonds CreditAttribution: asimmonds commentedRerolled
Comment #3
Dries CreditAttribution: Dries commentedCommitted. Thanks asimmonds.
Comment #5
Heine CreditAttribution: Heine commented