WordPress/wp-includes
Drew Jaynes a7ea95f53a Docs: Add documentation for $object_id, the optional second parameter in current_user_can() and WP_User::has_cap(), and the optional third parameter in map_meta_cap().
This change introduces the vernacular of "meta" vs "primitive" capabilities to core docs, and providing examples for each inline and attempts to make it clear that `$object_id` is really only useful if the passed `$capability` is of the meta cap variety.

Props jliman for the initial patch.
Fixes #32694.

Built from https://develop.svn.wordpress.org/trunk@34224


git-svn-id: http://core.svn.wordpress.org/trunk@34188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-16 07:36:32 +00:00
..
2015-07-23 10:03:24 +00:00
2015-06-28 00:17:25 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-08-31 21:25:21 +00:00
2015-06-16 20:01:25 +00:00