WordPress Limit on Length and Captions

I was having issues with a WordPress web page on my website 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 */


This code was added to the wp-config.php web page file, just after the DB_Collate entry. Once that was added, it worked instantly after re-saving the web page. I found this information on WordPress.org forums but now can’t find the original link. The revision code was optional, but will keep your database from growing, set the number of revisions you wish, I used 10.

Related Posts

No results found

Gravityscan Badge