WordPress.org

Make WordPress Core

Ticket #47415: 47415.2.diff

File 47415.2.diff, 521 bytes (added by tazotodua, 8 weeks ago)

modified description (with a required asterisk on new line)

  • src/wp-includes/load.php

    diff --git src/wp-includes/load.php src/wp-includes/load.php
    index 7e5314c0d2..f7541614de 100644
    function is_blog_admin() { 
    10301030 *
    10311031 * Does not check if the user is an administrator; use current_user_can()
    10321032 * for checking roles and capabilities.
     1033 *
     1034 * The funcion may return true even if site is not a multisite;  You additionally need
     1035 * to use is_multisite() to check if the site is a multisite network or not.
    10331036 *
    10341037 * @since 3.1.0
    10351038 *