Blind Updating

Looks like many people blindly update their WordPress plugins. What is even worse is they do not notice changes in a plugins behavior, even messages that a function is being depreciated. Case in point, this Google query yields 62 relevant pages (out of over 4000 supposed results) that all updated to Breadcrumb NavXT 3.0, but have not updated their function calls. Come 3.1 their sites will break unexpectedly (If they are using the correct calling code their breadcrumb trail just won’t appear).

One cause of this blindness is the built in plugin updating functionality built into WordPress since 2.5. Don’t take this the wrong way, it makes updating easy and is a really useful feature. However, it has become too easy for a user to upgrade to a version of a plugin that may not work in their setup (they are still running PHP4–which they should not be doing, or using outdated function calls). There is no easy way for a developer of a plugin to make something jump out at the users telling them: “Hey this version no longer supports PHP4 and by the way make sure you are using this function instead of tHis old one.”. Thankfully, come WordPress 2.7 the situation will improve slightly, a “release notes” page link is available in the plugin management page.

When running a website it is important to really pay attention to what is going on. Those with this problem are not paying enough attention, and frankly are vulnerable to hacking and hijacking of their websites. Weblogs.us had another security breech back in late September–more on this at a later time. It was discovered through Google search. Even after only three days, the Google search results for this blog were poisoned with explicit content. Prevention through security is always the first route to take, but active monitoring for early detection of events is just as important.

As a side note, there is now a Frequently Asked Questions page for Breadcrumb NavXT. Users should read it before asking for help regarding errors and other things. It was compiled from actual questions asked by users, and search queries that were relevant to the plugin. By no means is it an exhaustive list, and will be added to as time goes on.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 3.0

Holy reduced queries Batman! Announcing the immediate availability of Breadcrumb NavXT 3.0. This is a major release, which does change the API from previous versions. Users of the administrative interface should not notice any problems, users who directly access the bcn_breadcrumb class need to update their code (as that class has been reassigned). The administrative interface has been completely reworked, as has the core completely rewritten. Anchors are completely customizable now, among other things. Administrative interface users will notice an improvement in performance thanks to the dramatically reduced number of database queries. Do note that this version has not been tested with PHP4, and support is not guaranteed.

Find out more about the changes on the project page for Breadcrumb NavXT.

-John Havlik

[end of transmission, stay tuned]

Beta 2 Problems

It looks like the Breadcrumb NavXT 3.0 Beta 2 has an issue with migrating settings over from 2.1.x. The SVN trunk should have a fix for this, please download that instead of Beta 2 at this time. A few other miscellaneous things are preventing the full release. Expect these to be cleared up by Thursday. Thus, the release will happen either Thursday evening, or Sunday night. Oh, and WPMU should be supported by the SVN Trunk version now, but it needs testing by WPMU users.

Download Breadcrumb NavXT – SVN Trunk.

-John Havlik

[end of transmission, stay tuned]

Refreshing Vista

The installation went fast, the updates, on the other hand did not. Rewind a bit, back to a few weeks ago. Some troll over at Digg was spamming links to shock sites. One of them causes thousands of popups of shock images to display. It also happens to take advantage of some security flaws in many web browsers. That was last week, but going back a bit further the real odd behavior began.

It began with Adobe Flash security warnings. They were triggered by advertisements (flash based advertisements should be illegal for more than one reason) that are part of the Microsoft Mojave campaign. The warning stated that code in the flash object attempted to redirect about:blank to some other address. One would think a large corporation such as Microsoft would keep its advertisements out of the realm of malice, but then again they are still spamming stats with fake arrivals from their live search service.

Even though the Flash warning was odd, it was not the thing that was really bad. Out of nowhere no execute bit errors start killing Firefox. Most of the time on a website with an Adobe Flash based advertisement. Did I mention I believe Flash based advertisements should be outlawed–and all websites that have them should be added to the malware harboring website lists?

Well, after having enough of the stupid NX bit errors, Firefox and Flash player were reinstalled. No luck, the problems still occurred. Time for drastic measures, reinstall Vista time. After backing up the few files not on my home server (running Gentoo Linux), the Vista DVD made its way into the DVD drive. After rebooting and clicking through some options, the installer did its thing. Fifteen minutes later–surprisingly fast–the familiar welcome screen appeared. First order of action was installing the WiFi driver. Rather than before I let the additional intel tools to be installed. Surprisingly, I’m connecting at 802.11N speeds all the time now (verses when ever Windows felt like it before). Next up was the graphics driver. Previously, the dell driver did not allow the one distributed by intel to be installed so I was running a year old driver.

Then Windows Update in its infinite wisdom decided to try grabbing over 30 updates. Naturally, there was no dependency handling causing numerous blue screens of death at boot. To compound the issue I had at one time tried to install about ten of my commonly used programs. After the first blue screen of death, and doing a system restore, they were all missing (System Restore shadows many more things than it used to). Instead of trying to reinstall the programs again, I focused on the Windows updates.

That is when things became fun. Not only does Windows Update not properly handle dependencies, it seems to always have problems installing more than twenty or so updates at a time. Even worse, it seems to generate error codes that are random when encountering this situation. Another fun fact is Windows Update seems to not check the hash sum of the updates it downloads until it attempts to install them. If the hashes at that time do not match it returns an error code instead of redownloading and trying again as it should. Installing only four or five updates at a time, along with the oldest first seems to help. However this is taking forever. If I wanted to spend two full evenings working on this I would have installed Gentoo, which I would be done installing by now as well.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 2.2/3.0 Beta 2

Due to some very drastic changes in the API and administrative interface, the next Breadcrumb NavXT version will be tagged 3.0 rather than 2.2. The newly rewritten administrative interface takes advantage of modern WordPress plugin methods. In this version the number of database queries have been reduced significantly. This significantly increases the speed of Breadcrumb NavXT for users of the administrative interface. A sidebar widget is built in to the plugin making it possible to add in a breadcrumb trail without modifying a single PHP file. When using the Tabular NavXT plugin, on the Breadcrumb NavXT admin page, as well as others, after clicking “Save Changes” to submit the form the user is returned to the tab they were on (rather than reload on the general tab).

Breadcrumb NavXT 3.0 is in a feature lock beginning immediately. All features that are not in Beta 2 will be pushed back to 3.1 for introduction. With the new heavily object based plug-in introduction of most features is much simpler than before. Additionally, when directly accessing the class, object oriented programming techniques can be used to easily extend it in a very clean manner. Two weeks will be allowed for translators to make new, up-to-date translations and for bugs to be reported and fixed. That means the release date will be around the 12th of September.

Download Breadcrumb NavXT 3.0 Beta 2.

-John Havlik

[end of transmission, stay tuned]