Changeset 30674 for trunk/src/wp-includes/functions.php
- Timestamp:
- 11/30/2014 11:23:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r30656 r30674 198 198 * @param int|string $bytes Number of bytes. Note max integer size for integers. 199 199 * @param int $decimals Optional. Precision of number of decimal places. Default 0. 200 * @return bool|stringFalse on failure. Number string on success.200 * @return string|false False on failure. Number string on success. 201 201 */ 202 202 function size_format( $bytes, $decimals = 0 ) { … … 642 642 * @global string $previousday The day of the previous post in the loop. 643 643 * 644 * @return int |bool 1|true when new day, 0|falseif not a new day.644 * @return int 1 when new day, 0 if not a new day. 645 645 */ 646 646 function is_new_day() { … … 843 843 * 844 844 * @param string $uri URI/URL of web page to retrieve. 845 * @return bool|string HTTP content. False on failure.845 * @return false|string HTTP content. False on failure. 846 846 */ 847 847 function wp_remote_fopen( $uri ) { … … 1328 1328 * @since 2.0.4 1329 1329 * 1330 * @param string $actionurl URL to add nonce action.1331 * @param string $action Optional. Nonce action name. Default -1.1332 * @param string $name Optional. Nonce name. Default '_wpnonce'.1330 * @param string $actionurl URL to add nonce action. 1331 * @param int|string $action Optional. Nonce action name. Default -1. 1332 * @param string $name Optional. Nonce name. Default '_wpnonce'. 1333 1333 * @return string Escaped URL with nonce action added. 1334 1334 */ … … 1358 1358 * @since 2.0.4 1359 1359 * 1360 * @param string $action Optional. Action name. Default -1.1361 * @param string $name Optional. Nonce name. Default '_wpnonce'.1362 * @param bool $referer Optional. Whether to set the referer field for validation. Default true.1363 * @param bool $echo Optional. Whether to display or return hidden form field. Default true.1360 * @param int|string $action Optional. Action name. Default -1. 1361 * @param string $name Optional. Nonce name. Default '_wpnonce'. 1362 * @param bool $referer Optional. Whether to set the referer field for validation. Default true. 1363 * @param bool $echo Optional. Whether to display or return hidden form field. Default true. 1364 1364 * @return string Nonce field HTML markup. 1365 1365 */ … … 1427 1427 * @since 2.0.4 1428 1428 * 1429 * @return string|boolFalse on failure. Referer URL on success.1429 * @return false|string False on failure. Referer URL on success. 1430 1430 */ 1431 1431 function wp_get_referer() { … … 1448 1448 * @since 2.0.4 1449 1449 * 1450 * @return string| boolFalse if no original referer or original referer if set.1450 * @return string|false False if no original referer or original referer if set. 1451 1451 */ 1452 1452 function wp_get_original_referer() { … … 1919 1919 * @since 2.0.0 1920 1920 * 1921 * @param string $name Filename.1922 * @param null 1923 * @param mixed $bits File content1924 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.1921 * @param string $name Filename. 1922 * @param null|string $deprecated Never used. Set to null. 1923 * @param mixed $bits File content 1924 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. 1925 1925 * @return array 1926 1926 */
Note: See TracChangeset
for help on using the changeset viewer.