this responseText is containing two arrow signs.
But I didn't gave it in die("") in php
Because of it iam having a problem to show error message in ajax And copy pasting this "↵↵You have reached your note limit.", doesnot work.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this community
<?php die('You have reached your note limit.');
at the top of the file and see if you get the leading linebreaks. If you don't, try again part way down the file. When you've found a range of code that looks like it's generating one or more of the spaces, look for anyecho
s in that code, or gaps between PHP tags that might generate the linebreaks.