Re-introduce data_wp_context() with _deprecated_function() call by georgestephanis · Pull Request #59834 · WordPress/gutenberg (original) (raw)
Following its removal in WordPress#59465 and release in Gutenberg 17.9, this can potentially result in fatal errors on sites where plugins or themes are calling data_wp_context() instead of the newer function name.
This should backfill it in, and provide a reminder to update to the newer function.
Co-Authored-By: Carlos Bravo 37012961+c4rl0sbr4v0@users.noreply.github.com
Co-Authored-By: Carlos Bravo 37012961+c4rl0sbr4v0@users.noreply.github.com
carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request
- Re-introduce
data_wp_context()with_deprecated_function()call
Following its removal in WordPress#59465 and release in Gutenberg 17.9, this can potentially result in fatal errors on sites where plugins or themes are calling data_wp_context() instead of the newer function name.
This should backfill it in, and provide a reminder to update to the newer function.
Typo'd version number.
Adding deprecated to phpdoc.
Co-authored-by: georgestephanis georgestephanis@git.wordpress.org Co-authored-by: c4rl0sbr4v0 cbravobernal@git.wordpress.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})