[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
Thu Apr 13 18:02:15 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.3
Component:  Revisions               |     Version:
 Severity:  blocker                 |  Resolution:
 Keywords:  has-patch dev-reviewed  |     Focuses:  ui
------------------------------------+---------------------

Comment (by antonvlasenko):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/4229
 === Environment
 - WordPress: 6.3-alpha-55505-src
 - PHP: 8.0.27
 - Server: Apache/2.4.55 (Unix) PHP/8.0.27
 - Database: mysqli (Server: 5.7.38 / Client: mysqlnd 8.0.27)
 - Browser: Safari 16.4 (macOS)
 - Theme: Twenty Twenty-Two - WordPress.com 1.2
 - MU-Plugins: None activated
 - Plugins:
   * Gutenberg 15.5.1

 === Steps to Reproduce
 1. Enable Gutenberg.
 2. Go to the Editor, create your own template part.
 3. Modify your template by adding a paragraph block, then add another
 paragraph block, and save it multiple times.
 4. Open the "Template" tab, click on the "X Revisions" link as shown in
 the screenshot below:
 [[Image(https://cldup.com/GQ_Tzzl2sU.png)]]
 5. In the header, click on the links in the header (as shown below):
 [[Image(https://cldup.com/t5jlyfP90o.png)]]


 === Expected Results
 1.  ✅ The links should take you back to the "Edit template" page.

 === Actual Results
 1.  ❌ The links don't work. Nothing happens when I click on them.

 === After applying the patch
 1. ✅ The links take you back to the Edit template page.


 === Additional Notes
 - I have only tested the template parts functionality.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57709#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list