Skip to:
Content

bbPress.org

Ticket #2075: 2075.part1.diff

File 2075.part1.diff, 751 bytes (added by netweb, 8 years ago)

Updates Twenty Twelve before_main_content and after_main_content HTML compat in bbpress-functions.php

  • bbPress/templates/default/bbpress-functions.php

    diff --git a/bbPress/templates/default/bbpress-functions.php b/bbPress/templates/default/bbpress-functions.php
    index 4199b33..cbd7008 100644
    a b class BBP_Default extends BBP_Theme_Compat { 
    111111        ?>
    112112
    113113                <div id="bbp-container">
    114                         <div id="bbp-content" role="main">
     114                        <div id="primary" class="site-content">
     115                                <div id="content" role="main">
    115116
    116117        <?php
    117118        }
    class BBP_Default extends BBP_Theme_Compat { 
    125126        public function after_main_content() {
    126127        ?>
    127128
    128                         </div><!-- #bbp-content -->
     129                                </div><!-- #content -->
     130                        </div><!-- #primary -->
    129131                </div><!-- #bbp-container -->
    130132
    131133        <?php