Plugin Directory

Changeset 3458918


Ignore:
Timestamp:
02/11/2026 11:25:05 AM (7 weeks ago)
Author:
ryhowa
Message:

Tagging version 8.2.6

Location:
website-llms-txt
Files:
3 edited
13 copied

Legend:

Unmodified
Added
Removed
  • website-llms-txt/tags/8.2.6/README.txt

    r3441589 r3458918  
    55Tested up to: 6.8.3
    66Requires PHP: 7.2
    7 Stable tag: 8.2.5
     7Stable tag: 8.2.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9595== Changelog ==
    9696
     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
    97107= 8.2.5 =
    98108
  • website-llms-txt/tags/8.2.6/includes/class-llms-generator.php

    r3441589 r3458918  
    878878
    879879        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 . "'");
    880881            $permalink = apply_filters(
    881882                'wpml_permalink',
    882883                get_permalink($post->ID),
    883                 ICL_LANGUAGE_CODE
     884                $language_code
    884885            );
    885886        } else {
  • website-llms-txt/tags/8.2.6/website-llms-txt.php

    r3441589 r3458918  
    33 * Plugin Name: Website LLMs.txt
    44 * 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.5
     5 * Version: 8.2.6
    66 * Author: Ryan Howard
    77 * Author URI: https://completeseo.com/author/ryan-howard/
     
    1919
    2020// Define plugin constants
    21 define('LLMS_VERSION', '8.2.5');
     21define('LLMS_VERSION', '8.2.6');
    2222define('LLMS_PLUGIN_FILE', __FILE__);
    2323define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • website-llms-txt/trunk/README.txt

    r3441589 r3458918  
    55Tested up to: 6.8.3
    66Requires PHP: 7.2
    7 Stable tag: 8.2.5
     7Stable tag: 8.2.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9595== Changelog ==
    9696
     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
    97107= 8.2.5 =
    98108
  • website-llms-txt/trunk/includes/class-llms-generator.php

    r3441589 r3458918  
    878878
    879879        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 . "'");
    880881            $permalink = apply_filters(
    881882                'wpml_permalink',
    882883                get_permalink($post->ID),
    883                 ICL_LANGUAGE_CODE
     884                $language_code
    884885            );
    885886        } else {
  • website-llms-txt/trunk/website-llms-txt.php

    r3441589 r3458918  
    33 * Plugin Name: Website LLMs.txt
    44 * 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.5
     5 * Version: 8.2.6
    66 * Author: Ryan Howard
    77 * Author URI: https://completeseo.com/author/ryan-howard/
     
    1919
    2020// Define plugin constants
    21 define('LLMS_VERSION', '8.2.5');
     21define('LLMS_VERSION', '8.2.6');
    2222define('LLMS_PLUGIN_FILE', __FILE__);
    2323define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.