WordPress.org

Forums

Reorder My Sites
[resolved] Fixed A-Z ordering (3 posts)

  1. Marcelo Pedra
    Member
    Posted 1 year ago #

    Hello my friend.
    I found a bug in the way your plugin is reordering the names of the sites: it is not considering upper/lower case. So it is ordering names like this:

    Site A
    Site C
    site B
    site D

    To fix this, I modified line 25 and now looks like this:

    $blog_names[$site_id] = strtoupper($site->blogname);

    and it did the trick:

    Site A
    site B
    Site C
    site D

    Hope you can merge it to a new update.
    Thanks!

    http://wordpress.org/plugins/reorder-my-sites/

  2. ericjuden
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you sir! I wasn't aware it was a problem. I've committed the fix.

    Eric

  3. Marcelo Pedra
    Member
    Posted 1 year ago #

    You're welcome. I'm happy to help. All the best.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Reorder My Sites
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.