setup()
-
In the setup() method, need $current_site as a global:
global $wpdb, $wp_version, $current_site;
Otherwise there’s no $current_site object for
'blogdescription' => sprintf(__('Just another %s weblog'), $current_site->site_name ),
https://www.ads-software.com/extend/plugins/wpmu-new-blog-defaults/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘setup()’ is closed to new replies.