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:
@@ -50,7 +50,6 @@ $wp_file_descriptions = array(
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @uses _cleanup_header_comment
|
||||
* @uses $wp_file_descriptions
|
||||
* @param string $file Filesystem path or filename
|
||||
* @return string Description of file from $wp_file_descriptions or basename of $file if description doesn't exist
|
||||
@@ -75,7 +74,6 @@ function get_file_description( $file ) {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @uses get_option
|
||||
* @return string Full filesystem path to the root of the WordPress installation
|
||||
*/
|
||||
function get_home_path() {
|
||||
@@ -163,8 +161,6 @@ function wp_tempnam($filename = '', $dir = '') {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @uses wp_die
|
||||
* @uses validate_file
|
||||
* @param string $file file the users is attempting to edit
|
||||
* @param array $allowed_files Array of allowed files to edit, $file must match an entry exactly
|
||||
* @return null
|
||||
|
||||
Reference in New Issue
Block a user