Ticket #25283: wp-admin-includes-revisions.diff
| File wp-admin-includes-revisions.diff, 1.3 KB (added by , 13 years ago) |
|---|
-
wp-admin/includes/revision.php
11 11 * 12 12 * @since 3.6.0 13 13 * 14 * @param object $post The post object.15 * @param int $compare_from The revision id to compare from.16 * @param int $compare_toThe revision id to 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 * Or, false on failure.19 * Or, false on failure. 20 20 */ 21 21 function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) { 22 22 if ( ! $post = get_post( $post ) ) … … 85 85 * 86 86 * @since 3.6.0 87 87 * 88 * @param object $post The post object.88 * @param object|int $post The post object. Also accepts a post ID. 89 89 * @param int $selected_revision_id The selected revision id. 90 * @param int $from (optional)The revision id to compare from.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. 93 93 */