[wp-trac] [WordPress Trac] #27623: Search results for " " text appearing on every plugin activation or deactivation

WordPress Trac noreply at wordpress.org
Tue Apr 1 15:01:04 UTC 2014


#27623: Search results for " " text appearing on every plugin activation or
deactivation
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I activate or deactivate a plugin via the plugins page in WP admin, I
 get the following text appear at the top of the page next to the Plugins
 heading:

 {{{Search results for “ ”}}}

 The URL looks like:

 {{{wp-admin/plugins.php?activate=true&plugin_status=search&paged=1&s=+}}}

 As you can see from the URL, {{{$s}}} or {{{$_REQUEST['s']}}} is set which
 results in the following line (around 414) in wp-admin/plugins.php
 executing:

 {{{printf( '<span class="subtitle">' . __('Search results for
 “%s”') . '</span>', esc_html( $s ) );}}}

 Why is {{{$_REQUEST['s']}}} being set in this situation? Does it need to
 be?

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


More information about the wp-trac mailing list