Tag Archives: WordPress

WordPress 2.8 “Baker” released with major improvements

wordpress-baker-header

WordPress has released the new 2.8 “Baker” version. I already did the automated update and I have to say that I really like it.

These are the new features of WP 2.8 Baker:

  • Browsing and installing new themes within the WP panel
  • CodePress Editor: syntax highlighter and contextual documentation for functions
  • the widget interface has been redesigned
  • new screen options allow rearranging of every page
  • and many more (see full list of changes here: http://codex.wordpress.org/Version_2.8)


Screenshot of the new CodePress Editor (btw, finally):

codepress-screenshot


There is even a video you can watch to see the new features in action:


You should update too, but don’t forget to make a full backup before you start.

Fixing the HTTP error problem while using WordPress Flash Uploader

The reason for the upload error lies within the mod_security module which is basicly a web application firewall that protects your website from a range of attacks. So you shouldn’t turn off this module as it protects you but you can add a special rule for the flash uploader.

The Solution:

Open the .htaccess file in your website document root and add the following lines:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
<IfModule mod_security.c>  
  <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
  </Files>
</IfModule>
<IfModule security_module>
  <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
  </Files>
</IfModule>
<IfModule security2_module>
  <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
  </Files>
</IfModule>

This should do it.

Setting up a dynamic copyright in WordPress

When you have a website running for several years it’s getting pretty annoying to update the copyright years in the footer year by year.

Paste this simple code into your footer template to generate copyright years fully automated (change “2009” to the year when you started):

1
2
3
4
5
6
7
8
<div class="footer">
   <?
      if (date("Y") > 2009)
         echo "2009 - ";
      echo date("Y");
   ?>
   example.com. All Rights Reserved.
</div>