Changeset 5441 for trunk/bp-core/admin/bp-core-update.php
- Timestamp:
- 12/04/2011 07:05:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r5440 r5441 1069 1069 1070 1070 function step_theme_save() { 1071 global $bp; 1072 1071 1073 if ( isset( $_POST['submit'] ) && isset( $_POST['theme'] ) ) { 1072 1074 check_admin_referer( 'bpwizard_theme' ); … … 1079 1081 // Activate the bp-default theme 1080 1082 case 'bp_default' : 1083 register_theme_directory( $bp->themes_dir ); 1081 1084 switch_theme( 'bp-default', 'bp-default' ); 1082 1085 break;
Note: See TracChangeset
for help on using the changeset viewer.