WordPress.org

Make WordPress Core

Ticket #47805: plugin.diff

File plugin.diff, 463 bytes (added by ioannup, 3 months ago)

The patch

  • src/wp-admin/includes/plugin.php

     
    12761276
    12771277        $menu_slug = plugin_basename( $menu_slug );
    12781278
    1279         $admin_page_hooks[ $menu_slug ] = sanitize_title( $menu_title );
     1279        $admin_page_hooks[ $menu_slug ] = $menu_slug;
    12801280
    12811281        $hookname = get_plugin_page_hookname( $menu_slug, '' );
    12821282