WordPress Limit on Length and/or Captions
I was having issues with WordPress page being blank after adding so many characters or captions. It was easy to replicate time and time again. I found a lot of people with the same issue and found a few lengthy solutions. The one I choose was easy and it worked:
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/** Number of saved revisions; false = 0 */
define('WP_POST_REVISIONS', 10);
/** Trick for long posts */
ini_set('pcre.recursion_limit',20000000);
ini_set('pcre.backtrack_limit',10000000);
This code was added to the wp-config.php file, just after the DB_Collate entry. Once that was added, i refreshed the page it worked instantly after re-saving the page. Found this information on WordPress.org forums. The revision code was optional but will keep your database from growing, set the number of revisions you wish, i used 10.
