WordPress.org

Make WordPress Core

Changeset 16400


Ignore:
Timestamp:
11/16/2010 01:16:13 PM (10 years ago)
Author:
scribu
Message:

Update some @since tags. Props demetris. Fixes #15438

File:
1 edited

Legend:

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

    r16389 r16400  
    1414/**
    1515 * Creates the initial post types when 'init' action is fired.
     16 *
     17 * @since 2.9.0
    1618 */
    1719function create_initial_post_types() {
     
    477479 * Retrieve the format for a post
    478480 *
     481 * @since 3.1.0
     482 *
    479483 * @param int|object $post A post
    480484 *
     
    495499
    496500/**
    497  *  Check if a post has a particular format
     501 * Check if a post has a particular format
    498502 *
    499503 * @since 3.1.0
     
    510514/**
    511515 * Assign a format to a post
     516 *
     517 * @since 3.1.0
    512518 *
    513519 * @param int|object $post The post for which to assign a format
     
    14221428 * If the meta field for the post does not exist, it will be added.
    14231429 *
    1424  * @since 1.5
     1430 * @since 1.5.0
    14251431 * @uses $wpdb
    14261432 * @link http://codex.wordpress.org/Function_Reference/update_post_meta
     
    27382744 * Computes a unique slug for the post, when given the desired slug and some post details.
    27392745 *
     2746 * @since 2.8.0
     2747 *
    27402748 * @global wpdb $wpdb
    27412749 * @global WP_Rewrite $wp_rewrite
     
    32223230 * $children contains parent-chilren relations
    32233231 *
     3232 * @since 2.9.0
    32243233 */
    32253234function _page_traverse_name( $page_id, &$children, &$result ){
     
    45464555 * parent will be an ancestor. There will only be two ancestors at the most.
    45474556 *
    4548  * @since unknown
     4557 * @since 2.5.0
    45494558 * @access private
    45504559 * @uses $wpdb
     
    50315040 * Default post information to use when populating the "Write Post" form.
    50325041 *
    5033  * @since unknown
    5034  *
    5035  *@param string A post type string, defaults to 'post'.
     5042 * @since 2.0.0
     5043 *
     5044 * @param string A post type string, defaults to 'post'.
    50365045 * @return object stdClass object containing all the default post data as attributes
    50375046 */
     
    52295238/**
    52305239 * Returns an array of post format slugs to their translated and pretty display versions
    5231  *
     5240 *
     5241 * @since 3.1.0
     5242 *
    52325243 * @return array The array of translations
    52335244 */
     
    52505261 * Returns a pretty, translated version of a post format slug
    52515262 *
     5263 * @since 3.1.0
     5264 *
    52525265 * @param string $slug A post format slug
    52535266 * @return string The translated post format name
Note: See TracChangeset for help on using the changeset viewer.