From 06ea5c78be4d0a0346b6cf64e453e0bff5bcaefe Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 22 May 2015 05:14:30 +0000 Subject: [PATCH] Clean up doc blocks for `class-wp-embed.php`. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32544 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-embed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-embed.php b/src/wp-includes/class-wp-embed.php index 9af3c224fe..e11f8c5e3e 100644 --- a/src/wp-includes/class-wp-embed.php +++ b/src/wp-includes/class-wp-embed.php @@ -44,7 +44,7 @@ class WP_Embed { * this function removes all existing shortcodes, registers the [embed] shortcode, * calls {@link do_shortcode()}, and then re-registers the old shortcodes. * - * @uses $shortcode_tags + * @global array $shortcode_tags * * @param string $content Content to parse * @return string Content with shortcode parsed @@ -92,7 +92,7 @@ class WP_Embed { * * @param string $id An internal ID/name for the handler. Needs to be unique. * @param string $regex The regex that will be used to see if this handler should be used for a URL. - * @param callback $callback The callback function that will be called if the regex is matched. + * @param callable $callback The callback function that will be called if the regex is matched. * @param int $priority Optional. Used to specify the order in which the registered handlers will be tested (default: 10). Lower numbers correspond with earlier testing, and handlers with the same priority are tested in the order in which they were added to the action. */ public function register_handler( $id, $regex, $callback, $priority = 10 ) {