Skip to content

New feature: Primary term - #271

Merged
rilwis merged 5 commits into
masterfrom
primary-term
Aug 22, 2026
Merged

New feature: Primary term#271
rilwis merged 5 commits into
masterfrom
primary-term

Conversation

@doanducanh

@doanducanh doanducanh commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@rilwis rilwis added the enhancement New feature or request label Apr 12, 2026
Comment thread src/PrimaryTerm.php Outdated
Comment thread src/Settings/tabs/general.php Outdated
Comment thread src/PrimaryTerm.php Outdated
Comment thread src/PrimaryTerm.php Outdated
Comment thread src/PrimaryTerm.php
Comment thread src/PrimaryTerm.php Outdated
Comment thread src/PrimaryTerm.php Outdated
Comment thread js/primary-term/block-editor.js Outdated
Comment thread apps.webpack.config.js Outdated
Comment thread src/PrimaryTerm.php Outdated
duc doan and others added 3 commits August 17, 2026 15:34
- Convert block editor JS from IIFE to ES modules with JSX syntax
- Split into components/dropdown.js, components/hooks.js, and index.js
- Use @wordpress/* imports instead of wp.* globals
- Remove Primary Term from feature toggle (always active)
- Improve nonce verification and add proper capability checks
- Fix permalink replacement to match actual term path instead of first term
- Clean up SCSS indentation and formatting
- Use Assets::enqueue_build_js helper for block editor scripts

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Rename filter to `slim_seo_primary_term_rewrite`
- Use string interpolation for permalink paths
- Drop redundant `read_post` capability check
- Type-hint WP_Term/WP_Post imports
- Add comment for PrimaryTerm in Container

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@rilwis
rilwis merged commit b3d57b3 into master Aug 22, 2026
@rilwis
rilwis deleted the primary-term branch August 22, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Primary Category Selection Option

2 participants