Skip to:
Content

BuddyPress.org

Changeset 10146


Ignore:
Timestamp:
09/27/2015 05:03:05 AM (9 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the bp-loader.php file.

See #6576.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-loader.php

    r10010 r10146  
    3232 * Tap tap tap... Is this thing on?
    3333 *
    34  * @since BuddyPress (1.6.0)
     34 * @since 1.6.0
    3535 */
    3636class BuddyPress {
     
    120120     * one time. Also prevents needing to define globals all over the place.
    121121     *
    122      * @since BuddyPress (1.7.0)
     122     * @since 1.7.0
    123123     *
    124124     * @static object $instance
     
    158158     * A dummy constructor to prevent BuddyPress from being loaded more than once.
    159159     *
    160      * @since BuddyPress (1.7.0)
     160     * @since 1.7.0
    161161     * @see BuddyPress::instance()
    162162     * @see buddypress()
     
    167167     * A dummy magic method to prevent BuddyPress from being cloned.
    168168     *
    169      * @since BuddyPress (1.7.0)
     169     * @since 1.7.0
    170170     */
    171171    public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'buddypress' ), '1.7' ); }
     
    174174     * A dummy magic method to prevent BuddyPress from being unserialized.
    175175     *
    176      * @since BuddyPress (1.7.0)
     176     * @since 1.7.0
    177177     */
    178178    public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'buddypress' ), '1.7' ); }
     
    181181     * Magic method for checking the existence of a certain custom field.
    182182     *
    183      * @since BuddyPress (1.7.0)
     183     * @since 1.7.0
    184184     *
    185185     * @param string $key Key to check the set status for.
     
    192192     * Magic method for getting BuddyPress variables.
    193193     *
    194      * @since BuddyPress (1.7.0)
     194     * @since 1.7.0
    195195     *
    196196     * @param string $key Key to return the value for.
     
    203203     * Magic method for setting BuddyPress variables.
    204204     *
    205      * @since BuddyPress (1.7.0)
     205     * @since 1.7.0
    206206     *
    207207     * @param string $key   Key to set a value for.
     
    213213     * Magic method for unsetting BuddyPress variables.
    214214     *
    215      * @since BuddyPress (1.7.0)
     215     * @since 1.7.0
    216216     *
    217217     * @param string $key Key to unset a value for.
     
    222222     * Magic method to prevent notices and errors from invalid method calls.
    223223     *
    224      * @since BuddyPress (1.7.0)
     224     * @since 1.7.0
    225225     *
    226226     * @param string $name
     
    236236     * Bootstrap constants.
    237237     *
    238      * @since BuddyPress (1.6.0)
     238     * @since 1.6.0
    239239     *
    240240     * @uses is_multisite()
     
    317317     * Component global variables.
    318318     *
    319      * @since BuddyPress (1.6.0)
     319     * @since 1.6.0
    320320     * @access private
    321321     *
     
    336336         * Filters the load_deprecated property value.
    337337         *
    338          * @since BuddyPress (2.0.0)
     338         * @since 2.0.0
    339339         *
    340340         * @const constant BP_IGNORE_DEPRECATED Whether or not to ignore deprecated functionality.
     
    389389         * Filters the BuddyPress Root blog ID.
    390390         *
    391          * @since BuddyPress (1.5.0)
     391         * @since 1.5.0
    392392         *
    393393         * @const constant BP_ROOT_BLOG BuddyPress Root blog ID.
     
    431431     * in the instance, and have matching functions to get/set their values.
    432432     *
    433      * @since BuddyPress (1.7.0)
     433     * @since 1.7.0
    434434     */
    435435    private function legacy_constants() {
     
    449449     * Include required files.
    450450     *
    451      * @since BuddyPress (1.6.0)
     451     * @since 1.6.0
    452452     * @access private
    453453     *
     
    508508     * Set up the default hooks and actions.
    509509     *
    510      * @since BuddyPress (1.6.0)
     510     * @since 1.6.0
    511511     * @access private
    512512     *
     
    553553         * Includes bbp-core-hooks.php.
    554554         *
    555          * @since BuddyPress (1.7.0)
     555         * @since 1.7.0
    556556         *
    557557         * @param BuddyPress $this. Current BuddyPress instance. Passed by reference.
     
    563563     * Private method to align the active and database versions.
    564564     *
    565      * @since BuddyPress (1.7.0)
     565     * @since 1.7.0
    566566     */
    567567    private function versions() {
     
    600600     * continue to have bp-themes registered as before.
    601601     *
    602      * @since BuddyPress (1.5.0)
     602     * @since 1.5.0
    603603     *
    604604     * @todo Move bp-default to wordpress.org/extend/themes and remove this.
     
    619619     * later date we need to automate this, an API will need to be built.
    620620     *
    621      * @since BuddyPress (1.7.0)
     621     * @since 1.7.0
    622622     */
    623623    public function register_theme_packages() {
     
    641641     * Set up the default BuddyPress theme compatibility location.
    642642     *
    643      * @since BuddyPress (1.7.0)
     643     * @since 1.7.0
    644644     */
    645645    public function setup_theme() {
Note: See TracChangeset for help on using the changeset viewer.