Changeset 9467
- Timestamp:
- 02/05/2020 05:17:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r9466 r9467 69 69 70 70 $schema = []; 71 72 // Add the BreadcrumbList node.73 $breadcrumb_list = [74 "@context" => "http://schema.org",75 "@type" => "BreadcrumbList",76 "itemListElement" => [77 [78 "@type" => "ListItem",79 "position" => 1,80 "item" => [81 "@id" => "https://wordpress.org/",82 "name" => "WordPress"83 ]84 ],85 [86 "@type" => "ListItem",87 "position" => 2,88 "item" => [89 "@id" => home_url( '/' ),90 "name" => __( 'WordPress Plugins', 'wporg-plugins' ),91 ]92 ]93 ]94 ];95 $schema[] = $breadcrumb_list;96 71 97 72 // Add the Plugin 'SoftwareApplication' node.
Note: See TracChangeset
for help on using the changeset viewer.