Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (10 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-templates/bp-legacy/buddypress-functions.php

    r10237 r10248  
    5656     *
    5757     * @since 1.7.0
    58      * @access private
    5958     */
    6059    protected function setup_globals() {
     
    7170     *
    7271     * @since 1.7.0
    73      * @access private
    7472     *
    7573     * @uses add_filter() To add various filters
     
    373371     *
    374372     * @since 1.8.0
    375      * @access private
    376373     * @param string $file A filename like buddypress.css.
    377374     * @param string $type Optional. Either "js" or "css" (the default).
Note: See TracChangeset for help on using the changeset viewer.