Plugin Directory

Changeset 3047005


Ignore:
Timestamp:
03/07/2024 12:13:57 PM (2 years ago)
Author:
finnj
Message:

version 6.4
added nonce check

Location:
frontier-post/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • frontier-post/trunk/admin/frontier-post-admin-general.php

    r2792828 r3047005  
    4040    if( isset($_POST[ "frontier_isupdated_general_hidden" ]) && $_POST[ "frontier_isupdated_general_hidden" ] == 'Y' )
    4141        {
     42        // Check Nonce
     43        if ( !check_admin_referer( 'frontier_post_admin_general', 'frontier_post_admin'  ) )
     44            {
     45            wp_die(__("Security violation (nonce) - Please contact your Wordpress administrator", "frontier-post"));
     46            }
     47
    4248        $fps_save_general_options = frontier_post_get_settings();
    4349       
     
    7783    echo '<form name="frontier_post_settings" method="post" action="">';
    7884        echo '<input type="hidden" name="frontier_isupdated_general_hidden" value="Y">';
     85        wp_nonce_field( 'frontier_post_admin_general' , 'frontier_post_admin');
    7986        echo '<table border="1" cellspacing="0" cellpadding="0">';
    8087               
  • frontier-post/trunk/frontier-post.php

    r2898391 r3047005  
    44Plugin URI: http://wordpress.org/extend/plugins/frontier-post/
    55Description: Simple, Fast & Secure frontend management of posts - Add, Edit, Delete posts from frontend - My Posts Widget.
    6 Version: 6.1
     6Version: 6.4
    77Author: finnj
    88Author URI: http://wpfrontier.com
     
    1414// From version 6.x, only WP 6.1 & PHP 7.4.33 is supported
    1515// define constants
    16 define('FRONTIER_POST_VERSION', "6.1");
     16define('FRONTIER_POST_VERSION', "6.4");
    1717
    1818define('FRONTIER_POST_DIR', dirname( __FILE__ )); //an absolute path to this directory
  • frontier-post/trunk/readme.txt

    r2898391 r3047005  
    44Tags: frontier, frontend, frontend post, frontend edit, frontier, post, widget, posts, taxonomy
    55Requires at least: 6.1
    6 Tested up to: 6.2
     6Tested up to: 6.4
    77Stable tag: 6.1
    88Requires PHP:  7.4.33
     
    105105
    106106== Changelog ==
     107
     108== 6.4 ==
     109* Tested with WP version 6.4.3
     110* Added additional nonce check
     111
    107112
    108113== 6.1 ==
Note: See TracChangeset for help on using the changeset viewer.