Plugin Directory

Changeset 3485076


Ignore:
Timestamp:
03/17/2026 08:26:24 PM (3 weeks ago)
Author:
doubledome
Message:

Fixed issue with Export Stats.

Location:
doubledome-wordcount-details-dashboard
Files:
13 added
4 edited

Legend:

Unmodified
Added
Removed
  • doubledome-wordcount-details-dashboard/trunk/doubledome-word-count.php

    r3415304 r3485076  
    66 * Author:      DoubleDome Digital Marketing
    77 * Author URI:  https://www.doubledome.com/word-count-wordpress-plugin
    8  * Version:     2.1
     8 * Version:     2.2
    99 * License:     GPL-2.0+
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    1515
    1616define( 'WORD_COUNT_DD_ROOT', __DIR__ ); // Setup plugin directory Root path
    17 define( 'WC_DD_VERSION', "2.1");
     17define( 'WC_DD_VERSION', "2.2");
    1818define( 'WORD_COUNT_DD_URL', plugin_dir_url(__FILE__));
    1919
  • doubledome-wordcount-details-dashboard/trunk/includes/wcfunctions.php

    r3283462 r3485076  
    156156function dd_enqueue_counter_script($hook) {
    157157    if ($hook === 'settings_page_dd-word-counter-settings') {
    158         wp_enqueue_script('wc_dd-settings-js', WORD_COUNT_DD_URL . 'js/settings.js', ['jquery'], null, true);
     158        wp_enqueue_script('wc_dd-settings-js', WORD_COUNT_DD_URL . 'js/settings.js', ['jquery'], WC_DD_VERSION, true);
    159159    }
    160160    if (!in_array($hook, ['post.php', 'post-new.php'])) return;
  • doubledome-wordcount-details-dashboard/trunk/js/settings.js

    r3283462 r3485076  
    11jQuery(document).ready(function ($) {
    2     $('#wc_dd-download-stats').on('click', function () {
    3         const postType = $('#wc_dd-export-post-type').val();
    4         const author = $('#wc_dd-export-author').val();
    5         const startDate = $('#wc_dd-start-date').val();
    6         const endDate = $('#wc_dd-end-date').val();
    7         const format = $('#wc_dd-export-format').val();
     2    $('#ddwc-download-stats').on('click', function () {
     3        const postType = $('#ddwc-export-post-type').val();
     4        const author = $('#ddwc-export-author').val();
     5        const startDate = $('#ddwc-start-date').val();
     6        const endDate = $('#ddwc-end-date').val();
     7        const format = $('#ddwc-export-format').val();
    88
    99        $.ajax({
  • doubledome-wordcount-details-dashboard/trunk/readme.txt

    r3415304 r3485076  
    33Tags: Word count, Wordcount, Post count display, Page statistics dashboard, WordPress content analytics, Custom post type stats, Dashboard content insights, Average post count, Total page count, WordPress content overview, Post statistics plugin, Content metrics WordPress
    44Requires at least: 5.4
    5 Tested up to: 6.9
    6 Stable tag: 2.1
     5Tested up to: 6.9.4
     6Stable tag: 2.2
    77License: GPL-2.0+
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161== Changelog ==
    6262
     63= 2.2 =
     64* Fixed an issue with Export Stats
     65* Verified on Wordpress 6.9.4
     66
    6367= 2.1 =
    6468* Tested and verified on Wordpress 6.9
Note: See TracChangeset for help on using the changeset viewer.