![]() |
List of WordPress plugins updated for WP 3.4.2+ [DOWNLOADS]
A lot of WordPress plugins have not been updated for several years now, and contain deprecated code from the WordPress 2.x era.
The reasons for this vary: - Many plugin authors have disappeared. Quite often the developer's site no longer exists. - Some plugins were replaced by better alternatives. - Some plugins were poorly coded, and deserve to be forgotten with time. However, there are some unique plugins out there worthy of repair/updates! :thumb: While many plugins will obviously fail -- either in the front-end (the public site) or the back-end (wp-admin) -- many more WP2.x-era plugins seem "fine" when its activated on a WP3.x-era site. However, the deprecated code often means that it's not functioning properly, whether you notice or not. The easiest way to detect WP2.x vs WP3.x compliance issues is by enabling debug mode in the wp-config.php file. And that's where The Digital FAQ comes to the rescue! :cool: WordPress Plugins Downloads: We've updated the following plugins, and made them available for download on our forum:
In addition to providing convenient downloads of the updates, we've also provided detailed code fixes for other developers or DIY-minded site owners -- which includes those tinfoil hat wearers suspicious of anything that doesn't explicitly come from the WordPress.org site. The code changelog can be found on each plugin's download page. To support what we try and do for the web hosting and web development communities, consider upgrading to Premium Member status. Best wishes developing your WordPress sites. :thumb: _________
|
3 Attachment(s)
The most common deprecated code issue is with roles and capabilities. Roles (user levels 1-10) were the permissions method used during the WordPress 1.x generation, and was deprecated way back with WordPress 2.0. For whatever reason, people continued to define admin as "8" instead of with a capability like "activate_plugins". There was probably some outdated "master guru" guide out there, written by some self-proclaimed "expert" (a hack, at best), which everybody then followed; it's a common problem with WordPress developers (and wanna-be developers).
Roles vs Capabilities WordPress Error: In the WordPress debugging mode, the error shows up as: Code:
Notice: has_cap was called with an argument that is deprecated since version 2.0! Find Deprecated Code on Linux Server or OS X: The quickest way to find these outdated lines of code is by running a grep on your server. If you're a Linux admin familiar with SSH usage, you probably already know how to use grep commands. If you're on a Mac, realize that OS X is essentially the same as using Linux (as OS X is based on Unix Darwin). Open the Terminal, and search the folder the same as you would do in SSH on Linux server. Code:
grep -HnR "add_[a-zA-Z].*_page.*, [0-9]*," /folder/where/files/are/Find Deprecated Code on Windows Server or local desktop: If you're not an experienced Linux admin, or do not have shell access to your Linux server (a common issue on shared hosting), then you can FTP and download a local desktop copy of your website code. Edit it, then re-upload the fixed code. On a Windows desktop (or Windows Server), you can use the freeware grepWin utility.
Code:
add_[a-zA-Z].*_page.*, [0-9]*,Closings Thought / Notes This is much easier than manually scanning thousands of lines of code. grep/grepWin is useful for locating pretty much any piece of code anywhere in the file system. And it's a tool that is available on Windows, Mac, or Linux -- both desktops and servers. Use it. Slightly off-topic side note: the Role Scoper plugin can help with defining additional capabilities, or changing existing ones. Downloads:
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.