WordPress.org

Plugin Directory


Ignore:
Timestamp:
02/13/13 21:46:23 (15 months ago)
Author:
liedekef
Message:

removed deprecated wp_tiny_mce as editor and solved some php warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • events-made-easy/trunk/eme_settings.php

    r666004 r667642  
    147147   // The tab value is set in the form in the function eme_options_page. It needs to be set there as a hidden value when calling options.php, otherwise 
    148148   //    it won't be known here and all values will be lost. 
    149    $tab = isset( $_REQUEST['tab'] ) ? esc_attr($_REQUEST['tab']) : 'general'; 
     149   if (!isset($_POST['option_page']) || ($_POST['option_page'] != "eme-options")) 
     150      return; 
     151   $options = array(); 
     152   $tab = isset( $_POST['tab'] ) ? esc_attr($_POST['tab']) : 'general'; 
    150153   switch ( $tab ){ 
    151154          case 'general' : 
Note: See TracChangeset for help on using the changeset viewer.