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
This commit is contained in:
parent
4d751d4e98
commit
3e36e59646
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user