Make WordPress Core


Ignore:
Timestamp:
02/13/2010 08:59:04 AM (16 years ago)
Author:
nacin
Message:

Some phpdoc for functions.php. Props miqrogroove, see #12215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r13069 r13102  
    33423342}
    33433343
     3344/**
     3345 * {@internal Missing Short Description}}
     3346 *
     3347 * @since 2.8
     3348 *
     3349 * @param unknown_type $key
     3350 * @param unknown_type $default
     3351 * @param unknown_type $use_cache
     3352 * @return unknown
     3353 */
    33443354function get_site_option( $key, $default = false, $use_cache = true ) {
    33453355    global $wpdb;
     
    33723382}
    33733383
    3374 // expects $key, $value not to be SQL escaped
     3384/**
     3385 * {@internal Missing Short Description}}
     3386 *
     3387 * @since 2.8
     3388 *
     3389 * @param unknown_type $key not to be SQL escaped
     3390 * @param unknown_type $value not to be SQL escaped
     3391 * @return unknown
     3392 */
    33753393function add_site_option( $key, $value ) {
    33763394    global $wpdb;
     
    34003418}
    34013419
     3420/**
     3421 * {@internal Missing Short Description}}
     3422 *
     3423 * @since 2.9
     3424 *
     3425 * @param unknown_type $key
     3426 * @return unknown
     3427 */
    34023428function delete_site_option( $key ) {
    34033429    global $wpdb;
     
    34243450}
    34253451
    3426 // expects $key, $value not to be SQL escaped
     3452/**
     3453 * {@internal Missing Short Description}}
     3454 *
     3455 * @since 2.8.0
     3456 *
     3457 * @param unknown_type $key not to be SQL escaped
     3458 * @param unknown_type $value not to be SQL escaped
     3459 * @return unknown
     3460 */
    34273461function update_site_option( $key, $value ) {
    34283462    global $wpdb;
     
    34563490 * Delete a site transient
    34573491 *
    3458  * @since 2.890
     3492 * @since 2.9.0
    34593493 * @package WordPress
    34603494 * @subpackage Transient
     
    35783612 *
    35793613 * Overrides the gmt_offset option if we have a timezone_string available
     3614 *
     3615 * @since 2.8
     3616 *
     3617 * @return unknown
    35803618 */
    35813619function wp_timezone_override_offset() {
     
    35973635/**
    35983636 * Check for PHP timezone support
     3637 *
     3638 * @since 2.9
     3639 *
     3640 * @return unknown
    35993641 */
    36003642function wp_timezone_supported() {
     
    36113653}
    36123654
     3655/**
     3656 * {@internal Missing Short Description}}
     3657 *
     3658 * @since 2.9
     3659 *
     3660 * @param unknown_type $a
     3661 * @param unknown_type $b
     3662 * @return unknown
     3663 */
    36133664function _wp_timezone_choice_usort_callback( $a, $b ) {
    36143665    // Don't use translated versions of Etc
     
    36523703 * Gives a nicely formatted list of timezone strings // temporary! Not in final
    36533704 *
    3654  * @param $selected_zone string Selected Zone
    3655  *
     3705 * @since 2.9
     3706 *
     3707 * @param string $selected_zone Selected Zone
     3708 * @return string
    36563709 */
    36573710function wp_timezone_choice( $selected_zone ) {
Note: See TracChangeset for help on using the changeset viewer.