Plugin Directory

Changeset 3389403


Ignore:
Timestamp:
11/04/2025 07:46:11 AM (4 months ago)
Author:
cifi
Message:

Update LLMS & Robots to avoid tranlation PHP warning

Location:
squirrly-seo/tags/12.4.14/models/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • squirrly-seo/tags/12.4.14/models/services/Llms.php

    r3359168 r3389403  
    1212
    1313    public function generateLlms( $llms = '' ) {
    14         $llms .= "\n# " . esc_html__( "Squirrly SEO LLMs", 'squirrly-seo' ) . "\n\n";
     14        $llms .= "\n";
    1515
    1616        $llms_permission = (array) SQ_Classes_Helpers_Tools::getOption( 'sq_llms_permission' );
  • squirrly-seo/tags/12.4.14/models/services/Robots.php

    r3359108 r3389403  
    1212
    1313    public function generateRobots( $robots = '' ) {
    14         $robots .= "\n# " . esc_html__( "Squirrly SEO Robots", 'squirrly-seo' );
     14        $robots .= "\n";
    1515
    1616        if ( get_option( 'blog_public' ) != 1 ) {
    17             $robots .= "\n# " . esc_html__( "Your blog is not public. Please see Site Visibility on Settings > Reading.", 'squirrly-seo' );
     17            $robots .= "\n# " . "Your blog is not public. Please see Site Visibility on Settings > Reading.";
    1818        } else {
    1919
     
    3131
    3232            if ( empty( $sq_sitemap ) ) {
    33                 $robots .= "\n# " . esc_html__( "No Squirrly SEO Robots found.", 'squirrly-seo' );
     33                $robots .= "\n";
    3434            }
    3535        }
Note: See TracChangeset for help on using the changeset viewer.