Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2015 06:03:18 AM (9 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the Blogs component.

See #6576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-cache.php

    r10011 r10100  
    11<?php
    2 
    32/**
    43 * BuddyPress Blogs Caching.
     
    1110 */
    1211
    13 // Exit if accessed directly
     12// Exit if accessed directly.
    1413defined( 'ABSPATH' ) || exit;
    1514
     
    3837 * Clear the blog object cache.
    3938 *
    40  * @since BuddyPress (1.0.0)
     39 * @since 1.0.0
    4140 *
    4241 * @param int $blog_id ID of the current blog.
     
    5251}
    5352
    54 // List actions to clear object caches on
     53// List actions to clear object caches on.
    5554add_action( 'bp_blogs_remove_blog_for_user', 'bp_blogs_clear_blog_object_cache', 10, 2 );
    5655add_action( 'wpmu_new_blog',                 'bp_blogs_clear_blog_object_cache', 10, 2 );
    5756add_action( 'bp_blogs_remove_blog',          'bp_blogs_clear_blog_object_cache' );
    5857
    59 // List actions to clear super cached pages on, if super cache is installed
     58// List actions to clear super cached pages on, if super cache is installed.
    6059add_action( 'bp_blogs_remove_data_for_blog', 'bp_core_clear_cache' );
    6160add_action( 'bp_blogs_remove_comment',       'bp_core_clear_cache' );
Note: See TracChangeset for help on using the changeset viewer.