[wp-trac] [WordPress Trac] #61938: Lack of consistency on update types.

WordPress Trac noreply at wordpress.org
Tue Aug 27 15:22:42 UTC 2024


#61938: Lack of consistency on update types.
----------------------------+-----------------------------
 Reporter:  sebastienserre  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  2nd-opinion
  Focuses:                  |
----------------------------+-----------------------------
 Hello,

 I wonder if we couldn't add a little more of consistencies in update type.

 At
 https://github.com/WordPress/WordPress/blob/b8dbab954688836bafc72457a21300380e96078a
 /wp-includes/l10n.php#L1518 we're checking `themes` & `plugins` in plural
 form.

 At
 https://github.com/WordPress/WordPress/blob/b8dbab954688836bafc72457a21300380e96078a
 /wp-includes/update.php#L859 we're checking the same words but in
 singular...

 I do not know if it could be improved without breaking all updates system.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61938>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list