Wordpress/tests
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
2017-05-20 02:23:00 +00:00
..
phpunit Media: Decode HTML entities in author_name before sending to JS. 2017-05-20 02:23:00 +00:00
qunit Widgets: Use "Add Audio" for button in Audio widget instead of generic "Add File". 2017-05-18 18:33:57 +00:00