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:
@@ -2274,8 +2274,6 @@ function wp_get_mime_types() {
|
||||
*
|
||||
* @since 2.8.6
|
||||
*
|
||||
* @uses wp_get_upload_mime_types() to fetch the list of mime types
|
||||
*
|
||||
* @param int|WP_User $user Optional. User to check. Defaults to current user.
|
||||
* @return array Array of mime types keyed by the file extension regex corresponding
|
||||
* to those types.
|
||||
@@ -3200,8 +3198,6 @@ function wp_maybe_load_widgets() {
|
||||
* Append the Widgets menu to the themes main menu.
|
||||
*
|
||||
* @since 2.2.0
|
||||
*
|
||||
* @uses $submenu The administration submenu list.
|
||||
*/
|
||||
function wp_widgets_add_menu() {
|
||||
global $submenu;
|
||||
|
||||
Reference in New Issue
Block a user