Add tests for update_user_caches().
See #24635. Built from https://develop.svn.wordpress.org/trunk@34918 git-svn-id: http://core.svn.wordpress.org/trunk@34883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -54,7 +54,7 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
|
||||
|
||||
$return = array();
|
||||
|
||||
foreach ( _wp_post_revision_fields() as $field => $name ) {
|
||||
foreach ( _wp_post_revision_fields( $post ) as $field => $name ) {
|
||||
/**
|
||||
* Contextually filter a post revision field.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user