I found a few references to edit_user as a capability, one of which is this:
// Allow user to edit itself if ( 'edit_user' == $cap && isset( $args[0] ) && $user_id == $args[0] ) break;http://core.trac.wordpress.org/browser/tags/3.5.2/wp-includes/capabilities.php#L1005
I believe the comment in that block of code answers this question.
Per @PatJ, it looks like map_meta_cap converts (in a sense) edit_user into edit_users but only if the user attempting to edit the profile is the profile’s owner, thus allowing users who otherwise have no user edit capabilities to edit their own profile information.
Related Posts:
- Allowing Custom Capability to Manage Plugin Options
- How To Create A File Archive in WordPress?
- What are the common security flaws I need to look for? [closed]
- How can I modify the Capability needed to access a plugin’s options?
- Where should my plugin POST to?
- Add Capabilities to Custom Post Type after it has been created [duplicate]
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Should I use RIPS tool to test my themes and plugins?
- Checking for user role in a custom plugin
- Allow Facebook to preview posts before published
- Escape when echoed
- Set user ID at time of wp_create_user
- Update User Role
- How to write a plugin to add users to a mail list
- How to make a customize role and view a specific plugins base on that role?
- wp_create_nonce function doesn’t work inside a plugin?
- Making a plugin only available on the front-end for the logged in super admin
- Redirection of users away from wp-admin (but not administrators)
- How to set add question capability for author role in wp pro quiz plugin
- Unable to delete custom post types, confusion around capabilities
- Can a Plugin Override New User Default Role Type
- I should enable automatic updates?
- Prevent direct access to WordPress plugin assets?
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Remove specific administrator’s capability
- How to hide plugin options for editors via functions.php
- Adding plugin editing capability for Author
- Security of a WordPress Plugin
- Help to Create a Simple Plugin to make a post
- Allow a particular user to access a particular plugin?
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- See which user role / capability is needed to use a plugin
- Securing a plugin pop-up window
- Remove dashboard links from wordpress
- Why user profile update creates Additional Capabilities
- What is more secure checking capabilities of user or checking role of user in WordPress plugin development
- Run only on plug-in activation instead of wp_head
- wp_verify_nonce fails always
- Validating values using Settings API?
- Want to add post to user dashboard
- Sync roles across several plugins
- How to disable plugin capability : “create new category”
- edit slider plugin capability for custom_role
- WordPress.Security.NonceVerification.Recommended
- Why “Contact Form 7” doesn’t update PHPmailer library?
- Add rewrite rule to permalink structure
- Handling jQuery Component Collision
- Pass A Value From Outside To A Plugin Variable
- shortcode doesn’t work
- Will WordPress username displayed somewhere in the site?
- How to handle autoloading with composer by keeping the WordPress naming conventions?
- Current user in plugin returns NULL
- What are the benefit in adding hook in the init() hook?
- How can I implement a notification system in wordpress?
- Minimum PHP Required for WordPress
- building plugin and it is displaying above plugins page
- load_theme_textdomain path
- Create entire wordpress as a github repositery?
- Conditional attributes and logic per product category
- Why Is This Code Causing The Admin Bar to Disappear?
- Displaying Custom Sidebar Without Modifying Theme’s Core File?
- Adding CSS to custom post type admin page causes error
- Create shortcode to echo javascript
- Hack-Proof OR Security in WordPress — is it real?
- Redirect to another page using contact form 7? [closed]
- wp_list_table class is not safe to use
- Separate database for a wordpress plugin
- remove all submenus from plugin
- Specific way to allow WordPress users to view their current password? And edit it?
- Hook for page Request?
- SMTP Error: Could not authenticate [closed]
- How to delete all categories programatically?
- How to use custom Javascript code inside a plugin?
- Adding submenu to custom plugin menu page created with add_menu_page() function
- How to render a template file using shortcode inside a plugin
- Does WordPress check for updates of a plugin via plugins root folder name?
- Delete data from custom table when deleting a post
- How do i ‘deactivate’ a plugin only on a certain page template?
- Need to add/remove group of options and display them as rows
- How to deactivate my plugin upon deactivation of NextGen
- Paypal Framework
- WP Insert Post If user refreshes override new post
- Order by post_date does not work in Previous and Next post pagination
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- How to get the checkout form data from checkout page when place-order button is clicked
- Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin
- How to make WooCommerce multiple filter with custom meta fields
- Modify Plugin PHP Class in Child Theme – Correct Method
- Call function when save setting/option in custom admin page
- Plugin to Delete All Posts Monthly
- mailjet plugin – extend functionnalities and reuse api
- Force download a file within plugin file
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Creating fields in the database
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- Is Nonce Verification (CSRF) required for WordPress Custom Bulk User Actions?
- plugin development code standard not matching for SQL query
- Ajax response from Media Selection does not update ALL information more than once