Plugin Directory

Changeset 2307017


Ignore:
Timestamp:
05/18/2020 09:20:15 AM (6 years ago)
Author:
delabon
Message:

Version 2.10.1

Location:
woomotiv
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woomotiv/trunk/index.php

    r2264300 r2307017  
    44 * Plugin Name: Woomotiv - Sales Popups for Woocommerce
    55 * Description: Laverage social proof to increase truct, traffic and sales.
    6  * Version: 2.10.0
     6 * Version: 2.10.1
    77 * Author: Sabri Taieb
    88 * Author Uri: https://delabon.com
     
    1818
    1919# Defined
    20 define( 'WOOMOTIV_VERSION', '2.10.0' );
     20define( 'WOOMOTIV_VERSION', '2.10.1' );
    2121define( 'WOOMOTIV_URL', plugins_url( '', __FILE__ ) );
    2222define( 'WOOMOTIV_DIR', __DIR__ );
     
    5252     *
    5353     * @var Woomotiv
    54      */         
     54     */
    5555    private static $_instance;
    5656
  • woomotiv/trunk/lib/class-backend.php

    r2230061 r2307017  
    2121        if( ! current_user_can( 'level_8' ) ) return;
    2222
     23        add_action( 'admin_notices', array( $this, 'adminNotices' ) );
    2324        add_action( 'admin_menu', array( $this, 'adminMenuAction' ) );
    2425        add_action( 'admin_enqueue_scripts', array( $this, 'loadAssets' ) );
     
    3334
    3435    /**
     36     * Admin notices
     37     * Using this hook prevents headers already sent warning
     38     */
     39    function adminNotices() {
     40
     41        if( ! woomotiv()->request->post('woomotiv_nonce') ) return;
     42
     43        echo Alert::success( __('Options Saved Successfuly','woomotiv') );
     44    }
     45
     46    /**
    3547     * Add admin menu
    3648     */
     
    4456            }
    4557           
    46             echo Alert::success( __('Options Saved Successfuly','woomotiv') );
    4758        }
    4859
  • woomotiv/trunk/readme.txt

    r2264300 r2307017  
    1 === Woomotiv - Sales Popups for Woocommerce ===
     1=== Sales Popups for Woocommerce - Woomotiv ===
    22Contributors: delabon
    33Requires at least: 4.6
    44Tested up to: 5.4
    5 Stable tag: 2.10.0
     5Stable tag: 2.10.1
    66Requires PHP: 5.6
    77Tags: woocommerce notification, woocommerce sales notification, woocommerce sales popup, marketing, boost sales, boost conversion
     
    101101== Changelog ==
    102102
     103= 2.10.1 =
     104
     105* Fixed headers already sent warning
     106
    103107= 2.10.0 =
    104108
Note: See TracChangeset for help on using the changeset viewer.