Ticket #16379: 16379.9.patch
File 16379.9.patch, 534 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/post.php
1349 1349 } 1350 1350 1351 1351 // If a new front page was meant to be created, go forth and create it. 1352 if ( 'new' == $_POST['page_on_front'] ) {1352 if ( ! isset( $_POST['page_on_front'] ) || 'new' == $_POST['page_on_front'] ) { 1353 1353 1354 1354 // If the user can't create pages, revert. 1355 1355 if ( ! current_user_can( 'create_posts', 'page' ) ) {