Remove tabs from JS, props duck_, see #18206

git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-07-31 08:44:29 +00:00
parent 804284c665
commit 54eb9f1f3c
1 changed files with 2 additions and 2 deletions

View File

@ -1493,10 +1493,10 @@ $p = array();
foreach ( $post_params as $param => $val ) { foreach ( $post_params as $param => $val ) {
$val = esc_js( $val ); $val = esc_js( $val );
$p[] = "\t\t'$param' : '$val'"; $p[] = "'$param' : '$val'";
} }
$post_params_str = implode( ", \n", $p ); $post_params_str = implode( ',', $p ). "\n";
?> ?>
<script type="text/javascript"> <script type="text/javascript">