Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: https://develop.svn.wordpress.org/trunk@13817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a28f0f27cf
commit
48c90e9f13
@ -264,6 +264,7 @@ function wp_install_defaults($user_id) {
|
|||||||
'pinged' => '',
|
'pinged' => '',
|
||||||
'post_content_filtered' => ''
|
'post_content_filtered' => ''
|
||||||
));
|
));
|
||||||
|
$wpdb->insert( $wpdb->postmeta, array( 'post_id' => 2, 'meta_key' => '_wp_page_template', 'meta_value' => 'default' ) );
|
||||||
|
|
||||||
// Setup default widgets for default theme.
|
// Setup default widgets for default theme.
|
||||||
update_option( 'widget_search', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );
|
update_option( 'widget_search', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user