Improve various @param docs.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30682 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-01 02:16:36 +00:00
parent 4d46475b3d
commit 095bfabfa9
5 changed files with 9 additions and 9 deletions

View File

@@ -2014,7 +2014,7 @@ function get_the_time( $d = '', $post = null ) {
* @param bool $gmt Optional. Whether to retrieve the GMT time. Default false.
* @param int|WP_Post $post WP_Post object or ID. Default is global $post object.
* @param bool $translate Whether to translate the time string. Default false.
* @return false|string Formatted date string or Unix timestamp. False on failure.
* @return false|string|int Formatted date string or Unix timestamp. False on failure.
*/
function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) {
$post = get_post($post);

View File

@@ -176,7 +176,7 @@ function is_post_type_archive( $post_types = '' ) {
* @since 2.0.0
* @uses $wp_query
*
* @param int|string|array $attachment Attachment ID, title, slug, or array of such.
* @param int|string|array|object $attachment Attachment ID, title, slug, or array of such.
* @return bool
*/
function is_attachment( $attachment = '' ) {