mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Replace @returns
with @return
in PHP docblocks.
props kraftbj. fixes #32865. Built from https://develop.svn.wordpress.org/trunk@33052 git-svn-id: http://core.svn.wordpress.org/trunk@33023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0d270f67c2
commit
3fb3d2a762
@ -944,7 +944,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns array Embeds selected to be available.
|
* @return array Embeds selected to be available.
|
||||||
*/
|
*/
|
||||||
public function get_embeds( $data ) {
|
public function get_embeds( $data ) {
|
||||||
$selected_embeds = array();
|
$selected_embeds = array();
|
||||||
@ -977,7 +977,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function get_images( $data ) {
|
public function get_images( $data ) {
|
||||||
$selected_images = array();
|
$selected_images = array();
|
||||||
@ -1011,7 +1011,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns string Discovered canonical URL, or empty
|
* @return string Discovered canonical URL, or empty
|
||||||
*/
|
*/
|
||||||
public function get_canonical_link( $data ) {
|
public function get_canonical_link( $data ) {
|
||||||
$link = '';
|
$link = '';
|
||||||
@ -1042,7 +1042,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns string Discovered site name, or empty
|
* @return string Discovered site name, or empty
|
||||||
*/
|
*/
|
||||||
public function get_source_site_name( $data ) {
|
public function get_source_site_name( $data ) {
|
||||||
$name = '';
|
$name = '';
|
||||||
@ -1065,7 +1065,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns string Discovered page title, or empty
|
* @return string Discovered page title, or empty
|
||||||
*/
|
*/
|
||||||
public function get_suggested_title( $data ) {
|
public function get_suggested_title( $data ) {
|
||||||
$title = '';
|
$title = '';
|
||||||
@ -1094,7 +1094,7 @@ class WP_Press_This {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param array $data The site's data.
|
* @param array $data The site's data.
|
||||||
* @returns string Discovered content, or empty
|
* @return string Discovered content, or empty
|
||||||
*/
|
*/
|
||||||
public function get_suggested_content( $data ) {
|
public function get_suggested_content( $data ) {
|
||||||
$content = $text = '';
|
$content = $text = '';
|
||||||
|
@ -346,7 +346,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
|
|||||||
*
|
*
|
||||||
* @param bool $horz Flip along Horizontal Axis
|
* @param bool $horz Flip along Horizontal Axis
|
||||||
* @param bool $vert Flip along Vertical Axis
|
* @param bool $vert Flip along Vertical Axis
|
||||||
* @returns true|WP_Error
|
* @return true|WP_Error
|
||||||
*/
|
*/
|
||||||
public function flip( $horz, $vert ) {
|
public function flip( $horz, $vert ) {
|
||||||
$w = $this->size['width'];
|
$w = $this->size['width'];
|
||||||
|
@ -413,7 +413,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
|||||||
*
|
*
|
||||||
* @param bool $horz Flip along Horizontal Axis
|
* @param bool $horz Flip along Horizontal Axis
|
||||||
* @param bool $vert Flip along Vertical Axis
|
* @param bool $vert Flip along Vertical Axis
|
||||||
* @returns true|WP_Error
|
* @return true|WP_Error
|
||||||
*/
|
*/
|
||||||
public function flip( $horz, $vert ) {
|
public function flip( $horz, $vert ) {
|
||||||
try {
|
try {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta1-33051';
|
$wp_version = '4.3-beta1-33052';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user