How to change this WordPress behavior?
We need to update the ‘page.php’ template file from the 2011 (Twenty Eleven) theme package.
How to change this WordPress behavior?
The only place where you can find ‘add_users’ WordPress user capability in WordPress source code is
$role->add_cap( 'add_users' );
What’s new in this version? I got feature request from one user about ability to edit “Administrator” role. Sometimes plugins or themes add its own capabilities to other (may be its own) roles, not to administrator. Thus, you may meet with situation, when some user can do more, than blog admin. That’s not so good.
Starting from version 3.4. you can turn on missed user capabilities for Administrator role. This feature is turned off by default. In order to turn it on,
moderate_commentsWordPress user capability “allows users to moderate comments from the Comments SubPanel (although a user needs the edit_posts Capability in order to access this)”, – oficial WordPress Codex page says.
What I can say? Do not trust your own eyes. It is not the full true. Only last part of this declaration (about “edit_posts” capability) works as described in relation to the Comments subpanel. Are you not sure? Check it yourself. Take “User Role Editor” WordPress plugin, select the “Editor” role and uncheck “moderate_comments” capability. Then login to WordPress under the user with “Editor” role and go to the “Comments” panel. Do you still see links “unapprove, edit, spam, trash” under the comments there? Thus, you still may moderate comments inspite of you have not “moderate_comments” capability.
So, the next question – what is the real power of “moderate_comments” WordPress user capability?
“Google launched a petition. Wikipedia voted to shut itself off. Senators’ websites went down just from the sheer surge of voters trying to write them. NYC and SF geeks had protests that packed city blocks.
You made history today: nothing like this has ever happened before. Tech companies and users teamed up. Tens of millions of people who make the internet what it is joined together to defend their freedoms. The free network defended itself. Whatever you call it, the bottom line is clear: from today forward, it will be much harder to mess up the internet.
The really crazy part? We might even win.
Approaching Monday’s crucial Senate vote there are now 35 Senators publicly opposing PIPA. Last week there were 5. And it just takes just 41 solid “no” votes to permanently stall PIPA (and SOPA) in the Senate. What seemed like miles away a few weeks ago is now within reach.
But don’t trust predictions. The forces behind SOPA & PIPA (mostly movie companies) can make small changes to these bills until they know they have the votes to pass. Members of Congress know SOPA & PIPA are unpopular, but they don’t understand why–so they’re easily duped by superficial changes.
The Senate returns next week, and the next few days are critical.”
I use NetBeans as my main integrated development environment to work with PHP. So, I downloaded it just got the notification email from netbeans.org. What is first impression? First impression is right the most of the time. On my Ubuntu 10.04 LTS installation was smooth and fast. After 1st start NetBeans as usual asked permission to import settings from the previous installation. Finally, it started and worked as it should. The main part – debugging with FireFox browser still works. So I can continue my Web development work under this version.
Small negative – I don’t know where the reason, but I caught the situation, when NetBeans editor window lost cursor focus.
WordPress 3.3.1 is available from January 3rd, 2012. Version 3.3.1 is a security update and fixed 15 bugs. While I didn’t meet any bugs in version 3.3 myself (and you?) I have updated my blogs as soon I got message about this security update (it fixes a cross-site scripting vulnerability that affected version 3.3) available. The same thing is highly recommended for other WordPress blog owners.
Do not wait when hackers exploit existing vulnerability, update your WordPress installation today, do not allow bad guys to use old and already closed black doors to your sweet WordPress blog home.
For more information, see the oficial release notes.