Plugin Directory

Changeset 1629109


Ignore:
Timestamp:
04/04/2017 11:11:39 AM (9 years ago)
Author:
alticreation
Message:

Improve admin page controls.

Location:
alti-watermark
Files:
41 added
3 edited

Legend:

Unmodified
Added
Removed
  • alti-watermark/trunk/admin/views/alti-watermark-admin-settings-page.php

    r1617174 r1629109  
    1111        $plugin->get_watermark_width();
    1212        $plugin->check_uploads_url();
    13         if(isset($_POST['submit'])) {
     13        if( isset($_POST['submit']) && check_admin_referer( 'submit_form', 'alti-watermark'. '_nonce' ) ) {
    1414            $plugin->save_settings();
    1515            $plugin->generate_htaccess();
     
    2222    <form action="" method="POST" enctype="multipart/form-data">
    2323
     24        <?php wp_nonce_field( 'submit_form', 'alti-watermark'. '_nonce' ); ?>
    2425        <table class="form-table">
    2526            <tbody>
  • alti-watermark/trunk/alti-watermark.php

    r1617176 r1629109  
    44 * Plugin URI:        http://www.alticreation.com/en/alti-watermark/
    55 * Description:       Add a watermark on all your pictures even the one which are already uploaded. You can setup this plugin through the Media category in the side menu.
    6  * Version:           0.3.2
     6 * Version:           0.3.3
    77 * Author:            Alexis Blondin
    88 * Author URI:        http://www.alticreation.com
  • alti-watermark/trunk/readme.txt

    r1617174 r1629109  
    55Requires at least: 3.0.1
    66Tested up to: 4.7.3
    7 Stable tag: 0.3.2
     7Stable tag: 0.3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969== Changelog ==
    7070
     71= 0.3.3 =
     72* Reenforce security.
     73
    7174= 0.3.2 =
    7275* Visual changes in plugin admin page: html and css reorganisation.
Note: See TracChangeset for help on using the changeset viewer.