Make WordPress Core

Changeset 23328


Ignore:
Timestamp:
01/22/2013 08:44:30 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Correct inline docs for cache.php. props ocean90. fixes #23058.

File:
1 edited

Legend:

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

    r22634 r23328  
    2020 * @param string $group The group to add the cache to
    2121 * @param int $expire When the cache data should be expired
    22  * @return unknown
     22 * @return bool False if cache key and group already exist, true on success
    2323 */
    2424function wp_cache_add($key, $data, $group = '', $expire = 0) {
     
    8686 * @see WP_Object_Cache::flush()
    8787 *
    88  * @return bool Always returns true
     88 * @return bool False on failure, true on success
    8989 */
    9090function wp_cache_flush() {
     
    153153 * @param string $group Where to group the cache contents
    154154 * @param int $expire When to expire the cache contents
    155  * @return bool False if cache key and group already exist, true on success
     155 * @return bool False if not exists, true if contents were replaced
    156156 */
    157157function wp_cache_replace($key, $data, $group = '', $expire = 0) {
     
    172172 * @param string $group Where to group the cache contents
    173173 * @param int $expire When to expire the cache contents
    174  * @return bool False if cache key and group already exist, true on success
     174 * @return bool False on failure, true on success
    175175 */
    176176function wp_cache_set($key, $data, $group = '', $expire = 0) {
Note: See TracChangeset for help on using the changeset viewer.