WordPress.org

Plugin Directory

Changeset 614682


Ignore:
Timestamp:
10/19/12 19:02:17 (18 months ago)
Author:
MattyRob
Message:

Fix bug in category display function and HTML fixes for Settings page

Location:
subscribe2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subscribe2/trunk/admin/settings.php

    r613344 r614682  
    303303            echo "</div>\r\n"; 
    304304        } 
    305         echo "</p>\r\n"; 
    306305 
    307306        //Auto Subscription for new registrations 
     
    440439    echo "<p class=\"submit\" style=\"text-align: center\">"; 
    441440    echo "<input type=\"submit\" id=\"deletepost\" name=\"reset\" value=\"" . __('RESET', 'subscribe2') . 
    442     "\" />"; 
    443 } 
    444 echo "</p></form></div>\r\n"; 
     441    "\" /></p>"; 
     442} 
     443echo "</form></div>\r\n"; 
    445444 
    446445include(ABSPATH . 'wp-admin/admin-footer.php'); 
  • subscribe2/trunk/classes/class-s2-admin.php

    r613344 r614682  
    234234                    echo " checked=\"checked\""; 
    235235                } 
    236                 if ( in_array($cat->term_id, $compulsory) ) { 
     236                if ( in_array($cat->term_id, $compulsory) && $name === 'category' ) { 
    237237                    echo " checked=\"checked\" DISABLED"; 
    238238                } 
Note: See TracChangeset for help on using the changeset viewer.