Docs: In various @return tags, list the expected type first, instead of false or WP_Error.
Follow-up to [46696], [47060], [49926], [49927]. See #51800. Built from https://develop.svn.wordpress.org/trunk@49929 git-svn-id: http://core.svn.wordpress.org/trunk@49628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -754,7 +754,7 @@ function spawn_cron( $gmt_time = 0 ) {
|
||||
* @since 2.1.0
|
||||
* @since 5.1.0 Return value added to indicate success or failure.
|
||||
*
|
||||
* @return false|int On success an integer indicating number of events spawned (0 indicates no
|
||||
* @return int|false On success an integer indicating number of events spawned (0 indicates no
|
||||
* events needed to be spawned), false if spawning fails for one or more events.
|
||||
*/
|
||||
function wp_cron() {
|
||||
|
||||
Reference in New Issue
Block a user