Plugin Directory

Changeset 3433353


Ignore:
Timestamp:
01/06/2026 08:47:34 AM (3 months ago)
Author:
wp-buy
Message:

Loaded scripts only on plugin settings page to improve performance

Location:
all-404-redirect-to-homepage
Files:
26 added
2 edited

Legend:

Unmodified
Added
Removed
  • all-404-redirect-to-homepage/trunk/all-404-redirect-to-homepage.php

    r3330568 r3433353  
    55Description: a plugin to redirect 404 pages to home page or any custom page
    66Author: wp-buy
    7 Version: 5.3
     7Version: 5.4
    88Author URI: https://www.wp-buy.com
    99*/
     
    3333function p404_enqueue_canvasjs()
    3434{
    35     wp_enqueue_script('canvasjs-404', 'https://cdn.canvasjs.com/canvasjs.min.js', array(), null, true);
     35    //wp_enqueue_script('canvasjs-404', 'https://cdn.canvasjs.com/canvasjs.min.js', array(), null, true);
     36    wp_enqueue_script('canvasjs-404', plugin_dir_url(__FILE__) . '/js/canvasjs.min.js', array(), null, true);
    3637}
    3738
  • all-404-redirect-to-homepage/trunk/readme.txt

    r3330573 r3433353  
    55License: GPLv2 or later
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html
    7 Tested up to: 6.8.2
    8 Stable tag: 5.3
     7Tested up to: 6.9
     8Stable tag: 5.4
    99
    1010Using this plugin, you can fix all 404 error links by redirecting them to homepage using the SEO 301 redirection. Improve your SEO rank & pages speed
     
    5252
    5353== Changelog ==
     54
     55= 5.4 =
     56* Added CanvasJS support for statistics and charts
     57* Loaded scripts only on plugin settings page to improve performance
    5458
    5559= 5.3 =
Note: See TracChangeset for help on using the changeset viewer.