diff --git a/result.php b/result.php index bf021d7..959bcfc 100644 --- a/result.php +++ b/result.php @@ -1,26 +1,10 @@ is_valid) { - // What happens when the CAPTCHA was entered incorrectly - die ( '
' . yourls__( 'The reCAPTCHA wasn\'t entered correctly. Go back and try it again.', 'isq_translation' ) . '
' ); -} - $url = isset( $_REQUEST['url'] ) ? yourls_sanitize_url( $_REQUEST['url'] ) : ''; $keyword = isset( $_REQUEST['keyword'] ) ? yourls_sanitize_keyword( $_REQUEST['keyword'] ) : '' ; ->>>>>>> ff9d158626e1981bd381cda4e9ccf791b75d4dc0 $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title'] ) : '' ; -$return = yourls_add_new_link( $url, $keyword, $title ); - +$return = yourls_add_new_link( $url, $keyword, $title ); $shorturl = isset( $return['shorturl'] ) ? $return['shorturl'] : ''; $message = isset( $return['message'] ) ? $return['message'] : '';