Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General: Avoid early initialization of variable in
get_bloginfo()
.
This is a very minor, yet simple performance optimization in a commonly called function, avoiding unnecessary initialization of the `$url` variable when it may not be needed. The conditional is simple enough to not use a variable altogether. Props Cybr, swissspidy. Fixes #59450. git-svn-id: https://develop.svn.wordpress.org/trunk@57170 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information