From e82de7ef274751d503682f0485c1ccee9db78b51 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 4 Apr 2015 19:46:26 +0000 Subject: [PATCH] Add missing `@since` versions from a variety of methods in `WP_Press_This`. See [31693]. See #31888. Built from https://develop.svn.wordpress.org/trunk@32014 git-svn-id: http://core.svn.wordpress.org/trunk@31993 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-press-this.php | 21 ++++++++++++++++++++- wp-includes/version.php | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-press-this.php b/wp-admin/includes/class-wp-press-this.php index 8001fa44d4..6a580b5d29 100644 --- a/wp-admin/includes/class-wp-press-this.php +++ b/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 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 37af0aeb59..08dadc42fe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta4-32013'; +$wp_version = '4.2-beta4-32014'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.