Plugin Directory

Changeset 2235054


Ignore:
Timestamp:
01/29/2020 08:34:08 AM (6 years ago)
Author:
inthiscode
Message:

Fixed to remove query string from css and js.

Location:
remove-wp-version-number
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • remove-wp-version-number/trunk/readme.txt

    r2198085 r2235054  
    55Requires at least: 3.5
    66Tested up to: 5.3
    7 Stable tag: 1.3
     7Stable tag: 1.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • remove-wp-version-number/trunk/remove-wordpress-version-number-itc.php

    r2198084 r2235054  
    44Plugin URI:  https://www.inthiscode.com/
    55Description: Remove wordpress version number from your website to leave behind any footprint. No one would able to track which wordpress version you are using.
    6 Version:     1.3
     6Version:     1.4
    77Author:      InThisCode
    88Author URI:  http://www.inthiscode.com/
     
    7676function rwvn_itc_remove_wp_ver_css_js( $rwvn_itc_src ) {
    7777    global $wp_version;
    78     if ( strpos( $rwvn_itc_src, 'ver='.$wp_version ) )
     78    if ( strpos( $rwvn_itc_src, '?ver=' ) )
    7979        $rwvn_itc_src = remove_query_arg( 'ver', $rwvn_itc_src );
    8080        return $rwvn_itc_src;
Note: See TracChangeset for help on using the changeset viewer.