bail example

htmlspecialchars( $db, ENT_QUOTES )
                ) . "</li>\n";

                $message .= "</ul>\n";

                $message .= '<p>' . sprintf(
                    /* translators: %s: Support forums URL. */
                    __( 'If you do not know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="%s">WordPress support forums</a>.' ),
                    __( 'https://wordpress.org/support/forums/' )
                ) . "</p>\n";

                $this->bail( $message, 'db_select_fail' );
            }
        }
    }

    /** * Do not use, deprecated. * * Use esc_sql() or wpdb::prepare() instead. * * @since 2.8.0 * @deprecated 3.6.0 Use wpdb::prepare() * @see wpdb::prepare() * @see esc_sql() * * @param string $data * @return string */
Home | Imprint | This part of the site doesn't use cookies.