Changeset 2113196
- Timestamp:
- 06/26/2019 07:39:44 PM (7 years ago)
- Location:
- permalink-finder
- Files:
-
- 9 added
- 4 edited
-
tags/2.7/includes/pf-404.php (modified) (3 diffs)
-
tags/2.8 (added)
-
tags/2.8/includes (added)
-
tags/2.8/includes/apple-touch-icon.png (added)
-
tags/2.8/includes/favicon.ico (added)
-
tags/2.8/includes/pf-404.php (added)
-
tags/2.8/includes/pf-mu-options.php (added)
-
tags/2.8/includes/pf-options.php (added)
-
tags/2.8/permalink-finder.php (added)
-
tags/2.8/readme.txt (added)
-
trunk/includes/pf-404.php (modified) (3 diffs)
-
trunk/permalink-finder.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
permalink-finder/tags/2.7/includes/pf-404.php
r2059104 r2113196 630 630 // CONCAT(name, ' - ', description) 631 631 $esc_sql=$ss[$j]; 632 $esc_sql=my sql_escape_mimic($esc_sql);632 $esc_sql=my_s_q_l_escape_mimic($esc_sql); 633 633 $sql=$sql." if(INSTR(CONCAT('-',LCASE(post_name),'-'),'-".$esc_sql."-'),1,0)+" ; 634 634 } … … 646 646 return array(false,0); 647 647 } 648 function my sql_escape_mimic($inp) {648 function my_s_q_l_escape_mimic($inp) { 649 649 if(is_array($inp)) 650 650 return array_map(__METHOD__, $inp); … … 690 690 for ($j=0;$j<count($ss);$j++) { 691 691 $esc_sql=$ss[$j]; 692 $esc_sql=my sql_escape_mimic($esc_sql);692 $esc_sql=my_s_q_l_escape_mimic($esc_sql); 693 693 $sql=$sql." if(INSTR(LCASE(post_name),'".$esc_sql."'),1,0)+" ; 694 694 } -
permalink-finder/trunk/includes/pf-404.php
r2059104 r2113196 630 630 // CONCAT(name, ' - ', description) 631 631 $esc_sql=$ss[$j]; 632 $esc_sql=my sql_escape_mimic($esc_sql);632 $esc_sql=my_s_q_l_escape_mimic($esc_sql); 633 633 $sql=$sql." if(INSTR(CONCAT('-',LCASE(post_name),'-'),'-".$esc_sql."-'),1,0)+" ; 634 634 } … … 646 646 return array(false,0); 647 647 } 648 function my sql_escape_mimic($inp) {648 function my_s_q_l_escape_mimic($inp) { 649 649 if(is_array($inp)) 650 650 return array_map(__METHOD__, $inp); … … 690 690 for ($j=0;$j<count($ss);$j++) { 691 691 $esc_sql=$ss[$j]; 692 $esc_sql=my sql_escape_mimic($esc_sql);692 $esc_sql=my_s_q_l_escape_mimic($esc_sql); 693 693 $sql=$sql." if(INSTR(LCASE(post_name),'".$esc_sql."'),1,0)+" ; 694 694 } -
permalink-finder/trunk/permalink-finder.php
r2059135 r2113196 4 4 Plugin URI: https://www.facebook.com/BlogsEye/ 5 5 Description: 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. 66 Version: 2.8 7 7 Author: Keith P. Graham 8 8 Author URI: https://www.facebook.com/BlogsEye/ -
permalink-finder/trunk/readme.txt
r2059135 r2113196 2 2 Tags: permalinks, move, migrate, 301, 404, redirect, PageRank, seo,sitemap, robots.txt, crossdomain.xml, apple-touch-icon.png, favicon.ico 3 3 Requires at least: 3.0 4 Stable tag: 2. 65 Tested up to: 5. 04 Stable tag: 2.8 5 Tested up to: 5.1 6 6 Contributors: Keith Graham 7 7 Donate link: https://www.facebook.com/BlogsEye/ … … 37 37 38 38 == 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. 39 42 40 43 = 2.7 =
Note: See TracChangeset
for help on using the changeset viewer.