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
  • trunk/src/includes/admin/settings.php

    r6869 r6896  
    14951495
    14961496    <div class="wrap">
    1497         <h1><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h1>
     1497        <h1 class="wp-heading-inline"><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h1>
    14981498        <hr class="wp-header-end">
    14991499
     
    17741774
    17751775    <div class="wrap">
    1776         <h1><?php esc_html_e( 'Forum Tools', 'bbpress' ); ?></h1>
     1776        <h1 class="wp-heading-inline"><?php esc_html_e( 'Forum Tools', 'bbpress' ); ?></h1>
    17771777        <hr class="wp-header-end">
    1778         <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', 'bbpress' ) ); ?></h2>
     1778        <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( 'bbp-converter' ); ?></h2>
    17791779
    17801780        <div class="bbp-converter-wrap">
Note: See TracChangeset for help on using the changeset viewer.