Changeset 3458918
- Timestamp:
- 02/11/2026 11:25:05 AM (7 weeks ago)
- Location:
- website-llms-txt
- Files:
-
- 3 edited
- 13 copied
-
tags/8.2.6 (copied) (copied from website-llms-txt/trunk)
-
tags/8.2.6/README.txt (copied) (copied from website-llms-txt/trunk/README.txt) (2 diffs)
-
tags/8.2.6/admin/admin-page.php (copied) (copied from website-llms-txt/trunk/admin/admin-page.php)
-
tags/8.2.6/admin/admin-script.js (copied) (copied from website-llms-txt/trunk/admin/admin-script.js)
-
tags/8.2.6/admin/admin-styles.css (copied) (copied from website-llms-txt/trunk/admin/admin-styles.css)
-
tags/8.2.6/admin/notice-dismiss.js (copied) (copied from website-llms-txt/trunk/admin/notice-dismiss.js)
-
tags/8.2.6/includes/class-llms-core.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-core.php)
-
tags/8.2.6/includes/class-llms-crawler.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-crawler.php)
-
tags/8.2.6/includes/class-llms-generator.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-generator.php) (1 diff)
-
tags/8.2.6/includes/class-llms-md.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-md.php)
-
tags/8.2.6/includes/rank-math.php (copied) (copied from website-llms-txt/trunk/includes/rank-math.php)
-
tags/8.2.6/includes/yoast.php (copied) (copied from website-llms-txt/trunk/includes/yoast.php)
-
tags/8.2.6/website-llms-txt.php (copied) (copied from website-llms-txt/trunk/website-llms-txt.php) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-llms-generator.php (modified) (1 diff)
-
trunk/website-llms-txt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
website-llms-txt/tags/8.2.6/README.txt
r3441589 r3458918 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 7.2 7 Stable tag: 8.2. 57 Stable tag: 8.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 8.2.6 = 98 99 🛠 Fix: Correct WPML slugs and duplicate URLs in llms.txt 100 101 • Fixed an issue where original language slugs (e.g. .de) were duplicated and appeared for both original and translated pages. 102 • The generator now resolves the real WPML permalink for each language, instead of reusing the source language slug. 103 • Each language entry is now written with its own correct localized URL (no mixed or duplicated slugs). 104 • Prevents cases where translated pages were listed with the original language URL. 105 • Ensures llms.txt contains only valid, language-correct links for all WPML translations. 106 97 107 = 8.2.5 = 98 108 -
website-llms-txt/tags/8.2.6/includes/class-llms-generator.php
r3441589 r3458918 878 878 879 879 if(defined('ICL_LANGUAGE_CODE')) { 880 $language_code = $wpdb->get_var("SELECT language_code FROM {$wpdb->prefix}icl_translations WHERE element_id=" . intval($post->ID) . " AND element_type LIKE '%_" . $post->post_type . "'"); 880 881 $permalink = apply_filters( 881 882 'wpml_permalink', 882 883 get_permalink($post->ID), 883 ICL_LANGUAGE_CODE884 $language_code 884 885 ); 885 886 } else { -
website-llms-txt/tags/8.2.6/website-llms-txt.php
r3441589 r3458918 3 3 * Plugin Name: Website LLMs.txt 4 4 * Description: Generates and manages an llms.txt file, a structured, AI-ready index that helps large language models like ChatGPT, Claude, and Perplexity understand your site's most important content. 5 * Version: 8.2. 55 * Version: 8.2.6 6 6 * Author: Ryan Howard 7 7 * Author URI: https://completeseo.com/author/ryan-howard/ … … 19 19 20 20 // Define plugin constants 21 define('LLMS_VERSION', '8.2. 5');21 define('LLMS_VERSION', '8.2.6'); 22 22 define('LLMS_PLUGIN_FILE', __FILE__); 23 23 define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
website-llms-txt/trunk/README.txt
r3441589 r3458918 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 7.2 7 Stable tag: 8.2. 57 Stable tag: 8.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 8.2.6 = 98 99 🛠 Fix: Correct WPML slugs and duplicate URLs in llms.txt 100 101 • Fixed an issue where original language slugs (e.g. .de) were duplicated and appeared for both original and translated pages. 102 • The generator now resolves the real WPML permalink for each language, instead of reusing the source language slug. 103 • Each language entry is now written with its own correct localized URL (no mixed or duplicated slugs). 104 • Prevents cases where translated pages were listed with the original language URL. 105 • Ensures llms.txt contains only valid, language-correct links for all WPML translations. 106 97 107 = 8.2.5 = 98 108 -
website-llms-txt/trunk/includes/class-llms-generator.php
r3441589 r3458918 878 878 879 879 if(defined('ICL_LANGUAGE_CODE')) { 880 $language_code = $wpdb->get_var("SELECT language_code FROM {$wpdb->prefix}icl_translations WHERE element_id=" . intval($post->ID) . " AND element_type LIKE '%_" . $post->post_type . "'"); 880 881 $permalink = apply_filters( 881 882 'wpml_permalink', 882 883 get_permalink($post->ID), 883 ICL_LANGUAGE_CODE884 $language_code 884 885 ); 885 886 } else { -
website-llms-txt/trunk/website-llms-txt.php
r3441589 r3458918 3 3 * Plugin Name: Website LLMs.txt 4 4 * Description: Generates and manages an llms.txt file, a structured, AI-ready index that helps large language models like ChatGPT, Claude, and Perplexity understand your site's most important content. 5 * Version: 8.2. 55 * Version: 8.2.6 6 6 * Author: Ryan Howard 7 7 * Author URI: https://completeseo.com/author/ryan-howard/ … … 19 19 20 20 // Define plugin constants 21 define('LLMS_VERSION', '8.2. 5');21 define('LLMS_VERSION', '8.2.6'); 22 22 define('LLMS_PLUGIN_FILE', __FILE__); 23 23 define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.