Changeset 20639
- Timestamp:
- 04/30/2012 12:44:47 AM (14 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 4 edited
-
class-wp-plugin-install-list-table.php (modified) (1 diff)
-
class-wp-theme-install-list-table.php (modified) (1 diff)
-
plugin-install.php (modified) (1 diff)
-
theme-install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r20592 r20639 48 48 switch ( $tab ) { 49 49 case 'search': 50 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : ' ';50 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : 'term'; 51 51 $term = isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : ''; 52 52 -
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r20592 r20639 60 60 switch ( $tab ) { 61 61 case 'search': 62 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : ' ';62 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : 'term'; 63 63 switch ( $type ) { 64 64 case 'tag': -
trunk/wp-admin/includes/plugin-install.php
r20592 r20639 117 117 */ 118 118 function install_search_form( $type_selector = true ) { 119 $type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : ' ';119 $type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : 'term'; 120 120 $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : ''; 121 121 -
trunk/wp-admin/includes/theme-install.php
r20592 r20639 51 51 */ 52 52 function install_theme_search_form( $type_selector = true ) { 53 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : ' ';53 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : 'term'; 54 54 $term = isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : ''; 55 55 if ( ! $type_selector )
Note: See TracChangeset
for help on using the changeset viewer.