[wp-trac] [WordPress Trac] #48008: 'Illegal string offset \'display_name\'',
WordPress Trac
noreply at wordpress.org
Wed Sep 11 04:59:56 UTC 2019
#48008: 'Illegal string offset \'display_name\'',
--------------------------+----------------------
Reporter: j3gaming | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 5.2.3
Severity: minor | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by garrett-eclipse):
* status: reopened => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Thanks Dion, I appreciate you feeding back here and agree it's been a long
time so back-compat would be a little late.
I'm reclosing as `wontfix` with a note to developers;
If replacing `plugins_api` with custom `contributors` ensure the format is
as follows;
{{{
"contributors": {
"username": {
"profile": "https:\/\/profiles.wordpress.org\/username",
"avatar":
"https:\/\/secure.gravatar.com\/avatar\/XXX?s=96&d=monsterid&r=g",
"display_name":"Display Name"
}
}
}}}
*Using the username as key and supplying the `profile` (URL), `avatar`(IMG
URL) and `display_name` as children.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48008#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list