Plugin Directory

Changeset 3389402


Ignore:
Timestamp:
11/04/2025 07:41:12 AM (5 months ago)
Author:
cifi
Message:

Fixed PHP warnings in robots.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squirrly-seo/trunk/models/services/Robots.php

    r3359108 r3389402  
    1212
    1313    public function generateRobots( $robots = '' ) {
    14         $robots .= "\n# " . esc_html__( "Squirrly SEO Robots", 'squirrly-seo' );
     14        $robots .= "\n# " . "Squirrly SEO Robots";
    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# " . "No Squirrly SEO Robots found.";
    3434            }
    3535        }
Note: See TracChangeset for help on using the changeset viewer.