Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/29/2019 03:36:23 AM (6 years ago)
Author:
johnjamesjacoby
Message:

Upgrades: change skipped upgrades to pending upgrade

  • Add functions for managing pending upgrades
  • Use IDs instead of strings for active tools tab
  • Add classes and hr for related H1's
  • Update registered option key name
  • Add skipped upgrades to pending upgrades array
  • Add span to allowed tags in notices

These changes are necessary to bring adimn pages up to speed with WordPress Admin UI mark-up, in relation to the database upgrade notice.

See #3244.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/includes/admin/tools/upgrade.php ΒΆ

    r6895 r6896  
    2323
    2424    <div class="wrap">
    25         <h1><?php esc_html_e( 'Forum Tools', 'bbpress' ); ?></h1>
    26         <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Upgrade Forums', 'bbpress' ) ); ?></h2>
     25        <h1 class="wp-heading-inline"><?php esc_html_e( 'Forum Tools', 'bbpress' ); ?></h1>
     26        <hr class="wp-header-end">
     27        <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( 'bbp-upgrade' ); ?></h2>
    2728
    2829        <p><?php esc_html_e( 'As bbPress improves, occasionally database upgrades are required but some forums are too large to upgrade automatically. Use the tools below to manually run upgrade routines.', 'bbpress' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.