Skip to:
Content

BuddyPress.org

Changeset 6648


Ignore:
Timestamp:
12/17/2012 06:01:16 PM (13 years ago)
Author:
boonebgorges
Message:

Removes "@access private" notes from BP_Component docblocks

Three reasons for removal:

  1. The methods are not actually private
  2. You can't mark a class method private if you're going to pass it as a callback to add_action() or apply_filters()
  3. Even if 2 weren't true, marking public methods private would break existing implementations of BP_Component
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-component.php

    r6342 r6648  
    110110     *
    111111     * @since BuddyPress (1.5)
    112      * @access private
    113112     *
    114113     * @uses apply_filters() Calls 'bp_{@link bp_Component::name}_id'
     
    188187     *
    189188     * @since BuddyPress (1.5)
    190      * @access private
    191189     *
    192190     * @uses do_action() Calls 'bp_{@link bp_Component::name}includes'
     
    230228     *
    231229     * @since BuddyPress (1.5)
    232      * @access private
    233230     *
    234231     * @uses add_action() To add various actions
Note: See TracChangeset for help on using the changeset viewer.