Support

Account

Home Forums Backend Issues (wp-admin) ACF fields with wp_get_revision_ui_diff

Helping

ACF fields with wp_get_revision_ui_diff

  • When comparing two revisions in the post editor, the result is the following:

    Editor revisions

    When comparing the same revisions using wp_get_revision_ui_diff, the result is this:

    Array ( [0] => Array ( [id] => post_title [name] => Title [diff] => Title #1 Title #1 ) )

    How can I get the same revisions as the editor has including the ACF fields?

  • Hi @cc

    If you can see the custom field differences on the backend, that means ACF is working correctly. This means there’s something wrong with how you get the diff programmatically. Because this is more related to WordPress, could you please ask to WordPress Community instead?

    I hope this makes sense. Thanks 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF fields with wp_get_revision_ui_diff’ is closed to new replies.