Changeset 48590 for trunk/src/wp-includes/functions.php
- Timestamp:
- 07/23/2020 09:09:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r48573 r48590 299 299 * @param int $timestamp Unix timestamp. 300 300 * @param DateTimeZone $timezone Timezone. 301 *302 301 */ 303 302 $date = apply_filters( 'wp_date', $date, $format, $timestamp, $timezone ); … … 835 834 * @global wpdb $wpdb WordPress database abstraction object. 836 835 * 837 * @param string 838 * @param int|WP_Post 836 * @param string $content Post content. If `null`, the `post_content` field from `$post` is used. 837 * @param int|WP_Post $post Post ID or post object. 839 838 * @return null|bool Returns false if post is not found. 840 839 */ … … 2642 2641 * @since 2.0.0 2643 2642 * 2644 * @param string 2645 * @param null|string 2646 * @param string 2647 * @param string 2643 * @param string $name Filename. 2644 * @param null|string $deprecated Never used. Set to null. 2645 * @param string $bits File content 2646 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. 2648 2647 * @return array { 2649 2648 * Information about the newly-uploaded file. … … 7525 7524 * @since 5.2.0 $max_execution_time parameter added. 7526 7525 * 7527 * @param string $directoryFull path of a directory.7528 * @param string|array $exclude Optional. Full path of a subdirectory to exclude from the total, or array of paths.7529 * Expected without trailing slash(es).7530 * @param int $max_execution_time Maximum time to run before giving up. In seconds.7531 * The timeout is global and is measured from the moment WordPress started to load.7526 * @param string $directory Full path of a directory. 7527 * @param string|array $exclude Optional. Full path of a subdirectory to exclude from the total, or array of 7528 * paths. Expected without trailing slash(es). 7529 * @param int $max_execution_time Maximum time to run before giving up. In seconds. 7530 * The timeout is global and is measured from the moment WordPress started to load. 7532 7531 * @return int|false|null Size in bytes if a valid directory. False if not. Null if timeout. 7533 7532 */
Note: See TracChangeset
for help on using the changeset viewer.