Plugin Directory

Changeset 3061609


Ignore:
Timestamp:
03/30/2024 07:36:34 PM (2 years ago)
Author:
ABCdatos
Message:

preview adjusts

Location:
magic-robots-txt/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • magic-robots-txt/trunk/admin/archivo.php

    r2968365 r3061609  
    177177function mrt_usar_archivo_forzoso() {
    178178    $usar_archivo = 0;
     179
     180    // Comprueba si el directorio de instalación de WordPress difiere del directorio raíz del sitio web.
    179181    if ( mrt_directorio_web() !== mrt_directorio_wp() ) {
     182        $usar_archivo = 1;
     183    }
     184
     185    // Verifica si el URL del sitio comienza con 'https://playground.wordpress.net'.
     186    if ( 0 === strpos( home_url(), 'https://playground.wordpress.net' ) ) {
    180187        $usar_archivo = 1;
    181188    }
  • magic-robots-txt/trunk/magic-robots-txt.php

    r3061445 r3061609  
    44 * Plugin URI:  https://taller.abcdatos.net/robots-txt-wordpress/
    55 * Description: Manages robots access control via robots.txt
    6  * Version:     1.0.5
     6 * Version:     1.0.6-dev
    77 * Author:      ABCdatos
    88 * Author URI:  https://taller.abcdatos.net/
  • magic-robots-txt/trunk/readme.txt

    r3061445 r3061609  
    9595== Changelog ==
    9696
     97= 1.0.6 =
     98*Mar 30 2024*
     99* Forced physical file when running preview at https://playground.wordpress.net/
     100
    97101= 1.0.5 =
    98102*Mar 30 2024*
Note: See TracChangeset for help on using the changeset viewer.