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
This commit is contained in:
Drew Jaynes 2015-04-04 19:46:26 +00:00
parent 7b89119eee
commit e82de7ef27
2 changed files with 21 additions and 2 deletions

View File

@ -921,8 +921,11 @@ class WP_Press_This {
/** /**
* Get a list of embeds with no duplicates. * Get a list of embeds with no duplicates.
* *
* @since 4.2.0
* @access public
*
* @param array $data The site's data. * @param array $data The site's data.
* @returns array * @returns array Embeds selected to be available.
*/ */
public function get_embeds( $data ) { public function get_embeds( $data ) {
$selected_embeds = array(); $selected_embeds = array();
@ -946,6 +949,9 @@ class WP_Press_This {
/** /**
* Get a list of images with no duplicates. * Get a list of images with no duplicates.
* *
* @since 4.2.0
* @access public
*
* @param array $data The site's data. * @param array $data The site's data.
* @returns array * @returns array
*/ */
@ -977,6 +983,9 @@ class WP_Press_This {
/** /**
* Gets the source page's canonical link, based on passed location and meta data. * 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. * @param array $data The site's data.
* @returns string Discovered canonical URL, or empty * @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. * 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. * @param array $data The site's data.
* @returns string Discovered site name, or empty * @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. * 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. * @param array $data The site's data.
* @returns string Discovered page title, or empty * @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). * 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. * Features a blockquoted excerpt, as well as content attribution, if any.
* *
* @since 4.2.0
* @access public
*
* @param array $data The site's data. * @param array $data The site's data.
* @returns string Discovered content, or empty * @returns string Discovered content, or empty
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.