diff --git a/options-reading.php b/options-reading.php
index 7131e29..98dab54 100755
|
a
|
b
|
if ( ! in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', ' |
| 68 | 68 | endif; |
| 69 | 69 | |
| 70 | 70 | else : |
| 71 | | if ( 'page' == get_option( 'show_on_front' ) && ! get_option( 'page_on_front' ) && ! get_option( 'page_for_posts' ) ) { |
| | 71 | if ( 'page' === get_option( 'show_on_front' ) && ! get_option( 'page_on_front' ) && ! get_option( 'page_for_posts' ) ) { |
| 72 | 72 | update_option( 'show_on_front', 'posts' ); |
| 73 | 73 | } |
| 74 | 74 | ?> |
| … |
… |
else : |
| 120 | 120 | ?> |
| 121 | 121 | </label></li> |
| 122 | 122 | </ul> |
| 123 | | <?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?> |
| | 123 | <?php if ( 'page' === get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) === get_option( 'page_on_front' ) ) : ?> |
| 124 | 124 | <div id="front-page-warning" class="error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div> |
| 125 | 125 | <?php endif; ?> |
| 126 | 126 | </fieldset></td> |