From 3e36e5964646e39b302a10b591e670fef28c0cd2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 4 Apr 2015 19:45:48 +0000 Subject: [PATCH] Add missing `@since` versions from a variety of methods in `WP_Press_This`. See [31693]. See #31888. git-svn-id: https://develop.svn.wordpress.org/trunk@32014 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-press-this.php | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index 8001fa44d4..6a580b5d29 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -921,8 +921,11 @@ class WP_Press_This { /** * Get a list of embeds with no duplicates. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. - * @returns array + * @returns array Embeds selected to be available. */ public function get_embeds( $data ) { $selected_embeds = array(); @@ -946,6 +949,9 @@ class WP_Press_This { /** * Get a list of images with no duplicates. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. * @returns array */ @@ -977,6 +983,9 @@ class WP_Press_This { /** * Gets the source page's canonical link, based on passed location and meta data. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. * @returns string Discovered canonical URL, or empty */ @@ -1005,6 +1014,9 @@ class WP_Press_This { /** * Gets the source page's site name, based on passed meta data. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. * @returns string Discovered site name, or empty */ @@ -1025,6 +1037,9 @@ class WP_Press_This { /** * Gets the source page's title, based on passed title and meta data. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. * @returns string Discovered page title, or empty */ @@ -1048,8 +1063,12 @@ class WP_Press_This { /** * Gets the source page's suggested content, based on passed data (description, selection, etc). + * * Features a blockquoted excerpt, as well as content attribution, if any. * + * @since 4.2.0 + * @access public + * * @param array $data The site's data. * @returns string Discovered content, or empty */