Make WordPress Core

Ticket #18206: post_params_str-tabs.diff

File post_params_str-tabs.diff, 502 bytes (added by duck_, 13 years ago)

If we're trying to get nice output we should get it to work

  • wp-admin/includes/media.php

     
    14931493
    14941494foreach ( $post_params as $param => $val ) {
    14951495        $val = esc_js( $val );
    1496         $p[] = "\t\t'$param' : '$val'";
     1496        $p[] = "'$param' : '$val'";
    14971497}
    14981498
    1499 $post_params_str = implode( ", \n", $p );
     1499$post_params_str = implode( ",\n\t\t\t", $p ) . "\n";
    15001500
    15011501?>
    15021502<script type="text/javascript">