Changeset 3439714
- Timestamp:
- 01/14/2026 04:57:39 PM (2 months ago)
- Location:
- website-llms-txt
- Files:
-
- 5 edited
- 13 copied
-
tags/8.2.4 (copied) (copied from website-llms-txt/trunk)
-
tags/8.2.4/README.txt (copied) (copied from website-llms-txt/trunk/README.txt) (2 diffs)
-
tags/8.2.4/admin/admin-page.php (copied) (copied from website-llms-txt/trunk/admin/admin-page.php) (1 diff)
-
tags/8.2.4/admin/admin-script.js (copied) (copied from website-llms-txt/trunk/admin/admin-script.js)
-
tags/8.2.4/admin/admin-styles.css (copied) (copied from website-llms-txt/trunk/admin/admin-styles.css)
-
tags/8.2.4/admin/notice-dismiss.js (copied) (copied from website-llms-txt/trunk/admin/notice-dismiss.js)
-
tags/8.2.4/includes/class-llms-core.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-core.php) (2 diffs)
-
tags/8.2.4/includes/class-llms-crawler.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-crawler.php)
-
tags/8.2.4/includes/class-llms-generator.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-generator.php) (2 diffs)
-
tags/8.2.4/includes/class-llms-md.php (copied) (copied from website-llms-txt/trunk/includes/class-llms-md.php)
-
tags/8.2.4/includes/rank-math.php (copied) (copied from website-llms-txt/trunk/includes/rank-math.php)
-
tags/8.2.4/includes/yoast.php (copied) (copied from website-llms-txt/trunk/includes/yoast.php)
-
tags/8.2.4/website-llms-txt.php (copied) (copied from website-llms-txt/trunk/website-llms-txt.php) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/admin-page.php (modified) (1 diff)
-
trunk/includes/class-llms-core.php (modified) (2 diffs)
-
trunk/includes/class-llms-generator.php (modified) (2 diffs)
-
trunk/website-llms-txt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
website-llms-txt/tags/8.2.4/README.txt
r3383930 r3439714 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 7.2 7 Stable tag: 8.2. 37 Stable tag: 8.2.4 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.4 = 98 99 🛠 Improvement: Gravity Forms exclusion control 100 101 • Added an option to **exclude Gravity Forms form fields from the generated llms.txt output. 102 • When disabled, all Gravity Forms markup (`<form id="gform_...">`, wrappers, and fields) is completely removed before file generation. 103 • Prevents unintended exposure of form structure and field labels in llms.txt. 104 97 105 = 8.2.3 = 98 106 -
website-llms-txt/tags/8.2.4/admin/admin-page.php
r3383930 r3439714 184 184 </label> 185 185 </p> 186 <p> 187 <label> 188 <input type="checkbox" 189 name="llms_generator_settings[gform_include]" 190 value="1" 191 <?php checked(!empty($settings['gform_include'])); ?>> 192 <?php esc_html_e('Include Gravity Forms form fields in llms.txt', 'website-llms-txt'); ?> 193 </label> 194 </p> 186 195 <?php if(!empty($settings)): ?> 187 196 <?php foreach($settings as $key => $value): ?> 188 <?php if(in_array($key, ['post_types', 'max_posts', 'max_words', 'include_meta', 'include_excerpts', 'detailed_content', 'include_taxonomies' ])) continue ?>197 <?php if(in_array($key, ['post_types', 'max_posts', 'max_words', 'include_meta', 'include_excerpts', 'detailed_content', 'include_taxonomies', 'gform_include'])) continue ?> 189 198 <?php if(is_array($value)): ?> 190 199 <?php foreach($value as $second_key => $second_value): ?> -
website-llms-txt/tags/8.2.4/includes/class-llms-core.php
r3372420 r3439714 167 167 'include_excerpts' => false, 168 168 'include_taxonomies' => false, 169 'gform_include' => false, 169 170 'update_frequency' => 'immediate', 170 171 'need_check_option' => true, … … 226 227 $clean['include_excerpts'] = !empty($value['include_excerpts']); 227 228 $clean['include_taxonomies'] = !empty($value['include_taxonomies']); 229 $clean['gform_include'] = !empty($value['gform_include']); 228 230 $clean['llms_txt_title'] = !isset($value['llms_txt_title']) ? '' : $value['llms_txt_title']; 229 231 $clean['llms_txt_description'] = !isset($value['llms_txt_description']) ? '' : $value['llms_txt_description']; -
website-llms-txt/tags/8.2.4/includes/class-llms-generator.php
r3378045 r3439714 36 36 'need_check_option' => true, 37 37 'noindex_header' => false, 38 'gform_include' => false, 38 39 'llms_allow_indexing' => false, 39 40 'llms_local_log_enabled' => false, … … 428 429 private function remove_shortcodes($content) 429 430 { 431 $settings = apply_filters('get_llms_generator_settings', []); 430 432 $clean = preg_replace('/\[[^\]]+\]/', '', $content); 431 433 434 if(!isset($settings['gform_include']) || !$settings['gform_include']) { 435 $clean = preg_replace('/<form[^>]+id=("|\')gform_\d+("|\')[\s\S]*?<\/form>/i', '', $clean); 436 437 $clean = preg_replace('/<div[^>]+class=("|\')[^"\']*gform_wrapper[^"\']*("|\')[\s\S]*?<\/div>/i', '', $clean); 438 } 439 432 440 $clean = preg_replace('/<style\b[^>]*>.*?<\/style>/is', '', $clean); 441 $clean = preg_replace('/<script\b[^>]*>.*?<\/script>/is', '', $clean); 433 442 434 443 $clean = preg_replace('/[\x{00A0}\x{200B}\x{200C}\x{200D}\x{FEFF}\x{202A}-\x{202E}\x{2060}]/u', ' ', $clean); -
website-llms-txt/tags/8.2.4/website-llms-txt.php
r3383930 r3439714 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. 35 * Version: 8.2.4 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. 3');21 define('LLMS_VERSION', '8.2.4'); 22 22 define('LLMS_PLUGIN_FILE', __FILE__); 23 23 define('LLMS_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
website-llms-txt/trunk/README.txt
r3383930 r3439714 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 7.2 7 Stable tag: 8.2. 37 Stable tag: 8.2.4 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.4 = 98 99 🛠 Improvement: Gravity Forms exclusion control 100 101 • Added an option to **exclude Gravity Forms form fields from the generated llms.txt output. 102 • When disabled, all Gravity Forms markup (`<form id="gform_...">`, wrappers, and fields) is completely removed before file generation. 103 • Prevents unintended exposure of form structure and field labels in llms.txt. 104 97 105 = 8.2.3 = 98 106 -
website-llms-txt/trunk/admin/admin-page.php
r3383930 r3439714 184 184 </label> 185 185 </p> 186 <p> 187 <label> 188 <input type="checkbox" 189 name="llms_generator_settings[gform_include]" 190 value="1" 191 <?php checked(!empty($settings['gform_include'])); ?>> 192 <?php esc_html_e('Include Gravity Forms form fields in llms.txt', 'website-llms-txt'); ?> 193 </label> 194 </p> 186 195 <?php if(!empty($settings)): ?> 187 196 <?php foreach($settings as $key => $value): ?> 188 <?php if(in_array($key, ['post_types', 'max_posts', 'max_words', 'include_meta', 'include_excerpts', 'detailed_content', 'include_taxonomies' ])) continue ?>197 <?php if(in_array($key, ['post_types', 'max_posts', 'max_words', 'include_meta', 'include_excerpts', 'detailed_content', 'include_taxonomies', 'gform_include'])) continue ?> 189 198 <?php if(is_array($value)): ?> 190 199 <?php foreach($value as $second_key => $second_value): ?> -
website-llms-txt/trunk/includes/class-llms-core.php
r3372420 r3439714 167 167 'include_excerpts' => false, 168 168 'include_taxonomies' => false, 169 'gform_include' => false, 169 170 'update_frequency' => 'immediate', 170 171 'need_check_option' => true, … … 226 227 $clean['include_excerpts'] = !empty($value['include_excerpts']); 227 228 $clean['include_taxonomies'] = !empty($value['include_taxonomies']); 229 $clean['gform_include'] = !empty($value['gform_include']); 228 230 $clean['llms_txt_title'] = !isset($value['llms_txt_title']) ? '' : $value['llms_txt_title']; 229 231 $clean['llms_txt_description'] = !isset($value['llms_txt_description']) ? '' : $value['llms_txt_description']; -
website-llms-txt/trunk/includes/class-llms-generator.php
r3378045 r3439714 36 36 'need_check_option' => true, 37 37 'noindex_header' => false, 38 'gform_include' => false, 38 39 'llms_allow_indexing' => false, 39 40 'llms_local_log_enabled' => false, … … 428 429 private function remove_shortcodes($content) 429 430 { 431 $settings = apply_filters('get_llms_generator_settings', []); 430 432 $clean = preg_replace('/\[[^\]]+\]/', '', $content); 431 433 434 if(!isset($settings['gform_include']) || !$settings['gform_include']) { 435 $clean = preg_replace('/<form[^>]+id=("|\')gform_\d+("|\')[\s\S]*?<\/form>/i', '', $clean); 436 437 $clean = preg_replace('/<div[^>]+class=("|\')[^"\']*gform_wrapper[^"\']*("|\')[\s\S]*?<\/div>/i', '', $clean); 438 } 439 432 440 $clean = preg_replace('/<style\b[^>]*>.*?<\/style>/is', '', $clean); 441 $clean = preg_replace('/<script\b[^>]*>.*?<\/script>/is', '', $clean); 433 442 434 443 $clean = preg_replace('/[\x{00A0}\x{200B}\x{200C}\x{200D}\x{FEFF}\x{202A}-\x{202E}\x{2060}]/u', ' ', $clean); -
website-llms-txt/trunk/website-llms-txt.php
r3383930 r3439714 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. 35 * Version: 8.2.4 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. 3');21 define('LLMS_VERSION', '8.2.4'); 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.