Changeset 5285 for trunk/src/templates/default/bbpress-functions.php
- Timestamp:
- 02/11/2014 04:29:19 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/src/templates/default/bbpress-functions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress-functions.php
r5183 r5285 169 169 $scripts = array(); 170 170 171 // Minified 172 $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 173 171 174 // Always pull in jQuery for TinyMCE shortcode usage 172 175 if ( bbp_use_wp_editor() ) { 173 176 $scripts['bbpress-editor'] = array( 174 'file' => 'js/editor .js',177 'file' => 'js/editor' . $suffix . '.js', 175 178 'dependencies' => array( 'jquery' ) 176 179 ); … … 180 183 if ( bbp_is_single_forum() ) { 181 184 $scripts['bbpress-forum'] = array( 182 'file' => 'js/forum .js',185 'file' => 'js/forum' . $suffix . '.js', 183 186 'dependencies' => array( 'jquery' ) 184 187 ); … … 190 193 // Topic favorite/unsubscribe 191 194 $scripts['bbpress-topic'] = array( 192 'file' => 'js/topic .js',195 'file' => 'js/topic' . $suffix . '.js', 193 196 'dependencies' => array( 'jquery' ) 194 197 ); … … 197 200 if ( bbp_thread_replies() ) { 198 201 $scripts['bbpress-reply'] = array( 199 'file' => 'js/reply .js',202 'file' => 'js/reply' . $suffix . '.js', 200 203 'dependencies' => array( 'jquery' ) 201 204 ); … … 206 209 if ( bbp_is_single_user_edit() ) { 207 210 $scripts['bbpress-user'] = array( 208 'file' => 'js/user .js',211 'file' => 'js/user' . $suffix . '.js', 209 212 'dependencies' => array( 'user-query' ) 210 213 );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)