WordPress.org

Make WordPress Core

Ticket #50766: 50766.patch

File 50766.patch, 1.5 KB (added by Shital Patel, 10 months ago)

I added 'notice notice-error' class in div and removed margin-left: 18px; to 0px

  • src/wp-admin/css/edit.css

     
    10581058        outline: 0 none;
    10591059}
    10601060
    1061 #front-page-warning,
    10621061#front-static-pages ul,
    10631062ul.export-filters,
    10641063.inline-editor ul.cat-checklist ul,
     
    10691068        margin-left: 18px;
    10701069}
    10711070
     1071#front-page-warning,
     1072{
     1073        margin-left: 0px;
     1074}
     1075
    10721076ul.categorychecklist li {
    10731077        margin: 0;
    10741078        padding: 0;
  • src/wp-admin/options-reading.php

     
    137137</label></li>
    138138</ul>
    139139        <?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>
    141141        <?php endif; ?>
    142142        <?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' ) ) : ?>
    143143        <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>