Docs: Remove/replace invalid inline `@link` tags from DocBlocks in wp-admin/includes/*.

See #36910.


git-svn-id: https://develop.svn.wordpress.org/trunk@37485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-05-22 17:21:48 +00:00
parent 1d6fff7f66
commit b537c97778
3 changed files with 11 additions and 12 deletions

View File

@ -929,11 +929,11 @@ function validate_active_plugins() {
/**
* Validate the plugin path.
*
* Checks that the file exists and {@link validate_file() is valid file}.
* Checks that the file exists and is a valid file. See validate_file().
*
* @since 2.5.0
*
* @param string $plugin Plugin Path
* @param string $plugin Plugin Path.
* @return WP_Error|int 0 on success, WP_Error on failure.
*/
function validate_plugin($plugin) {

View File

@ -1100,7 +1100,7 @@ function remove_meta_box( $id, $screen, $context ) {
/**
* Meta Box Accordion Template Function
*
* Largely made up of abstracted code from {@link do_meta_boxes()}, this
* Largely made up of abstracted code from do_meta_boxes(), this
* function serves to build meta boxes as list items for display as
* a collapsible accordion.
*
@ -1513,10 +1513,9 @@ function find_posts_div($found_action = '') {
}
/**
* Display the post password.
* Displays the post password.
*
* The password is passed through {@link esc_attr()} to ensure that it
* is safe for placing in an html attribute.
* The password is passed through esc_attr() to ensure that it is safe for placing in an html attribute.
*
* @since 2.7.0
*/
@ -1545,10 +1544,10 @@ function _draft_or_post_title( $post = 0 ) {
}
/**
* Display the search query.
* Displays the search query.
*
* A simple wrapper to display the "s" parameter in a GET URI. This function
* should only be used when {@link the_search_query()} cannot.
* A simple wrapper to display the "s" parameter in a `GET` URI. This function
* should only be used when the_search_query() cannot.
*
* @since 2.7.0
*/

View File

@ -744,16 +744,16 @@ if ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || CORE_UPGRADE_SKIP_NEW_BUNDL
}
/**
* Upgrade the core of WordPress.
* Upgrades the core of WordPress.
*
* This will create a .maintenance file at the base of the WordPress directory
* to ensure that people can not access the web site, when the files are being
* copied to their locations.
*
* The files in the {@link $_old_files} list will be removed and the new files
* The files in the `$_old_files` list will be removed and the new files
* copied from the zip file after the database is upgraded.
*
* The files in the {@link $_new_bundled_files} list will be added to the installation
* The files in the `$_new_bundled_files` list will be added to the installation
* if the version is greater than or equal to the old version being upgraded.
*
* The steps for the upgrader for after the new release is downloaded and