Textpattern 4.0.4 Released
After quite a while and lots of work from many, many people it’s finally here. Textpattern 4.0.4 is available as always on the download page.
update: The download was repackaged 12 hours after the release to fix some line ending problems that caused spurious diagnostic warnings on some systems.
Updates are are strongly recommended and should be seamless for the vast majority of people, otherwise make sure that all plugins are also updated to their most recent version. We’ve also added a couple entries to the FAQ specifically for 4.0.4 where questions may arise.
Some of the more notable news are:
- Fixes several security issues, one critical
- Many subtle improvements to the admin UI
- Lots of Textile improvements and fixes
- Many improvements to admin interface XHTML markup and CSS
- Simplify and improve comment preview and input form tags
- Improved error reporting and diagnostics that help tracking down problems easier and faster
- RSS+Atom fixes and improvements (including RSS 2.0 support)
- Automatic support of SSL
Further changes include:
- Add nowidow attribute to article tags
- Adapt navigation elements to the user’s permissions
- Fixed sending Last-Modified header
- Better indexing for faster article list queries
- Update to tagbuilders
- Show (source of) plugin-help before installation
- Improvements in translations (and translatables) (thanks Skubidu and others)
- New translations: Indonesian, Hebrew, Hungarian, Romanian
- Improved handling of comma-separated values in tag attributes
- article, article_custom tags: new ‘sort’ attribute
- New conditional if_article_id
- author, category, category1, category2 tags: can link to any section by name
- Improved XHTML attributes on many tags (class, rel)
- Time and date tags: new attributes for overriding language, GMT
- css, feed_link tags: easier generation of xhtml ‘link’ tags
- New link tags: link_category, link_date, link_name, link_url
- Navigation tag improvements (new attributes, improved xhtml output)
- Warn if article or comment tags are used in the wrong context
- Stricter 404 checking (missing category, author, messy article ID)
- Simplify and improve comment preview and input form tags
- Improved article load/parse logic on individual article pages
- Workaround some rare FCGI problems with HTTP headers
- Fix some IIS clean URL issues
- Improved multi-edit support on admin pages
- Deprecate old-style PHP tags
- Don’t lose your place in admin lists when returning from an edit
- Extra diagnostic info and pre-flight tests
- Better time zone handling
- Remember and automatically reuse thumbnail size settings
- Textile: fix inline class/style/lang
- Warn when article and comment tags are used in the wrong place
- New “if_plugin” conditional checks for an active plugin, with optional version number
- Fix an occasional time zone bug
- Fix 404 errors on clean category URLs
- Add backtrace list to error messages in Debug mode
- Add limit attribute to search_result_excerpt tag
- Add escape and default attributes to custom_field tag
- Fix image-upload for outdated gdlib-installations (wet)
- Fix label attribute breadcrumb function (richard)
- Add if_author, if_article_author (with attribute ‘name’)
- Allow multiple sections for if_article_section (like for if_section, if_category)
- Display link category’s title, rather than name, in the links page.
- Extend article_image tag to optionally display the article image thumbnail.
- Many minor bugfixes
Further reading:
FAQ-Entries specific to 4.0.4.
Textpattern Contributors
Forum-Thread for the announcement

MAAAANY THAAAAAANKS! :)
— Neko · Oct 17, 03:07 PM · #
Thanks to all for the job!
p.s.: the URL referring to the 404’s FAQ points to the 403’s ones…
— candyman · Oct 17, 03:16 PM · #
Wooooh we were so inpatient…and now here it is!
Many thanks to Team Core Developers.———-
Patrick.
— Pat64 · Oct 17, 04:05 PM · #
Bravo
— Lee · Oct 17, 04:57 PM · #
Congrats to all the core devs and contributors on making this yet another fine TXP release!
— Adrian Kostrubiak · Oct 17, 05:00 PM · #
Beautiful! Thanks.
— alesh · Oct 17, 05:14 PM · #
Wow the upgrade was so fast I didn’t think it worked. Thanks for keeping TXP alive.
— nit · Oct 17, 05:29 PM · #
Thank you so much!
It works very fine (fresh install and upgrade)
:)
— Retrax · Oct 17, 06:29 PM · #
Great work! Y’all are awesome!
— Brian Z. · Oct 17, 06:33 PM · #
Great work!
— Tim · Oct 17, 08:10 PM · #
Great work, so many improvements! There are some little points to change, but that will be a nice job for the next version… ;) The upgrade was simple, some changes I had to do, especially regarding my php-fragments, but it wasn’t that difficult as I thought.
You’ve improved so many details, it’s working smart now.
Thanks!
— goncourt · Oct 18, 12:29 AM · #
hooray!
thank you soooo much!
congrats!
it’s been more than 9 months! (of course i used 404-dev :))
— Finnish · Oct 18, 01:17 AM · #
i was so happy to see this update, but unfortunately it performs very poor on Mac OSX (both with safari and firefox) sad :
(i reverted back to 4.0.3 :(
— andria · Oct 18, 02:26 AM · #
Andria: please post a bug report on the forum. Also check the FAQ.
— Alex · Oct 18, 02:49 AM · #
woohooo! great!
— Marko Mihelcic · Oct 18, 08:03 AM · #
Great! Thanks a lot!
— The Exit · Oct 18, 08:12 AM · #
Thanks for this new release!
— Fabio Sirna · Oct 18, 10:57 PM · #
Freekin’ sweet! Thanks!
— Christian Sandberg · Oct 19, 12:22 AM · #
Thank you very many!!! (as Leningrad Cowboys said…) And also, thanks to added hungarian language!
— laze · Oct 19, 12:14 PM · #
Yea!
Great fixes and additions, upgrading straight away.
— Eldin · Oct 19, 02:06 PM · #
This is the finest Blogware around, and I recommend it to everyone. Great work all around.
— C. P. Ontiveros · Oct 20, 01:24 AM · #
Sweet as, looking forward to upgrading it
— Niko · Oct 20, 04:38 AM · #
Great job guys!
FYI... Just a minor thing, I noticed the 4.0.4 README.txt file still reads “Textpattern 4.0.3 – 29 Dec 2005”
— Tracy Floyd · Dec 11, 11:03 PM · #