Support » Plugin: Google XML Sitemaps » [Plugin: Google XML Sitemaps] sitemap plugin generates admin URLS in wp_footer()

  • Hi,

    I just noticed something strange.

    Whenever the XML Sitemap plugin is enabled, I get a lot of additional and unwanted admin related URL’s in the <?php wp_footer(); ?> piece of code, in footer.php file. I had to remove that line of code to removce the links.

    Wht do these links show up in the first place?

    These are the (modified for security reasons) links:

    <div id="wp-footer">
    	        <script type='text/javascript' src='http://mydomain.tld/wp-includes/js/admin-bar.js?ver=20111130'></script>
    		<div id="wpadminbar" class="nojq nojs" role="navigation">
    
    			<div class="quicklinks">
    				<ul id="wp-admin-bar-root-default" class="ab-top-menu">
    		<li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://mydomain.tld/wp-admin/about.php" title="About WordPress"><span class="ab-icon"></span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
    		<li id="wp-admin-bar-about" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/about.php">About WordPress</a>		</li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
    		<li id="wp-admin-bar-wporg" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org">WordPress.org</a>		</li>
    		<li id="wp-admin-bar-documentation" class=""><a class="ab-item" tabindex="10" href="http://codex.wordpress.org">Documentation</a>		</li>
    
    		<li id="wp-admin-bar-support-forums" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org/support/">Support Forums</a>		</li>
    		<li id="wp-admin-bar-feedback" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org/support/forum/requests-and-feedback">Feedback</a>		</li></ul></div>		</li>
    		<li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://mydomain.tld/wp-admin/">Care Line Group</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
    		<li id="wp-admin-bar-dashboard" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/">Dashboard</a>		</li></ul><ul id="wp-admin-bar-appearance" class=" ab-submenu">
    		<li id="wp-admin-bar-themes" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/themes.php">Themes</a>		</li>
    
    		<li id="wp-admin-bar-widgets" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/widgets.php">Widgets</a>		</li>
    		<li id="wp-admin-bar-menus" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/nav-menus.php">Menus</a>		</li></ul></div>		</li>
    		<li id="wp-admin-bar-comments" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/edit-comments.php" title="0 comments awaiting moderation"><span class="ab-icon"></span><span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-0">0</span></a>		</li>
    		<li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://mydomain.tld/wp-admin/post-new.php" title="Add New"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
    		<li id="wp-admin-bar-new-post" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/post-new.php">Post</a>		</li>
    
    		<li id="wp-admin-bar-new-media" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/media-new.php">Media</a>		</li>
    		<li id="wp-admin-bar-new-link" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/link-add.php">Link</a>		</li>
    		<li id="wp-admin-bar-new-page" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/post-new.php?post_type=page">Page</a>		</li>
    		<li id="wp-admin-bar-new-feedback" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/post-new.php?post_type=feedback">Feedback</a>		</li>
    		<li id="wp-admin-bar-new-user" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/user-new.php">User</a>		</li></ul></div>		</li>
    
    		<li id="wp-admin-bar-edit" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/post.php?post=440&action=edit">Edit Post</a>		</li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
    		<li id="wp-admin-bar-search" class=" admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://mydomain.tld/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" tabindex="10" type="text" value="" maxlength="150" /><input type="submit" class="adminbar-button" value="Search"/></form></div>		</li>
    		<li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://mydomain.tld/wp-admin/profile.php" title="My Account">Howdy, Petra<img alt='' src='http://0.gravatar.com/avatar/4b89f7fec45d01d13dd7aef52081b464?s=16&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a122452573673D16&r=G' class='avatar avatar-16 photo' height='16' width='16' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class=" ab-submenu">
    		<li id="wp-admin-bar-user-info" class=""><a class="ab-item" tabindex="-1" href="http://mydomain.tld/wp-admin/profile.php"><img alt='' src='http://0.gravatar.com/avatar/4b89f7fec45d01d13dd7aef52081b464?s=64&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a122452573673D64&r=G' class='avatar avatar-64 photo' height='64' width='64' /><span class='display-name'>Petra</span></a>		</li>
    		<li id="wp-admin-bar-edit-profile" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-admin/profile.php">Edit My Profile</a>		</li>
    
    		<li id="wp-admin-bar-logout" class=""><a class="ab-item" tabindex="10" href="http://mydomain.tld/wp-login.php?action=logout&_wpnonce=1dfbdfc569">Log Out</a>		</li></ul></div>		</li></ul>			</div>
    		</div>

    http://wordpress.org/extend/plugins/google-sitemap-generator/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Google XML Sitemaps] sitemap plugin generates admin URLS in wp_footer()’ is closed to new replies.