[wp-trac] [WordPress Trac] #59892: Deprecated print_emoji_styles produced during embed
WordPress Trac
noreply at wordpress.org
Fri Jan 26 10:46:44 UTC 2024
#59892: Deprecated print_emoji_styles produced during embed
-------------------------------------------------+-------------------------
Reporter: bobbingwide | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4.3
Component: Embeds | Version: 6.4
Severity: normal | Resolution: fixed
Keywords: has-testing-info has-patch has- | Focuses:
unit-tests fixed-major dev-reviewed |
-------------------------------------------------+-------------------------
Comment (by ugyensupport):
Deprecated print_emoji_styles produced during embed
=== Description
print_emoji_styles was deprecated in WordPress 6.4.0.
When WP_DEBUG is true in the target server, then the deprecated message
can be issued during embed processing. This is returned to the browser and
displayed in both the block editor and the front end.
Deprecated: Function print_emoji_styles is deprecated since version 6.4.0!
Use wp_enqueue_emoji_styles instead. in wp-includes\functions.php on line
6031
=== Environment
- WordPress: 6.4.3-RC1
- PHP: 8.0.0
- Server: Apache/2.4.10 (Debian)
- Database: mysqli (Server: 5.5.59-MariaDB-1~wheezy / Client: 5.5.62)
- Browser: Chrome 121.0.0.0 (macOS)
- Theme: Twenty Twenty-Four 1.0
- MU-Plugins: None activated
- Plugins:
* WordPress Beta Tester 3.5.5
=== Steps to Reproduce
1. Open the Sample Page in the frontend.
Copy its URL.
2. Open or create a new post.
3. In the content, add an Embed block.
4. Paste the "Same Page" URL into the text field.
5. Select the "Embed" button.
🐞 Bug occurs.
6. Save or update the post.
7. Refresh the page.
Same 🐞 bug occurs.
Check your server logs. The deprecation is listed.
=== Expected Results
1. ✅ Deprecation is not displayed after the patch
=== Actual Results
1. https://ibb.co/H45TtNK ( WordPress 6.4.3 RC 1 )
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59892#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list