mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Mike Schroder
2a5f7a8901
Media: Decode HTML entities in
author_name
before sending to JS.
In `wp_prepare_attachment_for_js()`: - Normalize behavior when author does not exist by returning '(no author)' for `authorName` in these cases. - Decode HTML entities in `author_name`. - Add tests for both of the above. Props arshidkv12, ocean90, sloisel, mikeschroder. Fixes #39955. git-svn-id: https://develop.svn.wordpress.org/trunk@40809 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%