[wp-meta] [Making WordPress.org] #4998: Improvements to plugin page schema

Making WordPress.org noreply at wordpress.org
Mon Feb 3 00:35:10 UTC 2020


#4998: Improvements to plugin page schema
------------------------------+---------------------
 Reporter:  jonoaldersonwp    |       Owner:  (none)
     Type:  defect            |      Status:  new
 Priority:  low               |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  seo               |
------------------------------+---------------------

Comment (by dd32):

 I'm fairly certain that the escaped Slashes isn't an issue as it's a JSON
 literal. But we can pass `JSON_UNESCAPED_SLASHES` to avoid that happening
 if 100% absolutely required.. annoyingly it's a JSON blob that's built up
 using many `wp_json_encode()`'s so i'd be inclined to leave it as-is.

 `Rating` can technically be 0, which I guess represents an unrated plugin,
 Just to randomly pick one of the latest plugins as an example: `https
 ://en-gb.wordpress.org/plugins/tortoiz-feed/`. Shouldn't `worstRating`
 therefor be 0?

 > `url`
 To be clear, that should be added to the `"@type": "SoftwareApplication",`
 node correct?
 Should it be the global WordPress.org domain or the localised one? I'm
 assuming the localised one?

 For reference, implementation is here:
 https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/plugin-directory/class-template.php?marks=16-128#L16

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4998#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list