Changeset 3061689
- Timestamp:
- 03/31/2024 07:42:05 AM (2 years ago)
- Location:
- magic-robots-txt/trunk
- Files:
-
- 4 edited
-
admin/archivo.php (modified) (1 diff)
-
admin/opciones.php (modified) (1 diff)
-
magic-robots-txt.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
magic-robots-txt/trunk/admin/archivo.php
r3061609 r3061689 183 183 } 184 184 185 // Verifica si el URL del sitio comienza con 'https://playground.wordpress.net '.186 if ( 0 === strpos( home_url(), 'https://playground.wordpress.net ' ) ) {185 // Verifica si el URL del sitio comienza con 'https://playground.wordpress.net/'. 186 if ( 0 === strpos( home_url(), 'https://playground.wordpress.net/' ) ) { 187 187 $usar_archivo = 1; 188 188 } -
magic-robots-txt/trunk/admin/opciones.php
r3061445 r3061689 27 27 28 28 // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode -- Base64 encoding used for SVG icon; considered safe. 29 $icono_base64 = 'data:image/svg+xml;base64,' .base64_encode( '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 511.999 511.999" style="fill:#a7aaad" xml:space="preserve"><g><g><path d="M424.464,226.038h-31.289c-4.637,0-8.394,3.758-8.394,8.394v17.485H370.51v-17.485c0-4.636-3.757-8.394-8.394-8.394h-34.743v-17.351h34.743c4.637,0,8.394-3.758,8.394-8.394V66.121c0-20.285-16.502-36.787-36.787-36.787h-69.329V8.394c0-4.636-3.757-8.394-8.394-8.394c-4.637,0-8.394,3.758-8.394,8.394v20.939h-69.33c-20.285,0-36.787,16.503-36.787,36.787v134.173c0,4.636,3.757,8.394,8.394,8.394h34.744v17.351h-34.744c-4.637,0-8.394,3.758-8.394,8.394v17.485h-14.271v-17.485c0-4.636-3.757-8.394-8.394-8.394h-31.29c-4.637,0-8.394,3.758-8.394,8.394v169.096c0,4.636,3.757,8.394,8.394,8.394h31.289c4.637,0,8.394-3.758,8.394-8.394V303.215h14.271v68.203c0,4.636,3.757,8.394,8.394,8.394h14.9v75.713h-10.586c-4.637,0-8.394,3.758-8.394,8.394v39.686c0,4.636,3.757,8.394,8.394,8.394h70.744c4.637,0,8.394-3.758,8.394-8.394v-39.686c0-4.636-3.757-8.394-8.394-8.394h-10.585v-75.713h83.289v75.713h-10.586c-4.637,0-8.394,3.758-8.394,8.394v39.686c0,4.636,3.757,8.394,8.394,8.394h70.744c4.637,0,8.394-3.758,8.394-8.394v-39.686c0-4.636-3.757-8.394-8.394-8.394h-10.585v-75.713h14.9c4.637,0,8.394-3.758,8.394-8.394v-68.203h14.271v100.312c0,4.636,3.757,8.394,8.394,8.394h31.289c4.637,0,8.394-3.758,8.394-8.394V234.431C432.857,229.796,429.1,226.038,424.464,226.038z M110.43,395.134H95.929V242.826h14.501V395.134z M141.489,286.428h-14.271v-17.723h14.271V286.428z M158.276,191.9V66.121c0-11.028,8.972-20,20-20h155.447c11.028,0,20,8.972,20,20V191.9H158.276z M310.586,208.686v17.351H201.414v-17.351H310.586z M216.547,472.314v22.898h-53.957v-22.898H216.547z M181.571,455.526v-75.713h15.998v75.713H181.571z M349.409,472.314v22.898h-53.957v-22.898H349.409zM314.433,455.526v-75.713h15.998v75.713h0H314.433z M353.723,363.024H158.276V242.826h195.446V363.024z M384.781,286.428H370.51v-17.723h14.271V286.428z M416.07,395.134h-14.501V242.826h14.501V395.134z"/></g></g><g><g><path d="M204.236,84.744c-20.803,0-37.727,16.924-37.727,37.726c0,20.802,16.924,37.726,37.727,37.726c20.802,0.001,37.726-16.923,37.726-37.726C241.963,101.668,225.039,84.744,204.236,84.744z M204.236,143.409c-11.545,0-20.94-9.392-20.94-20.939c0-11.545,9.394-20.939,20.94-20.939c11.545,0,20.939,9.393,20.939,20.939C225.175,134.016,215.782,143.409,204.236,143.409z"/></g></g><g><g><path d="M307.765,84.744c-20.803,0-37.727,16.924-37.727,37.726c0,20.802,16.924,37.727,37.727,37.727c20.802,0,37.726-16.924,37.726-37.726S328.567,84.744,307.765,84.744z M307.765,143.409c-11.545,0-20.94-9.393-20.94-20.939c0-11.545,9.393-20.939,20.94-20.939c11.545,0,20.939,9.393,20.939,20.939C328.703,134.016,319.31,143.409,307.765,143.409z"/></g></g><g><g><path d="M256.001,270.9c-30.317,0-54.982,24.664-54.982,54.982c0,4.636,3.757,8.394,8.394,8.394h93.176c4.637,0,8.394-3.758,8.394-8.394C310.982,295.565,286.318,270.9,256.001,270.9z M218.735,317.488c3.835-17.036,19.089-29.8,37.265-29.8c18.177,0,33.43,12.764,37.265,29.8H218.735z"/></g></g><g><g><circle cx="326.744" cy="267.215" r="8.394"/></g></g><g><g><circle cx="185.257" cy="267.215" r="8.394"/></g></g></svg>' );29 $icono_base64 = base64_encode( '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 511.999 511.999" style="fill:#a7aaad" xml:space="preserve"><g><g><path d="M424.464,226.038h-31.289c-4.637,0-8.394,3.758-8.394,8.394v17.485H370.51v-17.485c0-4.636-3.757-8.394-8.394-8.394h-34.743v-17.351h34.743c4.637,0,8.394-3.758,8.394-8.394V66.121c0-20.285-16.502-36.787-36.787-36.787h-69.329V8.394c0-4.636-3.757-8.394-8.394-8.394c-4.637,0-8.394,3.758-8.394,8.394v20.939h-69.33c-20.285,0-36.787,16.503-36.787,36.787v134.173c0,4.636,3.757,8.394,8.394,8.394h34.744v17.351h-34.744c-4.637,0-8.394,3.758-8.394,8.394v17.485h-14.271v-17.485c0-4.636-3.757-8.394-8.394-8.394h-31.29c-4.637,0-8.394,3.758-8.394,8.394v169.096c0,4.636,3.757,8.394,8.394,8.394h31.289c4.637,0,8.394-3.758,8.394-8.394V303.215h14.271v68.203c0,4.636,3.757,8.394,8.394,8.394h14.9v75.713h-10.586c-4.637,0-8.394,3.758-8.394,8.394v39.686c0,4.636,3.757,8.394,8.394,8.394h70.744c4.637,0,8.394-3.758,8.394-8.394v-39.686c0-4.636-3.757-8.394-8.394-8.394h-10.585v-75.713h83.289v75.713h-10.586c-4.637,0-8.394,3.758-8.394,8.394v39.686c0,4.636,3.757,8.394,8.394,8.394h70.744c4.637,0,8.394-3.758,8.394-8.394v-39.686c0-4.636-3.757-8.394-8.394-8.394h-10.585v-75.713h14.9c4.637,0,8.394-3.758,8.394-8.394v-68.203h14.271v100.312c0,4.636,3.757,8.394,8.394,8.394h31.289c4.637,0,8.394-3.758,8.394-8.394V234.431C432.857,229.796,429.1,226.038,424.464,226.038z M110.43,395.134H95.929V242.826h14.501V395.134z M141.489,286.428h-14.271v-17.723h14.271V286.428z M158.276,191.9V66.121c0-11.028,8.972-20,20-20h155.447c11.028,0,20,8.972,20,20V191.9H158.276z M310.586,208.686v17.351H201.414v-17.351H310.586z M216.547,472.314v22.898h-53.957v-22.898H216.547z M181.571,455.526v-75.713h15.998v75.713H181.571z M349.409,472.314v22.898h-53.957v-22.898H349.409zM314.433,455.526v-75.713h15.998v75.713h0H314.433z M353.723,363.024H158.276V242.826h195.446V363.024z M384.781,286.428H370.51v-17.723h14.271V286.428z M416.07,395.134h-14.501V242.826h14.501V395.134z"/></g></g><g><g><path d="M204.236,84.744c-20.803,0-37.727,16.924-37.727,37.726c0,20.802,16.924,37.726,37.727,37.726c20.802,0.001,37.726-16.923,37.726-37.726C241.963,101.668,225.039,84.744,204.236,84.744z M204.236,143.409c-11.545,0-20.94-9.392-20.94-20.939c0-11.545,9.394-20.939,20.94-20.939c11.545,0,20.939,9.393,20.939,20.939C225.175,134.016,215.782,143.409,204.236,143.409z"/></g></g><g><g><path d="M307.765,84.744c-20.803,0-37.727,16.924-37.727,37.726c0,20.802,16.924,37.727,37.727,37.727c20.802,0,37.726-16.924,37.726-37.726S328.567,84.744,307.765,84.744z M307.765,143.409c-11.545,0-20.94-9.393-20.94-20.939c0-11.545,9.393-20.939,20.94-20.939c11.545,0,20.939,9.393,20.939,20.939C328.703,134.016,319.31,143.409,307.765,143.409z"/></g></g><g><g><path d="M256.001,270.9c-30.317,0-54.982,24.664-54.982,54.982c0,4.636,3.757,8.394,8.394,8.394h93.176c4.637,0,8.394-3.758,8.394-8.394C310.982,295.565,286.318,270.9,256.001,270.9z M218.735,317.488c3.835-17.036,19.089-29.8,37.265-29.8c18.177,0,33.43,12.764,37.265,29.8H218.735z"/></g></g><g><g><circle cx="326.744" cy="267.215" r="8.394"/></g></g><g><g><circle cx="185.257" cy="267.215" r="8.394"/></g></g></svg>' ); 30 30 add_menu_page( 31 31 __( 'Magic robots.txt', 'magic-robots-txt' ) . ' - ' . __( 'Settings', 'magic-robots-txt' ), // Page title. -
magic-robots-txt/trunk/magic-robots-txt.php
r3061609 r3061689 4 4 * Plugin URI: https://taller.abcdatos.net/robots-txt-wordpress/ 5 5 * Description: Manages robots access control via robots.txt 6 * Version: 1.0.6 -dev6 * Version: 1.0.6 7 7 * Author: ABCdatos 8 8 * Author URI: https://taller.abcdatos.net/ -
magic-robots-txt/trunk/readme.txt
r3061609 r3061689 4 4 Requires at least: 4.2 5 5 Tested up to: 6.5 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 Requires PHP: 5.4 8 8 License: GPLv2 … … 17 17 You'll need less than a minute to set your site characteristics and get a customized robots.txt configuration installed, matching your needs and easily updated without headaches. Let us to apply our experience in maintaining and optimizing sites. A clear knowledge of what we want to do and why, moved us to change the decission method from human created robots.txt to an automated system, things are simpler as they seems. Here comes to help this plugin, doing all the magic for you. 18 18 19 Some of your site specs will be automatically detected to reduce the manual config needs to the minimum. A few simple questions about your site will be enough tto vast majority of sites.19 Some of your site specs will be automatically detected to reduce the manual config needs to the minimum. A few simple questions about your site will be enough to vast majority of sites. 20 20 21 21 == Update procedure == … … 26 26 27 27 1. Upload files to the /wp-content/plugins/magic-robots-txt directory or install plugin directlly through the Plugins menu of your WordPress. 28 1. Activate the plugin through the Plugins menu of your WordPress.29 1. Go to Magic robots.txt settings from the WordPress admin menu to configure the plugin.30 1. Adjust settings to fit your site or maintain the selected defaults and press at Save changes.28 2. Activate the plugin through the Plugins menu of your WordPress. 29 3. Go to Magic robots.txt settings from the WordPress admin menu to configure the plugin. 30 4. Adjust settings to fit your site or maintain the selected defaults and press at Save changes. 31 31 32 32 == Frequently Asked Questions == … … 95 95 == Changelog == 96 96 97 = 1.0.6 =98 *Mar 30 2024* 99 * Forced physical file when running preview at https://playground.wordpress.net/ 97 = 1.0.6 - March 31, 2024 = 98 - Fixed plugin menu icon issue. 99 - Implemented physical file loading when running preview at [https://playground.wordpress.net/](https://playground.wordpress.net/) 100 100 101 = 1.0.5 = 102 *Mar 30 2024* 103 * Changed the required capability to access the settings page. 104 * Improved settings update mechanism for conditional real robots.txt file generation. 105 * Minor code improvements. 106 * WordPress 6.5 basic compatibility checked. 101 = 1.0.5 - March 30, 2024 = 102 - Changed the required capability to access the settings page. 103 - Improved settings update mechanism for conditional real robots.txt file generation. 104 - Minor code improvements. 105 - WordPress 6.5 basic compatibility checked. 107 106 108 = 1.0.4 = 109 *Jan 07 2024* 110 * Added Owler (Open Web Search) to search engines bot list. 111 * Added netEstate NE Crawler (Sengine) to search engines bot list. 112 * WordPress 6.4 basic compatibility checked. 107 = 1.0.4 - January 7, 2024 = 108 - Added Owler (Open Web Search) to search engines bot list. 109 - Added netEstate NE Crawler (Sengine) to search engines bot list. 110 - WordPress 6.4 basic compatibility checked. 113 111 114 = 1.0.3 = 115 *Sep 18 2023* 116 * WordPress 6.3 basic compatibility checked. 117 * Better load average availability testing. 118 * Changes in real robots.txt file manegement procedure. 119 * Improved source code styling and documentation. 120 * Added Amazonbot to abusive bots list. 112 = 1.0.3 - September 18, 2023 = 113 - WordPress 6.3 basic compatibility checked. 114 - Better load average availability testing. 115 - Changes in real robots.txt file management procedure. 116 - Improved source code styling and documentation. 117 - Added Amazonbot to abusive bots list. 121 118 122 = 1.0.2 = 123 *Jan 06 2023* 124 * Added "Google Listings & Ads" as not advertising indicator plugin. 125 * Added omgili and barkrowler to link analyzers bots list. 126 * Added MojeekBot, PetalBot, SeekportBot and Neevabot to search engines bot list. 127 * Added CriteoBot/0.1 and grapeshot to ad networks bot list. 128 * Added VelenPublicWebCrawler, AwarioBot, AwarioRssBot and AwarioSmartBot to abusive bot list. 129 * Untranslatable strings corrections. 130 * Corrected paths for allow and disallow in subdirectory installatons. 119 = 1.0.2 - January 6, 2023 = 120 - Added "Google Listings & Ads" as not advertising indicator plugin. 121 - Added omgili and barkrowler to link analyzers bots list. 122 - Added MojeekBot, PetalBot, SeekportBot and Neevabot to search engines bot list. 123 - Added CriteoBot/0.1 and grapeshot to ad networks bot list. 124 - Added VelenPublicWebCrawler, AwarioBot, AwarioRssBot and AwarioSmartBot to abusive bot list. 125 - Untranslatable strings corrections. 126 - Corrected paths for allow and disallow in subdirectory installatons. 131 127 132 = 1.0.1 = 133 *Nov 20 2022* 134 * Syntax corrections. 135 * Untranslatable strings corrections. 128 = 1.0.1 - November 20, 2022 = 129 - Syntax corrections. 130 - Untranslatable strings corrections. 136 131 137 = 1.0.0 = 138 *Nov 13 2022* 139 * First public version. 132 = 1.0.0 . November 13, 2022 = 133 - First public version. 140 134 141 135 == Upgrade Notice == 142 136 143 = 1.0.0 = 144 * First public version. 137 = 1.0.2 = 138 - Correction for subdirectory WordPress installation. 139 - More robots supported. 145 140 146 = 1.0.2 =147 * Correction for subdirectory WordPress installation.148 * More robots supported.149
Note: See TracChangeset
for help on using the changeset viewer.