WordPress.org

Plugin Directory

Changeset 614698


Ignore:
Timestamp:
10/19/12 19:35:27 (18 months ago)
Author:
MattyRob
Message:

Fix bug in the display_category_form() function for compulsory categories on the Settings page

Location:
subscribe2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subscribe2/trunk/ReadMe.txt

    r614237 r614698  
    333333* Refresh Settings page in admin to a tabbed interface 
    334334* Strip HTML from email subject to improve compatibility with other plugins 
     335* Fixed bug in the display of compulsory categories in the Settings page 
    335336 
    336337= Version 8.5 by Matthew Robinson = 
  • subscribe2/trunk/classes/class-s2-admin.php

    r614682 r614698  
    231231            } else { 
    232232                echo "<label><input class=\"checkall_" . $name . "\" type=\"checkbox\" name=\"" . $name . "[]\" value=\"" . $cat->term_id . "\""; 
    233                 if ( in_array($cat->term_id, $selected) && !in_array($cat->term_id, $compulsory) ) { 
     233                if ( in_array($cat->term_id, $selected) || in_array($cat->term_id, $compulsory) ) { 
    234234                    echo " checked=\"checked\""; 
    235235                } 
Note: See TracChangeset for help on using the changeset viewer.