WordPress.org

Make WordPress Core

Ticket #46974: 46974.diff

File 46974.diff, 474 bytes (added by talldanwp, 15 months ago)
  • src/wp-admin/edit-form-blocks.php

    diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php
    index 0ae82cb3a3..bafabaddc3 100644
    a b $preload_paths = array( 
    4949        sprintf( '/wp/v2/users/me?post_type=%s&context=edit', $post_type ),
    5050        array( '/wp/v2/media', 'OPTIONS' ),
    5151        array( '/wp/v2/blocks', 'OPTIONS' ),
     52        sprintf( '/wp/v2/%s/%d/autosaves?context=edit', $rest_base, $post->ID ),
    5253);
    5354
    5455/**