WordPress MU 2.7.1 beta 2

WordPress MU is a multi user or multi blog version of WordPress that can be used to run sites like WordPress.com.

The 2.7.1 release is very close now. I have just uploaded wordpress-mu-2.7.1-beta2.zip for your enjoyment.

2.7.1 has taken longer than usual to come out, mainly because of the large number of bug fixes and new features in this release. Highlights include:

  • A revamped plugin system thanks to Andy Peatling. Plugins installed in the plugins directory rather than mu-plugins can be activated and deactivated on all blogs with one click.
  • The admin bar settings can be customized by any user for each blog via the “My Blogs” page. The code here is still rough, and may not make it into the final release. Please help clean it up!
  • The site admin can now set a Global Dashboard blog for users who don’t have blogs. Those users will be added to this blog rather than the first one.
  • And many more bugfixes you can read about on the MU Timeline

I think this release is just about good enough to put on a production server, but test it first on a development server and backup your old install if you’re really paranoid. All I’ll guarantee is that this software will take up space on your server. I need your help to test it.

If you’re a jQuery fiend or CSS styling guru, your help with the “My Blogs” page would be very much appreciated. My ugly code hides settings that aren’t relevant, but the page isn’t pretty. Use Trac or contact me through this site if you have ideas or code to contribute.

I’m glad to say that once MU 2.7.1 does come out. Upgrading from 2.7 should be as easy as clicking the Upgrade button in the dashboard. I tried upgrading from 2.7 yesterday and my test server upgraded itself after 1 or 2 false starts.
‘Course, if you’ve modified core files (naughty!), those changes will be overwritten and you’ll have to manually upgrade.

Thanks to everyone who helped me with patches, code snippets, ideas and with ticket updates on Trac.


69 Comments

buzz_lightyear (9 comments.) on April 18, 2009 at 1:25 am.

Hi donncha,
many thanx for hard work…
just installed beta2 and testing…

Reply

donnacha | WordSkill (27 comments.) on April 18, 2009 at 3:06 am.

Great news, thanks.

Reply

Nimwit (9 comments.) on April 18, 2009 at 11:56 am.

Just came accross this blog. Are you and WordPress MU as one? I mean are you part of the same team or developer?

N.

Reply

Donncha (1707 comments.) on April 18, 2009 at 12:53 pm.

Yes, and yes :)

Reply

Nimwit (9 comments.) on April 18, 2009 at 12:55 pm.

:)

Reply

DjZoNe (6 comments.) on April 18, 2009 at 12:09 pm.

Donnacha,
is there any chance of fixing this bug http://mu.wordpress.org/forums/topic.php?id=10982 in final 2.7.1 MU?

Reply

Donncha (1707 comments.) on April 18, 2009 at 12:53 pm.

Sounds like a local DNS issue on your server. Do you have the latest wp-super-cache installed? Does it complain that it can’t find wp-cron.php?

ssh to your server and ping a local blog url. Does that work?

Reply

DjZoNe (6 comments.) on April 18, 2009 at 12:56 pm.

Donnacha, local DNS issue?
I upgrade to MU 2.7 and stops working, downgrade to 2.6.5 and works again. I guess it has nothing to do with local dns.

Reply

Donncha (1707 comments.) on April 18, 2009 at 1:12 pm.

Sorry, but this is the first I’ve heard of this problem so it’s unlikely to be fixed before 2.7.1 comes out. If you can debug it yourself that would help immensely because it doesn’t happen for me.

Have you got regular WordPress installed on that server? Does the same thing happen with that? Both projects share the same code so it should have problems too.

Have you tried the beta2 code?

Reply

DjZoNe (6 comments.) on April 18, 2009 at 8:44 pm.

I’ve just installed a new MU for testing the fetch_rss feature, but seems still broken.

The intresting is, that it is working in the same box with normal 2.7.1 wp.

Reply

DjZoNe (6 comments.) on April 19, 2009 at 4:20 pm.

To be more precise, in 2.7.1 beta2 it only stops working if your feed throws HTTP 301 (redirected to feedburner etc.), otherwise it seems working.

Reply

DjZoNe (1 comments.) on May 25, 2009 at 12:54 pm.

This problem seems to be more intresting by the way. In the mean time I’ve installed a brand new 2.7.1 MU, and rss widgets work.

But, if I upgrade from an earlier version the rss widgets does not show any items anymore. I must have been something around the db, or a plugin conflict… I’m digging deeper.

Reply

PerS (5 comments.) on April 18, 2009 at 4:44 pm.

Hi Donncha, is beta2 available on svn ?

Reply

Donncha (1707 comments.) on April 18, 2009 at 6:40 pm.

Yeah, branches/2.7/ basically. I didn’t tag it, and I forgot to bump the version number!

Reply

buzz_lightyear (9 comments.) on April 18, 2009 at 5:05 pm.

hi Donncha,
maybe it is known issue already, but beta 2 reads beta 1 in admin footer.

thanx
buzz

Reply

Donncha (1707 comments.) on April 18, 2009 at 6:40 pm.

Oops, forgot to bump the version! It is the latest code though!

Reply

