Ticket for: Accordions
0
Miro Kresonja
Our site has a lot of roles (1700). In accordions_post_types->add_capability, you loop through all the roles, and remove capabilities whether they exist or not. Please surround these with if statements checking whether role capabilities even exist before removing them. The difference in processing time, for 1700-ish roles, is 4s vs. 0.12s.
0 Subscribers
Submit Answer
0 Answers
