Plugin Directory

Changeset 2386243


Ignore:
Timestamp:
09/22/2020 10:28:34 AM (6 years ago)
Author:
webhack
Message:

fix files errors ---

Location:
wha-crossword/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wha-crossword/trunk/readme.txt

    r2385434 r2386243  
    22=== Crossword Puzzles game ===
    33Contributors: webhelpagency
    4 Version: 1.1.9
     4Version: 1.1.10
    55Donate link: http://webhelpagency.com/
    66Tags: crossword, game, mind, puzzles
  • wha-crossword/trunk/wha-crossword.php

    r2385434 r2386243  
    44 * Plugin Name:       WHA Crossword
    55 * Description:       The plugin creates an easy crossword from the words of any combination.
    6  * Version:           1.1.9
     6 * Version:           1.1.10
    77 * Author:            WHA
    88 * Author URI:        http://webhelpagency.com/
     
    6565    wp_enqueue_script('crossword-script-admin', plugins_url('res/admin/crossword-admin.js', __FILE__), false, '1.0', true);
    6666
    67     if(!empty($post)):
    68 
    69         wp_localize_script('crossword-script-admin', 'crossword_vars_admin', array(
    70             'whacw_use_global_options' => get_post_meta($post->ID, 'whacw_use_global_options', true),
    71             'clue' => __('Clue','wha-crossword'),
    72             'word' => __('Word','wha-crossword'),
    73         ));
    74     endif;
     67    wp_localize_script('crossword-script-admin', 'crossword_vars_admin', array(
     68        //'whacw_use_global_options' => get_post_meta($post->ID, 'whacw_use_global_options', true),
     69        'whacw_use_global_options' => 'no',
     70        'clue' => __('Clue','wha-crossword'),
     71        'word' => __('Word','wha-crossword'),
     72    ));
     73
    7574
    7675    wp_enqueue_script('color-piker', plugins_url('res/admin/jscolor.js', __FILE__), false, '1.0', true);
Note: See TracChangeset for help on using the changeset viewer.