Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/11/2015 08:17:53 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Sniffer: Whitespace around variables in arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/settings.php

    r5884 r5908  
    442442
    443443    $fields = bbp_admin_get_settings_fields();
    444     $retval = isset( $fields[$section_id] ) ? $fields[$section_id] : false;
     444    $retval = isset( $fields[ $section_id ] )
     445        ? $fields[ $section_id ]
     446        : false;
    445447
    446448    return (array) apply_filters( 'bbp_admin_get_settings_fields_for_section', $retval, $section_id );
     
    16301632 */
    16311633function bbp_maybe_admin_setting_disabled( $option_key = '' ) {
    1632     disabled( isset( bbpress()->options[$option_key] ) );
     1634    disabled( isset( bbpress()->options[ $option_key ] ) );
    16331635}
    16341636
     
    17581760                    $page_base    = $page . '_base';
    17591761                    $page_title   = sprintf( __( '%s page', 'bbpress' ), $page_data->title );
    1760                     $core_slugs[$page_base] = array( 'name' => $page_title, 'default' => $page_data->slug, 'context' => 'BuddyPress' );
     1762                    $core_slugs[ $page_base ] = array(
     1763                        'name'    => $page_title,
     1764                        'default' => $page_data->slug,
     1765                        'context' => 'BuddyPress'
     1766                    );
    17611767                }
    17621768            }
Note: See TracChangeset for help on using the changeset viewer.