[wp-trac] [WordPress Trac] #56886: Although users can set a new site's visibility for search engines, the super admin can't :)

WordPress Trac noreply at wordpress.org
Sat Oct 22 11:05:40 UTC 2022


#56886: Although users can set a new site's visibility for search engines, the
super admin can't :)
--------------------------------+-----------------------------
 Reporter:  imath               |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:  has-patch
  Focuses:  multisite           |
--------------------------------+-----------------------------
 When a user wants to add a new site on Multisite configs, they can use the
 site privacy radio buttons, see screenshot below:

 ==== /wp-signup.php ====
 [[Image(https://cldup.com/0bMdIrVLRE.png)]]

 But when a super admin wants to add a new site, they have no way to choose
 this setting during site creation, they need to create a "public" site,
 then go into the Reading settings to eventually switch to hidden to search
 engines. In this particular case, a super admin has less power than a
 regular user :)

 ==== /wp-admin/network/site-new.php ====
 [[Image(https://cldup.com/Tg7E2F-bwR.png)]]

 The attached patch is adding these missing site privacy radio buttons to
 let a super admin decide whether a new site should be "public" or not.

 ==== patched /wp-admin/network/site-new.php ====
 [[Image(https://cldup.com/hiFEfNw3_V.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56886>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list