Monthly Archives: March 2011

PHP: Extending stdClass with Closures (plus Visitor)

From the red-wine department: $this remains unresolved so of limited use, but some fun anyway: And before you ask: It’s just that I was wondering the following did not work:

Posted in PHP Development, Pressed | Tagged , | 1 Comment

PHP: is_null() vs. NULL ===

From the know your language department: If you can, go with the identical comparison operator ===. That’s a good approach in PHP for various reasons. Only one example: could be written as: but it is about more than 14 times … Continue reading

Posted in PHP Development, Pressed, The Know Your Language Department | Tagged , , , | 7 Comments

Have a phunction? Via.

Posted on by hakre | Leave a comment

Plugin Updates: Admin Quicksearch, Better HTTP Redirects

I have two Plugin Updates available: A Bugfix release for Better HTTP Redirects and a Maintenance release for the Admin Quicksearch. It is now more compatible with WordPress 3.1. Admin Quicksearch now much better supports WordPress 3.1 and 3.0 for … Continue reading

Posted in Plugin Plugout, Pressed | Tagged , , , , | Leave a comment

Firefox 4 feels great so far (Updated 1x)

Quicker released then I expected and then I was even courageous to update suit. Some add-ons got deactivated, I hope they come back soon but the overall experience is very nice so far. Yeah the software has a overall good … Continue reading

Posted in Pressed | Tagged | Leave a comment

apigen looks clean.

Posted on by hakre | Leave a comment

Not that bad: Kickstart & Kickstart for WordPress. Via: wezfurlong style.

Posted on by hakre | Leave a comment

Savant is a powerful but lightweight object-oriented template system for PHP.

Posted on by hakre | Leave a comment

HTTP Redirect Codes (3xx) and the Location Field

Over the last days some including me have opened tickets in wordpress trac touching the HTTP transport layer and redirection in specific. As with my previous HTTP related review of worpdress, this is getting more and more interesting and detailed … Continue reading

Posted in Hacking The Core, Pressed | Tagged , , , , , , , , , | 1 Comment

How to Debug Redirect Problems in WordPress

A nice Sunday over here and time to begin the day with some good news: The Better HTTP Redirects (WordPress Plugin) just got even better! I’ve added some improvement in the brand-new 1.2 version that is a helping hand if … Continue reading

Posted in Plugin Plugout, Pressed, WordPress Support | Tagged , , , , | Leave a comment

This page is a test. (Updated 1x)

Clicking on the title or the Continue reading → link below will not crash the process any longer. It’s related to a segfault that can be triggered within worpdress (see #16892).

Posted in Hacking The Core | Tagged , , , , , , , , , | 1 Comment

How-To Block Alexa Robot

It’s easy and can save you some bandwidth per month, just add the following to your robots.txt file: Additionally it saves you to get too much information concentrated on alexa.com. You can contact them to delete existing content as well. … Continue reading

Posted in Surviving the Internet | Tagged , , , | Leave a comment

Admin Quicksearch v0.2 released

A smaller maintenance release of my Admin Quicksearch (WordPress Plugin) has just been committed. The 0.2 release improves the display of the quick-search-text-box and the formal quality of the source-code. Admin Quicksearch speeds up a site owners tasks on the … Continue reading

Posted in Plugin Plugout, Pressed | Tagged , , , , , , , | Leave a comment

RSS Feed: “An error has occurred; the feed is probably down. Try again later.”

WordPress RSS Feed Widget displays the following broad error message if it has problems to init or display a RSS feeds: An error has occurred; the feed is probably down. Try again later. This error message can have multiple reasons … Continue reading

Posted in PHP Development, Pressed | Tagged , , , , , , , , , , | 3 Comments

Melt-Down Countdown

As seen for days, the world is facing the maximum credible accident in a multitude of nuclear power plant cores close to a region of the world that has a very hight amount and density of human population. My thoughts … Continue reading

Posted in Uncategorized | Leave a comment

Call_user_func_array(), PHP 5.3 and Passing by Reference

Fun fact: If call_user_func_array() is used to call a function that expects a parameter passed by reference you need to pass it as a reference in the parameter array. Otherwise the callback will not be executed, call_user_func_array() will return false … Continue reading

Posted in Hacking The Core, PHP Development, Pressed | Tagged , , , , , | Leave a comment