[wp-meta] [Making WordPress.org] #4469: Plugin information API: Prioritize 100% matched slug in search

Making WordPress.org noreply at wordpress.org
Mon Jun 3 21:50:30 UTC 2019

#4469: Plugin information API: Prioritize 100% matched slug in search
 Reporter:  tobifjellner  |       Owner:  tellyworth
     Type:  enhancement   |      Status:  reviewing
 Priority:  normal        |   Milestone:
Component:  API           |  Resolution:
 Keywords:                |

Comment (by coffee2code):

 Replying to [ticket:4469 tobifjellner]:
 > Next: if, after deleting any trailing spaces, there are no spaces in the
 search argument, then check if there's any valid plugin with exactly this
 slug, then include this plugin as match number 1.

 My take is that searching for a slug-like term without a hyphen (e.g.
 "seo") should not feature a plugin with a matching slug since it isn't
 clear if user is searching on a generic term or a plugin by slug. However,
 a slug-like term with a hyphen (e.g. "best-seo") ''should'' feature a
 plugin that 100% matches the slug (and is definitely a different search
 than "best seo").

 A search for a fully-qualified Plugin Directory URL (as also proposed in
 the ticket) should definitely feature the associated plugin, assuming we
 want to support specifying a Plugin Directory URL.

Ticket URL: <https://meta.trac.wordpress.org/ticket/4469#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list