mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -357,8 +357,6 @@ function current_filter() {
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @uses current_filter()
|
||||
*
|
||||
* @return string Hook name of the current action.
|
||||
*/
|
||||
function current_action() {
|
||||
@@ -401,8 +399,6 @@ function doing_filter( $filter = null ) {
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @uses doing_filter()
|
||||
*
|
||||
* @param string|null $action Optional. Action to check. Defaults to null, which checks
|
||||
* if any action is currently being run.
|
||||
* @return bool Whether the action is currently in the stack.
|
||||
@@ -421,8 +417,6 @@ function doing_action( $action = null ) {
|
||||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
* @uses add_filter() Adds an action. Parameter list and functionality are the same.
|
||||
*
|
||||
* @param string $tag The name of the action to which the $function_to_add is hooked.
|
||||
* @param callback $function_to_add The name of the function you wish to be called.
|
||||
* @param int $priority Optional. Used to specify the order in which the functions
|
||||
@@ -646,8 +640,6 @@ function remove_all_actions($tag, $priority = false) {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @uses WP_PLUGIN_DIR, WPMU_PLUGIN_DIR
|
||||
*
|
||||
* @param string $file The filename of plugin.
|
||||
* @return string The name of a plugin.
|
||||
*/
|
||||
@@ -832,8 +824,6 @@ function register_uninstall_hook( $file, $callback ) {
|
||||
* @since 2.5.0
|
||||
* @access private
|
||||
*
|
||||
* @uses $wp_filter Used to process all of the functions in the 'all' hook.
|
||||
*
|
||||
* @param array $args The collected parameters from the hook that was called.
|
||||
*/
|
||||
function _wp_call_all_hook($args) {
|
||||
|
||||
Reference in New Issue
Block a user