[wp-meta] [Making WordPress.org] #5873: Meaningless query

Making WordPress.org noreply at wordpress.org
Mon Aug 23 00:47:52 UTC 2021


#5873: Meaningless query
--------------------------------------+-------------------------
 Reporter:  sunxiyuan                 |       Owner:  (none)
     Type:  defect                    |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:  maybelater
 Keywords:  close                     |
--------------------------------------+-------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => maybelater


Comment:

 While these could be combined, `get_plugin_stable_tag()` is best to be
 avoided for non-existing slugs, so the existing code while seemingly
 redundant, is reasonable.

 Thanks for raising this @sunxiyuan - if this was in a more highly queried
 endpoint it would make sense to optimise it, but as it's only within a
 cron task it's better to be safe and include the extra checks.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5873#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list