Changeset 3768 for branches/plugin/bbp-admin/bbp-admin.php
- Timestamp:
- 02/27/2012 02:38:36 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-admin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-admin.php
r3766 r3768 107 107 add_action( 'bbp_register_admin_settings', array( $this, 'register_admin_settings' ) ); 108 108 109 // Add menu item to settings menu 110 add_action( 'bbp_activation', array( $this, 'new_install' ) ); 111 109 112 // Forums 'Right now' Dashboard widget 110 113 add_action( 'wp_dashboard_setup', array( $this, 'dashboard_widget_right_now' ) ); … … 204 207 array( $this, 'network_update_screen' ) 205 208 ); 209 } 210 211 /** 212 * If this is a new installation, create some initial forum content. 213 * 214 * @since bbPress (r3767) 215 * @return type 216 */ 217 public function new_install() { 218 if ( !bbp_is_install() ) 219 return; 220 221 bbp_create_initial_content(); 206 222 } 207 223
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)