[wp-trac] Re: [WordPress Trac] #9219: allow saying no to sample posts, comments, and links upon install

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 23 21:51:20 GMT 2009


#9219: allow saying no to sample posts, comments, and links upon install
----------------------------+-----------------------------------------------
 Reporter:  jidanni         |        Owner:  anonymous 
     Type:  enhancement     |       Status:  closed    
 Priority:  lowest          |    Milestone:            
Component:  Administration  |      Version:  2.7.1     
 Severity:  trivial         |   Resolution:  worksforme
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by westi):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  Unassigned =>


Comment:

 This is already possible.

 Add a file called install.php to wp-content

 define a function called 'wp_install_defaults' which does nothing (well
 you might need the default category)

 This will override the defaults at install time.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/9219#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list