Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed schema test url in AdminBar #79

Merged
merged 2 commits into from

4 participants

@bhubbard

Schema test url was not working. Updated URL to new google richsnippets test url.

bhubbard added some commits
@bhubbard bhubbard Fixed schema test url in AdminBar
Schema test url was not working. Updated URL to new google richsnippets url.
c6a09d9
@bhubbard bhubbard Switched to urlencode for schema test link d8faeeb
@SleeplessByte

Thank you. Seems good to merge :+1: will run the tests and apply.

@stephenyeargin stephenyeargin referenced this pull request
Closed

404 error message #93

@bhubbard

Any updates on when this can be merged?

@thatmitchcanter

FYI, The same problem is happening on the options page - you may want to check any URLs that go to the Rich Snippet testing page.

@stephenyeargin stephenyeargin merged commit ef7bcf2 into raventools:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 9, 2013
  1. @bhubbard

    Fixed schema test url in AdminBar

    bhubbard authored
    Schema test url was not working. Updated URL to new google richsnippets url.
  2. @bhubbard
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 schema-creator.php
View
4 schema-creator.php
@@ -134,8 +134,8 @@ public function schema_test( $wp_admin_bar ) {
'parent' => 'top-secondary',
'id' => 'schema-test',
'title' => _x('Test Schema', 'test the schema button title', 'schema'),
- 'href' => esc_url( __( 'http://www.google.com/webmasters/tools/richsnippets/', 'schema' ) .
- '?url='.urlencode($link).'&html=' ),
+ 'href' => esc_url( __( 'http://www.google.com/webmasters/tools/richsnippets', 'schema' ) .
+ '?q='.urlencode($link) ),
'meta' => array(
'class' => 'schema-test',
'target' => '_blank'
Something went wrong with that request. Please try again.