How to synchronize user profile fields in multisite?

This code works, but it’s only been tested in a localhost environment. There’s a function extracted from the plugin Multisite User Management, which is based on the get_blog_list function, that has been deprecated. No alternative available. For performance reasons this function is not recommended. The user meta has to be checked individually, i.e.: Aim, Jabber, … Read more

How can I sync WordPress plugin settings between environments?

The reliable two–way sync is simply not something that have happened in WordPress. The typical way is in line with what you are doing — pulling a copy of production database into development environment. Note that this is commonly the one direction it goes. It’s much more problematic to try sync development back to production. … Read more

WordPress as XML-RPC client?

WordPress already has a XML-RPC client class implemented. It’s in the same file as the server part: class-IXR.php located in wp-includes. The following code will generate a new post. You could wrap this in a function and attach it to the save_post/update_post action hook. To sync both parts, you could check for the post-slug or … Read more

WordPress database synch between dev and prod

The reality is that what we want is this: http://www.liquibase.org/ Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. However our development process … Read more