notice: get_current_site_name is deprecated since version 3.9

Notice: get_current_site_name is deprecated since version 3.9 with no alternative available.

The sites seems to be working fine. What does this mean and how do we get rid of this message on the top of the scree?