[wp-trac] [WordPress Trac] #47189: Site Health: Plugins Upgrade Link for Multisite

WordPress Trac noreply at wordpress.org
Wed May 8 18:27:29 UTC 2019


#47189: Site Health: Plugins Upgrade Link for Multisite
-------------------------------------+------------------------
 Reporter:  sebastienserre           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.3
Component:  Administration           |     Version:  5.2
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch site-health  |     Focuses:  multisite
-------------------------------------+------------------------

Comment (by jeremyfelt):

 Replying to [comment:4 audrasjb]:
 > since this feature was introduced in 5.2, I would say it can fit to the
 next minor, isn't it?

 Very possible! I just avoided making that call myself. :)

 @sebastienserre [attachment:"47189.diff"] is on the right track. There is
 a `network_admin_url()` function that is available to both single and
 multisite that should work for this purpose. It has its own
 `is_multisite()` check that will return `admin_url()` when appropriate.

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


More information about the wp-trac mailing list