Plugin Directory

Changeset 348238


Ignore:
Timestamp:
02/20/2011 05:29:43 PM (15 years ago)
Author:
roggie
Message:

fix validation bug for privacy box

Location:
sfce-create-event/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sfce-create-event/trunk/readme.txt

    r347304 r348238  
    66Requires at least: 2.7
    77Tested up to: 3.0.4
    8 Stable tag:3.95.4
     8Stable tag:3.95.5
    99
    1010Create Facebook events automatically when you create Wordpress posts. This plugin requires the Simple Facebook Connect plugin by Otto.
  • sfce-create-event/trunk/sfce-create-event.php

    r347304 r348238  
    22/*
    33Plugin Name: SFCe - Create Event
    4 Version: 3.95.4
     4Version: 3.95.5
    55Author: Roger Howorth
    66Author URI: http://www.thehypervisor.com
  • sfce-create-event/trunk/sfce-settings-page.php

    r347304 r348238  
    1818    {
    1919        if ( !wp_verify_nonce ( $_POST['verify-key'], 'sfce_event') ) die(__('Failed security check. Reload page and retry', 'sfce-create-event'));
    20         if ( $_POST['sfce_event_privacy_visible'] && ( $_POST['sfce_event_privacy'] <> 'OPEN' || $_POST['sfce_event_privacy'] <> 'CLOSED' )) $error .= 'You must provide a Privacy setting if you want to hide this option. Acceptable settings are OPEN or CLOSED.<p>';
     20        if ( $_POST['sfce_event_privacy_visible'] && ( $_POST['sfce_event_privacy'] <> 'OPEN' && $_POST['sfce_event_privacy'] <> 'CLOSED' )) $error .= 'You must provide a Privacy setting if you want to hide this option. Acceptable settings are OPEN or CLOSED.<p>';
    2121        if ( $_POST['sfce_event_start_hour_visible'] && $_POST['sfce_event_start_hour'] == '' ) $error .= 'You must provide a Start Hour if you want to hide this option.<p>';
    2222        if ( $_POST['sfce_event_start_min_visible'] && $_POST['sfce_event_start_min'] == '' ) $error .= 'You must provide a Start Minute if you want to hide this option.<p>';
Note: See TracChangeset for help on using the changeset viewer.