Remove redundant and erroneous @uses tag from most core inline documentation.
Per our inline documentation standards, no further use of the `@uses` tag is recommended as used and used-by relationships can be derived through other means. This removes most uses of the tag in core documentation, with remaining tags to be converted to `@global` or `@see` as they apply. Fixes #30191. Built from https://develop.svn.wordpress.org/trunk@30105 git-svn-id: http://core.svn.wordpress.org/trunk@30105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -60,8 +60,6 @@ function get_bookmark($bookmark, $output = OBJECT, $filter = 'raw') {
|
||||
* Retrieve single bookmark data item or field.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @uses get_bookmark() Gets bookmark object using $bookmark as ID
|
||||
* @uses sanitize_bookmark_field() Sanitizes Bookmark field based on $context.
|
||||
*
|
||||
* @param string $field The name of the data field to return
|
||||
* @param int $bookmark The bookmark ID to get field
|
||||
@@ -407,7 +405,6 @@ function sanitize_bookmark_field($field, $value, $bookmark_id, $context) {
|
||||
* Deletes bookmark cache
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @uses wp_cache_delete() Deletes the contents of 'get_bookmarks'
|
||||
*/
|
||||
function clean_bookmark_cache( $bookmark_id ) {
|
||||
wp_cache_delete( $bookmark_id, 'bookmark' );
|
||||
|
||||
Reference in New Issue
Block a user