Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/04/2012 03:28:57 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Converter:

  • Update verbiage of clean and restart checkboxes.
  • Audit usage of sync_table(), and make sure table is created correctly.
  • When deleting posts, check correct array items.
File:
1 edited

Legend:

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

    r4053 r4055  
    11231123
    11241124/**
     1125 * Edit Restart setting field
     1126 *
     1127 * @since bbPress (r3813)
     1128 */
     1129function bbp_converter_setting_callback_restart() {
     1130?>
     1131
     1132    <input id="_bbp_converter_restart" name="_bbp_converter_restart" type="checkbox" id="_bbp_converter_restart" value="1" <?php checked( get_option( '_bbp_converter_restart', false ) ); ?> />
     1133    <label for="_bbp_converter_restart"><?php _e( 'Start a fresh conversion from the beginning', 'bbpress' ); ?></label>
     1134    <p class="description"><?php _e( 'You should clean old conversion information before starting over.', 'bbpress' ); ?></p>
     1135
     1136<?php
     1137}
     1138
     1139/**
    11251140 * Edit Clean setting field
    11261141 *
     
    11321147    <input id="_bbp_converter_clean" name="_bbp_converter_clean" type="checkbox" id="_bbp_converter_clean" value="1" <?php checked( get_option( '_bbp_converter_clean', false ) ); ?> />
    11331148    <label for="_bbp_converter_clean"><?php _e( 'Purge all information from a previously attempted import', 'bbpress' ); ?></label>
    1134     <p class="description"><?php _e( 'Use this if an import failed and you want to start over from scratch.', 'bbpress' ); ?></p>
    1135 
    1136 <?php
    1137 }
    1138 
    1139 /**
    1140  * Edit Restart setting field
    1141  *
    1142  * @since bbPress (r3813)
    1143  */
    1144 function bbp_converter_setting_callback_restart() {
    1145 ?>
    1146 
    1147     <input id="_bbp_converter_restart" name="_bbp_converter_restart" type="checkbox" id="_bbp_converter_restart" value="1" <?php checked( get_option( '_bbp_converter_restart', false ) ); ?> />
    1148     <label for="_bbp_converter_restart"><?php _e( 'Restart conversion from the beginning', 'bbpress' ); ?></label>
    1149     <p class="description"><?php _e( 'The importer keeps track of where it left off in the event of failure.', 'bbpress' ); ?></p>
     1149    <p class="description"><?php _e( 'Use this if an import failed and you want to remove that incomplete data.', 'bbpress' ); ?></p>
    11501150
    11511151<?php
Note: See TracChangeset for help on using the changeset viewer.