mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@30105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -554,9 +554,6 @@ function unregister_widget($widget_class) {
|
||||
* @since 2.2.0
|
||||
*
|
||||
* @see register_sidebar() The second parameter is documented by register_sidebar() and is the same here.
|
||||
* @uses parse_str() Converts a string to an array to be used in the rest of the function.
|
||||
* @uses register_sidebar() Sends single sidebar information [name, id] to this
|
||||
* function to handle building the sidebar.
|
||||
*
|
||||
* @param int $number Number of sidebars to create.
|
||||
* @param string|array $args Builds Sidebar based off of 'name' and 'id' values.
|
||||
@@ -631,7 +628,6 @@ function register_sidebars($number = 1, $args = array()) {
|
||||
*
|
||||
* @since 2.2.0
|
||||
* @uses $wp_registered_sidebars Stores the new sidebar in this array by sidebar ID.
|
||||
* @uses add_theme_support() to ensure widget support has been added.
|
||||
*
|
||||
* @param string|array $args Arguments for the sidebar being registered.
|
||||
* @return string Sidebar ID added to $wp_registered_sidebars global.
|
||||
@@ -932,7 +928,6 @@ function _register_widget_form_callback($id, $name, $form_callback, $options = a
|
||||
* Remove control callback for widget.
|
||||
*
|
||||
* @since 2.2.0
|
||||
* @uses wp_register_widget_control() Unregisters by using empty callback.
|
||||
*
|
||||
* @param int|string $id Widget ID.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user