Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (9 years ago)
Author:
djpaul
Message:

phpdoc: remove obsolete @access public|protected|private statements.

These should only be used on procedural functions that, for legacy
reasons, pretend they are private by prefacing their name with an
underscore.

As modern PHP parsers and IDEs use reflections to figure out the
visibility scope of methods and properties by looking at the actual
code, there’s also no bonus in keeping these purely for documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-admin.php

    r10229 r10248  
    5959     * Screen id for edit user's profile page.
    6060     *
    61      * @access public
    6261     * @var string
    6362     */
     
    6766     * Setup BP Members Admin.
    6867     *
    69      * @access public
    7068     * @since 2.0.0
    7169     *
     
    8987     * Constructor method.
    9088     *
    91      * @access public
    9289     * @since 2.0.0
    9390     */
     
    10097     * Set admin-related globals.
    10198     *
    102      * @access private
    10399     * @since 2.0.0
    104100     */
     
    159155     * Set admin-related actions and filters.
    160156     *
    161      * @access private
    162157     * @since 2.0.0
    163158     */
     
    246241     * in the future.
    247242     *
    248      * @access public
    249243     * @since 2.1.0
    250244     *
     
    363357     * Create the /user/ admin Profile submenus for all members.
    364358     *
    365      * @access public
    366359     * @since 2.1.0
    367360     *
     
    402395     * Create the All Users / Profile > Edit Profile and All Users Signups submenus.
    403396     *
    404      * @access public
    405397     * @since 2.0.0
    406398     *
     
    477469     * Highlight the Users menu if on Edit Profile and check if on the user's admin profile.
    478470     *
    479      * @access public
    480471     * @since 2.1.0
    481472     */
     
    537528     * subnav items under the Users menu.
    538529     *
    539      * @access public
    540530     * @since 2.0.0
    541531     */
     
    550540     * Add some specific styling to the Edit User and Edit User's Profile page.
    551541     *
    552      * @access public
    553542     * @since 2.0.0
    554543     */
     
    606595     * Create the Profile navigation in Edit User & Edit Profile pages.
    607596     *
    608      * @access public
    609597     * @since 2.0.0
    610598     *
     
    670658     * help, and setting up screen options.
    671659     *
    672      * @access public
    673660     * @since 2.0.0
    674661     */
     
    846833     * Display the user's profile.
    847834     *
    848      * @access public
    849835     * @since 2.0.0
    850836     */
     
    955941     * - Spam/Unspam user
    956942     *
    957      * @access public
    958943     * @since 2.0.0
    959944     *
     
    10321017     * Render the fallback metabox in case a user has been marked as a spammer.
    10331018     *
    1034      * @access public
    10351019     * @since 2.0.0
    10361020     *
     
    10461030     * Render the Stats metabox to moderate inappropriate images.
    10471031     *
    1048      * @access public
    10491032     * @since 2.0.0
    10501033     *
     
    10971080     *
    10981081     * @since 2.2.0
    1099      * @access public
    11001082     *
    11011083     * @param WP_User $user The WP_User object to be edited.
     
    11281110     *
    11291111     * @since 2.2.0
    1130      * @access public
    11311112     */
    11321113    public function process_member_type_update() {
     
    11621143     * Add a link to Profile in Users listing row actions.
    11631144     *
    1164      * @access public
    11651145     * @since 2.0.0
    11661146     *
     
    12221202     * Add a filter to edit profile url in WP Admin Bar.
    12231203     *
    1224      * @access public
    12251204     * @since 2.1.0
    12261205     */
     
    12321211     * Filter the profile url.
    12331212     *
    1234      * @access public
    12351213     * @since 2.1.0
    12361214     *
     
    12531231     * Remove the filter to edit profile url in WP Admin Bar.
    12541232     *
    1255      * @access public
    12561233     * @since 2.1.0
    12571234     */
     
    12651242     * Display the admin preferences about signups pagination.
    12661243     *
    1267      * @access public
    12681244     * @since 2.0.0
    12691245     *
Note: See TracChangeset for help on using the changeset viewer.