Home > After the Deadline > WordPress Plugin Update – Important Bug Fix

WordPress Plugin Update – Important Bug Fix

June 17th, 2009

I had to update the WordPress plugin for After the Deadline this morning.  Don’t worry, it’s not a security issue or anything crazy.

Visit http://www.afterthedeadline.com/download.slp?platform=Wordpress to get the latest.

I discovered that the AtD Plugin was leaving its markup tags in published HTML.  I noted in my FAQ I consider this kind of behavior a bug. In short–I fixed this and you’ll want to upgrade your AtD plugin to take advantage of it.  To understand more, read on.

AtD hooks into the TinyMCE editor used by WordPress.  I use the “get editor contents” event as an excuse to strip the AtD markup.  One problem with this is when WordPress does its auto-save, the editor contents is grabbed, and the markup is stripped while you’re editing.  FYI–I checked and the built-in spellchecker has this same problem.

I made a work-around awhile ago to fix this.  Unfortunately it left all that content in the editor plugin.

Today I updated the WordPress plugin to strip out the AtD markup from within WordPress (and not the editor).  This has the advantage that it saves you from the disappearing markup annoyance and if you upgrade, all the old posts with the AtD markup will automatically be corrected for you.

For those of you who don’t upgrade, you’ll experience the disappearing markup issue as I decided this was better default behavior than leaving the AtD markup in the post.  Upgrade to fix it.

After the Deadline

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

  1. August 3rd, 2009 at 00:12 | #1

    Инфа интересная, мне понравилось. Автору спс.

  2. August 3rd, 2009 at 10:28 | #2

    Побольше бы таких работ.

  3. August 4th, 2009 at 06:51 | #3

    Полностью поддерживаю, грамотно все

  4. August 5th, 2009 at 01:06 | #4

    Добавлю в избранное, написано не плохо

  5. August 7th, 2009 at 02:03 | #5

    Достаточно интересная публикация, подписался на rss

  6. August 7th, 2009 at 05:55 | #6

    Блог очень нравится, автору благодарность. Уважуха!

  7. August 7th, 2009 at 15:40 | #7

    Интересно кто это все придумал, и комменты одинаковые какие то. Как будто один человек пишит их

  8. August 10th, 2009 at 01:17 | #8

    Неплохая подборка в блоге, хорошо сделано, автору спс.

  9. August 11th, 2009 at 08:37 | #9

    В целом статья мне понравилась, но требует некоторых доработок.
    Я бы даже сказал всего одну. Хотелось бы прочитать в более развёрнутов виде

  10. August 11th, 2009 at 14:59 | #10

    Даже мне, как для девушки, все насделано на уровне…спс

  11. September 18th, 2009 at 23:10 | #11

    Прочитала статью и вспомнилось несколько крылатых фраз ” Время – наилучший учитель жизни.” Вот уж точно, ведь еще и полгода назад я и понятия не имела о многих “словечках” из этой статья, а сейчас уже подросла немного как блоггерша, можно и нос поднять кверху. И вообще порой время тянется так медленно, что кажется, что оно остановилось. В такие моменты я залезаю в интернет и времени просто не хватает+ да и у вас блог, должно быть отнимает уйму времени.

  12. December 10th, 2009 at 02:28 | #12

    Блог очень нравится, автору благодарность.

  1. No trackbacks yet.