• Resolved Alain Aubry

    (@caban13)


    I have a dashboard widget that uses get_users_online().

    The purpose of my widget was to see the current number at a glance and if I want more I go to your admin page.

    This function return a link to “index.php?page=useronline” it should be “admin.php?page=wp-useronline&tab=useronline”.

    My solution was using str_replace() to get the proper link to the admin page.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Yeap expected. https://github.com/lesterchan/wp-useronline

    One screen, three tabs, under a WP-UserOnline menu of its own. index.php?page=useronline and options-general.php?page=useronline-settings are both gone. Everything is at admin.php?page=wp-useronline, which opens on Users Online; the settings are at &tab=settings and the templates at &tab=templates. Bookmarks and any code linking to the old addresses need updating.
    Thread Starter Alain Aubry

    (@caban13)

    Found, sorted!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.