Ticket #50766: 50766.patch
File 50766.patch, 1.5 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/edit.css
1058 1058 outline: 0 none; 1059 1059 } 1060 1060 1061 #front-page-warning,1062 1061 #front-static-pages ul, 1063 1062 ul.export-filters, 1064 1063 .inline-editor ul.cat-checklist ul, … … 1069 1068 margin-left: 18px; 1070 1069 } 1071 1070 1071 #front-page-warning, 1072 { 1073 margin-left: 0px; 1074 } 1075 1072 1076 ul.categorychecklist li { 1073 1077 margin: 0; 1074 1078 padding: 0; -
src/wp-admin/options-reading.php
137 137 </label></li> 138 138 </ul> 139 139 <?php if ( 'page' === get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) === get_option( 'page_on_front' ) ) : ?> 140 <div id="front-page-warning" class=" error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div>140 <div id="front-page-warning" class="notice notice-error"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div> 141 141 <?php endif; ?> 142 142 <?php if ( get_option( 'wp_page_for_privacy_policy' ) === get_option( 'page_for_posts' ) || get_option( 'wp_page_for_privacy_policy' ) === get_option( 'page_on_front' ) ) : ?> 143 143 <div id="privacy-policy-page-warning" class="error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same as your Privacy Policy page!' ); ?></p></div>