Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/29/2011 02:24:40 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Audit checked() usage. Correct reversed logic, add usage to topic widget, and test all usages to ensure functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/importers/bbpress.php

    r3239 r3267  
    641641            <?php endif; ?>
    642642
    643             <input type="radio" name="step"<?php disabled( $this->is_integrated() ); ?> value="2"<?php checked( $radio, 'user' ); ?> id="step_user" />
     643            <input type="radio" name="step"<?php disabled( $this->is_integrated() ); ?> value="2"<?php checked( 'user', $radio ); ?> id="step_user" />
    644644            <label for="step_user"><?php _e( 'Migrate Users', 'bbpress' ); ?></label>
    645645
    646             <input type="radio" name="step" value="3"<?php checked( $radio, 'board' ); ?> id="step_board" />
     646            <input type="radio" name="step" value="3"<?php checked( 'board', $radio ); ?> id="step_board" />
    647647            <label for="step_board"><?php _e( 'Import Forums, Topics & Posts', 'bbpress' ); ?></label>
    648648
Note: See TracChangeset for help on using the changeset viewer.