get_var( 'SHOW TABLES LIKE "' . $storage->get_table_name() . '"' ) !== $storage->get_table_name() ) { self::set_inaccessible(); return false; } self::set_accessible(); return true; } /** * Returns the name of the transient. * * @return string The name of the transient to use. */ protected static function transient_name() { return 'wpseo_link_table_inaccessible'; } /** * Checks if the table exists if not, set the transient to indicate the inaccessible table. * * @deprecated 6.0 * * @return bool True if table is accessible. */ public static function check_table_is_accessible() { _deprecated_function( __FUNCTION__, '6.0', __CLASS__ . '::is_accessible' ); return self::is_accessible(); } }