From e6da469a20698023a46b8b361aa2257a0e64012d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 2 Oct 2015 06:38:26 +0000 Subject: [PATCH] Docs: Fix a few syntatical issues with inline documentation in wp-includes/post-template.php. Props welcher. See #30224. Built from https://develop.svn.wordpress.org/trunk@34768 git-svn-id: http://core.svn.wordpress.org/trunk@34733 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 13 ++++++++----- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index a16f123074..f6c8a8c112 100644 --- a/wp-includes/post-template.php +++ b/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() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index c0c25d956b..13e7ecd19b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34767'; +$wp_version = '4.4-alpha-34768'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.