[wp-trac] [WordPress Trac] #56271: Custom Template Parts are Duplicated, rather than being updated (PHP 5.6)

WordPress Trac noreply at wordpress.org
Tue Aug 2 21:11:18 UTC 2022


#56271: Custom Template Parts are Duplicated, rather than being updated (PHP 5.6)
-------------------------------------+-------------------------------------
 Reporter:  jonmackintosh            |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.0.2
Component:  Themes                   |     Version:  6.0
 Severity:  major                    |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  administration,
  tests                              |  performance
-------------------------------------+-------------------------------------

Comment (by antonvlasenko):

 Steps to test https://github.com/WordPress/wordpress-develop/pull/3010:
 1. Make sure you are on PHP 5.6.x.
 2. Open the Editor and go to the list of templates/template parts.
 3. Modify any template/template part. Save it.
 4. Open the list of templates/template parts again.
 Expected result:
 The template/template part you've just edited should be displayed once.
 Actual result:
 The template/template part you've just edited will be displayed twice.

 After the fix the template/template part will displayed once.

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


More information about the wp-trac mailing list