[wp-meta] [Making WordPress.org] #5873: Meaningless query
Making WordPress.org
noreply at wordpress.org
Sat Aug 21 13:35:54 UTC 2021
#5873: Meaningless query
--------------------------------------+---------------------
Reporter: sunxiyuan | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Translate Site & Plugins | Resolution:
Keywords: close |
--------------------------------------+---------------------
Changes (by SergeyBiryukov):
* keywords: => close
Comment:
Hi there, welcome to WordPress Meta Trac! Thanks for the ticket.
It looks like the first query is used to check whether the plugin slug
exists, and the second one to check whether the plugin branch exists for
that slug.
I don't think we can do both at the same time, as in that case, if either
the slug or the branch does not exist, we won't be able to tell which one
is the problem.
So I think the current code is correct and works as expected.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5873#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list