Opened 7 months ago
Last modified 5 months ago
#60713 assigned defect (bug)
remove 'array_merge(...)' is used in a loop and is a resources greedy construction. from generate_rewrite_rules
Reported by: | pbearne | Owned by: | pbearne |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Rewrite Rules | Keywords: | has-patch |
Focuses: | performance | Cc: |
Description
Change History (5)
This ticket was mentioned in PR #6236 on WordPress/wordpress-develop by @pbearne.
7 months ago
#2
- Keywords has-patch added
The WP Rewrite class now uses an array chunk approach to handle rewrite rules. It introduces a new array '$rewrite_chucks', which simplifies the handling of rewrite rules and aids readability. The array merge functions for rewriting rules have also been compacted, thereby enhancing the efficiency of the code.
Trac ticket: 60713
This ticket was mentioned in Slack in #core-performance by pbearne. View the logs.
6 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
6 months ago
This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.
5 months ago
Note: See
TracTickets for help on using
tickets.
I made the update but it's not passing all the rewrite tests so I need someone understands rewrite code help debug