Plugin Directory

Changeset 3407710


Ignore:
Timestamp:
12/02/2025 09:20:25 AM (3 months ago)
Author:
techbeeps
Message:

version 1.2.1

Location:
quick-llms-txt
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • quick-llms-txt/trunk/quick-llms-txt.php

    r3362557 r3407710  
    44Plugin URI: https://plugins.techbeeps.com/
    55Description: Creates an llms.txt file automatically or manually for AI/Language Models with beautiful UI.
    6 Version: 1.1
     6Version: 1.2.1
    77Author: Techbeeps
    88Author URI: https://techbeeps.com/
     
    1212if (!defined('ABSPATH')) exit;
    1313
    14 define('QKLLMSTXT_VERSION', '1.1');
     14define('QKLLMSTXT_VERSION', '1.2.1');
    1515define('QKLLMSTXT_PATH', plugin_dir_path(__FILE__));
    1616define('QKLLMSTXT_URL', plugin_dir_url(__FILE__));
     
    4242            $content = $wp_filesystem->get_contents( $file_path );
    4343            if ( $content !== false ) {
    44                header( 'Content-Type: text/html; charset=utf-8' );
     44                status_header( 200 );
     45                nocache_headers();
     46                //header( 'Content-Type: text/html; charset=utf-8' );
     47                header( 'Content-Type: text/html; charset=utf-8' );
    4548                header( 'Content-Disposition: inline; filename="llms.txt"' );
    46                 echo "<pre>";
    47                 echo esc_textarea($content);
    48                 echo "</pre>";
     49                echo '<!DOCTYPE html><html><head><meta charset="utf-8">';
     50                echo '<title>llms.txt</title>';
     51                echo '<style>
     52                    body {
     53                        margin: 0;
     54                        padding: 20px;
     55                        background: #000;
     56                        color: #fff;
     57                        font-family: monospace;
     58                    }
     59                    pre {
     60                        white-space: pre-wrap;
     61                        word-wrap: break-word;
     62                    }
     63                </style></head><body>';
     64             
     65                echo '<pre>';
     66                echo esc_html( $content );
     67                echo '</pre>';
     68                echo '</body></html>';
    4969                exit;
     70
    5071            }
    5172        }
  • quick-llms-txt/trunk/readme.txt

    r3362557 r3407710  
    33Tags: llms, language models, txt, file, machine-readable
    44Requires at least: 6.0
    5 Tested up to: 6.8
    6 Stable tag: 1.1
     5Tested up to: 6.9
     6Stable tag: 1.2.1
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6262
    6363== Changelog ==
     64= 1.2.1 =
     65* Confirmed full compatibility with WordPress 6.9.
     66
    6467
    6568= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.