WordPress.org

Ready to get started?Download WordPress

Forums

Bug: content filter chokes when content reaches certain size (6 posts)

  1. acurran
    Member
    Posted 5 years ago #

    I've encountered this significant bug which is also reported in this support forum thread:
    http://wordpress.org/support/topic/176939

    The problem is that if you try to save a post or page with 'too much' content, the content does not appear in the page. Disabling the content filter allows it to be displayed.

    Using visual mode the problem is even worse because visual mode uses the content filter. If you save your content in visual mode it simply disappears. This would result in data loss if it were not for the revisions storage.

    I encountered the problem using WP Version 2.6.1

  2. acurran
    Member
    Posted 5 years ago #

    Any one know if this is a known bug?

  3. whooami
    Member
    Posted 5 years ago #

    its not a wordpress bug -- its a PHP issue, imo.

    I moved my site about a year ago. I had long, very long posts that were displaying fine. When i was done moving, I discovered a few posts were not displaying the content.

    The only change? My PHP set up.

  4. acurran
    Member
    Posted 5 years ago #

    I've tested it in 3 versions of WP - 2.6.1, 2.6.2 and 2.5.1. When I add a long block of text in WP 2.6.1 and WP 2.6.2 it blanks out after going through the content filter [wpautop] and the page comes out blank (if I disable the content filter the content displays fine). However, in WP 2.5.1 no such problem (same server, same php, same environment). So to me it still looks like a bug introduced in WP 2.6.

  5. acurran
    Member
    Posted 5 years ago #

    After some more testing I've figured out it is not actually the size of content in the edit box that causes it to choke but the number of [caption] shortcodes (of maybe any other shortcodes).

    To reproduce:
    Paste the following into a test page and watch it blank out (in WP 2.6.x):

    [caption id="attachment_1" align="alignnone" width="199" caption="Caption 1"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_2" align="alignnone" width="199" caption="Caption 2"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_3" align="alignnone" width="199" caption="Caption 3"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_4" align="alignnone" width="199" caption="Caption 4"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_5" align="alignnone" width="199" caption="Caption 5"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_6" align="alignnone" width="199" caption="Caption 6"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_7" align="alignnone" width="199" caption="Caption 7"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_8" align="alignnone" width="199" caption="Caption 8"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_9" align="alignnone" width="199" caption="Caption 9"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_10" align="alignnone" width="199" caption="Caption 10"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_12" align="alignnone" width="199" caption="Caption 11"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_13" align="alignnone" width="199" caption="Caption 12"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_14" align="alignnone" width="199" caption="Caption 13"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_15" align="alignnone" width="199" caption="Caption 14"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    [caption id="attachment_16" align="alignnone" width="199" caption="Caption 15"]<img title="Test" src="http://wordpress.org/screenshots/2.5/ss-4.png" alt="Test" width="199" height="104" />[/caption]
    
  6. whooami
    Member
    Posted 5 years ago #

    hmm, well I dunno. maybe we are seeing different issues. I know what caused my problem, and I can replicate it still, just by putting in a super long post. Mine actually started on a much earlier wordpress that didnt use shortcodes also.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags