mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 09:03:09 +01:00
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
This commit is contained in:
parent
79dc7efc73
commit
f6ce56219a
@ -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() ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user