[wp-meta] [Making WordPress.org] #2755: 404s for Plugins should return search results

Making WordPress.org noreply at wordpress.org
Sat Apr 29 01:13:14 UTC 2017


#2755: 404s for Plugins should return search results
-------------------------------+-------------------------------------------
 Reporter:  gibrown            |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Plugin Directory v3 - Future
Component:  Plugin Directory   |  Resolution:
 Keywords:  has-patch dev-     |
  feedback                     |
-------------------------------+-------------------------------------------
Changes (by gibrown):

 * keywords:   => has-patch dev-feedback


Comment:

 This patch redirects 404s to search using what would be the "plugin slug"
 as the search term.

 I also included a fix for the https://wordpress.org/plugins/tags/ which
 was redirecting to the "search" plugin (or a 404 when logged out) rather
 than running a search because the search term was empty.

 Some examples I used for testing:
 - https://wordpress.org/plugins/the-social/ (closed, 404)
 - https://wordpress.org/plugins/social-media/ (not yet visible to public,
 404)
 - https://wordpress.org/plugins/social-media-data/ (404)
 - https://wordpress.org/plugins/tags/
 - https://wordpress.org/plugins/search/ (this one is tricky. with this
 patch it redirects to searching for "search" which seems like the right
 behavior for any existing links out in the world)

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


More information about the wp-meta mailing list