diff --git wp-includes/functions.php wp-includes/functions-45643.php
index 659d657..4e220dc 100755
|
old
|
new
|
function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urle |
| 772 | 772 | * |
| 773 | 773 | * @since 1.5.0 |
| 774 | 774 | * |
| 775 | | * @param string|array $key Either a query variable key, or an associative array of query variables. |
| 776 | | * @param string $value Optional. Either a query variable value, or a URL to act upon. |
| 777 | | * @param string $url Optional. A URL to act upon. |
| 778 | 775 | * @return string New URL query string (unescaped). |
| 779 | 776 | */ |
| 780 | 777 | function add_query_arg() { |
| … |
… |
function wp_json_encode( $data, $options = 0, $depth = 512 ) { |
| 3076 | 3073 | * @param mixed $data Variable (usually an array or object) to encode as JSON. |
| 3077 | 3074 | * @param int $depth Maximum depth to walk through $data. Must be greater than 0. |
| 3078 | 3075 | * @return mixed The sanitized data that shall be encoded to JSON. |
| | 3076 | * @throws Exception |
| 3079 | 3077 | */ |
| 3080 | 3078 | function _wp_json_sanity_check( $data, $depth ) { |
| 3081 | 3079 | if ( $depth < 0 ) { |
| … |
… |
function smilies_init() { |
| 3538 | 3536 | * @since 2.3.0 `$args` can now also be an object. |
| 3539 | 3537 | * |
| 3540 | 3538 | * @param string|array|object $args Value to merge with $defaults. |
| 3541 | | * @param array $defaults Optional. Array that serves as the defaults. Default empty. |
| | 3539 | * @param string|array $defaults Optional. Array that serves as the defaults. Default empty. |
| 3542 | 3540 | * @return array Merged user defined values with defaults. |
| 3543 | 3541 | */ |
| 3544 | 3542 | function wp_parse_args( $args, $defaults = '' ) { |
| … |
… |
function wp_auth_check( $response ) { |
| 5433 | 5431 | */ |
| 5434 | 5432 | function get_tag_regex( $tag ) { |
| 5435 | 5433 | if ( empty( $tag ) ) |
| 5436 | | return; |
| | 5434 | return ''; |
| 5437 | 5435 | return sprintf( '<%1$s[^<]*(?:>[\s\S]*<\/%1$s>|\s*\/>)', tag_escape( $tag ) ); |
| 5438 | 5436 | } |
| 5439 | 5437 | |