Make WordPress Core


Ignore:
Timestamp:
02/07/2012 09:06:52 PM (12 years ago)
Author:
ryan
Message:

Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme-install.php

    r19840 r19857  
    7878?>
    7979<h4><?php _e('Feature Filter') ?></h4>
    80 <form method="post" action="<?php echo self_admin_url( 'theme-install.php?tab=search' ); ?>">
    8180<p class="install-help"><?php _e('Find a theme based on specific features') ?></p>
     81
     82<form method="get" action="">
     83    <input type="hidden" name="tab" value="search" />
    8284    <?php
    8385    $feature_list = get_theme_feature_list( );
     
    9597
    9698<li>
    97     <input type="checkbox" name="features[<?php echo $feature; ?>]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />
     99    <input type="checkbox" name="features[]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />
    98100    <label for="feature-id-<?php echo $feature; ?>"><?php echo $feature_name; ?></label>
    99101</li>
Note: See TracChangeset for help on using the changeset viewer.