[wp-trac] [WordPress Trac] #34312: On Multisite has_site_icon( $child_blog_id ) when checking from the root blog is false even if the child blog has a site icon

WordPress Trac noreply at wordpress.org
Thu Oct 15 16:11:35 UTC 2015


#34312: On Multisite has_site_icon( $child_blog_id ) when checking  from the root
blog is false even if the child blog has a site icon
------------------------------------+------------------------
 Reporter:  imath                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.4
Component:  Networks and Sites      |     Version:  4.3
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  multisite
------------------------------------+------------------------

Comment (by imath):

 Replying to [comment:7 BinaryKitten]:
 > For the unit test, can you add some more assertions so the flow is:
 > createblog, has_site_icon on blog == false, switch to blog,
 has_site_icon == false, set site icon, has_site_icon == true, restore
 current blog, has_site_icon on blog == true

 34312.unittest.02.patch should respect the flow you recommended.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34312#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list