WordPress.org

Forums

Magic Fields 2 Toolkit
[resolved] AJAX scripts fail from whitespace after ?> in magic-fields-2-alt-get-audio.php (2 posts)

  1. Magenta Cuda
    Member
    Plugin Author

    Posted 1 year ago #

    The file "magic-fields-2-alt-get-audio.php" has extra linefeeds after the last ?>. This is causing AJAX scripts to fail. (AJAX scripts are typically used to provide new partial content to a page without reloading the whole page.) To correct this delete the extra linefeeds at the end of the file "magic-fields-2-alt-get-audio.php" or just disable the "Alt Audio" feature if you are not using it. (I always thought it was ugly to leave unbalanced PHP tags and I thought I would be careful enough to avoid this mistake but now having got burned I have learned my lesson - safety should have precedence over beauty.)

    Sorry for causing this trouble,
    mc

    http://wordpress.org/plugins/magic-fields-2-toolkit/

  2. Magenta Cuda
    Member
    Plugin Author

    Posted 1 year ago #

    This problem has been fixed with release 0.4.1.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.