Ticket #12215: functions-phpdoc-part2.patch
File functions-phpdoc-part2.patch, 2.5 KB (added by , 14 years ago) |
---|
-
functions.php
952 952 * @subpackage Option 953 953 * @since 2.8.0 954 954 * 955 * @param unknown $all 956 * @return bool 955 957 */ 956 958 function wp_set_all_user_settings($all) { 957 959 global $_updated_user_settings; … … 1588 1590 * parameters. 1589 1591 * 1590 1592 * @param int $header HTTP status code 1591 * @return null Does not return anything.1593 * @return unknown 1592 1594 */ 1593 1595 function status_header( $header ) { 1594 1596 $text = get_status_header_desc( $header ); … … 3027 3029 * 3028 3030 * @since 2.5.0 3029 3031 * 3032 * @param string $url 3030 3033 * @return bool Whether or not SSL access is available 3031 3034 */ 3032 3035 function url_is_accessable_via_ssl($url) … … 3695 3698 * 3696 3699 * Overrides the gmt_offset option if we have a timezone_string available 3697 3700 * 3698 * @since 2.8 3701 * @since 2.8.0 3699 3702 * 3700 * @return unknown3703 * @return float|bool 3701 3704 */ 3702 3705 function wp_timezone_override_offset() { 3703 3706 if ( !wp_timezone_supported() ) { … … 3718 3721 /** 3719 3722 * Check for PHP timezone support 3720 3723 * 3721 * @since 2.9 3724 * @since 2.9.0 3722 3725 * 3723 * @return unknown3726 * @return bool 3724 3727 */ 3725 3728 function wp_timezone_supported() { 3726 3729 $support = false; … … 3738 3741 /** 3739 3742 * {@internal Missing Short Description}} 3740 3743 * 3741 * @since 2.9 3744 * @since 2.9.0 3742 3745 * 3743 3746 * @param unknown_type $a 3744 3747 * @param unknown_type $b 3745 * @return unknown3748 * @return int 3746 3749 */ 3747 3750 function _wp_timezone_choice_usort_callback( $a, $b ) { 3748 3751 // Don't use translated versions of Etc … … 3785 3788 /** 3786 3789 * Gives a nicely formatted list of timezone strings // temporary! Not in final 3787 3790 * 3788 * @since 2.9 3791 * @since 2.9.0 3789 3792 * 3790 3793 * @param string $selected_zone Selected Zone 3791 3794 * @return string … … 3915 3918 * Strip close comment and close php tags from file headers used by WP 3916 3919 * See http://core.trac.wordpress.org/ticket/8497 3917 3920 * 3918 * @since 2.8 3919 **/ 3921 * @since 2.8.0 3922 * 3923 * @param string $str 3924 * @return string 3925 */ 3920 3926 function _cleanup_header_comment($str) { 3921 3927 return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); 3922 3928 } … … 3925 3931 * Permanently deletes posts, pages, attachments, and comments which have been in the trash for EMPTY_TRASH_DAYS. 3926 3932 * 3927 3933 * @since 2.9.0 3928 *3929 * @return void3930 3934 */ 3931 3935 function wp_scheduled_delete() { 3932 3936 global $wpdb; … … 4033 4037 * 4034 4038 * @private 4035 4039 * @since 2.9.0 4040 * 4041 * @param string $t 4042 * @return string 4036 4043 */ 4037 4044 function _search_terms_tidy($t) { 4038 4045 return trim($t, "\"'\n\r "); 4039 4046 } 4040 ?> 4041 No newline at end of file 4047 ?>