Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/14/2015 12:46:38 AM (11 years ago)
Author:
johnjamesjacoby
Message:

I think this building should be condemned. There's serious metal fatigue in all the load-bearing members, the wiring is substandard, it's completely inadequate for our power needs, and the neighborhood is like a demilitarized zone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/widgets.php

    r5793 r5829  
    7979                echo $args['before_widget'];
    8080
    81                 if ( !empty( $settings['title'] ) ) {
     81                if ( ! empty( $settings['title'] ) ) {
    8282                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    8383                }
    … …  
    114114                                        </div>
    115115
    116                                         <?php if ( !empty( $settings['register'] ) || !empty( $settings['lostpass'] ) ) : ?>
     116                                        <?php if ( ! empty( $settings['register'] ) || ! empty( $settings['lostpass'] ) ) : ?>
    117117
    118118                                                <div class="bbp-login-links">
    119119
    120                                                         <?php if ( !empty( $settings['register'] ) ) : ?>
     120                                                        <?php if ( ! empty( $settings['register'] ) ) : ?>
    121121
    122122                                                                <a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="bbp-register-link"><?php _e( 'Register', 'bbpress' ); ?></a>
    … …  
    124124                                                        <?php endif; ?>
    125125
    126                                                         <?php if ( !empty( $settings['lostpass'] ) ) : ?>
     126                                                        <?php if ( ! empty( $settings['lostpass'] ) ) : ?>
    127127
    128128                                                                <a href="<?php echo esc_url( $settings['lostpass'] ); ?>" title="<?php esc_attr_e( 'Lost Password', 'bbpress' ); ?>" class="bbp-lostpass-link"><?php _e( 'Lost Password', 'bbpress' ); ?></a>
    … …  
    288288                echo $args['before_widget'];
    289289
    290                 if ( !empty( $settings['title'] ) ) {
     290                if ( ! empty( $settings['title'] ) ) {
    291291                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    292292                } ?>
    … …  
    425425                echo $args['before_widget'];
    426426
    427                 if ( !empty( $settings['title'] ) ) {
     427                if ( ! empty( $settings['title'] ) ) {
    428428                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    429429                }
    … …  
    577577                echo $args['before_widget'];
    578578
    579                 if ( !empty( $settings['title'] ) ) {
     579                if ( ! empty( $settings['title'] ) ) {
    580580                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    581581                } ?>
    … …  
    611611
    612612                // Force to any
    613                 if ( !empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
     613                if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
    614614                        $instance['parent_forum'] = 'any';
    615615                }
    … …  
    794794                echo $args['before_widget'];
    795795
    796                 if ( !empty( $settings['title'] ) ) {
     796                if ( ! empty( $settings['title'] ) ) {
    797797                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    798798                } ?>
    … …  
    856856
    857857                // Force to any
    858                 if ( !empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
     858                if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
    859859                        $instance['parent_forum'] = 'any';
    860860                }
    … …  
    990990                echo $args['before_widget'];
    991991
    992                 if ( !empty( $settings['title'] ) ) {
     992                if ( ! empty( $settings['title'] ) ) {
    993993                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    994994                }
    … …  
    11401140                echo $args['before_widget'];
    11411141
    1142                 if ( !empty( $settings['title'] ) ) {
     1142                if ( ! empty( $settings['title'] ) ) {
    11431143                        echo $args['before_title'] . $settings['title'] . $args['after_title'];
    11441144                } ?>
    … …  
    11641164
    11651165                                        // Reply author, link, and timestamp
    1166                                         if ( ! empty( $settings['show_date'] ) && !empty( $author_link ) ) :
     1166                                        if ( ! empty( $settings['show_date'] ) && ! empty( $author_link ) ) :
    11671167
    11681168                                                // translators: 1: reply author, 2: reply link, 3: reply timestamp
    … …  
    11761176
    11771177                                        // Reply author and title
    1178                                         elseif ( !empty( $author_link ) ) :
     1178                                        elseif ( ! empty( $author_link ) ) :
    11791179
    11801180                                                // translators: 1: reply author, 2: reply link
Note: See TracChangeset for help on using the changeset viewer.