mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Docs: Miscellaneous docblock improvements.
See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@51955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1040,7 +1040,7 @@ function _wp_cron() {
|
||||
* @since 2.1.0
|
||||
* @since 5.4.0 The 'weekly' schedule was added.
|
||||
*
|
||||
* @return array
|
||||
* @return array[]
|
||||
*/
|
||||
function wp_get_schedules() {
|
||||
$schedules = array(
|
||||
@@ -1067,7 +1067,7 @@ function wp_get_schedules() {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param array $new_schedules An array of non-default cron schedules. Default empty.
|
||||
* @param array[] $new_schedules An array of non-default cron schedule arrays. Default empty.
|
||||
*/
|
||||
return array_merge( apply_filters( 'cron_schedules', array() ), $schedules );
|
||||
}
|
||||
|
||||
@@ -3539,8 +3539,8 @@ function get_gmt_from_date( $string, $format = 'Y-m-d H:i:s' ) {
|
||||
/**
|
||||
* Given a date in UTC or GMT timezone, returns that date in the timezone of the site.
|
||||
*
|
||||
* Requires and returns a date in the Y-m-d H:i:s format.
|
||||
* Return format can be overridden using the $format parameter.
|
||||
* Requires a date in the Y-m-d H:i:s format.
|
||||
* Default return format of 'Y-m-d H:i:s' can be overridden using the `$format` parameter.
|
||||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
|
||||
@@ -3073,7 +3073,7 @@ function require_if_theme_supports( $feature, $include ) {
|
||||
* @type string $type The type of data associated with this feature.
|
||||
* Valid values are 'string', 'boolean', 'integer',
|
||||
* 'number', 'array', and 'object'. Defaults to 'boolean'.
|
||||
* @type boolean $variadic Does this feature utilize the variadic support
|
||||
* @type bool $variadic Does this feature utilize the variadic support
|
||||
* of add_theme_support(), or are all arguments specified
|
||||
* as the second parameter. Must be used with the "array" type.
|
||||
* @type string $description A short description of the feature. Included in
|
||||
|
||||
Reference in New Issue
Block a user