mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-16 10:34:26 +00:00
2a5f7a89016d522239838779e48340fb14e5a160
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
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%