Changeset 47808 for trunk/src/wp-admin/options-discussion.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r47583 r47808 126 126 <?php 127 127 $default_comments_page = '</label> <label for="default_comments_page"><select name="default_comments_page" id="default_comments_page"><option value="newest"'; 128 if ( 'newest' == get_option( 'default_comments_page' ) ) {128 if ( 'newest' === get_option( 'default_comments_page' ) ) { 129 129 $default_comments_page .= ' selected="selected"'; 130 130 } 131 131 $default_comments_page .= '>' . __( 'last' ) . '</option><option value="oldest"'; 132 if ( 'oldest' == get_option( 'default_comments_page' ) ) {132 if ( 'oldest' === get_option( 'default_comments_page' ) ) { 133 133 $default_comments_page .= ' selected="selected"'; 134 134 } … … 147 147 148 148 $comment_order = '<select name="comment_order" id="comment_order"><option value="asc"'; 149 if ( 'asc' == get_option( 'comment_order' ) ) {149 if ( 'asc' === get_option( 'comment_order' ) ) { 150 150 $comment_order .= ' selected="selected"'; 151 151 } 152 152 $comment_order .= '>' . __( 'older' ) . '</option><option value="desc"'; 153 if ( 'desc' == get_option( 'comment_order' ) ) {153 if ( 'desc' === get_option( 'comment_order' ) ) { 154 154 $comment_order .= ' selected="selected"'; 155 155 }
Note: See TracChangeset
for help on using the changeset viewer.