Opened 8 years ago
Last modified 2 months ago
#43842 new enhancement
get_children() function enhancement.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Query | Keywords: | has-patch needs-refresh reporter-feedback |
| Focuses: | Cc: |
Description
This get_children function can be rewritten this way. And I think this is cleaner and better.
Attachments (1)
Change History (3)
#2
@
2 months ago
- Keywords needs-refresh reporter-feedback added; needs-testing removed
I attempted to apply the attached patch (43842.diff) against current trunk (7.0-alpha), but it does not apply cleanly.
Patch results:
- src/wp-includes/post.php → hunk failed (.rej created)
Since the patch cannot be applied, testing is not currently possible. Because of this, keeping needs-testing is not meaningful until the patch is refreshed and rebased to trunk.
Removing needs-testing and adding needs-refresh.
Also noting that this ticket is quite old (~8 years) and proposes a refactor/cleanup rather than addressing a regression. It would be helpful to get reporter/maintainer feedback on whether this enhancement is still needed before investing time refreshing the patch.
The refactored get_children function patch.