mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +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:
@@ -43,9 +43,6 @@ class WP_Embed {
|
||||
* calls {@link do_shortcode()}, and then re-registers the old shortcodes.
|
||||
*
|
||||
* @uses $shortcode_tags
|
||||
* @uses remove_all_shortcodes()
|
||||
* @uses add_shortcode()
|
||||
* @uses do_shortcode()
|
||||
*
|
||||
* @param string $content Content to parse
|
||||
* @return string Content with shortcode parsed
|
||||
@@ -122,17 +119,6 @@ class WP_Embed {
|
||||
* Attempts to convert a URL into embed HTML. Starts by checking the URL against the regex of the registered embed handlers.
|
||||
* If none of the regex matches and it's enabled, then the URL will be given to the {@link WP_oEmbed} class.
|
||||
*
|
||||
* @uses wp_oembed_get()
|
||||
* @uses wp_parse_args()
|
||||
* @uses wp_embed_defaults()
|
||||
* @uses WP_Embed::maybe_make_link()
|
||||
* @uses get_option()
|
||||
* @uses author_can()
|
||||
* @uses wp_cache_get()
|
||||
* @uses wp_cache_set()
|
||||
* @uses get_post_meta()
|
||||
* @uses update_post_meta()
|
||||
*
|
||||
* @param array $attr {
|
||||
* Shortcode attributes. Optional.
|
||||
*
|
||||
@@ -332,8 +318,6 @@ class WP_Embed {
|
||||
/**
|
||||
* Callback function for {@link WP_Embed::autoembed()}.
|
||||
*
|
||||
* @uses WP_Embed::shortcode()
|
||||
*
|
||||
* @param array $match A regex match array.
|
||||
* @return string The embed HTML on success, otherwise the original URL.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user