Changeset 25419
- Timestamp:
- 09/12/2013 10:58:45 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r24866 r25419 1 1 <?php 2 2 /** 3 * WordPress Administration Revisions API .3 * WordPress Administration Revisions API 4 4 * 5 5 * @package WordPress … … 12 12 * @since 3.6.0 13 13 * 14 * @param object $post The post object.15 * @param int $compare_from The revision idto compare from.16 * @param int $compare_to The revision idto come to.14 * @param object|int $post The post object. Also accepts a post ID. 15 * @param int $compare_from The revision ID to compare from. 16 * @param int $compare_to The revision ID to come to. 17 17 * 18 18 * @return array|bool Associative array of a post's revisioned fields and their diffs. 19 * 19 * Or, false on failure. 20 20 */ 21 21 function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) { … … 86 86 * @since 3.6.0 87 87 * 88 * @param object $post The post object.89 * @param int $selected_revision_id The selected revision id.90 * @param int $from (optional) The revision idto compare from.88 * @param object|int $post The post object. Also accepts a post ID. 89 * @param int $selected_revision_id The selected revision ID. 90 * @param int $from Optional. The revision ID to compare from. 91 91 * 92 92 * @return array An associative array of revision data and related settings. -
trunk/src/wp-admin/revision.php
r24922 r25419 1 1 <?php 2 2 /** 3 * Revisions administration panel. 3 * Revisions administration panel 4 * 5 * Requires wp-admin/includes/revision.php. 4 6 * 5 7 * @package WordPress 6 8 * @subpackage Administration 9 * @since 2.6.0 10 * 11 * @param int revision Optional. The revision ID. 12 * @param string action The action to take. 13 * Accepts 'restore', 'view' or 'edit'. 14 * @param int from The revision to compare from. 15 * @param int to Optional, required if revision missing. The revision to compare to. 7 16 */ 8 17
Note: See TracChangeset
for help on using the changeset viewer.