Alphabetical Plugins

Notice:

This plugin is no longer available for download as this feature is now available in the WordPress core. It was also rather buggy, so I advise you uninstall it if you already have it.

Description:

After learning that in WordPress v2.0 the plugin management page would still sort plugins by directory and filename rather than the plugin’s name (which makes a lot more sense to me), I decided to write this plugin.

It creates a sub-page on the plugin management page in the admin area that’s exactly like the original, except that the plugins are sorted alphabetically rather than by directory & filename.

Requirements:

This plugin works in both the WordPress 1.5.x series and WordPress 2.0.x series.

Installation:

Extract the plugin to your plugins folder (/wp-content/plugins/) and activate it from your standard plugins page in your admin area. Then, if you aren’t automatically transferred to the alphabetical plugin management page (the auto-redirect after activation only seems to work in WordPress v2.0+), click on “Alphabetical Plugin Management” in the sub-page navigation at the top of your screen.

Download Latest:

  • This plugin is no longer available for download! Please see the notice at the top of this page.

Support / Feature Request Forum:

No longer supported, sorry!

Change Log:

  • v1.03: The location of the check_admin_referer() function was moved in WordPress 2.0.1 which broke this plugin.
  • v1.02: Even more bug fixes and improved plugin sorting (it wasn’t doing it 100% correct before).
  • v1.01: Various bug fixes to make the plugin work better. You also should now get automatically redirected to this plugin’s page when you attempt to view the default one. Should make life easier.

Donate:

If you enjoy this plugin, please consider sending a few bucks my way. I’ve spent a lotta time on this plugin and all donated money will be put towards paying off my college loans and such. :)

20 Comments On This Page

  1. v1.01 released.

  2. Got the Update on Alphabetical Plugins list. Thanks. Only suggestion is put a link to the Options > Plugins-Used management, on the Plugins > Alphabetical Plugins Used page. Thanks.

  3. Why? They’re unrelated plugins really and it’s not THAT hard to click twice (Options -> Plugins Used) rather than once, is it? ;)

  4. You should make it so that the “Plugins Used” plugin views the alphabetized plugins instead of the default … or make some kind of option for it :)

  5. My “Plugins Used” plugin already lists out the activated plugins alphabetically. ;)

  6. Oh … I knew that! But there are differences: for example, my iTunesSpy plugin is listed last w/ Plugins Used and after the Hs (as it should be) w/ Alphabetical Plugins. Same with my Akismet and Akismet Spam Count plugins … their order is switched with each plugin.

  7. Hmm, thought I released a version that fixed that. Guess not. :(

    Anyway, in the beta version of my “Plugins Used” plugin that’s sitting on my computer, that’s fixed. If you wanna fix it yourself rather than waiting for the next version (I’m working on adding some other things as well), open up the plugin and replace ksort($output); with uksort($output, 'strcasecmp');. It’s on line 133. :)

  8. Cool, thanks! It’s all good now.

  9. I’ve just finished fixing the sorting order for this plugin. I’ll release it when WordPress v2.0 Final is released as I want to make sure there are no more changes to the original plugins.php. :)

  10. Version 1.02 released on the 30th, but forgot to post saying so. :/

  11. thanx for this tiny piece’o'code - little, easy, useful. I got mad for the confusing order my WP plugins were listed in before….

  12. [Comment ID #574 Will Be Quoted Here]

    Glad you found it useful! :)

  13. This is a nice, useful plugin. Thanks!

    With WP2.0.1 just released, I’ve noticed that this plugin isn’t completely compatible. It seems the function check_admin_referer() no longer exists in wp-admin/admin-functions.php. The plugin seems to work fine without the function but I’m now I can’t deactivate it. I’ve tried manually adding the function check_admin_referer() but there’s no noticeable difference. I still can’t deactivate the plugin. Do you know how to fix this?

  14. Just delete the plugin from the plugins folder.

  15. Yeah, I just noticed that myself. They’ve moved that function (which is being used for security purposes) to a different file.

    A bugfix for this plugin is coming (along with some other fixes), but meanwhile just change line 20 of my plugin to this:

    Viper007Bond on February 1st, 2006 at 3:20 AM wrote:

    if (!function_exists('check_admin_referer')) require_once(ABSPATH . 'wp-includes/pluggable-functions.php');

  16. So that’s where the function went. Thanks!

    I still can’t get deactivation to work but it’s not a big deal. I keep it activated all the time anyway.

  17. Deactivate works here, but I’ll be going through the plugin with a fine tooth comb soon (bit busy currently working on redoing my entire site, nearly done though) and incorporate any changes made to the original plugins.php in v2.0.1, minus the crappy “alphabetical” sorting that was added (it still sorts by filename, but at least doesn’t group folders at the top now).

  18. Alright, I’ve updated the download to have the above fix. I’d made it backwards compatible though so it’ll continue working with pre-2.0.1. :)

  19. As some of you may have noticed, either via the note at the top of the page or by seeing it for yourself, the default plugin sorting in WordPress v2.0.1 has been improved, but it’s still sorting by filename rather than actual plugin name.

    I’ve submitted a patch to the WordPress source code that’ll be hopefully accepted. It uses some code that I had been planning on using for this plugin (it’s more efficient than what’s currently being done) to sort the plugins really by plugin name. If accepted, this plugin will be rendered obsolete, so let’s all cross our fingers. :)

  20. This plugin is dead as this feature is now in the WordPress core.

Sorry, but the comments are closed on this page and therefore you cannot reply.

Discussion Elsewhere

#