Ticket #14403: 14403.diff
| File 14403.diff, 637 bytes (added by , 15 years ago) |
|---|
-
wp-admin/options-reading.php
38 38 <?php if ( ! get_pages() ) : ?> 39 39 <input name="show_on_front" type="hidden" value="posts" /> 40 40 <table class="form-table"> 41 <?php else : 41 <?php 42 if ( 'posts' != get_option( 'show_on_front' ) ) 43 update_option( 'show_on_front', 'posts' ); 44 else : 42 45 if ( 'page' == get_option( 'show_on_front' ) && ! get_option( 'page_on_front' ) && ! get_option( 'page_for_posts' ) ) 43 46 update_option( 'show_on_front', 'posts' ); 44 47 ?>