From f6ce56219acf9d4d4c0f29819b49f0a059956b27 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 2 Oct 2015 06:37:48 +0000 Subject: [PATCH] Docs: Fix a few syntatical issues with inline documentation in wp-includes/post-template.php. Props welcher. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@34768 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index a16f123074..f6c8a8c112 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -244,7 +244,7 @@ function the_content( $more_link_text = null, $strip_teaser = false) { * @global int $multipage * * @param string $more_link_text Optional. Content for when there is more text. - * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. + * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. * @return string */ function get_the_content( $more_link_text = null, $strip_teaser = false ) { @@ -316,7 +316,8 @@ function get_the_content( $more_link_text = null, $strip_teaser = false ) { * * @since 3.1.0 * @access private - * @param array $match Match array from preg_replace_callback + * + * @param array $match Match array from preg_replace_callback. * @return string */ function _convert_urlencoded_to_entities( $match ) { @@ -391,8 +392,8 @@ function has_excerpt( $id = 0 ) { * * @since 2.7.0 * - * @param string|array $class One or more classes to add to the class list. - * @param int|WP_Post $post_id Optional. Post ID or post object. + * @param string|array $class One or more classes to add to the class list. + * @param int|WP_Post $post_id Optional. Post ID or post object. Defaults to the global `$post`. */ function post_class( $class = '', $post_id = null ) { // Separates classes with a single space, collates classes for post DIV @@ -950,8 +951,10 @@ function post_custom( $key = '' ) { /** * Display list of post custom fields. * - * @internal This will probably change at some point... * @since 1.2.0 + * + * @internal This will probably change at some point... + * */ function the_meta() { if ( $keys = get_post_custom_keys() ) {