WordPress.org

Make WordPress Core

Ticket #12215: functions-phpdoc-part2.patch

File functions-phpdoc-part2.patch, 2.5 KB (added by miqrogroove, 8 years ago)
  • functions.php

     
    952952 * @subpackage Option
    953953 * @since 2.8.0
    954954 *
     955 * @param unknown $all
     956 * @return bool
    955957 */
    956958function wp_set_all_user_settings($all) {
    957959        global $_updated_user_settings;
     
    15881590 *              parameters.
    15891591 *
    15901592 * @param int $header HTTP status code
    1591  * @return null Does not return anything.
     1593 * @return unknown
    15921594 */
    15931595function status_header( $header ) {
    15941596        $text = get_status_header_desc( $header );
     
    30273029 *
    30283030 * @since 2.5.0
    30293031 *
     3032 * @param string $url
    30303033 * @return bool Whether or not SSL access is available
    30313034 */
    30323035function url_is_accessable_via_ssl($url)
     
    36953698 *
    36963699 * Overrides the gmt_offset option if we have a timezone_string available
    36973700 *
    3698  * @since 2.8
     3701 * @since 2.8.0
    36993702 *
    3700  * @return unknown
     3703 * @return float|bool
    37013704 */
    37023705function wp_timezone_override_offset() {
    37033706        if ( !wp_timezone_supported() ) {
     
    37183721/**
    37193722 * Check for PHP timezone support
    37203723 *
    3721  * @since 2.9
     3724 * @since 2.9.0
    37223725 *
    3723  * @return unknown
     3726 * @return bool
    37243727 */
    37253728function wp_timezone_supported() {
    37263729        $support = false;
     
    37383741/**
    37393742 * {@internal Missing Short Description}}
    37403743 *
    3741  * @since 2.9
     3744 * @since 2.9.0
    37423745 *
    37433746 * @param unknown_type $a
    37443747 * @param unknown_type $b
    3745  * @return unknown
     3748 * @return int
    37463749 */
    37473750function _wp_timezone_choice_usort_callback( $a, $b ) {
    37483751        // Don't use translated versions of Etc
     
    37853788/**
    37863789 * Gives a nicely formatted list of timezone strings // temporary! Not in final
    37873790 *
    3788  * @since 2.9
     3791 * @since 2.9.0
    37893792 *
    37903793 * @param string $selected_zone Selected Zone
    37913794 * @return string
     
    39153918 * Strip close comment and close php tags from file headers used by WP
    39163919 * See http://core.trac.wordpress.org/ticket/8497
    39173920 *
    3918  * @since 2.8
    3919 **/
     3921 * @since 2.8.0
     3922 *
     3923 * @param string $str
     3924 * @return string
     3925 */
    39203926function _cleanup_header_comment($str) {
    39213927        return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str));
    39223928}
     
    39253931 * Permanently deletes posts, pages, attachments, and comments which have been in the trash for EMPTY_TRASH_DAYS.
    39263932 *
    39273933 * @since 2.9.0
    3928  *
    3929  * @return void
    39303934 */
    39313935function wp_scheduled_delete() {
    39323936        global $wpdb;
     
    40334037 *
    40344038 * @private
    40354039 * @since 2.9.0
     4040 *
     4041 * @param string $t
     4042 * @return string
    40364043 */
    40374044function _search_terms_tidy($t) {
    40384045        return trim($t, "\"'\n\r ");
    40394046}
    4040 ?>
    4041  No newline at end of file
     4047?>