Changeset 2683944
- Timestamp:
- 02/23/2022 06:32:27 PM (4 years ago)
- Location:
- seo-links-interlinking
- Files:
-
- 42 added
- 3 edited
-
assets/1.5.5 (added)
-
assets/1.5.5/ajax.php (added)
-
assets/1.5.5/css (added)
-
assets/1.5.5/css/bootstrap.min.css (added)
-
assets/1.5.5/css/main.css (added)
-
assets/1.5.5/images (added)
-
assets/1.5.5/images/loader.gif (added)
-
assets/1.5.5/index.php (added)
-
assets/1.5.5/js (added)
-
assets/1.5.5/js/bootstrap.min.js (added)
-
assets/1.5.5/js/mozscript.js (added)
-
assets/1.5.5/js/seo_links.js (added)
-
assets/1.5.5/loader.php (added)
-
assets/1.5.5/main.css (added)
-
assets/1.5.5/readme.txt (added)
-
assets/1.5.5/scdata.php (added)
-
assets/1.5.5/utils.php (added)
-
assets/1.5.5/view (added)
-
assets/1.5.5/view/search_console.php (added)
-
assets/1.5.5/view/search_console_export.php (added)
-
assets/1.5.5/view/settings.php (added)
-
tags/1.5.5 (added)
-
tags/1.5.5/ajax.php (added)
-
tags/1.5.5/css (added)
-
tags/1.5.5/css/bootstrap.min.css (added)
-
tags/1.5.5/css/main.css (added)
-
tags/1.5.5/images (added)
-
tags/1.5.5/images/loader.gif (added)
-
tags/1.5.5/index.php (added)
-
tags/1.5.5/js (added)
-
tags/1.5.5/js/bootstrap.min.js (added)
-
tags/1.5.5/js/mozscript.js (added)
-
tags/1.5.5/js/seo_links.js (added)
-
tags/1.5.5/loader.php (added)
-
tags/1.5.5/main.css (added)
-
tags/1.5.5/readme.txt (added)
-
tags/1.5.5/scdata.php (added)
-
tags/1.5.5/utils.php (added)
-
tags/1.5.5/view (added)
-
tags/1.5.5/view/search_console.php (added)
-
tags/1.5.5/view/search_console_export.php (added)
-
tags/1.5.5/view/settings.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/scdata.php (modified) (6 diffs)
-
trunk/utils.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-links-interlinking/trunk/readme.txt
r2682042 r2683944 5 5 Requires at least: 4.7 6 6 Tested up to: 5.8 7 Stable tag: 1.5. 47 Stable tag: 1.5.5 8 8 Requires PHP: 7.1 9 9 License: GPLv2 or later … … 26 26 27 27 == Upgrade Notice == 28 29 = 1.5.5 = 30 Fix regex 28 31 29 32 = 1.5.4 = -
seo-links-interlinking/trunk/scdata.php
r2682042 r2683944 6 6 * Author: WP SEO Plugins 7 7 * Author URI: https://wpseoplugins.org/ 8 * Version: 1.5. 48 * Version: 1.5.5 9 9 */ 10 10 header('Content-Type: text/html; charset=utf-8'); … … 32 32 define( 'SEOLI_SITE_URL', ( SEOLI_SERVER_PORT == 80 ? 'http://' : 'https://' ) . SEOLI_SERVER_NAME ); 33 33 define( 'SEOLI_SERVER_REQUEST_URI', $_SERVER['REQUEST_URI']); 34 define( 'SEOLI_VERSION', '1.5. 4' );34 define( 'SEOLI_VERSION', '1.5.5' ); 35 35 36 36 … … 204 204 <thead> 205 205 <tr> 206 <th scope="row" style="width:70%;cursor: pointer;" onclick="sortTable('seo_links_keyword', 0)">Keyword</th>207 <th scope="row" onclick="sortTable('seo_links_keyword', 1)"style="cursor: pointer;">Impressions</th>206 <th scope="row" style="width:70%;cursor: pointer;">Keyword</th> 207 <th scope="row" style="cursor: pointer;">Impressions</th> 208 208 </tr> 209 209 </thead> … … 261 261 <thead> 262 262 <tr> 263 <th scope="row" style="width:70%;cursor: pointer;" onclick="sortTable('seo_links_most_relevant_keyword', 0)">Keyword</th>264 <th scope="row" onclick="sortTable('seo_links_most_relevant_keyword', 1)"style="cursor: pointer;">Impressions</th>263 <th scope="row" style="width:70%;cursor: pointer;">Keyword</th> 264 <th scope="row" style="cursor: pointer;">Impressions</th> 265 265 </tr> 266 266 </thead> … … 536 536 <thead> 537 537 <tr> 538 <th scope="row" style="width:70%;cursor: pointer;" onclick="sortTable('seo_links_keyword', 0)">Keyword</th>539 <th scope="row" onclick="sortTable('seo_links_keyword', 1)"style="cursor: pointer;">Impressions</th>538 <th scope="row" style="width:70%;cursor: pointer;">Keyword</th> 539 <th scope="row" style="cursor: pointer;">Impressions</th> 540 540 </tr> 541 541 </thead> … … 597 597 <thead> 598 598 <tr> 599 <th scope="row" style="width:70%;cursor: pointer;" onclick="sortTable('seo_links_most_relevant_keyword', 0)">Keyword</th>600 <th scope="row" onclick="sortTable('seo_links_most_relevant_keyword', 1)"style="cursor: pointer;">Impressions</th>599 <th scope="row" style="width:70%;cursor: pointer;">Keyword</th> 600 <th scope="row" style="cursor: pointer;">Impressions</th> 601 601 </tr> 602 602 </thead> -
seo-links-interlinking/trunk/utils.php
r2681791 r2683944 8 8 * Regex definitiva 9 9 */ 10 $re = '/((<(h1|h2|h3|h4|h5|h6|a).*?>(.*?)<\/.*?>)|<.*?>)(*SKIP)(*FAIL)|\b' . preg_quote( $ga_key) . '\b/i';10 $re = '/((<(h1|h2|h3|h4|h5|h6|a).*?>(.*?)<\/.*?>)|<.*?>)(*SKIP)(*FAIL)|\b' . str_replace('/', '\/', preg_quote( $ga_key ) ) . '\b/i'; 11 11 12 12 $output = preg_replace_callback( $re, function( $m ) use ( $url_with_content, $content ){ … … 23 23 function seoli_search_replace_regex( $ga_key, $content ){ 24 24 $matches = array(); 25 $re = '/((<(h1|h2|h3|h4|h5|h6|a).*?>(.*?)<\/.*?>)|<.*?>)(*SKIP)(*FAIL)|(\S+)\s*(\S+)\s*' . preg_quote( $ga_key) . '\s*(\S+)\s*(\S+)/mi';25 $re = '/((<(h1|h2|h3|h4|h5|h6|a).*?>(.*?)<\/.*?>)|<.*?>)(*SKIP)(*FAIL)|(\S+)\s*(\S+)\s*' . str_replace('/', '\/', preg_quote( $ga_key ) ) . '\s*(\S+)\s*(\S+)/mi'; 26 26 preg_match_all( $re, strip_tags( $content ), $matches, PREG_SET_ORDER, 0); 27 27 if( !empty( $matches ) ) {
Note: See TracChangeset
for help on using the changeset viewer.