[wp-trac] [WordPress Trac] #57709: Links to the editor don't work for template and template parts revisions in the revisions screen
WordPress Trac
noreply at wordpress.org
Tue Feb 14 09:59:17 UTC 2023
#57709: Links to the editor don't work for template and template parts revisions in
the revisions screen
--------------------------+--------------------
Reporter: andraganescu | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Revisions | Version:
Severity: blocker | Keywords:
Focuses: |
--------------------------+--------------------
In https://github.com/WordPress/gutenberg/pull/45215 the template and
template part editors gained a button that links to the revisions screen
for the edited template and template part.
The problem is that in the revisions screen there are two links that
should link back to the editor which don't work (one with the template
name and another one with the text "go to editor").
In the post editor (block editor) going to the revisions screen will set
these links to a shape of:
`/wp-admin/post.php?post=3594&action=edit`
In the template editor going to the revisions screen will set these links
to a shape of:
`/wp-admin/revision.php?revision=4068&gutenberg=true`, which is the URI of
the revisions screen itself.
I've put this for 6.2 since it is a blocker for #57704
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57709>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list