1 ? 's' : ''); } /** * Return list of all shorturls associated to the same long URL. Returns NULL or array of keywords. * */ function yourls_get_duplicate_keywords( $longurl ) { yourls_deprecated_function( __FUNCTION__, '1.7', 'yourls_get_longurl_keywords' ); if( !yourls_allow_duplicate_longurls() ) return NULL; return yourls_apply_filter( 'get_duplicate_keywords', yourls_get_longurl_keywords ( $longurl ), $longurl ); } /** * Check if we'll need interface display function (ie not API or redirection) * */ function yourls_has_interface() { yourls_deprecated_function( __FUNCTION__, '1.7' ); if( yourls_is_API() or yourls_is_GO() ) return false; return true; } /** * Make sure a integer is safe * * Note: this function is dumb and dumbly named since it does not intval(). DO NOT USE. * */ function yourls_intval( $in ) { yourls_deprecated_function( __FUNCTION__, '1.7', 'yourls_sanitize_int' ); return yourls_escape( $in ); }