Remove unused `$current_site` global in MS Sites list table
Found itself unused after [32719]. See #32434. git-svn-id: https://develop.svn.wordpress.org/trunk@33097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2cafc0d787
commit
69239d86f9
|
@ -484,8 +484,6 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||||
* @return string Row actions output.
|
* @return string Row actions output.
|
||||||
*/
|
*/
|
||||||
protected function handle_row_actions( $blog, $column_name, $primary ) {
|
protected function handle_row_actions( $blog, $column_name, $primary ) {
|
||||||
global $current_site;
|
|
||||||
|
|
||||||
if ( $primary === $column_name ) {
|
if ( $primary === $column_name ) {
|
||||||
$blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
|
$blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue