WordPress.org

Ready to get started?Download WordPress

Forums

Dashboard is acting funny, is my fix alright? (1 post)

  1. DaveReed
    Member
    Posted 8 years ago #

    When I click on the Dashboard link in the admin menu from any other page it loads incorrectly without showing the WP feeds and loading the footer twice.

    The link isn't just "index.php", but rather "admin.php?page=index.php". In the menu-header.php file, I changed line 16 from:

    /wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}

    to

    /wp-admin/{$item[2]}'$class>{$item[0]}

    and it works fine now. I haven't messed with the admin code much in the past. Is this ok, or is it going to cause problems?

    thanks,
    dave

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags