Changeset 6968
- Timestamp:
- 11/19/2019 06:02:24 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/templates/default/bbpress-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress-functions.php
r6910 r6968 119 119 public function enqueue_styles() { 120 120 121 // RTL and/or minified 122 $suffix = is_rtl() ? '-rtl' : ''; 123 124 // Get and filter the bbp-default style 125 $styles = apply_filters( 'bbp_default_styles', array( 121 // Setup the default styling 122 $defaults = array( 126 123 'bbp-default' => array( 127 'file' => 'css/bbpress ' . $suffix . '.css',124 'file' => 'css/bbpress.css', 128 125 'dependencies' => array() 129 126 ) 130 ) ); 127 ); 128 129 // Optionally support an RTL variant 130 if ( is_rtl() ) { 131 $defaults['bbp-default-rtl'] = array( 132 'file' => 'css/bbpress-rtl.css', 133 'dependencies' => array() 134 ); 135 } 136 137 // Get and filter the bbp-default style 138 $styles = apply_filters( 'bbp_default_styles', $defaults ); 131 139 132 140 // Enqueue the styles
Note: See TracChangeset
for help on using the changeset viewer.