Changeset 6897 for trunk/src/includes/admin/tools.php
- Timestamp:
- 01/29/2019 04:38:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/tools.php
r6896 r6897 481 481 $tab_class = $is_current ? $active_class : $idle_class; 482 482 $tab_url = add_query_arg( array( 'page' => $tab['page'] ), admin_url( 'tools.php' ) ); 483 $tabs_html .= '<a href="' . esc_url( $tab_url ) . '" class="' . esc_attr( $tab_class ) . '">' . esc_html( $tab['name'] ) . '</a>'; 483 484 // Tab name is not escaped - may contain HTML 485 $tabs_html .= '<a href="' . esc_url( $tab_url ) . '" class="' . esc_attr( $tab_class ) . '">' . $tab['name'] . '</a>'; 484 486 } 485 487 … … 515 517 'func' => 'bbp_admin_upgrade_page', 516 518 'cap' => 'bbp_tools_upgrade_page', 517 'name' => esc_html__( 'Upgrade Forums', 'bbpress'),519 'name' => bbp_maybe_append_pending_upgrade_count( esc_html__( 'Upgrade Forums', 'bbpress' ) ), 518 520 519 521 // Deprecated 2.6.0
Note: See TracChangeset
for help on using the changeset viewer.