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:
parent
804284c665
commit
54eb9f1f3c
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue