WordPress/wp-includes
Jeremy Felt f3c2c7350c Site Icon: Wrap site icon retrieval with switch_to_blog() as needed.
When the site icon for another site is requested, retrieving its ID via `get_blog_option()` is not enough. `switch_to_blog()` is used to set proper context when required.

Adds multsite tests for `has_site_icon()`.

Props imath.
Fixes #34312.

Built from https://develop.svn.wordpress.org/trunk@35572


git-svn-id: http://core.svn.wordpress.org/trunk@35536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-08 02:04:27 +00:00
..
2015-09-26 07:04:28 +00:00
2015-09-22 13:44:25 +00:00
2015-10-08 19:29:25 +00:00
2015-10-07 03:02:23 +00:00
2015-10-08 19:29:25 +00:00
2015-10-10 01:59:29 +00:00
2015-09-22 13:03:24 +00:00