Make WordPress Core

Ticket #55089: 55089-tab-indentation.patch

File 55089-tab-indentation.patch, 907 bytes (added by arrayiterator, 3 years ago)

fix 55089.patch indentation

  • src/wp-admin/includes/ajax-actions.php

     
    44944494                $status['errorCode']    = $skin->result->get_error_code();
    44954495                $status['errorMessage'] = $skin->result->get_error_message();
    44964496                wp_send_json_error( $status );
    4497         } elseif ( $skin->get_errors()->has_errors() ) {
    4498                 $status['errorMessage'] = $skin->get_error_messages();
    4499                 wp_send_json_error( $status );
    45004497        } elseif ( is_array( $result ) && ! empty( $result[ $plugin ] ) ) {
    45014498
    45024499                /*
     
    45224519                }
    45234520
    45244521                wp_send_json_success( $status );
     4522        } elseif ( $skin->get_errors()->has_errors() ) {
     4523                $status['errorMessage'] = $skin->get_error_messages();
     4524                wp_send_json_error( $status );
    45254525        } elseif ( false === $result ) {
    45264526                global $wp_filesystem;
    45274527