urlencode query string in gravity forms confirmation redirect

After digging a little deeper, I found that there is an action hook in Gravity Forms called gform_pre_submission. This allows me to modify a posted value before creating an entry or running the confirmation (see documentation). After that it was pretty basic: add_action( ‘gform_pre_submission_11’, ‘pre_submission_handler’ ); function pre_submission_handler( $form ) { $_POST[‘input_7’] = urlencode(rgpost( ‘input_7’ … Read more

Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?

If you take a look to the wp_sanitize_redirect() function you will notice it is removing the new lines from the destination URL: https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/pluggable.php#L1249 In my opinion you have 2 options: 1 – Convert new lines on the message to a diff allowed unique char combination and then replace them back to new lines before outputting … Read more

WordPress content shows this character ​​

If you search your content for these characters ‘ â � you will not find them, because they are not there. Characters ‘ â � like these are a sign, that the character encoding in the frontend does not match with that from the database. Normaly wordpress used for database, file endcoding and character encoding … Read more

Website dumps encoded result

So my previous search results were actually true. This problem was coming because of a cache plug-in. I am hosting this website at BlueHost and there was a plug-in named endurance-page-cache that was installed by BlueHost to improve the page speed and i was not aware of.From my search i found out that other people … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)