Created
April 27, 2012 23:39
-
-
Save dlh01/2514304 to your computer and use it in GitHub Desktop.
Install WordPress without "Hello world!" and other default content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* Install WordPress without "Hello world!" and other default content | |
* | |
* This function overrides the standard wp_install_defaults() in | |
* wp-admin/includes/upgrade.php. Leaving the function empty causes WordPress | |
* to install without the default post, page, links, categories, etc. | |
* | |
* Save this file as install.php inside your wp-content directory before beginning installation | |
* | |
* Also available in https://github.com/dlh01/dave-wpstarterkit | |
* | |
* @link http://lists.automattic.com/pipermail/wp-hackers/2012-April/042932.html | |
* @link http://wpbits.wordpress.com/2007/08/10/automating-wordpress-customizations-the-installphp-way/ | |
* | |
*/ | |
function wp_install_defaults() { } | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment