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)
Note: See TracTickets for help on using tickets.