[wp-trac] [WordPress Trac] #32068: Excessive overhead in widgets.php on large site
WordPress Trac
noreply at wordpress.org
Thu Apr 23 05:40:14 UTC 2015
#32068: Excessive overhead in widgets.php on large site
----------------------------+------------------------------
Reporter: ronnieg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by ronnieg):
I unregistered the WP default Pages widget with:
function unregister_default_widgets() {
unregister_widget('WP_Widget_Pages'); }
add_action('widgets_init', 'unregister_default_widgets', 11);
As I wanted and expected, the Pages widget is no longer in the Available
Widgets list. However, the functions that get the full list of all pages
are still running, and the page takes 45 seconds to load now that the page
load timeout has been relaxed. Shouldn't the logic that initiates this
process confirm that the Pages widget, the one it is supposedly doing all
of this for, is still registered? Is this a separate bug that needs a new
ticket opened? Or is there some other WP default widget that also thinks
it needs a list of every page on the site?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32068#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list