Re-introduce data_wp_context() with _deprecated_function() call by georgestephanis · Pull Request #59834 · WordPress/gutenberg (original) (raw)

@georgestephanis

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.

cbravobernal

cbravobernal

@georgestephanis @cbravobernal

Co-Authored-By: Carlos Bravo 37012961+c4rl0sbr4v0@users.noreply.github.com

@georgestephanis @cbravobernal

Co-Authored-By: Carlos Bravo 37012961+c4rl0sbr4v0@users.noreply.github.com

cbravobernal

carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request

Mar 27, 2024

…ordPress#59834)

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: 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 }})