buzz_lightyear (9 comments.) on April 18, 2009 at 8:12 pm.

:) clear

Reply

buzz_lightyear (9 comments.) on April 18, 2009 at 8:11 pm.

BTW. what’s the usage/point of Dashboard Blog?

Reply

Donncha (1707 comments.) on April 18, 2009 at 8:23 pm.

It’s where users without blogs can login and change their profile. Originally it was the first blog but that’s not the best solution.

Reply

buzz_lightyear (9 comments.) on April 18, 2009 at 9:05 pm.

yes, that’s what i’ve got too, but i don’t see a difference between users without blog just on main site or on dedicated dashboard blog. They can change their profile on main blog too.
I personally prefer to have all users without blog as Contributors on main site, so they can post to main site.
BTW, was the default role already fixed? In 2.7 it was not working.

thanx
buzz

Reply

Donncha (1707 comments.) on April 18, 2009 at 9:17 pm.

Default role? I thought it was ok. Please open a ticket on Trac if this bug is still in the 2.7.1 beta 2 release and I’ll get it fixed.

Reply

buzz_lightyear (9 comments.) on April 19, 2009 at 12:10 am.

Well, still no luck… will open a ticket

buzz_lightyear (9 comments.) on April 19, 2009 at 12:29 am.

just opened new ticket #957.

One more question please. why usernames and blogs with underscore or dash are not allowed? I could create buzz_lightyear at wordpress.com why not in standard wmpu?

i hacked mine to allow it, but why not by default, please?

many thanx

Donncha (1707 comments.) on April 19, 2009 at 8:16 pm.

buzz – you can’t create accounts with an underscore on WordPress.com now. It’s because _ is an invalid character in a hostname (or subdomain as it’s commonly called).

eo (4 comments.) on April 18, 2009 at 8:43 pm.

your website sucks in ie

Reply

Donncha (1707 comments.) on April 18, 2009 at 9:17 pm.

Thanks. It rocks in Firefox though :)

Reply

Nimwit (9 comments.) on April 19, 2009 at 1:35 am.

oh when will people learn IE is so limiting for developers…

Reply

eo (4 comments.) on April 19, 2009 at 1:07 pm.

that does not mean you can ignore ie users. being a web developers means to seek or create solutions to overcome those issues.. i mean i am not using but there is still zillions of ie6 users out there

Reply

DjZoNe (6 comments.) on April 19, 2009 at 1:13 pm.

eo,
if IE6 would be a child, I would just go to primaty school. It’s damn OLD and f*ckin outdated.

Donncha (1707 comments.) on April 19, 2009 at 1:15 pm.

I don’t have access to IE here so it’s not something I can fix. The theme is GPLed and the theme author is linked from the footer.
I’m sure they’d love to get a patch to improve compatibility!

Barry (6 comments.) on April 19, 2009 at 1:17 pm.

IE6 is 8 years old – upgrade already.

eo (4 comments.) on April 19, 2009 at 1:30 pm.

wow you guys respond really quick P:

@barry: i told you i am not using ie6 other than testing purposes
@djzone: i am very aware of that..you dont have to tell me, try telling that to corporate users and moron home users P:
@Donncha: there’s shedloads of transparency and rounded corners fixes out there, but if you would like to fix before the creators, just emulate the transparency with a 1px black bg img and the css filter: 40 -mozilla:0.4 etc.. for rounded corners you dont have to use fancy js..just create a rounded corner graphic and pin it around your sidebar with absolute-relative positioning.. and dont be that hard on me, i hate ie more than you do P:

donnacha | WordSkill (27 comments.) on April 18, 2009 at 11:04 pm.

LOL

Reply

Jed on April 18, 2009 at 11:25 pm.

Is it working with latest rev of bp with this beta2 yet? It was able to activate bp but nothing happened.

Reply

buzz_lightyear (9 comments.) on April 19, 2009 at 12:06 am.

oh! that i’m gonna find out very soon :) just wondering which BP version to install.

Reply

buzz_lightyear (9 comments.) on April 19, 2009 at 4:48 am.

hi Jed,
on my server, latest BP from trunk r1350 works with WPMU 2.7.1 b2

Reply

Harsh Agrawal (1 comments.) on April 18, 2009 at 11:44 pm.

Time to get my hand on it Donncha.

Reply

Konstantin (8 comments.) on April 19, 2009 at 12:41 am.

Hey Donncha, updated right now but I am having one problem:

When you click on the Dashboard link, it goes to wp-admin/admin.php?page=index.php but there is nothing there. It loads the menu, the header and footer but there is no content shown. Going to /wp-admin/index.php shows up corretly.

What could have gone wrong?

Reply

Donncha (1707 comments.) on April 19, 2009 at 7:16 am.

Do you have an index.php in your plugins or mu-plugins folder?
Is this on the main blog, or another one? VHOST setting?

Reply

Konstantin (8 comments.) on April 19, 2009 at 10:08 am.

I do have an index.php in both folders, the default from a mu install. Vhost is set to no. I tested this with main blog and another blog I have, both gave me the same result.

Reply

Donncha (1707 comments.) on April 19, 2009 at 11:40 am.

Remove those index.php files. They were removed nin months ago in 1369 and 1370.

Remove those index.php files and the broken link will go away.

Reply

Konstantin (8 comments.) on April 19, 2009 at 2:44 pm.

Ah, didnt notice the change from php to txt. This will teach me to pay attention. Works now, and the dashboard loads fast!

Thanks! Beta 2 is working rather fine on my production server =)

Nimwit (9 comments.) on April 19, 2009 at 3:08 am.

Just installed this on a fresh clean site with WPv2.7.1 and got the following error:

Warning: constant() [function.constant]: Couldn’t find constant VHOST in /home/…/wpmu-settings.php on line 114

Warning: constant() [function.constant]: Couldn’t find constant VHOST in /home/…/wpmu-settings.php on line 140

Any ideas? If this is the wrong place to ask this type of question could you please direct me to the right location.

Cheers,

N.

Reply

Nimwit (9 comments.) on April 19, 2009 at 3:09 am.

I installed it in WP root not a sub folder btw.

Reply

Nimwit (9 comments.) on April 19, 2009 at 3:17 am.

ignore this, I did not define VHOST. mind you I get redirection loop now… Not to worry I’ll figure it out.

N.

Reply

Nimwit (9 comments.) on April 19, 2009 at 6:49 am.

OMG I spent hours scratching my head only to find out MU dynamically generates the wp-config.php file…

Why do I have to over complicate things… :(

Reply

Donncha (1707 comments.) on April 19, 2009 at 7:15 am.

Argh! There’s a warning right at the top of wp-config.php not to do that. :)

Reply

Nimwit (9 comments.) on April 19, 2009 at 7:22 am.

Hence my handle… I really should read manuals before unwapping the package and wanting to play before I know how things work.. ;)

Reply

Joe (2 comments.) on April 19, 2009 at 12:26 pm.

I have a problem with my favourite plugin, and one used on many premium themes, when using it with MU. That is the Featured Content Gallery

http://wordpress.org/extend/plugins/featured-content-gallery/

Do you think this will be fixed in Mu 2.7.1? It seems like a simple problem, something on the options.php page.

I know that you can’t develope to get all plugin problems fixed, but I think that this working with MU would be a bonus that will get more users.

Joe

Reply

Donncha (1707 comments.) on April 19, 2009 at 1:02 pm.

Joe – unlikely to be fixed. I’ve never used that plugin and you don’t even describe what the problem is. Can you try fixing it?

Reply

Joe (2 comments.) on April 19, 2009 at 1:56 pm.

Sorry, the dangers of tryign to work with 3 kids around.

The problem is that when you add info to the plugin, it tells you that the options.php page cannot be found. Which is strange, because that is on the options.php page.

I’ll take a look and see if I can figure out the problem.

Reply

Donncha (1707 comments.) on April 19, 2009 at 3:07 pm.

Ah, that can’t be fixed unfortunately. MU whitelists the options it’ll accept. WP 2.8 does too, but has a compatibility mode for legacy plugins.

Unfortunately it’s a huge security hole for MU sites because any admin can change any blog option and potentially execute PHP code.

Reply

Tawfeeq (1 comments.) on April 19, 2009 at 12:32 pm.

What about Arabic language support

Reply

Donncha (1707 comments.) on April 19, 2009 at 1:13 pm.

You’re welcome to translate the interface to your own language but I’m not familiar with the process.

I found this thread through a Google search. Leaving a message there or searching using Google should help you track down the correct language file.

Reply

Nimwit (9 comments.) on April 19, 2009 at 1:32 pm.

Just to let you know…

- I installed this version in about 5 mins (after spending 3 hours of wasting my time doing silly things with it)
- Changed most options to the way I like things
- Activated my top 15 plugins
- Created two subdomain blogs
- Activated various plugins (that don’t mess with the database) for each blog
- published posts & pages, then edited, deleted, and republished
- Made comments
- Changed a bit of the code to stop users changing permalinks
- and a whole lot more…

AND everything runs like a charm!

Thanks, and I look forward to the final version ;)

N.

Reply

Donncha (1707 comments.) on April 19, 2009 at 3:09 pm.

eo – thanks for the tips on editing the template. I’ll have a go at fixing it during the week if I find time. If MU is delayed I’ll tell everyone I was editing my theme! ;)

Reply

PerS (5 comments.) on April 19, 2009 at 3:34 pm.

Got this error: Parse error: syntax error, unexpected T_SL in /PATH/wp-admin/plugins.php on line 16

plugins.php at line 16 contains patch info:

<<<<<<>>>>>> .r1746

Reply

PerS (5 comments.) on April 19, 2009 at 3:38 pm.

eh .. my fault, btw nice to see my “fix” implemented :)

Reply

eo (4 comments.) on April 19, 2009 at 3:52 pm.

how did i even get here P: nvm.. good luck with that MU or whatever that is :D

Reply

Joshua Parker (1 comments.) on April 21, 2009 at 6:48 pm.

Haven’t upgraded to beta2 yet, but I love the changes that you did in beta1. Excellent!

Reply

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Holy Shmoly! is Stephen Fry proof thanks to caching by WP Super Cache