Changeset 30105 for trunk/src/wp-includes/revision.php
- Timestamp:
- 10/30/2014 01:04:55 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/revision.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r30091 r30105 77 77 * 78 78 * @since 2.6.0 79 *80 * @uses _wp_put_post_revision()81 79 * 82 80 * @param int $post_id The ID of the post to save as a revision. … … 193 191 * @since 2.6.0 194 192 * 195 * @uses wp_get_post_revisions()196 *197 193 * @param int $post_id The post ID. 198 194 * @param int $user_id optional The post author ID. … … 252 248 * @since 2.6.0 253 249 * @access private 254 *255 * @uses wp_insert_post()256 250 * 257 251 * @param int|object|array $post Post ID, post object OR post array. … … 296 290 * 297 291 * @since 2.6.0 298 *299 * @uses get_post()300 292 * 301 293 * @param int|object $post The post ID or object. … … 329 321 * 330 322 * @since 2.6.0 331 *332 * @uses wp_get_post_revision()333 * @uses wp_update_post()334 323 * 335 324 * @param int|object $revision_id Revision ID or revision object. … … 391 380 * @since 2.6.0 392 381 * 393 * @uses wp_get_post_revision()394 * @uses wp_delete_post()395 *396 382 * @param int|object $revision_id Revision ID or revision object. 397 383 * @return mixed Null or WP_Error if error, deleted post if success. … … 425 411 * @since 2.6.0 426 412 * 427 * @uses get_children()428 *429 413 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 430 414 * @return array An array of revisions, or an empty array if none. … … 454 438 * @since 3.6.0 455 439 * 456 * @uses wp_revisions_to_keep()457 *458 440 * @param object $post The post object. 459 441 * @return bool True if number of revisions to keep isn't zero, false otherwise. … … 468 450 * 469 451 * @since 3.6.0 470 *471 * @uses post_type_supports()472 452 * 473 453 * @param object $post The post object. … … 587 567 * @since 3.6.0 588 568 * @access private 589 *590 * @uses wp_get_post_revisions()591 569 * 592 570 * @param object $post Post object
Note: See TracChangeset
for help on using the changeset viewer.