Pull latest stable release via git [closed]

To my knowledge it is not possible to generically clone/checkout the latest stable version with either git or svn. In either case you have to identify the specific tag (version) you want to pull from with git or svn. Or, as you’ve done, just pull trunk (which is the development branch) For more see: https://codex.wordpress.org/Using_Subversion

Using Subversion to deploy WordPress

Well, nothing prevents from using Subversion for solving this tasks Note: some steps may differ depending on layout of your own repository for themes/plugins (I suppose, they are dirs inside trunk, and the whole tree doesn’t repeat standard WP-layout: /wp-content/themes/ wp-content/plugins/) In order to start you have to have: Empty Subversion repository, in which you … Read more

Versioning and your WordPress site?

The most prudent way is to use a staging server. The workflow would be: DVCS (git, mercurial) Remote repository for multiple users (self hosted, github, bitbucket, etc,). Staging server, push master files to. If all is good send the files from staging to live. Some Notes: Have only one/two people actually manage the master push … Read more

How do I get Version of all active plugins programmatically?

Problem Analysis To get information about installed plugins, which provides plugin’s version, we’ll use get_plugins() function. Keep in mind, that this function is available in back end only, so our code must reside there. Data, returned from this function, does not tell us, which plugins are active. To filter out active plugins, we’ll use get_option(‘active_plugins’) … Read more

What is the best way to setup wordpress development environment for freelancers with version control?

Have you looked at VVV ? Varying Vagrant Vagrants is designed to support WordPress plugin and theme development using vagrant boxes and github version control. https://github.com/Varying-Vagrant-Vagrants/VVV Re Github/Bitbucket – you may possibly use one master and then have a branch per subdomain if there is enough commonality, but from the very vague information you have … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)