Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function WPSEO_Metabox::translate_meta_boxes is deprecated since version Yoast SEO 23.5 with no alternative available #1594

Closed
ocean90 opened this issue Oct 2, 2024 · 0 comments · Fixed by #1603 or #1625

Comments

@ocean90
Copy link
Contributor

ocean90 commented Oct 2, 2024

Bug Report

Expected Behavior

No deprecation notice.

Actual Behavior

When opening a post in the editor the following PHP notice is triggered:

Function WPSEO_Metabox::translate_meta_boxes is deprecated since version Yoast SEO 23.5 with no alternative available.	
WPSEO_Metabox::translate_meta_boxes()
  content/plugins/wordpress-seo/admin/metabox/class-metabox.php:176
WP_Stream\Connector_WordPress_SEO->meta()
  content/plugins/stream/connectors/class-connector-wordpress-seo.php:396
WP_Stream\Connector_WordPress_SEO->callback_updated_post_meta()
  content/plugins/stream/connectors/class-connector-wordpress-seo.php:368
WP_Stream\Connector->callback()
  content/plugins/stream/classes/class-connector.php:127
do_action('updated_post_meta')
  wp-includes/plugin.php:517
update_metadata()
  wp-includes/meta.php:336
update_post_meta()
  wp-includes/post.php:2645
wp_set_post_lock()
  wp-admin/includes/post.php:1762

Related: Yoast/wordpress-seo#21559

Used in

\WPSEO_Metabox::translate_meta_boxes();

Steps to Reproduce the Problem

  1. Install latest Yoast SEO plugin (version 23.5)
  2. Install Query Monitor
  3. Edit a post
  4. Notice the doing it wrong in for the the Query Monitor panel.

System Information

  • Stream plugin version: 4.0.2
  • WordPress version: 6.6.2
  • PHP version: 8.2.22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant