Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2020 09:19:27 PM (4 years ago)
Author:
imath
Message:

Core: fix PHP code standards & typos in inline comments

Props passoniate, dontdream

Fixes #8224

File:
1 edited

Legend:

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

    r12517 r12546  
    153153     *
    154154     * @param string $title     Text to be used in <title> tag.
    155      * @param string $component Current componet being displayed.
     155     * @param string $component Current component being displayed.
    156156     */
    157157    return apply_filters( 'bp_get_directory_title', $title, $component );
     
    353353 *
    354354 * This function can be used to turn a UNIX timestamp into a properly formatted
    355  * (and possibly localized) string, userful for ouputting the date & time an
     355 * (and possibly localized) string, useful for outputting the date & time an
    356356 * action took place.
    357357 *
     
    12201220     * @since 1.7.0
    12211221     *
    1222      * @param string $subject Client friendy version of the root blog name.
     1222     * @param string $subject Client friendly version of the root blog name.
    12231223     * @param array  $r       Array of arguments for the email subject.
    12241224     */
     
    12491249
    12501250    /**
    1251      * Filters the template paramenters to be used in the query string.
     1251     * Filters the template parameters to be used in the query string.
    12521252     *
    12531253     * Allows templates to pass parameters into the template loops via AJAX.
     
    30173017    }
    30183018
    3019     // Now we can build the BP Title Parts
     3019    // Now we can build the BP Title Parts.
    30203020    // Is there a displayed user, and do they have a name?
    30213021    $displayed_user_name = bp_get_displayed_user_fullname();
     
    36203620    }
    36213621
    3622     // Sanitise values for class and ID.
     3622    // Sanitize values for class and ID.
    36233623    $args->container_class = sanitize_html_class( $args->container_class );
    36243624    $args->container_id    = sanitize_html_class( $args->container_id );
Note: See TracChangeset for help on using the changeset viewer.