Commit 469d803a authored by Canek Peláez's avatar Canek Peláez
Browse files

New name.

parent 71c98d77
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
define('WC_ROWS_PER_PAGE', 20);
global $wpdb;

$taburl = get_site_url() . '/wp-admin/admin.php?page=word-count&wc-tab=';
$taburl = get_site_url() . '/wp-admin/admin.php?page=free-word-count&wc-tab=';

function get_wc_tab() {
    $wc_tab = !empty($_GET["wc-tab"]) ? $_GET["wc-tab"] : 'tab-stats';
@@ -18,7 +18,7 @@ function get_wc_tab() {

function echoPage($type, $page, $current, $sep = ' | ', $filter = '') {
    $wc_tab = get_wc_tab();
    $url = get_site_url() . '/wp-admin/admin.php?page=word-count'
    $url = get_site_url() . '/wp-admin/admin.php?page=free-word-count'
        . "&wc-tab=$wc_tab&wc-$type-page=$page";
    if ($filter != '') {
        $url = $url . "&wc-$type-filter=$filter";
@@ -107,7 +107,7 @@ class WordCounter {
        this.baseUrl = siteUrl +
            '/wp-content/plugins/word-count/word-count-progress.php?' +
            'key=' + key + '&total=' + total;
        this.relocateUrl = siteUrl + '/wp-admin/admin.php?page=word-count';
        this.relocateUrl = siteUrl + '/wp-admin/admin.php?page=free-word-count';
    }

    launchInterval() {