Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (11 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-xprofile/bp-xprofile-admin.php

    r10239 r10248  
    676676     * Setup xProfile User Admin.
    677677     *
    678      * @access public
    679678     * @since 2.0.0
    680679     *
     
    700699     * Constructor method.
    701700     *
    702      * @access public
    703701     * @since 2.0.0
    704702     */
     
    710708     * Set admin-related actions and filters.
    711709     *
    712      * @access private
    713710     * @since 2.0.0
    714711     */
     
    727724     * Enqueue needed scripts.
    728725     *
    729      * @access public
    730726     * @since 2.3.0
    731727     *
     
    759755     * Register the xProfile metabox on Community Profile admin page.
    760756     *
    761      * @access public
    762757     * @since 2.0.0
    763758     *
     
    834829     * requests.
    835830     *
    836      * @access public
    837831     * @since 2.0.0
    838832     *
     
    963957     * Render the xprofile metabox for Community Profile screen.
    964958     *
    965      * @access public
    966959     * @since 2.0.0
    967960     *
     
    10701063     * Render the fallback metabox in case a user has been marked as a spammer.
    10711064     *
    1072      * @access public
    10731065     * @since 2.0.0
    10741066     *
     
    10841076     * Render the Avatar metabox to moderate inappropriate images.
    10851077     *
    1086      * @access public
    10871078     * @since 2.0.0
    10881079     *
Note: See TracChangeset for help on using the changeset viewer.