Plugin Directory

Changeset 1492906


Ignore:
Timestamp:
09/08/2016 11:42:55 PM (10 years ago)
Author:
tribalNerd
Message:

Version 1.0.6

Location:
multisite-robotstxt-manager
Files:
3 deleted
5 edited
17 copied

Legend:

Unmodified
Added
Removed
  • multisite-robotstxt-manager/tags/1.0.6/includes/class_admin.php

    r1492883 r1492906  
    116116                // Set Post Action Redirect
    117117                if ( filter_input( INPUT_POST, 'ms_robotstxt_manager' ) ) {
    118                     add_action( 'wp_loaded', array( &$this, 'pluginRedirect' ) );
     118                    //add_action( 'wp_loaded', array( &$this, 'pluginRedirect' ) );
    119119                }
    120120            }
     
    614614
    615615                    // Current Admin User
    616                     get_currentuserinfo();
     616                    $current_user = wp_get_current_user();
    617617                    $this_admin_user = $current_user->ID;
    618618
     
    648648                        // Update Website
    649649                        $this->updateNetworkWebsites();
     650                    }
    650651
    651652                    // Display Message
    652653                    $this->throwMessage( 'networkglobalupdated', 'updated' );
    653                     }
    654654                }
    655655            }
  • multisite-robotstxt-manager/tags/1.0.6/includes/class_helper.php

    r1492883 r1492906  
    227227
    228228            // Return the url or empty if no sitemap
    229             return $sitemap_url = ( ! empty( $url ) ) ? 'Sitemap: ' . $url : 'No Sitemap Found';
     229            return $sitemap_url = ( ! empty( $url ) ) ? 'Sitemap: ' . $url : '';
    230230        }
    231231
  • multisite-robotstxt-manager/tags/1.0.6/multisite-robotstxt-manager.php

    r1492883 r1492906  
    55 * Description: A Multisite Network Robots.txt Manager. Quickly manage your Network Websites robots.txt files from a single administration area.
    66 * Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, wpmu, multisite, technerdia, tribalnerd
    7  * Version: 1.0.5
     7 * Version: 1.0.6
    88 * License: GPL
    99 * Copyright (c) 2016, techNerdia LLC.
     
    2828    MsRobotstxtManagerConstants( Array(
    2929        'MS_ROBOTSTXT_MANAGER_BASE_URL'         => get_bloginfo( 'url' ),
    30         'MS_ROBOTSTXT_MANAGER_VERSION'          => '1.0.5',
     30        'MS_ROBOTSTXT_MANAGER_VERSION'          => '1.0.6',
    3131        'MS_ROBOTSTXT_MANAGER_WP_MIN_VERSION'   => '3.8',
    3232
  • multisite-robotstxt-manager/tags/1.0.6/readme.txt

    r1492883 r1492906  
    66Requires at least: 3.8
    77Tested up to: 4.6.0
    8 Stable tag: 1.0.5
     8Stable tag: 1.0.6
    99
    1010
     
    305305
    306306== Changelog ==
     307
     308= 1.0.6 =
     309* Bug: Corrected class_helper->getSitemapUrl() - printing "No Sitemap Found" in robots.txt files
     310* Bug: Moved class_admin->updateNetwork()->throwMessage() outside of foreach when updating the network
     311* Adjusted templates/home.php to display No Sitemap Found within input field
    307312
    308313= 1.0.5 =
  • multisite-robotstxt-manager/tags/1.0.6/templates/home.php

    r1489846 r1492906  
    7272        <?php }?>
    7373
    74         <?php if ( ! empty( $get_sitemap_url ) ) {?>
    75             <tr>
    76                 <td class="textright"><b><?php _e( 'Add Sitemap URL', 'multisite-robotstxt-manager' );?>:</b></td>
    77                 <td class="textcenter"><input type="text" name="sitemap_url" value="<?php echo $get_sitemap_url;?>" style="width:98%" onclick="select()" /></td>
    78             </tr>
    79         <?php }?>
     74        <tr>
     75            <td class="textright"><b><?php _e( 'Add Sitemap URL', 'multisite-robotstxt-manager' );?>:</b></td>
     76            <td class="textcenter"><input type="text" name="sitemap_url" value="<?php if ( empty( $get_sitemap_url ) ) { _e( 'No Sitemap Found' ); } else { echo $get_sitemap_url; }?>" style="width:98%" onclick="select()" /></td>
     77        </tr>
    8078    </table>
    8179
  • multisite-robotstxt-manager/trunk/includes/class_admin.php

    r1492883 r1492906  
    116116                // Set Post Action Redirect
    117117                if ( filter_input( INPUT_POST, 'ms_robotstxt_manager' ) ) {
    118                     add_action( 'wp_loaded', array( &$this, 'pluginRedirect' ) );
     118                    //add_action( 'wp_loaded', array( &$this, 'pluginRedirect' ) );
    119119                }
    120120            }
     
    614614
    615615                    // Current Admin User
    616                     get_currentuserinfo();
     616                    $current_user = wp_get_current_user();
    617617                    $this_admin_user = $current_user->ID;
    618618
     
    648648                        // Update Website
    649649                        $this->updateNetworkWebsites();
     650                    }
    650651
    651652                    // Display Message
    652653                    $this->throwMessage( 'networkglobalupdated', 'updated' );
    653                     }
    654654                }
    655655            }
  • multisite-robotstxt-manager/trunk/includes/class_helper.php

    r1492883 r1492906  
    227227
    228228            // Return the url or empty if no sitemap
    229             return $sitemap_url = ( ! empty( $url ) ) ? 'Sitemap: ' . $url : 'No Sitemap Found';
     229            return $sitemap_url = ( ! empty( $url ) ) ? 'Sitemap: ' . $url : '';
    230230        }
    231231
  • multisite-robotstxt-manager/trunk/multisite-robotstxt-manager.php

    r1492883 r1492906  
    55 * Description: A Multisite Network Robots.txt Manager. Quickly manage your Network Websites robots.txt files from a single administration area.
    66 * Tags: robotstxt, robots.txt, robots, robot, spiders, virtual, search, google, seo, plugin, network, wpmu, multisite, technerdia, tribalnerd
    7  * Version: 1.0.5
     7 * Version: 1.0.6
    88 * License: GPL
    99 * Copyright (c) 2016, techNerdia LLC.
     
    2828    MsRobotstxtManagerConstants( Array(
    2929        'MS_ROBOTSTXT_MANAGER_BASE_URL'         => get_bloginfo( 'url' ),
    30         'MS_ROBOTSTXT_MANAGER_VERSION'          => '1.0.5',
     30        'MS_ROBOTSTXT_MANAGER_VERSION'          => '1.0.6',
    3131        'MS_ROBOTSTXT_MANAGER_WP_MIN_VERSION'   => '3.8',
    3232
  • multisite-robotstxt-manager/trunk/readme.txt

    r1492883 r1492906  
    66Requires at least: 3.8
    77Tested up to: 4.6.0
    8 Stable tag: 1.0.5
     8Stable tag: 1.0.6
    99
    1010
     
    305305
    306306== Changelog ==
     307
     308= 1.0.6 =
     309* Bug: Corrected class_helper->getSitemapUrl() - printing "No Sitemap Found" in robots.txt files
     310* Bug: Moved class_admin->updateNetwork()->throwMessage() outside of foreach when updating the network
     311* Adjusted templates/home.php to display No Sitemap Found within input field
    307312
    308313= 1.0.5 =
  • multisite-robotstxt-manager/trunk/templates/home.php

    r1489846 r1492906  
    7272        <?php }?>
    7373
    74         <?php if ( ! empty( $get_sitemap_url ) ) {?>
    75             <tr>
    76                 <td class="textright"><b><?php _e( 'Add Sitemap URL', 'multisite-robotstxt-manager' );?>:</b></td>
    77                 <td class="textcenter"><input type="text" name="sitemap_url" value="<?php echo $get_sitemap_url;?>" style="width:98%" onclick="select()" /></td>
    78             </tr>
    79         <?php }?>
     74        <tr>
     75            <td class="textright"><b><?php _e( 'Add Sitemap URL', 'multisite-robotstxt-manager' );?>:</b></td>
     76            <td class="textcenter"><input type="text" name="sitemap_url" value="<?php if ( empty( $get_sitemap_url ) ) { _e( 'No Sitemap Found' ); } else { echo $get_sitemap_url; }?>" style="width:98%" onclick="select()" /></td>
     77        </tr>
    8078    </table>
    8179
Note: See TracChangeset for help on using the changeset viewer.