Opened 15 years ago
Last modified 6 years ago
#13926 new defect (bug)
Adding 'page-attributes' to a custom post type slows down edit screen in the admin
Reported by: | granulr | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | needs-patch |
Focuses: | Cc: |
Description
When I add 'page-attributes' to a custom post type it takes roughly 1.5 to 2 min for the edit screen to load... When I remove 'page-attributes' edit screen load is extremely fast.
Under the post type i created I have 5000+ entries.
Change History (8)
#2
in reply to:
↑ 1
@
15 years ago
Replying to nacin:
I think it's less the page-attributes part and more the 5000+ entries part.
Sure, but I have another post type that has 15k posts and no problem there... It's extremely fast - but If I add page-attributes to that post type it's kills it
#3
follow-up:
↓ 4
@
15 years ago
Correct. I was referring to the fact that page-attributes on a custom post type in itself is not a performance hit. The issue is 5,000 pages getting fetched and rendered in the parent drop-down, I'd imagine.
Note: See
TracTickets for help on using
tickets.
I think it's less the page-attributes part and more the 5000+ entries part.