wp_check_site_meta_support_prefilter

The timeline below displays how wordpress function wp_check_site_meta_support_prefilter has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.3

/**
 * Aborts calls to site meta if it is not supported.
 *
 * @since 5.1.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param mixed $check Skip-value for whether to proceed site meta function execution.
 * @return mixed Original value of $check, or false if site meta is not supported.
 */
function wp_check_site_meta_support_prefilter($check)
{
    if (!is_site_meta_supported()) {
        /* translators: %s: Database table name. */
        _doing_it_wrong(__FUNCTION__, sprintf(__('The %s table is not installed. Please run the network database upgrade.'), $GLOBALS['wpdb']->blogmeta), '5.1.0');
        return false;
    }
    return $check;
}

WordPress Version: 5.1

/**
 * Aborts calls to site meta if it is not supported.
 *
 * @since 5.1.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param mixed $check Skip-value for whether to proceed site meta function execution.
 * @return mixed Original value of $check, or false if site meta is not supported.
 */
function wp_check_site_meta_support_prefilter($check)
{
    if (!is_site_meta_supported()) {
        /* translators: %s: database table name */
        _doing_it_wrong(__FUNCTION__, sprintf(__('The %s table is not installed. Please run the network database upgrade.'), $GLOBALS['wpdb']->blogmeta), '5.1.0');
        return false;
    }
    return $check;
}