Make WordPress Core


Ignore:
Timestamp:
09/30/2015 04:12:16 AM (11 years ago)
Author:
DrewAPicture
Message:

Docs: There are quite alot of typos in core inline comments.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-functions.php

    r34685 r34717  
    280280 * statement (which needs to be verified), it would then be possible to get
    281281 * all of the attachments for a post. Attachments have since changed since
    282  * version 2.5, so this is most likely unaccurate, but serves generally as an
     282 * version 2.5, so this is most likely inaccurate, but serves generally as an
    283283 * example of what is possible.
    284284 *
    … …  
    386386 *
    387387 * @param string $post Post content.
    388  * @return array Post before ('main'), after ('extended'), and custom readmore ('more_text').
     388 * @return array Post before ('main'), after ('extended'), and custom read more ('more_text').
    389389 */
    390390function get_extended( $post ) {
    … …  
    27342734 *
    27352735 * @param int   $post_id Optional. The Post ID. Does not default to the ID of the
    2736  *                       global $post. Defualt 0.
     2736 *                       global $post. Default 0.
    27372737 * @param array $args Optional. Overwrite the defaults
    27382738 * @return array List of post tags.
    … …  
    34983498        }
    34993499
    3500         // wp_publish_post(_ returns no meaninful value
     3500        // wp_publish_post(_ returns no meaningful value.
    35013501        wp_publish_post( $post_id );
    35023502}
Note: See TracChangeset for help on using the changeset viewer.