Plugin Directory

Changeset 1457319


Ignore:
Timestamp:
07/20/2016 02:45:10 AM (10 years ago)
Author:
KOPATHEME Support
Message:

Release version 1.0.2 of plugin nictitate-toolkit wp.

Location:
nictitate-toolkit
Files:
103 added
4 edited

Legend:

Unmodified
Added
Removed
  • nictitate-toolkit/trunk/Changelog.txt

    r1331934 r1457319  
    11Change log
    22
     3=== Jul 20 2016 ===
     41.0.2
     5    - Added jflickr.js
     6    - Fixed contact form
     7   
    38=== Jan 20 2016 ===
    491.0.1
  • nictitate-toolkit/trunk/ajax.php

    r1331934 r1457319  
    11<?php
    22
    3 if (!function_exists('nictitate_lite_ajax_send_contact')) {
     3if (!function_exists('kopa_send_contact')) {
    44
    5     function nictitate_lite_ajax_send_contact() {
    6         check_ajax_referer('nictitate_lite_send_contact_nicole_kidman', 'nictitate_lite_send_contact_nonce');
     5    function kopa_send_contact() {
     6        check_ajax_referer('kopa_send_contact_nicole_kidman', 'kopa_send_contact_nonce');
    77
    88        foreach ($_POST as $key => $value) {
     
    3939    }
    4040
    41     add_action('wp_ajax_nictitate_lite_send_contact', 'nictitate_lite_ajax_send_contact');
    42     add_action('wp_ajax_nopriv_nictitate_lite_send_contact', 'nictitate_lite_ajax_send_contact');
     41    add_action('wp_ajax_kopa_send_contact', 'kopa_send_contact');
     42    add_action('wp_ajax_nopriv_kopa_send_contact', 'kopa_send_contact');
    4343}
  • nictitate-toolkit/trunk/nictitate-toolkit.php

    r1331934 r1457319  
    44Plugin URI: http://kopatheme.com
    55Description: A specific plugin use in Nictitate Theme to help you register post types and shortcodes.
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: kopatheme
    88Author URI: http://kopatheme.com
     
    2121
    2222    #ACTION HOOK
    23     add_action('admin_enqueue_scripts', 'nictitate_toolkit_admin_enqueue_scripts', 15);
     23    if (!is_admin()) {
     24        add_action('wp_enqueue_scripts', 'nictitate_toolkit_front_enqueue_scripts');
     25    } else {
     26        add_action('admin_enqueue_scripts', 'nictitate_toolkit_admin_enqueue_scripts', 15);
     27    }
    2428
    2529    #FILTER HOOK
     
    5155    require plugin_dir_path( __FILE__ ) . 'shortcodes.php';
    5256
    53     #AJAX
    5457    require plugin_dir_path( __FILE__ ) . 'ajax.php';
    5558
     
    7578    require plugin_dir_path( __FILE__ ) . 'widgets/widget_clients.php';
    7679    require plugin_dir_path( __FILE__ ) . 'widgets/widget_text.php';
     80}
     81
     82function nictitate_toolkit_front_enqueue_scripts(){
     83    wp_enqueue_script('jflickrfeed', plugins_url("js/widget/jflickrfeed-min.js", __FILE__), array('jquery'), NULL, TRUE);
    7784}
    7885
  • nictitate-toolkit/trunk/readme.txt

    r1457316 r1457319  
    44Requires at least: 3.8
    55Tested up to: 4.3
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    1515== Changelog ==
    1616
    17 *1.0.1 - 1/20/2016
    18 - add field phone, email, address for widget contact form.
     17=== Jul 20 2016 ===
     181.0.2
     19    - Added jflickr.js
     20    - Fixed contact form
     21   
     22=== Jan 20 2016 ===
     231.0.1
     24    - Add field phone, email, address for widget contact form.
    1925
    20 *1.0.0 - 9/23/2015
    21 - release plugin.
     26=== Sep 23 2015 ===
     271.0.0
     28    - release plugin.
    2229
    2330
Note: See TracChangeset for help on using the changeset viewer.