Plugin Directory

Changeset 2113196


Ignore:
Timestamp:
06/26/2019 07:39:44 PM (7 years ago)
Author:
willjenkins
Message:

Fixed version number mix-up. Renamed mysql_ function so that it would not trigger compatibility testers.

Location:
permalink-finder
Files:
9 added
4 edited

Legend:

Unmodified
Added
Removed
  • permalink-finder/tags/2.7/includes/pf-404.php

    r2059104 r2113196  
    630630        // CONCAT(name, ' - ', description)
    631631        $esc_sql=$ss[$j];
    632         $esc_sql=mysql_escape_mimic($esc_sql);
     632        $esc_sql=my_s_q_l_escape_mimic($esc_sql);
    633633        $sql=$sql." if(INSTR(CONCAT('-',LCASE(post_name),'-'),'-".$esc_sql."-'),1,0)+" ;
    634634    }
     
    646646    return array(false,0);
    647647}
    648 function mysql_escape_mimic($inp) {
     648function my_s_q_l_escape_mimic($inp) {
    649649    if(is_array($inp))
    650650        return array_map(__METHOD__, $inp);
     
    690690    for ($j=0;$j<count($ss);$j++) {
    691691        $esc_sql=$ss[$j];
    692         $esc_sql=mysql_escape_mimic($esc_sql);
     692        $esc_sql=my_s_q_l_escape_mimic($esc_sql);
    693693        $sql=$sql." if(INSTR(LCASE(post_name),'".$esc_sql."'),1,0)+" ;
    694694    }
  • permalink-finder/trunk/includes/pf-404.php

    r2059104 r2113196  
    630630        // CONCAT(name, ' - ', description)
    631631        $esc_sql=$ss[$j];
    632         $esc_sql=mysql_escape_mimic($esc_sql);
     632        $esc_sql=my_s_q_l_escape_mimic($esc_sql);
    633633        $sql=$sql." if(INSTR(CONCAT('-',LCASE(post_name),'-'),'-".$esc_sql."-'),1,0)+" ;
    634634    }
     
    646646    return array(false,0);
    647647}
    648 function mysql_escape_mimic($inp) {
     648function my_s_q_l_escape_mimic($inp) {
    649649    if(is_array($inp))
    650650        return array_map(__METHOD__, $inp);
     
    690690    for ($j=0;$j<count($ss);$j++) {
    691691        $esc_sql=$ss[$j];
    692         $esc_sql=mysql_escape_mimic($esc_sql);
     692        $esc_sql=my_s_q_l_escape_mimic($esc_sql);
    693693        $sql=$sql." if(INSTR(LCASE(post_name),'".$esc_sql."'),1,0)+" ;
    694694    }
  • permalink-finder/trunk/permalink-finder.php

    r2059135 r2113196  
    44Plugin URI: https://www.facebook.com/BlogsEye/
    55Description: Never get a 404 page not found again. If you have restructured or moved your blog, this plugin will find the right post or page every time.
    6 Version: 2.6
     6Version: 2.8
    77Author: Keith P. Graham
    88Author URI: https://www.facebook.com/BlogsEye/
  • permalink-finder/trunk/readme.txt

    r2059135 r2113196  
    22Tags: permalinks, move, migrate, 301, 404, redirect, PageRank, seo,sitemap, robots.txt, crossdomain.xml, apple-touch-icon.png, favicon.ico
    33Requires at least: 3.0 
    4 Stable tag: 2.6  
    5 Tested up to: 5.0
     4Stable tag: 2.8 
     5Tested up to: 5.1
    66Contributors: Keith Graham       
    77Donate link: https://www.facebook.com/BlogsEye/
     
    3737
    3838== Changelog ==
     39
     40= 2.8 =
     41* Changed the name of a function that used the mysql_ string so that it would not trigger compatibility testers.
    3942
    4043= 2.7 =
Note: See TracChangeset for help on using the changeset viewer.