-
Notifications
You must be signed in to change notification settings - Fork 881
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
Decouple primary term hidden fields #21223
Comments
25 tasks
23 tasks
Works!! 🥳 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Primary category
Saved in post meta data as:
_yoast_wpseo_primary_{taxonomy-name}
primary_{taxonomy_name}
values to ScriptData undermetaData
property (class-post-metabox-formator.php)MetaboxFieldSync
onChange inpackages/js/src/components/PrimaryTaxonomyPicker.js
packages/js/src/initializers/primary-category.js
Reducer
Initializer
Update event listener
Components
Initial state
Register metadata
Tests
Test instuctions
Inspect the the page and look for an input with the id
yoast_wpseo_primary_category
. Manually change it's value to text, zero, or a negative number and save.Refresh the page and inspect the page.
Without the metabox
class-metabox.php
:// add_action( 'add_meta_boxes', [ $this, 'add_meta_box' ] );
The text was updated successfully, but these errors were encountered: