Tag Info

New answers tagged

0

It has been a while, but I thought that using wp_die() and then hitting the back button would re-display the page with the form data as it was. If that is the case, you could provide a message using wp_die to say what the problem is, possibly how to fix it, and to select the back button in their browser, fix the issue, and then try again. A better way ...


3

Filter kses_allowed_protocols (wp-includes/functions.php wp_allowed_protocols) to add your protocol: add_filter( 'kses_allowed_protocols', function( $protocols ) { $protocols[] = 'weixin'; return $protocols; }); The default values are 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', ...



Top 50 recent answers are included