Variously inline documentation syntactical fixes in wp-includes/post-template.php.

See #31888.

Built from https://develop.svn.wordpress.org/trunk@32046


git-svn-id: http://core.svn.wordpress.org/trunk@32025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-04-05 16:50:29 +00:00
parent 46cf634c90
commit e22597655b
2 changed files with 6 additions and 4 deletions

View File

@ -177,6 +177,8 @@ function the_guid( $id = 0 ) {
* *
* @since 4.2.0 * @since 4.2.0
* *
* @see get_the_guid()
*
* @param string $post_guid Escaped Global Unique Identifier (guid) of the post. * @param string $post_guid Escaped Global Unique Identifier (guid) of the post.
*/ */
echo apply_filters( 'the_guid', get_the_guid( $id ) ); echo apply_filters( 'the_guid', get_the_guid( $id ) );
@ -406,8 +408,8 @@ function post_class( $class = '', $post_id = null ) {
* @since 2.7.0 * @since 2.7.0
* @since 4.2.0 Custom taxonomy classes were added. * @since 4.2.0 Custom taxonomy classes were added.
* *
* @param string|array $class One or more classes to add to the class list. * @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 int|WP_Post $post_id Optional. Post ID or post object.
* @return array Array of classes. * @return array Array of classes.
*/ */
function get_post_class( $class = '', $post_id = null ) { function get_post_class( $class = '', $post_id = null ) {
@ -1653,7 +1655,7 @@ function get_the_password_form( $post = 0 ) {
* and then the check will be specific to that template. * and then the check will be specific to that template.
* *
* @since 2.5.0 * @since 2.5.0
* @since 4.2.0 The `$template` parameter was changed to accept an array of page templates. * @since 4.2.0 The `$template` parameter was changed to also accept an array of page templates.
* *
* @param string|array $template The specific template name or array of templates to match. * @param string|array $template The specific template name or array of templates to match.
* @return bool True on success, false on failure. * @return bool True on success, false on failure.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta4-32045'; $wp_version = '4.2-beta4-32046';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.