So, why the default namespace persist if I did all right? Would it be some javascript function of wordpress that would be doing the request on the incorrect route? What function? How to fix it?
If the endpoint works then you changed it correctly, but if you’ve flushed rewrite rules/permalinks, and it still isn’t working, then you need to raise a bug with the Gutenberg github, or the official WP Trac.
Note that this is assuming you’re only trying to change the REST API endpoint of a single custom post type, and doing it via register_post_type
and the rest_namespace
parameter with WP 5.9/6 or higher.
Otherwise, it looks based on this code that you have found a WordPress/Gutenberg bug with retrieving autosaves:
Related Posts:
- Editor API Endpoint or Data Store That Provides a List of Meta Fields for Post Types
- Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?
- Custom Endpoint API based on attribute gutenberg block
- Proxy External API request in PHP from Edit.js in Block Plugin
- Custom validation on publish/ update in Block Editor
- Unable to edit server side rendered block
- apiFetch() returns infinite requests
- Block editor – Too many requests for server host
- fetch more than 100 records in block editor API call
- Block editor not loading with rest api custom code
- Add To Gutenberg Sidebar
- How to detect the usage of Gutenberg
- Possible to use @wordpress/create-block with multiple blocks?
- What is the advantage of ‘register_block_type’ (the PHP function) when creating custom blocks?
- Gutenberg custom block plugin with custom image sizes
- The Block Editor: Disable “Color settings” in the specific block
- Serialize custom block with InnerBlock
- What replaces wpColorPicker in Gutenberg?
- Gutenberg Range Control default from meta value
- Find all the places where a block type is used
- Why is the new Gutenberg editor so narrow, and how to make it wider?
- WP Blocks – Gutenberg – not rendering $content
- Why does the custom HTML block not preserve the HTML characters?
- Can’t get dynamic Gutenberg block to render on the frontend
- Gutenberg change/remove “Write your story” placeholder in custom blocks
- What’s the absolute minimum code that I need to create a dynamic block?
- How to make 2/3 width column in Gutenberg
- Change default colors in paragraph block settings
- Gutenberg Reusable Block of WordPress
- Add custom attributes to link in Gutenberg
- How do I add a Gutenberg editor to a custom options page
- Custom Gutenberg Block: Excluding an allowed block from InnerBlock’s templateLock={‘all’}
- Determine if block has already been registered
- InnerBlocks breaks Flexbox and CSS Grid styles
- Is there a way to set the gutenberg color palette outside the theme?
- Gutenberg get withState variable in save function
- Specify exact parent child relationship between two blocks
- Using custom Entities to retrieve external data in the Block Editor
- How can I remove a button from the paragraph block toolbar?
- Align Group blocks left or right
- Unable to override MediaPlaceholder component
- Run the edit function of parent block when something changes in InnerBlocks
- do_blocks does not include its CSS
- Track Block Pattern Insertion Within the Block Editor
- block variations registration in PHP
- How to add screen reader text to links inserted in the block editor?
- Auto synchronize saving of custom block editor entities
- Store data from nested block of gutenberg
- Output content of post excerpt into Innerblocks within Gutenberg block
- How to add a link in a translation in gutenberg
- component does not render in block save
- Adding block programmatically to InnerBlocks
- Filter root element of tag cloud block
- How `window.wp.oldEditor` is being set in the editor?
- How to use Gutenberg blocks in widgets?
- Don’t expand “Most Used” accordion item when adding new block
- Search for a keyword across post types in a Gutenberg component
- Is it possible (safe) to create custom blocks using ES Next format?
- How to prevent Block Editor from adding id to block markup in save function?
- How do I make sure the gutenberg block CSS is not disrupted by generic styles?
- Custom block Block Validation failure w/ deprecation declared
- Working with external library in gutenberg block
- Getting taxonomies associated with a specified post type
- Download Image from URL and Create a new Folder in wp-contents and save them there
- Detect selected block pattern from a specific Pattern category
- How to add a message when post category is empty (the category have no published posts)?
- Add javascript file to a block pattern
- Block editor not recognizing markdown
- Can’t add front end script file using block.json for a custom block
- How to get the Gutenberg image block to show new Media Library listing
- useSelect in event callback – not retrieving value on time
- How to Batch Convert Gutenberg post to Classic post?
- How to create pre-designed page layouts for Gutenberg?
- Can anyone explain why setting a block attributes source to a data-attribute doesn’t work?
- How can I display instagram block with parse_block?
- Do not wrap custom block in an additional DIV but instead use only the JSX I provide
- Line break in Gutenberg post title?
- Basic Block Usage Help on WordPress
- Can’t extend my custom gutenberg block
- How to Stop Gutenberg From Adding Classic Block
- How to increase width of code block in WordPress blog?
- Video, embed, html block usage out of the_content
- applyformat in gutenberg doesnt work and no errors
- Why does Gutenberg adds 4 around blocks? And how to change this?
- admin_notices not shown
- Layout Settings in the new Gutenberg editor
- How to get blocks with same heigh in columns?
- Gutenberg: Issue trying to commit locally
- Block UI data table
- How to use correctly Panel in block/editor?
- How to generate WordPress core blocks markup programmatically?
- How to restrict gutenberg block next post & previous post to same category?
- Where is getSite selector defined?
- How properly use social link block in template part
- How to self host fonts and have them show up in all the Full Site Block Editor Typography options, including global styling
- How do I have two RadioControls in my custom Gutenberg block?
- WordPress block editor template parts not saving
- REST API error in block editor for custom templates
- Conditionally Load JS for Block Style
- Custom WP Blocks (register_block_type) in a Parent Theme