[wp-trac] [WordPress Trac] #60521: Plugin updates don't work anymore

WordPress Trac noreply at wordpress.org
Tue Feb 13 10:11:03 UTC 2024


#60521: Plugin updates don't work anymore
-------------------------------------------------+-------------------------
 Reporter:  Presskopp                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.5
Component:  Plugins                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  testing has-testing-info                       |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-screenshots has-patch => has-screenshots has-patch needs-
     testing has-testing-info


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/6098 PR 6098] makes
 the change mentioned above and is ready for testing.

 == Testing Instructions
 These steps define how to reproduce the issue, and indicate the expected
 behavior.

 === Steps to Reproduce
 1. Have a plugin that requires an update.
 2. Navigate to `Plugins > Installed plugins`.
 3. 🐞 Click `Update now` in the plugin row notice.
 4. Apply [https://github.com/WordPress/wordpress-develop/pull/6098 the
 PR].
 5. Build the environment with `npm run build:dev`.
 6. Repeat steps 1-3, ensuring you do a hard refresh between steps 2 and 3.

 === Expected Results
 When testing a patch to validate it works as expected:
 - ✅ The update completes successfully and there are no errors in the
 console.

 When reproducing a bug:
 - ❌ The update stalls and the DevTools console will have an error:
    Uncaught TypeError: Cannot read properties of undefined. (reading
 "attr")

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


More information about the wp-trac mailing list