Automattic / Automattic/jetpack
do_shortcode: switch to using apply_shortcodes instead
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
**This is something we'll need to implement whenever WordPress 5.4 is the minimum supported version in Jetpack.**
> Themes/Plugins authors and WordPress developers are invited to start using `apply_shortcodes()` instead of `do_shortcode()`.
-- https://make.wordpress.org/core/2020/02/13/wordpress-5-4-introduces-apply-shortcodes-as-an-alias-for-do-shortcode/
Contributor guide
Research direction
Start by checking Jetpack's minimum supported WordPress version and searching the repository for PHP uses of do_shortcode. Confirm which uses are in scope for the WordPress 5.4 requirement, then verify that applicable calls use apply_shortcodes and that the relevant test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100