Plugin Directory

Changeset 3470231


Ignore:
Timestamp:
02/26/2026 11:40:15 AM (2 weeks ago)
Author:
codingbunny
Message:

v.1.2.2

Location:
coding-bunny-llms-generator
Files:
32 added
3 edited

Legend:

Unmodified
Added
Removed
  • coding-bunny-llms-generator/trunk/coding-bunny-llms-generator.php

    r3470017 r3470231  
    44* Plugin URI: https://coding-bunny.com/llms-generator/
    55* Description: Generates and maintains an llms.txt file at site root to guide LLM/AI crawlers about your content structure and priorities.
    6 * Version: 1.2.1
     6* Version: 1.2.2
    77* Requires at least: 6.0
    88* Requires PHP: 8.0
     
    2121}
    2222
    23 define( 'CBLLMS_VERSION', '1.2.1' );
     23define( 'CBLLMS_VERSION', '1.2.2' );
    2424define( 'CBLLMS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    2525define( 'CBLLMS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
  • coding-bunny-llms-generator/trunk/includes/generator/class-cbllms-items.php

    r3470017 r3470231  
    4040        );
    4141
     42        if ( ! empty( $excluded_ids ) ) {
     43            $args['post__not_in'] = (array) $excluded_ids;
     44        }
     45
    4246        $items = array();
    4347
     
    6266
    6367    if ( ! empty( $items ) ) {
    64         $items = self::sort_items_by_relevance( $items );
     68        if ( isset( $options['priority_sort'] ) && 'relevance' === $options['priority_sort'] && count( $items ) > 1 ) {
     69            $items = self::sort_items_by_relevance( $items );
     70        }
    6571    }
    6672
  • coding-bunny-llms-generator/trunk/readme.txt

    r3470017 r3470231  
    55Tested up to: 6.9
    66Requires PHP: 8.0
    7 Stable tag: 1.2.1
     7Stable tag: 1.2.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7373== Changelog ==
    7474
     75= 1.2.2: 2026-02-26 =
     76* Fix: Fixed a bug in Priority URLs ordering
     77
    7578= 1.2.1: 2026-02-26 =
    7679* Improved: Added the ability to exclude pages, posts, and products by ID
    77 * Fix: Fixed a bug in Priority URLs ordering
    7880
    7981= 1.2.0: 2026-02-23 =
Note: See TracChangeset for help on using the changeset viewer.