mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1976,14 +1976,14 @@ class WP_Rewrite {
|
||||
}
|
||||
|
||||
/**
|
||||
* PHP4 Constructor - Calls init(), which runs setup.
|
||||
* Constructor - Calls init(), which runs setup.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @access public
|
||||
*
|
||||
* @return WP_Rewrite
|
||||
*/
|
||||
function WP_Rewrite() {
|
||||
function __construct() {
|
||||
$this->init();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user