Issue with theme outputting blank lines in admin-ajax.php

Posted in: Newspaper
Post count: 11

When I enable the Newspaper theme it’s causing 5 blank lines to appear in the admin-ajax.php responses.

Post count: 854

hi,
can you send a link to that page please.

Thanks for you message.
Radu A.

Post count: 11

No, as I’m developing a site on my localhost for a client so there’s no url plus it’s in the admin. Can someone confirm whether or not the bug exists on their install as well. I have the latest version of Newspaper. You can tell if it exists on your install by adding/editing a taxonomy. When you click add new item if you look at the response in FireBug you’ll see the extra lines and notice that no message gets pushed onto the screen. This may be the source of some of the other issues posted here as it would likely cause several problems as it adds blank lines to every admin-ajax.php response. I’ve narrowed it down to the shutdown hook which calls wp_ob_end_flush_all() which flushes all the output buffers. Somewhere in the theme there is an output buffer that’s getting filled with empty lines. Possibly there are a few blank lines at the top/bottom of one of the files. I can’t seem to find the source of the new lines.

Post count: 780

Hi,

I’ve tested the ajax responses in admin and did not found empty lines… I’m very careful to not mess the wordpress ajax with empty lines and it’s one of the test we do periodically. The lines may be from some plugin…
http://screencast.com/t/OHkp8Phi9
http://screencast.com/t/JhyAuj8BJ6

on ff http://screencast.com/t/vpfOaOjDIQdT

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.