Make WordPress Core

Ticket #11549: wp-settings.php.diff

File wp-settings.php.diff, 333 bytes (added by mp2300, 15 years ago)

Diff file to settings.php

Line 
111a12,13
2> global $wpdb, $wp_embed, $wp_widget_factory, $_wp_deprecated_widgets_callbacks;
3>
4675c677,681
5< $wp_widget_factory =& new WP_Widget_Factory();
6---
7> if (version_compare(phpversion(), '5.0.0', '>=')) {
8>     $wp_widget_factory = new WP_Widget_Factory();
9> } else {
10>     $wp_widget_factory =& new WP_Widget_Factory();
11> }