mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: In various @return tags, list the expected type first, instead of false.
Follow-up to [46696], [47060], [49926], [49927], [49929]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -865,7 +865,7 @@ function wp_get_schedules() {
|
||||
*
|
||||
* @param string $hook Action hook to identify the event.
|
||||
* @param array $args Optional. Arguments passed to the event's callback function.
|
||||
* @return string|false False, if no schedule. Schedule name on success.
|
||||
* @return string|false Schedule name on success, false if no schedule.
|
||||
*/
|
||||
function wp_get_schedule( $hook, $args = array() ) {
|
||||
$schedule = false;
|
||||
@@ -947,7 +947,7 @@ function wp_get_ready_cron_jobs() {
|
||||
* @since 2.1.0
|
||||
* @access private
|
||||
*
|
||||
* @return array|false CRON info array.
|
||||
* @return array|false Cron info array on success, false on failure.
|
||||
*/
|
||||
function _get_cron_array() {
|
||||
$cron = get_option( 'cron' );
|
||||
|
||||
Reference in New Issue
Block a user