Changeset 3928 for branches/plugin/bbp-includes/bbp-theme-compatibility.php
- Timestamp:
- 05/31/2012 05:02:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-theme-compatibility.php
r3927 r3928 268 268 * @param array $theme 269 269 */ 270 function bbp_register_theme_package( $theme = '', $override = true ) { 271 272 // Bail if no name or object passed is not a theme compat theme 270 function bbp_register_theme_package( $theme = array(), $override = true ) { 271 272 // Create new BBP_Theme_Compat object from the $theme array 273 if ( is_array( $theme ) ) 274 $theme = new BBP_Theme_Compat( $theme ); 275 276 // Bail if $theme isn't a proper object 273 277 if ( ! is_a( $theme, 'BBP_Theme_Compat' ) ) 274 278 return;
Note: See TracChangeset
for help on using the changeset viewer.