Changeset 26736
- Timestamp:
- 12/06/2013 07:17:35 PM (11 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r26346 r26736 2037 2037 * @since 3.8.0 2038 2038 * 2039 * @param array $update_results The results of all updates attempted2039 * @param array $update_results The results of all attempted updates. 2040 2040 */ 2041 2041 do_action( 'automatic_updates_complete', $this->update_results ); … … 2447 2447 * Array of email arguments that will be passed to wp_mail(). 2448 2448 * 2449 * @type string $to The email recipient. An array of emails can be returned, as handled by wp_mail(). 2450 * @type string $subject The email's subject. 2451 * @type string $body The email message body. 2452 * @type string $headers Any email headers, defaults to no headers. 2449 * @type string $to The email recipient. An array of emails can be returned, 2450 * as handled by wp_mail(). 2451 * @type string $subject Email subject. 2452 * @type string $body Email message body. 2453 * @type string $headers Any email headers. Default empty. 2453 2454 * } 2454 * @param int $failures The number of failures encountered while upgrading 2455 * @param mixed $results The results of all updates attempted2455 * @param int $failures The number of failures encountered while upgrading. 2456 * @param mixed $results The results of all attempted updates. 2456 2457 */ 2457 2458 $email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results ); -
trunk/src/wp-admin/includes/dashboard.php
r26704 r26736 312 312 * @since 3.8.0 313 313 * 314 * @param string $error_msg Error message.314 * @param string $error_msg Optional. Error message. Default false. 315 315 */ 316 316 function wp_dashboard_quick_press( $error_msg = false ) { … … 546 546 * @since 3.8.0 547 547 * 548 * @param array $args 548 * @param array $args { 549 * An array of query and display arguments. 550 * 551 * @type int $display Number of posts to display. 552 * @type int $max Maximum number of posts to query. 553 * @type string $status Post status. 554 * @type string $order Designates ascending ('ASC') or descending ('DESC') order. 555 * @type string $title Section title. 556 * @type string $id The container id. 557 * } 558 * @return bool False if no posts were found. True otherwise. 549 559 */ 550 560 function wp_dashboard_recent_posts( $args ) { … … 618 628 * @since 3.8.0 619 629 * 620 * @param int $total_items 630 * @param int $total_items Optional. Number of comments to query. Default 5. 631 * @return bool False if no comments were found. True otherwise. 621 632 */ 622 633 function wp_dashboard_recent_comments( $total_items = 5 ) { … … 844 855 * 845 856 * @since 3.8.0 857 * 858 * @param string $widget_id Widget ID. 859 * @param array $feeds Array of RSS feeds. 846 860 */ 847 861 function wp_dashboard_primary_output( $widget_id, $feeds ) { -
trunk/src/wp-admin/includes/template.php
r26380 r26736 1977 1977 * @since 3.8.0 1978 1978 * @param array $args { 1979 * @type int $rating The Rating to display, Expressed in a 0.5 rating increment, or a percentage. 1980 * @type string $type The format that the $rating is in. Valid values are 'rating' (default), or, 'percent'. 1981 * @type int $number The number of ratings which makes up this rating. 1979 * Optional. Array of star ratings arguments. 1980 * 1981 * @type int $rating The rating to display, expressed in either a 0.5 rating increment, 1982 * or percentage. Default 0. 1983 * @type string $type Format that the $rating is in. Valid values are 'rating' (default), 1984 * or, 'percent'. Default 'rating'. 1985 * @type int $number The number of ratings that makes up this rating. Default 0. 1982 1986 * } 1983 1987 */ -
trunk/src/wp-admin/includes/theme.php
r26726 r26736 114 114 115 115 /** 116 * Retrieve the update link if there is a n update for a theme available.117 * 118 * Will return a link ,if there is an update available.116 * Retrieve the update link if there is a theme update available. 117 * 118 * Will return a link if there is an update available. 119 119 * 120 120 * @since 3.8.0 121 121 * 122 * @param object $theme Theme dataobject.123 * @return string|bool HTML for the update link, or False if novalid info was passed.122 * @param WP_Theme $theme WP_Theme object. 123 * @return string|bool HTML for the update link, or false if invalid info was passed. 124 124 */ 125 125 function get_theme_update_available( $theme ) {
Note: See TracChangeset
for help on using the changeset viewer.