Docs: Add missing `@since` tag for `WP_Site_Health::has_late_cron()`.
See #47223. Built from https://develop.svn.wordpress.org/trunk@45803 git-svn-id: http://core.svn.wordpress.org/trunk@45614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d7ae02376
commit
d85ba82d8e
|
@ -1940,7 +1940,7 @@ class WP_Site_Health {
|
||||||
*
|
*
|
||||||
* @since 5.2.0
|
* @since 5.2.0
|
||||||
*
|
*
|
||||||
* @return bool|WP_Error true if a cron was missed, false if it wasn't. WP_Error if the cron is set to that.
|
* @return bool|WP_Error True if a cron was missed, false if not. WP_Error if the cron is set to that.
|
||||||
*/
|
*/
|
||||||
public function has_missed_cron() {
|
public function has_missed_cron() {
|
||||||
if ( is_wp_error( $this->crons ) ) {
|
if ( is_wp_error( $this->crons ) ) {
|
||||||
|
@ -1963,7 +1963,9 @@ class WP_Site_Health {
|
||||||
* Returns a boolean value of `true` if a scheduled task is late and ends processing. If the list of
|
* Returns a boolean value of `true` if a scheduled task is late and ends processing. If the list of
|
||||||
* crons is an instance of WP_Error, return the instance instead of a boolean value.
|
* crons is an instance of WP_Error, return the instance instead of a boolean value.
|
||||||
*
|
*
|
||||||
* @return bool|WP_Error true if a cron is late, false if it wasn't. WP_Error if the cron is set to that.
|
* @since 5.3.0
|
||||||
|
*
|
||||||
|
* @return bool|WP_Error True if a cron is late, false if not. WP_Error if the cron is set to that.
|
||||||
*/
|
*/
|
||||||
public function has_late_cron() {
|
public function has_late_cron() {
|
||||||
if ( is_wp_error( $this->crons ) ) {
|
if ( is_wp_error( $this->crons ) ) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45802';
|
$wp_version = '5.3-alpha-45803';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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