diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index b6158ed261..b2972d2435 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -680,15 +680,15 @@ function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urle * add_query_arg( 'key', 'value', 'http://example.com' ); * * Using an associative array: - * + * * add_query_arg( array( * 'key1' => 'value1', * 'key2' => 'value2', * ), 'http://example.com' ); - * + * * Omitting the URL from either use results in the current URL being used * (the value of `$_SERVER['REQUEST_URI']`). - * + * * Values are expected to be encoded appropriately with urlencode() or rawurlencode(). * * Setting any query variable's value to boolean false removes the key (see remove_query_arg()). @@ -5022,3 +5022,21 @@ function wp_post_preview_js() {