[wp-trac] [WordPress Trac] #41715: Wrong Site ID in site-users.php

WordPress Trac noreply at wordpress.org
Wed Aug 23 18:52:09 UTC 2017


#41715: Wrong Site ID in site-users.php
--------------------------+------------------------------
 Reporter:  pluus         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------

Comment (by pluus):

 Since the table is a must have thing... I've replaced the following code
 <input type="text" name="id" value="<?php echo esc_attr( $id ) ?>" />

 with

 <input type="text" name="id" value="<?php echo esc_attr( $_REQUEST['id'] )
 ?>" />

 to directly get the site id from the URL.

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


More information about the wp-trac mailing list