Changeset 28917
- Timestamp:
- 06/30/2014 03:46:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28900 r28917 78 78 * @since 0.71 79 79 * 80 * @param string $dateformatstring Format to display the date. 81 * @param int $unixtimestamp Optional. Unix timestamp. 82 * @param bool $gmt Optional, default is false. Whether to convert to GMT for time. 80 * @param string $dateformatstring Format to display the date. 81 * @param bool|int $unixtimestamp Optional. Unix timestamp. Default false. 82 * @param bool $gmt Optional. Whether to use GMT timezone. Default false. 83 * 83 84 * @return string The date, translated if locale specifies it. 84 85 */ … … 653 654 } 654 655 655 // from php.net (modified by Mark Jaquith to behave like the native PHP5 function) 656 function _http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=true) { 656 /** 657 * From php.net (modified by Mark Jaquith to behave like the native PHP5 function). 658 * 659 * @since 3.2.0 660 * 661 * @link http://us1.php.net/manual/en/function.http-build-query.php 662 * 663 * @param array|object $data An array or object of data. Converted to array. 664 * @param string $prefix Optional. Numeric index. If set, start parameter numbering with it. 665 * Default null. 666 * @param string $sep Optional. Argument separator; defaults to 'arg_separator.output'. 667 * Default null. 668 * @param string $key Optional. Used to prefix key name. Default empty. 669 * @param bool $urlencode Optional. Whether to use urlencode() in the result. Default true. 670 * 671 * @return string The query string. 672 */ 673 function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urlencode = true ) { 657 674 $ret = array(); 658 675 … … 4254 4271 4255 4272 /** 4256 * Test if the supplied date is valid for the Gregorian calendar 4273 * Test if the supplied date is valid for the Gregorian calendar. 4257 4274 * 4258 4275 * @since 3.5.0 4259 4276 * 4260 * @return bool true|false 4277 * @see checkdate() 4278 * 4279 * @param int $month Month number. 4280 * @param int $day Day number. 4281 * @param int $year Year number. 4282 * @param string $source_date The date to filter. 4283 * @return bool True if valid date, false if not valid date. 4261 4284 */ 4262 4285 function wp_checkdate( $month, $day, $year, $source_date ) { … … 4362 4385 * 4363 4386 * @since 3.6.0 4387 * 4388 * @param array|object $response The Heartbeat response object or array. 4389 * @return array|object $response The Heartbeat response object or array with 'wp-auth-check' 4390 * value set. 4364 4391 */ 4365 4392 function wp_auth_check( $response ) {
Note: See TracChangeset
for help on using the changeset viewer.