Changeset 5948
- Timestamp:
- 10/28/2015 01:17:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/settings.php
r5908 r5948 92 92 'callback' => 'bbp_admin_setting_callback_editlock', 93 93 'sanitize_callback' => 'intval', 94 'args' => array( )94 'args' => array( 'label_for' => '_bbp_edit_lock' ) 95 95 ), 96 96 … … 100 100 'callback' => 'bbp_admin_setting_callback_throttle', 101 101 'sanitize_callback' => 'intval', 102 'args' => array( )102 'args' => array( 'label_for' => '_bbp_throttle_time' ) 103 103 ), 104 104 … … 231 231 'callback' => 'bbp_admin_setting_callback_topics_per_page', 232 232 'sanitize_callback' => 'intval', 233 'args' => array( )233 'args' => array( 'label_for' => '_bbp_topics_per_page' ) 234 234 ), 235 235 … … 239 239 'callback' => 'bbp_admin_setting_callback_replies_per_page', 240 240 'sanitize_callback' => 'intval', 241 'args' => array( )241 'args' => array( 'label_for' => '_bbp_replies_per_page' ) 242 242 ) 243 243 ), … … 252 252 'callback' => 'bbp_admin_setting_callback_topics_per_rss_page', 253 253 'sanitize_callback' => 'intval', 254 'args' => array( )254 'args' => array( 'label_for' => '_bbp_topics_per_rss_page' ) 255 255 ), 256 256 … … 260 260 'callback' => 'bbp_admin_setting_callback_replies_per_rss_page', 261 261 'sanitize_callback' => 'intval', 262 'args' => array( )262 'args' => array( 'label_for' => '_bbp_replies_per_rss_page' ) 263 263 ) 264 264 ), … … 273 273 'callback' => 'bbp_admin_setting_callback_root_slug', 274 274 'sanitize_callback' => 'bbp_sanitize_slug', 275 'args' => array( )275 'args' => array( 'label_for' => '_bbp_root_slug' ) 276 276 ), 277 277 … … 289 289 'callback' => 'bbp_admin_setting_callback_show_on_root', 290 290 'sanitize_callback' => 'sanitize_text_field', 291 'args' => array( )291 'args' => array( 'label_for'=>'_bbp_show_on_root' ) 292 292 ), 293 293 ), … … 302 302 'callback' => 'bbp_admin_setting_callback_forum_slug', 303 303 'sanitize_callback' => 'bbp_sanitize_slug', 304 'args' => array( )304 'args' => array( 'label_for'=>'_bbp_forum_slug' ) 305 305 ), 306 306 … … 310 310 'callback' => 'bbp_admin_setting_callback_topic_slug', 311 311 'sanitize_callback' => 'bbp_sanitize_slug', 312 'args' => array( )312 'args' => array( 'label_for'=>'_bbp_topic_slug' ) 313 313 ), 314 314 … … 318 318 'callback' => 'bbp_admin_setting_callback_topic_tag_slug', 319 319 'sanitize_callback' => 'bbp_sanitize_slug', 320 'args' => array( )320 'args' => array( 'label_for'=>'_bbp_topic_tag_slug' ) 321 321 ), 322 322 … … 326 326 'callback' => 'bbp_admin_setting_callback_view_slug', 327 327 'sanitize_callback' => 'bbp_sanitize_slug', 328 'args' => array( )328 'args' => array( 'label_for'=>'_bbp_view_slug' ) 329 329 ), 330 330 … … 334 334 'callback' => 'bbp_admin_setting_callback_reply_slug', 335 335 'sanitize_callback' => 'bbp_sanitize_slug', 336 'args' => array( )336 'args' => array( 'label_for'=>'_bbp_reply_slug' ) 337 337 ), 338 338 … … 342 342 'callback' => 'bbp_admin_setting_callback_search_slug', 343 343 'sanitize_callback' => 'bbp_sanitize_slug', 344 'args' => array( )344 'args' => array( 'label_for'=>'_bbp_search_slug' ) 345 345 ) 346 346 ), … … 355 355 'callback' => 'bbp_admin_setting_callback_user_slug', 356 356 'sanitize_callback' => 'bbp_sanitize_slug', 357 'args' => array( )357 'args' => array( 'label_for'=>'_bbp_user_slug' ) 358 358 ), 359 359 … … 363 363 'callback' => 'bbp_admin_setting_callback_topic_archive_slug', 364 364 'sanitize_callback' => 'bbp_sanitize_slug', 365 'args' => array( )365 'args' => array( 'label_for'=>'_bbp_topic_archive_slug' ) 366 366 ), 367 367 … … 371 371 'callback' => 'bbp_admin_setting_callback_reply_archive_slug', 372 372 'sanitize_callback' => 'bbp_sanitize_slug', 373 'args' => array( )373 'args' => array( 'label_for'=>'_bbp_reply_archive_slug' ) 374 374 ), 375 375 … … 379 379 'callback' => 'bbp_admin_setting_callback_user_favs_slug', 380 380 'sanitize_callback' => 'bbp_sanitize_slug', 381 'args' => array( )381 'args' => array( 'label_for'=>'_bbp_user_favs_slug' ) 382 382 ), 383 383 … … 387 387 'callback' => 'bbp_admin_setting_callback_user_subs_slug', 388 388 'sanitize_callback' => 'bbp_sanitize_slug', 389 'args' => array( )389 'args' => array( 'label_for'=>'_bbp_user_subs_slug' ) 390 390 ) 391 391 ), … … 408 408 'callback' => 'bbp_admin_setting_callback_group_forums_root_id', 409 409 'sanitize_callback' => 'intval', 410 'args' => array( )410 'args' => array( 'label_for'=>'_bbp_group_forums_root_id' ) 411 411 ) 412 412 ), … … 476 476 477 477 <input name="_bbp_edit_lock" id="_bbp_edit_lock" type="number" min="0" step="1" value="<?php bbp_form_option( '_bbp_edit_lock', '5' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_edit_lock' ); ?> /> 478 < label for="_bbp_edit_lock"><?php esc_html_e( 'minutes', 'bbpress' ); ?></label>478 <?php esc_html_e( 'minutes', 'bbpress' ); ?> 479 479 480 480 <?php … … 492 492 493 493 <input name="_bbp_throttle_time" id="_bbp_throttle_time" type="number" min="0" step="1" value="<?php bbp_form_option( '_bbp_throttle_time', '10' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_throttle_time' ); ?> /> 494 < label for="_bbp_throttle_time"><?php esc_html_e( 'seconds', 'bbpress' ); ?></label>494 <?php esc_html_e( 'seconds', 'bbpress' ); ?> 495 495 496 496 <?php … … 804 804 805 805 <input name="_bbp_topics_per_page" id="_bbp_topics_per_page" type="number" min="1" step="1" value="<?php bbp_form_option( '_bbp_topics_per_page', '15' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_topics_per_page' ); ?> /> 806 < label for="_bbp_topics_per_page"><?php esc_html_e( 'per page', 'bbpress' ); ?></label>806 <?php esc_html_e( 'per page', 'bbpress' ); ?> 807 807 808 808 <?php … … 820 820 821 821 <input name="_bbp_replies_per_page" id="_bbp_replies_per_page" type="number" min="1" step="1" value="<?php bbp_form_option( '_bbp_replies_per_page', '15' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_replies_per_page' ); ?> /> 822 < label for="_bbp_replies_per_page"><?php esc_html_e( 'per page', 'bbpress' ); ?></label>822 <?php esc_html_e( 'per page', 'bbpress' ); ?> 823 823 824 824 <?php … … 851 851 852 852 <input name="_bbp_topics_per_rss_page" id="_bbp_topics_per_rss_page" type="number" min="1" step="1" value="<?php bbp_form_option( '_bbp_topics_per_rss_page', '25' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_topics_per_rss_page' ); ?> /> 853 < label for="_bbp_topics_per_rss_page"><?php esc_html_e( 'per page', 'bbpress' ); ?></label>853 <?php esc_html_e( 'per page', 'bbpress' ); ?> 854 854 855 855 <?php … … 867 867 868 868 <input name="_bbp_replies_per_rss_page" id="_bbp_replies_per_rss_page" type="number" min="1" step="1" value="<?php bbp_form_option( '_bbp_replies_per_rss_page', '25' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_replies_per_rss_page' ); ?> /> 869 < label for="_bbp_replies_per_rss_page"><?php esc_html_e( 'per page', 'bbpress' ); ?></label>869 <?php esc_html_e( 'per page', 'bbpress' ); ?> 870 870 871 871 <?php … … 1228 1228 ) ); ?> 1229 1229 1230 < label for="_bbp_group_forums_root_id"><?php esc_html_e( 'is the parent for all group forums', 'bbpress' ); ?></label>1230 <?php esc_html_e( 'is the parent for all group forums', 'bbpress' ); ?> 1231 1231 <p class="description"><?php esc_html_e( 'Using the Forum Root is not recommended. Changing this does not move existing forums.', 'bbpress' ); ?></p> 1232 1232
Note: See TracChangeset
for help on using the changeset viewer.