Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#48813 closed defect (bug) (reported-upstream)

WP 5.3 can't longer use editPost to change content

Reported by: secretprotonium's profile secretprotonium Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Editor Keywords: needs-patch
Focuses: ui, javascript, administration Cc:


Since WP 5.3 and also in the newest development version of WordPress.
It's impossible to change the content of the editor with: 'core/editor' ).editPost( { title: 'My awesome title, will be set.', content: 'My awesome content will no longer be set :c' } );

in all versions before it just worked perfectly but since 5.3 it's broken.
The title and everything else can still be changed only the content is inaccessible now.

Why is this and how can I fix it? Respectively what is the new way to change the content?

Change History (1)

#1 @noisysocks
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.