Changeset 16400
- Timestamp:
- 11/16/2010 01:16:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16389 r16400 14 14 /** 15 15 * Creates the initial post types when 'init' action is fired. 16 * 17 * @since 2.9.0 16 18 */ 17 19 function create_initial_post_types() { … … 477 479 * Retrieve the format for a post 478 480 * 481 * @since 3.1.0 482 * 479 483 * @param int|object $post A post 480 484 * … … 495 499 496 500 /** 497 * 501 * Check if a post has a particular format 498 502 * 499 503 * @since 3.1.0 … … 510 514 /** 511 515 * Assign a format to a post 516 * 517 * @since 3.1.0 512 518 * 513 519 * @param int|object $post The post for which to assign a format … … 1422 1428 * If the meta field for the post does not exist, it will be added. 1423 1429 * 1424 * @since 1.5 1430 * @since 1.5.0 1425 1431 * @uses $wpdb 1426 1432 * @link http://codex.wordpress.org/Function_Reference/update_post_meta … … 2738 2744 * Computes a unique slug for the post, when given the desired slug and some post details. 2739 2745 * 2746 * @since 2.8.0 2747 * 2740 2748 * @global wpdb $wpdb 2741 2749 * @global WP_Rewrite $wp_rewrite … … 3222 3230 * $children contains parent-chilren relations 3223 3231 * 3232 * @since 2.9.0 3224 3233 */ 3225 3234 function _page_traverse_name( $page_id, &$children, &$result ){ … … 4546 4555 * parent will be an ancestor. There will only be two ancestors at the most. 4547 4556 * 4548 * @since unknown4557 * @since 2.5.0 4549 4558 * @access private 4550 4559 * @uses $wpdb … … 5031 5040 * Default post information to use when populating the "Write Post" form. 5032 5041 * 5033 * @since unknown5034 * 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'. 5036 5045 * @return object stdClass object containing all the default post data as attributes 5037 5046 */ … … 5229 5238 /** 5230 5239 * Returns an array of post format slugs to their translated and pretty display versions 5231 * 5240 * 5241 * @since 3.1.0 5242 * 5232 5243 * @return array The array of translations 5233 5244 */ … … 5250 5261 * Returns a pretty, translated version of a post format slug 5251 5262 * 5263 * @since 3.1.0 5264 * 5252 5265 * @param string $slug A post format slug 5253 5266 * @return string The translated post format name
Note: See TracChangeset
for help on using the changeset viewer.