Changeset 1957075
- Timestamp:
- 10/15/2018 06:38:25 PM (7 years ago)
- Location:
- schema-app-structured-data-for-schemaorg/trunk
- Files:
-
- 5 edited
-
hunch-schema.php (modified) (1 diff)
-
lib/HunchSchema/Page.php (modified) (1 diff)
-
lib/HunchSchema/Post.php (modified) (1 diff)
-
lib/HunchSchema/Thing.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-app-structured-data-for-schemaorg/trunk/hunch-schema.php
r1927492 r1957075 5 5 * Plugin URI: http://www.schemaapp.com 6 6 * Description: This plugin adds http://schema.org structured data to your website 7 * Version: 1.10. 17 * Version: 1.10.2 8 8 * Author: Hunch Manifest 9 9 * Author URI: https://www.hunchmanifest.com -
schema-app-structured-data-for-schemaorg/trunk/lib/HunchSchema/Page.php
r1911175 r1957075 39 39 ( 40 40 '@type' => 'WebPage', 41 '@id' => $Permalink ,41 '@id' => $Permalink . '#' . $this->schemaType, 42 42 ), 43 43 'headline' => get_the_title(), -
schema-app-structured-data-for-schemaorg/trunk/lib/HunchSchema/Post.php
r1911175 r1957075 15 15 16 16 $this->schema['@type'] = ! empty( $this->Settings['SchemaDefaultTypePost'] ) ? $this->Settings['SchemaDefaultTypePost'] : 'BlogPosting'; 17 $this->schema['mainEntityOfPage']['@id'] = get_permalink() . '#' . $this->schema['@type']; 17 18 18 19 -
schema-app-structured-data-for-schemaorg/trunk/lib/HunchSchema/Thing.php
r1911175 r1957075 260 260 $Author = array( 261 261 '@type' => 'Person', 262 '@id' => esc_url(get_author_posts_url(get_the_author_meta('ID', $post->post_author))) . '#Person', 262 263 'name' => get_the_author_meta('display_name', $post->post_author), 263 264 'url' => esc_url(get_author_posts_url(get_the_author_meta('ID', $post->post_author))), … … 409 410 { 410 411 // https?://(?:[0-9A-Z-]+\.)?(?:youtu\.be/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])([\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:[\'"][^<>]*>|</a>))[?=&+%\w.-]* 411 preg_match_all( '~https?://(?:[0-9A-Z-]+\.)?(?:youtu\.be/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])([\w-]{11})(?=[^\w-]|$)[?=&+%\w.-]*~im', $String, $Matches ); 412 // https?://(?:[0-9A-Z-]+\.)?(?:youtu\.be/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])([\w-]{11})(?=[^\w-]|$)[?=&+%\w.-]* 413 preg_match_all( '~https?://(?:www\.)?(?:youtu\.be/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])([\w-]{11})(?=[^\w-]|$)[?=&+%\w.-]*~im', $String, $Matches ); 412 414 413 415 if ( isset( $Matches[1] ) && count( $Matches[1] ) ) -
schema-app-structured-data-for-schemaorg/trunk/readme.txt
r1927492 r1957075 6 6 Author: Mark van Berkel (vberkel) 7 7 Requires at least: 3.5 8 Tested up to: 4.9. 79 Stable tag: 1.10. 18 Tested up to: 4.9.8 9 Stable tag: 1.10.2 10 10 License: GPL2 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 84 84 85 85 == Changelog == 86 = 1.10.2 = 87 - Fix, VideoObject markup generated from Youtube images 88 - Improve, Use #Class based @id's to prevent collisions 89 86 90 = 1.10.1 = 87 91 - Fix, Yoast Wordpress SEO breadcrumblist @id collisions
Note: See TracChangeset
for help on using the changeset viewer.