Skip to:
Content

BuddyPress.org

Changeset 12541


Ignore:
Timestamp:
01/29/2020 06:22:45 PM (5 years ago)
Author:
imath
Message:

Core/Admin: fix PHP code standards & inline comments typos

Props kashifgabol

Fixes #8220

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

Legend:

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

    r11512 r12541  
    111111function bp_core_admin_slugs_options() {
    112112
    113     // Get the existing WP pages
     113    // Get the existing WP pages.
    114114    $existing_pages = bp_core_get_directory_page_ids();
    115115
  • trunk/src/bp-core/bp-core-cache.php

    r12428 r12541  
    77 *
    88 * @package BuddyPress
    9  * @supackage Cache
     9 * @subpackage Cache
    1010 * @since 1.5.0
    1111 */
     
    8181    }
    8282
    83     // Bail if not on the root blog
     83    // Bail if not on the root blog.
    8484    if ( ! bp_is_root_blog() ) {
    8585        return;
     
    8888    $page_ids = bp_core_get_directory_page_ids( 'all' );
    8989
    90     // Bail if post ID is not a directory page
     90    // Bail if post ID is not a directory page.
    9191    if ( ! in_array( $post_id, $page_ids ) ) {
    9292        return;
  • trunk/src/bp-core/bp-core-catchuri.php

    r12404 r12541  
    9898                $bkey = array_search( $chunk, $bp_uri );
    9999
    100                 // ...and unset offending keys
     100                // ...and unset offending keys.
    101101                if ( false !== $bkey ) {
    102102                    unset( $bp_uri[$bkey] );
Note: See TracChangeset for help on using the changeset viewer.