Changeset 1674788
- Timestamp:
- 06/09/2017 01:38:00 PM (9 years ago)
- Location:
- multisite-robotstxt-manager
- Files:
-
- 6 edited
- 11 copied
-
tags/1.0.12 (copied) (copied from multisite-robotstxt-manager/trunk)
-
tags/1.0.12/classes/class-cleaner.php (copied) (copied from multisite-robotstxt-manager/trunk/classes/class-cleaner.php) (1 diff)
-
tags/1.0.12/classes/class-extended.php (copied) (copied from multisite-robotstxt-manager/trunk/classes/class-extended.php) (1 diff)
-
tags/1.0.12/classes/class-network.php (copied) (copied from multisite-robotstxt-manager/trunk/classes/class-network.php)
-
tags/1.0.12/classes/class-presets.php (copied) (copied from multisite-robotstxt-manager/trunk/classes/class-presets.php)
-
tags/1.0.12/classes/class-website.php (copied) (copied from multisite-robotstxt-manager/trunk/classes/class-website.php)
-
tags/1.0.12/multisite-robotstxt-manager.php (copied) (copied from multisite-robotstxt-manager/trunk/multisite-robotstxt-manager.php) (2 diffs)
-
tags/1.0.12/readme.txt (copied) (copied from multisite-robotstxt-manager/trunk/readme.txt) (2 diffs)
-
tags/1.0.12/templates/cleaner.php (copied) (copied from multisite-robotstxt-manager/trunk/templates/cleaner.php)
-
tags/1.0.12/templates/header.php (modified) (1 diff)
-
tags/1.0.12/templates/network.php (copied) (copied from multisite-robotstxt-manager/trunk/templates/network.php)
-
tags/1.0.12/templates/sidebar.php (copied) (copied from multisite-robotstxt-manager/trunk/templates/sidebar.php)
-
trunk/classes/class-cleaner.php (modified) (1 diff)
-
trunk/classes/class-extended.php (modified) (1 diff)
-
trunk/multisite-robotstxt-manager.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multisite-robotstxt-manager/tags/1.0.12/classes/class-cleaner.php
r1643245 r1674788 287 287 delete_option( 'rewrite_rules' ); 288 288 update_option( 'rewrite_rules', $rules ); 289 290 // Flush Rules291 flush_rewrite_rules();292 289 } 293 290 -
multisite-robotstxt-manager/tags/1.0.12/classes/class-extended.php
r1644353 r1674788 165 165 } 166 166 167 // ThrowMessage167 // Set Message 168 168 if ( ! empty( $message ) ) { 169 169 // Set Message Type, Default Error 170 170 $type = ( $notice_type == "updated" ) ? "updated" : "error"; 171 171 172 // Return Message 173 add_settings_error( $slug, $slug, $message, $type ); 172 // Create Message Option 173 update_option( $this->option_name . 'message', array( 'type' => $type, 'message' => $message ), 'no' ); 174 175 // Throw Notice 176 add_action( 'network_admin_notices', array( $this, 'notice' ) ); 177 add_action( 'admin_notices', array( $this, 'notice' ) ); 178 } 179 } 180 181 182 /** 183 * @about Display Messages To User 184 */ 185 final public function notice() 186 { 187 // Get Message 188 $notice = get_option( $this->option_name . 'message' ); 189 190 if ( $notice && is_array( $notice ) ) { 191 // Delete Message 192 delete_option( $this->option_name . 'message' ); 193 194 // Message HTML 195 echo '<div class="' . esc_html( $notice['type'] ) . ' notice is-dismissible">'; 196 echo '<p><strong>' . esc_html( $notice['message'] ) . '</strong></p>'; 197 echo '<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>'; 174 198 } 175 199 } -
multisite-robotstxt-manager/tags/1.0.12/multisite-robotstxt-manager.php
r1644353 r1674788 5 5 * Description: A Multisite Network Robots.txt Manager. Quickly manage your Network Websites robots.txt files from a single administration area. 6 6 * Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, wpmu, multisite, technerdia, tribalnerd 7 * Version: 1.0.1 17 * Version: 1.0.12 8 8 * License: GNU GPLv3 9 9 * Copyright (c) 2017 Chris Winters … … 24 24 'MS_ROBOTSTXT_MANAGER' => true, 25 25 'MS_ROBOTSTXT_MANAGER_BASE_URL' => get_bloginfo( 'url' ), 26 'MS_ROBOTSTXT_MANAGER_VERSION' => '1.0.1 1',26 'MS_ROBOTSTXT_MANAGER_VERSION' => '1.0.12', 27 27 'MS_ROBOTSTXT_MANAGER_WP_MIN_VERSION' => '3.8', 28 28 -
multisite-robotstxt-manager/tags/1.0.12/readme.txt
r1644353 r1674788 4 4 Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, mu, multisite, technerdia, tribalnerd 5 5 Requires at least: 3.8 6 Tested up to: 4. 7.47 Stable tag: 1.0.1 16 Tested up to: 4.8 7 Stable tag: 1.0.12 8 8 License: GNU GPLv3 9 9 License URI: https://github.com/tribalNerd/ptt-manager/blob/master/LICENSE … … 259 259 * Search For Others: http://wordpress.org/extend/plugins/search.php?q=multisite+sitemap 260 260 261 For "real"Multisite HOST Networks, use the WordPress plugin: BWP Google XML Sitemaps - This plugin will list each Websites Sitemap URL's in the Root Network Website's robots.txt file.261 Multisite HOST Networks, use the WordPress plugin: BWP Google XML Sitemaps - This plugin will list each Websites Sitemap URL's in the Root Network Website's robots.txt file. 262 262 263 263 264 264 == Changelog == 265 266 = 1.0.12 2017-9-6 = 267 268 * Tested: Wordpress Version 4.8 269 * Changed: Network & Admin Area Plugin Update Notice Handler. 270 * Fixed: Remove Rewrite Rule Flush After Correcting Rewrite Rules. 265 271 266 272 = 1.0.11 2017-24-4 = -
multisite-robotstxt-manager/tags/1.0.12/templates/header.php
r1623330 r1674788 4 4 5 5 <div class="wrap"> 6 <h2><span class="dashicons dashicons-category"></span> <?php echo MS_ROBOTSTXT_MANAGER_PAGE_NAME;?></h2>6 <h2><span class="dashicons dashicons-category"></span> <?php echo $this->plugin_name;?></h2> 7 7 8 8 <?php echo $this->tabs();?> -
multisite-robotstxt-manager/trunk/classes/class-cleaner.php
r1643245 r1674788 287 287 delete_option( 'rewrite_rules' ); 288 288 update_option( 'rewrite_rules', $rules ); 289 290 // Flush Rules291 flush_rewrite_rules();292 289 } 293 290 -
multisite-robotstxt-manager/trunk/classes/class-extended.php
r1644353 r1674788 165 165 } 166 166 167 // ThrowMessage167 // Set Message 168 168 if ( ! empty( $message ) ) { 169 169 // Set Message Type, Default Error 170 170 $type = ( $notice_type == "updated" ) ? "updated" : "error"; 171 171 172 // Return Message 173 add_settings_error( $slug, $slug, $message, $type ); 172 // Create Message Option 173 update_option( $this->option_name . 'message', array( 'type' => $type, 'message' => $message ), 'no' ); 174 175 // Throw Notice 176 add_action( 'network_admin_notices', array( $this, 'notice' ) ); 177 add_action( 'admin_notices', array( $this, 'notice' ) ); 178 } 179 } 180 181 182 /** 183 * @about Display Messages To User 184 */ 185 final public function notice() 186 { 187 // Get Message 188 $notice = get_option( $this->option_name . 'message' ); 189 190 if ( $notice && is_array( $notice ) ) { 191 // Delete Message 192 delete_option( $this->option_name . 'message' ); 193 194 // Message HTML 195 echo '<div class="' . esc_html( $notice['type'] ) . ' notice is-dismissible">'; 196 echo '<p><strong>' . esc_html( $notice['message'] ) . '</strong></p>'; 197 echo '<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>'; 174 198 } 175 199 } -
multisite-robotstxt-manager/trunk/multisite-robotstxt-manager.php
r1644353 r1674788 5 5 * Description: A Multisite Network Robots.txt Manager. Quickly manage your Network Websites robots.txt files from a single administration area. 6 6 * Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, wpmu, multisite, technerdia, tribalnerd 7 * Version: 1.0.1 17 * Version: 1.0.12 8 8 * License: GNU GPLv3 9 9 * Copyright (c) 2017 Chris Winters … … 24 24 'MS_ROBOTSTXT_MANAGER' => true, 25 25 'MS_ROBOTSTXT_MANAGER_BASE_URL' => get_bloginfo( 'url' ), 26 'MS_ROBOTSTXT_MANAGER_VERSION' => '1.0.1 1',26 'MS_ROBOTSTXT_MANAGER_VERSION' => '1.0.12', 27 27 'MS_ROBOTSTXT_MANAGER_WP_MIN_VERSION' => '3.8', 28 28 -
multisite-robotstxt-manager/trunk/readme.txt
r1644353 r1674788 4 4 Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, mu, multisite, technerdia, tribalnerd 5 5 Requires at least: 3.8 6 Tested up to: 4. 7.47 Stable tag: 1.0.1 16 Tested up to: 4.8 7 Stable tag: 1.0.12 8 8 License: GNU GPLv3 9 9 License URI: https://github.com/tribalNerd/ptt-manager/blob/master/LICENSE … … 259 259 * Search For Others: http://wordpress.org/extend/plugins/search.php?q=multisite+sitemap 260 260 261 For "real"Multisite HOST Networks, use the WordPress plugin: BWP Google XML Sitemaps - This plugin will list each Websites Sitemap URL's in the Root Network Website's robots.txt file.261 Multisite HOST Networks, use the WordPress plugin: BWP Google XML Sitemaps - This plugin will list each Websites Sitemap URL's in the Root Network Website's robots.txt file. 262 262 263 263 264 264 == Changelog == 265 266 = 1.0.12 2017-9-6 = 267 268 * Tested: Wordpress Version 4.8 269 * Changed: Network & Admin Area Plugin Update Notice Handler. 270 * Fixed: Remove Rewrite Rule Flush After Correcting Rewrite Rules. 265 271 266 272 = 1.0.11 2017-24-4 = -
multisite-robotstxt-manager/trunk/templates/header.php
r1623330 r1674788 4 4 5 5 <div class="wrap"> 6 <h2><span class="dashicons dashicons-category"></span> <?php echo MS_ROBOTSTXT_MANAGER_PAGE_NAME;?></h2>6 <h2><span class="dashicons dashicons-category"></span> <?php echo $this->plugin_name;?></h2> 7 7 8 8 <?php echo $this->tabs();?>
Note: See TracChangeset
for help on using the changeset viewer.