WordPress.org

Make WordPress Core

Ticket #43978: 43978-4.diff

File 43978-4.diff, 767 bytes (added by birgire, 21 months ago)
  • src/wp-admin/css/forms.css

    diff --git src/wp-admin/css/forms.css src/wp-admin/css/forms.css
    index 336d9c7..b7df67f 100644
    table.form-table td .updated p { 
    790790        margin: 7px 0 5px;
    791791}
    792792
     793.js #export-filters .export-filters {
     794        display: none;
     795}
     796
    793797/* Card styles */
    794798
    795799.card {
  • src/wp-admin/export.php

    diff --git src/wp-admin/export.php src/wp-admin/export.php
    index 39c6073..07c4565 100644
    function export_add_js() { 
    2828        jQuery(document).ready(function($){
    2929                 var form = $('#export-filters'),
    3030                         filters = form.find('.export-filters');
    31                  filters.hide();
    3231                 form.find('input:radio').change(function() {
    3332                        filters.slideUp('fast');
    3433                        switch ( $(this).val() ) {