Changeset 30648 for trunk/src/wp-admin/includes/revision.php
- Timestamp:
- 11/30/2014 11:27:19 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r30602 r30648 59 59 * Contextually filter a post revision field. 60 60 * 61 * The dynamic portion of the hook name, $field, corresponds to each of the post61 * The dynamic portion of the hook name, `$field`, corresponds to each of the post 62 62 * fields of the revision object being iterated over in a foreach statement. 63 63 * … … 67 67 * @param string $field The current revision field. 68 68 * @param WP_Post $compare_from The revision post object to compare to or from. 69 * @param string null The context of whether the current revision is the old or the new one. Values are 'to' or 'from'. 69 * @param string null The context of whether the current revision is the old 70 * or the new one. Values are 'to' or 'from'. 70 71 */ 71 72 $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_$field", $compare_from->$field, $field, $compare_from, 'from' ) : '';
Note: See TracChangeset
for help on using the changeset viewer.