Forums

New bug report - access to Trac disabled? (1 post)

  1. ssd
    Member
    Posted 10 months ago #

    Hi all,

    Apologies for posting this here, but I was unable to log in to Trac using my WordPress.org username/password.

    Line 218 of /wp-admin/includes/menu.php calls array_pop(), which produces PHP error 2048 (the parameter must be passed by reference, not by value).

    // Remove the last menu item if it is a separator.
    $last_menu_key = array_pop( array_keys( $menu ) );

    Possible solution:

    // Remove the last menu item if it is a separator.
    $menu_keys = array_keys($menu);
    $last_menu_key = array_pop( $menu_keys );

    Can someone with access to Trac please post this.

    Thanks.

Reply

You must log in to post.

About this Topic

Tags