Skip to:
Content

BuddyPress.org

Changeset 12545


Ignore:
Timestamp:
01/29/2020 09:03:43 PM (5 years ago)
Author:
imath
Message:

Core: fix PHP code standards & typos in inline comments

Props passoniate

Fixes #8223

Location:
trunk/src/bp-core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-dependency.php

    r11884 r12545  
    88 *
    99 * We do this in BuddyPress by mirroring existing WordPress hooks in many places
    10  * allowing dependant plugins to hook into the BuddyPress specific ones, thus
     10 * allowing dependent plugins to hook into the BuddyPress specific ones, thus
    1111 * guaranteeing proper code execution only when BuddyPress is active.
    1212 *
  • trunk/src/bp-core/bp-core-filters.php

    r12503 r12545  
    435435        return $welcome_email;
    436436
    437     // [User Set] Replaces $password in welcome email; Represents value set by user
     437    // [User Set] Replaces $password in welcome email; Represents value set by user.
    438438    return str_replace( $password, __( '[User Set]', 'buddypress' ), $welcome_email );
    439439}
     
    812812 * @since 2.3.3
    813813 *
    814  * @param array $item_types An associative array structured for the customizer.
     814 * @param  array $item_types An associative array structured for the customizer.
    815815 * @return array $item_types An associative array structured for the customizer.
    816816 */
  • trunk/src/bp-core/bp-core-functions.php

    r12481 r12545  
    503503    $page_ids = bp_get_option( 'bp-pages', array() );
    504504
    505     // Loop through pages
     505    // Loop through pages.
    506506    foreach ( $page_ids as $component_name => $page_id ) {
    507507
     
    15661566    // Setup a default string if none was passed.
    15671567    $string = empty( $string )
    1568         ? '%s'     // Gettext placeholder.
     1568        ? '%s'     // Gettext library's placeholder.
    15691569        : $string;
    15701570
     
    27322732         *
    27332733         * @param string $value Custom class to use. Default: none.
    2734          * @param array  $args  Array of arguments for sugggestions.
     2734         * @param array  $args  Array of arguments for suggestions.
    27352735         */
    27362736        $class = apply_filters( 'bp_suggestions_services', '', $args );
     
    31633163     *     Optional. Array of extra parameters.
    31643164     *
    3165      *     @type array $tokens Optional. Assocative arrays of string replacements for the email.
     3165     *     @type array $tokens Optional. Associative arrays of string replacements for the email.
    31663166     * }
    31673167     */
Note: See TracChangeset for help on using the changeset viewer.