Plugin Directory

Changeset 657566


Ignore:
Timestamp:
01/23/2013 08:27:36 PM (13 years ago)
Author:
solvemedia
Message:

comments, new languages, CSRF protection for the admin options page

Location:
solvemedia/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • solvemedia/trunk/puzzle_reload.js

    r449925 r657566  
    11// Copyright (c) 2010 SolveMedia Inc.
    2 // $Id: puzzle_reload.js,v 1.5 2011/10/10 13:31:55 ilia Exp $
     2// $Id$
    33
    44// The puzzle needs to be reset after a CF7 form submission
  • solvemedia/trunk/readme.txt

    r527647 r657566  
    44Requires at least: 2.8.4
    55Tested up to: 3.3.1
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77
    88Secure & Monetize your site with Solve Media's CAPTCHA replacement.
     
    4343== Changelog ==
    4444
     45= 1.1.1 =
     46* CSRF protection for admin options page
     47
    4548= 1.1.0 =
    4649* WPMS and BuddyPress support
     
    5760
    5861== Upgrade Notice ==
     62
     63= 1.1.1 =
     64CSRF protection for admin options page
    5965
    6066= 1.1.0 =
  • solvemedia/trunk/solvemedia.admin.inc

    r527339 r657566  
    11<?php
     2
     3/*
     4 * Copyright (c) 2012 by Solve Media, Inc.
     5 * Author: Ilia Fishbein
     6 * Function: Portion of the WordPress plugin related to the administrator panel
     7 *
     8 * $Id$
     9 */
    210
    311function adcopy_wp_blog_domain () {
     
    2634    // Check form submission and update options if no error occurred
    2735    if (isset($_POST['submit'])) {
     36        check_admin_referer( 'adcopy_admin_options', 'adcopy_nonce');
     37
    2838        $pattern = '/<.*?>/';
    2939        $substitue = '';
     
    106116    function sm_dropdown_languages() {
    107117        $lang_choices = array (
    108             'English'  => 'en',
    109             'Spanish'  => 'es',
    110             'French'   => 'fr',
    111             'German'   => 'de',
    112             'Italian'  => 'it',
    113             'Japanese' => 'jp',
    114             'Yiddish'  => 'yi'
     118            'English'    => 'en',
     119            'Spanish'    => 'es',
     120            'French'     => 'fr',
     121            'German'     => 'de',
     122            'Italian'    => 'it',
     123            'Catalan'    => 'ca',
     124            'Polish'     => 'pl',
     125            'Hungarian'  => 'hu',
     126            'Swedish'    => 'sv',
     127            'Norwegian'  => 'no',
     128            'Portuguese' => 'pt',
     129            'Dutch'      => 'nl',
     130            'Turkish'    => 'tr',
     131            'Japanese'   => 'ja',
     132            'Yiddish'    => 'yi'
    115133        );
    116134
     
    299317        </table>
    300318        <div class="submit">
     319            <?php wp_nonce_field( 'adcopy_admin_options', 'adcopy_nonce' ); ?>
    301320            <input type="submit" name="submit"
    302321                value="<?php _e('Update Options') ?> &raquo;" />
  • solvemedia/trunk/solvemedia.cf7.inc

    r527339 r657566  
    11<?php
     2
     3/*
     4 * Copyright (c) 2012 by Solve Media, Inc.
     5 * Author: Ilia Fishbein
     6 * Function: Portion of the WordPress plugin related to Contact Form 7
     7 *
     8 * $Id$
     9 */
    210
    311if (file_exists($wp_plugin_dir . '/contact-form-7/includes/shortcodes.php'))
  • solvemedia/trunk/solvemedia.comment.inc

    r527339 r657566  
    11<?php
     2 
     3/*
     4 * Copyright (c) 2012 by Solve Media, Inc.
     5 * Author: Ilia Fishbein
     6 * Function: Portion of the WordPress plugin related to the comments section
     7 *
     8 * $Id$
     9 */
    210
    311function adcopy_wp_hash_comment($id)
  • solvemedia/trunk/solvemedia.php

    r527339 r657566  
    44Plugin URI: http://www.solvemedia.com/
    55Description: Integrates Solve Media's anti-spam solutions with wordpress
    6 Version: 1.1.0
     6Version: 1.1.1
    77Author: Ilia Fishbein
    88Email: support@solvemedia.com
     
    1212Copyright (c) 2010 by Solve Media
    1313
    14 $Id: solvemedia.php,v 1.5 2011/02/17 15:09:17 ilia Exp $
     14$Id$
    1515*/
    1616
  • solvemedia/trunk/solvemedia.reg.inc

    r527339 r657566  
    11<?php
     2
     3/*
     4 * Copyright (c) 2012 by Solve Media, Inc.
     5 * Author: Ilia Fishbein
     6 * Function: Portion of the WordPress plugin related to registration
     7 *
     8 * $Id$
     9 */
    210
    311// Modify styling of the standard WordPress registration panel
  • solvemedia/trunk/solvemedialib.php

    r291678 r657566  
    66 * Function: SolveMedia API php code
    77 *
    8  * $Id: solvemedialib.php,v 1.2 2010/09/16 18:43:14 ilia Exp $
     8 * $Id$
    99 *
    1010 * This is a PHP library that handles calling SolveMedia.
Note: See TracChangeset for help on using the changeset viewer.