Changeset 44172 for trunk/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 12/14/2018 06:01:24 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43833
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/edit-form-blocks.php
r44165 r44172 50 50 sprintf( '/wp/v2/types/%s?context=edit', $post_type ), 51 51 sprintf( '/wp/v2/users/me?post_type=%s&context=edit', $post_type ), 52 ); 52 array( '/wp/v2/media', 'OPTIONS' ), 53 ); 54 55 /** 56 * Preload common data by specifying an array of REST API paths that will be preloaded. 57 * 58 * Filters the array of paths that will be preloaded. 59 * 60 * @since 5.0.0 61 * 62 * @param array $preload_paths Array of paths to preload. 63 * @param object $post The post resource data. 64 */ 65 $preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $post ); 53 66 54 67 /*
Note: See TracChangeset
for help on using the changeset viewer.