Changeset 54267
- Timestamp:
- 09/20/2022 08:30:03 PM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r54247 r54267 1650 1650 * in which to show the box. Default 'default'. 1651 1651 * @param array $args { 1652 * Optional. Extra arguments used when outputting the field.1652 * Optional. Extra arguments that get passed to the callback function. 1653 1653 * 1654 1654 * @type string $label_for When supplied, the setting title will be wrapped -
trunk/src/wp-includes/cron.php
r54210 r54267 378 378 379 379 /** 380 * Filter to preflight or hijack rescheduling of events.380 * Filter to preflight or hijack rescheduling of a recurring event. 381 381 * 382 382 * Returning a non-null value will short-circuit the normal rescheduling … … 393 393 * An object containing an event's data. 394 394 * 395 * @type string 396 * @type int 397 * @type string |false$schedule How often the event should subsequently recur.398 * @type array 399 * @type int $interval The interval time in seconds for the schedule. Only present for recurring events.395 * @type string $hook Action hook to execute when the event is run. 396 * @type int $timestamp Unix timestamp (UTC) for when to next run the event. 397 * @type string $schedule How often the event should subsequently recur. 398 * @type array $args Array containing each separate argument to pass to the hook's callback function. 399 * @type int $interval The interval time in seconds for the schedule. 400 400 * } 401 401 * @param bool $wp_error Whether to return a WP_Error on failure. -
trunk/src/wp-includes/functions.php
r54240 r54267 1497 1497 * @see wp_get_nocache_headers() 1498 1498 * 1499 * @param array $headers { 1500 * Header names and field values. 1501 * 1502 * @type string $Expires Expires header. 1503 * @type string $Cache-Control Cache-Control header. 1504 * } 1499 * @param array $headers Header names and field values. 1505 1500 */ 1506 1501 $headers = (array) apply_filters( 'nocache_headers', $headers ); -
trunk/src/wp-includes/general-template.php
r54224 r54267 4339 4339 * 4340 4340 * @param string $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'. 4341 * @return string A space-separated list of language attributes. 4341 4342 */ 4342 4343 function get_language_attributes( $doctype = 'html' ) { -
trunk/src/wp-includes/option.php
r54145 r54267 343 343 * 344 344 * @since 3.0.0 345 * @since 6.1.0 Uses update_meta_cache345 * @since 6.1.0 Now uses update_meta_cache(). 346 346 * 347 347 * @param int $network_id Optional site ID for which to query the options. Defaults to the current site. … … 1807 1807 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1808 1808 * 1809 * Returning a truthy value from the filter will effectively short-circuit retrieval1810 * and return the passedvalue instead.1809 * Returning a value other than boolean false will short-circuit retrieval and 1810 * return that value instead. 1811 1811 * 1812 1812 * @since 2.9.0 -
trunk/src/wp-includes/post.php
r54255 r54267 7979 7979 * 7980 7980 * @param string $type 7981 * @return mixed7981 * @return string[] An array of MIME types. 7982 7982 */ 7983 7983 function get_available_post_mime_types( $type = 'attachment' ) { -
trunk/src/wp-includes/script-loader.php
r54254 r54267 170 170 * 171 171 * @param WP_Scripts $scripts WP_Scripts object. 172 * @param array$tests Features to detect.172 * @param string[] $tests Features to detect. 173 173 * @return string Conditional polyfill inline script. 174 174 */ … … 1746 1746 * @since 2.3.1 1747 1747 * 1748 * @param array$js_array JavaScript scripts array1749 * @return arrayReordered array, if needed.1748 * @param string[] $js_array JavaScript scripts array 1749 * @return string[] Reordered array, if needed. 1750 1750 */ 1751 1751 function wp_prototype_before_jquery( $js_array ) {
Note: See TracChangeset
for help on using the changeset viewer.