check for constant SITEURL instead of db
|Reported by:||mikewp||Owned by:|
is_blog_installed checks the db for the blog URL. But this option isn't changed often ;) . So, it's better to define a constant with the blog url and thus we have one less query.
The patch keeps the 'old' way if the constant isn't defined.
Change History (3)
comment:1 @charleshooper — 9 years ago
- Keywords has-patch removed
- Milestone 2.2 deleted
- Resolution set to duplicate
- Status changed from new to closed
- Summary changed from check for constant instead of db to check for constant SITEURL instead of db
Note: See TracTickets for help on using tickets.