Posts Tagged bugs

WP Subdomains not working with Wordpress 2.8

Thanks to everyone who informed me about the plugin not working with Wordpress 2.8.

Clearly this is quite serious. Luckily I’ve just finished my teaching job and I will look at this problem this weekend and try my best to have it fixed for Monday.

Also now I’ve finished working for the next 4 months updates to this plugin should continue again.

Thanks for hanging in there.

Bug fix release soon, I promise

Well 0.6.0 was just crap basically.

My big mistake came in the form of moving from a bunch of SQL to the get_posts function. The move itself was the right one to make, querying the database myself when there are functions to give me the data I want is stupid. However my mistake was not realising that this function by default just selects the first 5 posts or pages.

This has caused a whole load of headaches with everything from people with many subdomain pages to redirects only working for the first 5 posts of a category.

There were other bugs in this release too which are now fixed, the latest being this morning. Testing will start again and I hope to make this release in the next day or so. For those who are eager and adventurous then I can email you the test version.

I’ll be finished with my holiday in the next week and a half and able to give this plugin the attention it needs.

And now the 0.6.0 bugs :(

So far I just spotted one bug. If you’re using the Date Archive filtering and you are on a Subdmain Category it may get the wrong count for the month. This happens if a post is linked to more than one category in that subdomain’s heirarchy (i.e that category and any of it’s children).

Apart from that, Adam Dempsey (one of the previous authors of this plugin) confirmed something that I suspected. The feature I added to keep links to pages on the subdomain you’re viewing could be bad in terms of SEO. I’ve decided I will release an update in the next few days to make this a configurable option. However if you want rid of it now then:

  1. Open plugin/filters.php
  2. Go to the function named wps_page_link( $link, $id )
  3. Look for the line $link = $wps_this_subdomain->changePostLink( $link );
  4. Remove or comment it out
  5. Save the file

That’s all for now. Anyone else spots anything then let me know.

Another bug, *sigh* (NOT!)

I’m starting to think all of the Christmas drinking has broken me. Found a bug that is something I swear I checked before I released.

If your permalink is set to default (/?p=123) then the subdomains just show what’s on the front page. Set it to another and all should be fine. Now to fix the bugger.

UPDATE: Woohoo!! NOTABUG!!!

Basically when you have it set to default you’re not using permalinks or rewrite rules which means this plugin can’t really work the way it’s supposed to. I will look to see if there is another way of setting the category but I’m taking this off the bug list :)

New Year Bug Fix release soon

I fixed the page parent bug easily and put the fix on the last post. I was going to just do a new release yesterday, so those not brave enough to fix the bug themselves could just download a new version. However I got a little carried away with cleaning up crappy code, adding some comments and fixing a few other issues that I’m now having to test it fully again.

I’ve deicided to release this as a very quick 0.5.2 in the next few days. If you need the page parent bug fixed before that and don’t want to change the PHP yourself then send me a message and I’ll send you a replacement php file.