Changeset 6800
- Timestamp:
- 04/07/2018 03:32:25 AM (7 years ago)
- Location:
- branches/2.5/includes/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/admin/settings.php
r6120 r6800 1245 1245 * @since bbPress (r2643) 1246 1246 * 1247 * @uses screen_icon() To display the screen icon1248 1247 * @uses settings_fields() To output the hidden fields for the form 1249 1248 * @uses do_settings_sections() To output the settings sections … … 1253 1252 1254 1253 <div class="wrap"> 1255 1256 <?php screen_icon(); ?>1257 1254 1258 1255 <h2><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h2> … … 1496 1493 * The main settings page 1497 1494 * 1498 * @uses screen_icon() To display the screen icon1499 1495 * @uses settings_fields() To output the hidden fields for the form 1500 1496 * @uses do_settings_sections() To output the settings sections … … 1504 1500 1505 1501 <div class="wrap"> 1506 1507 <?php screen_icon( 'tools' ); ?>1508 1502 1509 1503 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', 'bbpress' ) ); ?></h2> -
branches/2.5/includes/admin/tools.php
r5374 r6800 22 22 * @uses wp_cache_flush() To flush the cache 23 23 * @uses do_action() Calls 'admin_notices' to display the notices 24 * @uses screen_icon() To display the screen icon25 24 * @uses wp_nonce_field() To add a hidden nonce field 26 25 */ … … 29 28 30 29 <div class="wrap"> 31 32 <?php screen_icon( 'tools' ); ?>33 30 34 31 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Repair Forums', 'bbpress' ) ); ?></h2> … … 501 498 return array( 1, sprintf( $statement, $result ) ); 502 499 } 503 500 504 501 // Recalculate the metas key _bbp_reply_count and _bbp_total_reply_count for each forum 505 502 $forums = get_posts( array( 'post_type' => bbp_get_forum_post_type(), 'numberposts' => -1 ) ); … … 1150 1147 // Delete cases where `_bbp_reply_to` was accidentally set to itself 1151 1148 if ( is_wp_error( $wpdb->query( "DELETE FROM `{$wpdb->postmeta}` WHERE `meta_key` = '_bbp_reply_to' AND `post_id` = `meta_value`;" ) ) ) { 1152 return array( 1, sprintf( $statement, $result ) ); 1149 return array( 1, sprintf( $statement, $result ) ); 1153 1150 } 1154 1151 … … 1196 1193 * @uses check_admin_referer() To verify the nonce and the referer 1197 1194 * @uses do_action() Calls 'admin_notices' to display the notices 1198 * @uses screen_icon() To display the screen icon1199 1195 * @uses wp_nonce_field() To add a hidden nonce field 1200 1196 */ … … 1203 1199 1204 1200 <div class="wrap"> 1205 1206 <?php screen_icon( 'tools' ); ?>1207 1201 1208 1202 <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Reset Forums', 'bbpress' ) ); ?></h2>
Note: See TracChangeset
for help on using the changeset viewer.