Plugin Directory

Changeset 2879142


Ignore:
Timestamp:
03/13/2023 02:05:10 PM (3 years ago)
Author:
pixelgrade
Message:

Security fixes

Location:
customify/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • customify/trunk/customify.php

    r2561153 r2879142  
    44 * Plugin URI:  https://wordpress.org/plugins/customify/
    55 * Description: A Theme Customizer Booster to easily and consistently customize Fonts, Colors, and other options for your site.
    6  * Version: 2.10.4
     6 * Version: 2.10.5
    77 * Author: Pixelgrade
    88 * Author URI: https://pixelgrade.com
     
    1313 * Domain Path: /languages/
    1414 * Requires at least: 4.9.14
    15  * Tested up to: 5.5.3
    16  * Requires PHP: 5.4.0
     15 * Tested up to: 5.9.5
     16 * Requires PHP: 5.6.40
    1717 */
    1818
  • customify/trunk/includes/admin-settings/views/admin.php

    r2148441 r2879142  
    1313 */
    1414
    15 $config = Customify_Settings::get_plugin_config();
    16 
    17 // invoke processor
    18 $processor = pixcustomify::processor( $config );
    19 $status    = $processor->status();
    20 $errors    = $processor->errors(); ?>
     15/**
     16 * @var $config
     17 * @var $processor
     18 * @var $status
     19 * @var $errors
     20 */
     21 ?>
    2122
    2223<div class="wrap" id="pixcustomify_form">
     
    5051        echo $f->field( 'typography' )->render();
    5152        echo $f->field( 'tools' )->render(); ?>
     53        <?php wp_nonce_field( 'customify_settings_save', '_wpnonce-customify-settings' ); ?>
    5254        <button type="submit" class="button button-primary">
    5355            <?php esc_html_e( 'Save Changes', 'customify' ); ?>
  • customify/trunk/includes/class-customify-settings.php

    r2309508 r2879142  
    9292     */
    9393    function display_plugin_admin_page() {
     94        // Check the nonce, in case the form was submitted.
     95        if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) {
     96            check_admin_referer( 'customify_settings_save', '_wpnonce-customify-settings' );
     97        }
     98
     99        $config = Customify_Settings::get_plugin_config();
     100
     101        // Invoke the processor.
     102        /**
     103         * @var PixCustomifyProcessorImpl $processor
     104         */
     105        $processor = pixcustomify::processor( $config );
     106        $status    = $processor->status();
     107        $errors    = $processor->errors();
     108
     109        // Do the saving and display the form.
    94110        include_once plugin_dir_path( $this->file ) . 'includes/admin-settings/views/admin.php';
    95111    }
  • customify/trunk/readme.txt

    r2561153 r2879142  
    33Tags: design, customizer, fonts, colors, gutenberg, font palettes, color palettes
    44Requires at least: 4.9.14
    5 Tested up to: 5.7.2
    6 Stable tag: 2.10.4
     5Tested up to: 5.9.5
     6Stable tag: 2.10.5
    77Requires PHP: 5.6.40
    88License: GPLv2 or later
     
    3030
    3131== Changelog ==
     32
     33= 2.10.5 =
     34* Security fixes.
    3235
    3336= 2.10.4 =
Note: See TracChangeset for help on using the changeset viewer.