Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/04/2018 05:30:44 PM (3 years ago)
Author:
johnjamesjacoby
Message:

Templates: revert r6641 due to reports of styling breakage.

This reverts back to the 2.5-type behavior of always making sure bbPress styling & scripts are available on all theme-side pages.

We will revisit this enhancement again in a future release.

See #3138. Props robin-w.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress-functions.php

    r6641 r6795  
    156156        // Editor scripts
    157157        // @see https://bbpress.trac.wordpress.org/ticket/2930
    158         if ( bbp_use_wp_editor() ) {
     158        if ( bbp_use_wp_editor() && is_bbpress() ) {
    159159            $scripts['bbpress-editor'] = array(
    160160                'file'         => 'js/editor' . $suffix . '.js',
Note: See TracChangeset for help on using the changeset viewer.