Changeset 2297841
- Timestamp:
- 05/04/2020 04:06:46 PM (6 years ago)
- Location:
- schema-breadcrumbs
- Files:
-
- 6 added
- 2 edited
-
tags/1.5.2 (added)
-
tags/1.5.2/WDPanelAdmin.css (added)
-
tags/1.5.2/WDPanelAdmin.php (added)
-
tags/1.5.2/readme.txt (added)
-
tags/1.5.2/schema-breadcrumbs.php (added)
-
tags/1.5.2/script_link.png (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/schema-breadcrumbs.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-breadcrumbs/trunk/readme.txt
r2280204 r2297841 4 4 Tags: breadcrumb, schema, semantic, google, seo, RDFa, semantic, breadcrumbs 5 5 Requires at least: 2.2 6 Tested up to: 5.4 7 stable tag: 1.5. 16 Tested up to: 5.4.1 7 stable tag: 1.5.2 8 8 9 9 Very easily add breadcrumbs to your site with valid Schema Breadcrumb Markup, this plugin is also a drop-in replacement for RDFa Breadcrumb, just install this and deactivate RDFa Breadcrumb. … … 31 31 32 32 == Changelog == 33 34 = 1.5.2 = 35 * escaping breadcrumb names in schema to avoid errors when text has quotes 33 36 34 37 = 1.5.1 = -
schema-breadcrumbs/trunk/schema-breadcrumbs.php
r2280204 r2297841 3 3 Plugin URI: http://webdesires.co.uk 4 4 Description: Outputs a fully Schema valid breadcrumb 5 Version: 1.5. 15 Version: 1.5.2 6 6 Author: Dean Williams 7 7 Author URI: http://deano.me … … 262 262 "@id": "'.$actual_link.'", 263 263 "url": "'.$actual_link.'", 264 "name": "'. $input.'"264 "name": "'.addslashes($input).'" 265 265 } 266 266 }'; … … 292 292 "@id": "'.$actual_link.'", 293 293 "url": "'.$actual_link.'", 294 "name": "'. $input.'"294 "name": "'.addslashes($input).'" 295 295 } 296 296 }'; … … 357 357 "@id": "'.get_permalink(get_option('page_on_front')).'", 358 358 "url": "'.get_permalink(get_option('page_on_front')).'", 359 "name": "'. $opt['home'].'"359 "name": "'.addslashes($opt['home']).'" 360 360 } 361 361 }'; … … 426 426 "@id": "'.$page_url.'", 427 427 "url": "'.$page_url.'", 428 "name": "'. $page_name.'"428 "name": "'.addslashes($page_name).'" 429 429 } 430 430 }'; … … 459 459 "@id": "'.get_bloginfo('url').'", 460 460 "url": "'.get_bloginfo('url').'", 461 "name": "'. $opt['home'].'"461 "name": "'.addslashes($opt['home']).'" 462 462 } 463 463 }'; … … 530 530 "@id": "'.get_term_link($category->slug, $obj->taxonomies[0]).'", 531 531 "url": "'.get_term_link($category->slug, $obj->taxonomies[0]).'", 532 "name": "'. $category->name.'"532 "name": "'.addslashes($category->name).'" 533 533 } 534 534 }'; … … 590 590 "@id": "'.get_category_link($cat->term_id).'", 591 591 "url": "'.get_category_link($cat->term_id).'", 592 "name": "'. $cat->name.'"592 "name": "'.addslashes($cat->name).'" 593 593 } 594 594 }'; … … 602 602 "@id": "'.get_category_link($cat->term_id).'", 603 603 "url": "'.get_category_link($cat->term_id).'", 604 "name": "'. $cat->name.'"604 "name": "'.addslashes($cat->name).'" 605 605 } 606 606 }'; … … 690 690 "@id": "'.$linker.$link['url'].'", 691 691 "url": "'.$linker.$link['url'].'", 692 "name": "'. $link['title'].'"692 "name": "'.addslashes($link['title']).'" 693 693 } 694 694 }';
Note: See TracChangeset
for help on using the changeset viewer.