Questions tagged [version-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

Automatic updates and merging manual changes

I have Wordpress running on my dedicated server, and I thought it would be a good idea to use Git so that I can track changes that I make over time. I have updated a few things, mostly just little ...
user avatar
0 votes
1 answer
26 views

Contact Form 7 - Replace database configured form template with a static file

TL;DR - Is there a way CF7 can pull it's form markup and tags from a static file, instead of the database? So I can maintain that file in version control. We have a very complex form running under ...
user avatar
0 votes
0 answers
31 views

Is there a plugin for versioning files in the theme (style , .js and .php files)?

I checked the available wordpress plugins for versioning, but none seem to do what I need. I would like a way to peform some simple version control on the style sheet or .php files in the theme. ...
user avatar
0 votes
1 answer
20 views

Checking for a new version from WP Repos

I would like to know if there is a new version from the official WP Repos for a specific plugin. How can I check for this in json/xml format? Or other format maybe? Something like this: https://api....
user avatar
0 votes
1 answer
24 views

Wordpress pages creation work distribution & then combining - Localhost XAMPP

Is there any best practice for distributing Pages creation work amongst 4 people and then exporting & combine all their work. I was thinking for following steps: creating XAMPP setup on each ...
user avatar
3 votes
1 answer
98 views

WordPress Health Tool reporting version control as a critical issue

I use git to deploy my production site, and as a result, the sites Health tool is reporting a critical issue due to the auto-updates not working when a site is under version control. To be honest, it ...
user avatar
1 vote
1 answer
22 views

How can I perform high-level database merging for WordPress within continues delivery?

I've a bit of a problem. I'm currently trying to realize a WordPress development process regarding to one of my old question / topic: https://stackoverflow.com/questions/48890019/wordpress-...
user avatar
  • 195
1 vote
1 answer
121 views

How should I be handling my theme version numbering?

Let's say I have a custom-coded theme, and here's the style.css: /* Theme Name: My Theme Theme URI: http://someurl.com Author: Me Author URI: http://wordpress.org/ Description: Some description ...
user avatar
1 vote
1 answer
36 views

How developed with version control word press site on shared host? [closed]

I have web site online now I want to connect it with version control. It deploy on shared host. Because When change online it effect the site I want try local and deploy changes. I downloaded all ...
user avatar
0 votes
2 answers
3k views

How do I get Version of all active plugins programmatically?

I want to check latest version of plugin is available or not. For that I required current version of active plugins. How can I get current version of all active plugins programmatically ?
user avatar
0 votes
1 answer
649 views

WordPress multisite - What's the ideal setup for development/staging/production environments?

Intro: I'm in the initial planning of a WordPress multisite development environment on which the agency I work for will build our client's websites. We are currently building a 'vanilla' theme and we ...
user avatar
  • 111
0 votes
1 answer
1k views

Setting up Version Control for Wordpress plugin development

Does anyone have suggestions for setting up version control for developing WordPress plugins? I'm working in a development environment, and I'm trying to avoid having to repo the entire WordPress ...
user avatar
  • 37
0 votes
0 answers
254 views

Updating a WP Plugin SVN not showing on Wordpress Website or Zip

Thanks in advance for any help given, I have been happily developing a plugin over the past while and have recently released the first public versions on the WP site. I have however encountered a ...
user avatar
2 votes
1 answer
430 views

How do you manage your theme versions when privately distributing?

I'm working on a theme that I don't want to be public or available via the default WordPress directory, as it's going to be a framework that we use to develop a variety of websites we host. Now, I ...
user avatar
-1 votes
1 answer
301 views

Is Explicit Versioning a better alternative to Semantic Versioning for wordpress?

Semantic Version has 3 digits for versioning of the code (1.0.0.), is Explicit Versioning with 4 digits (1.0.0.0.) and not 100% API focus a better approach for Wordpress or Drupal developers? https://...
user avatar
  • 11
0 votes
2 answers
41 views

WordPress site auto updates for no reason

I have a WP site currently running 4.7.2 version, and I use version control system. I did check both file configurations and database, there is nothing to force the site to auto update, also there are ...
user avatar
  • 101
2 votes
1 answer
562 views

Wordpress Workflow - version control, deployment = database issue

I'm trying to work version control into developing a Wordpress site, but I'm unable to solve the issue of DB synchronization. For simplicity's sake, I will describe a scenario with just Live and ...
user avatar
  • 21
1 vote
3 answers
5k views

WordPress script file version numbers changing in live environment

I'm registering my javascript files for Wordpress in my functions file as so: if( !function_exists( "theme_js" ) ) { function theme_js(){ wp_register_script('wpbs-scripts', ...
user avatar
  • 792
0 votes
1 answer
724 views

How to rename the wp-config.php file once under version control?

git clone git://develop.git.wordpress.org/ develop After cloning the core development repository with Git, considering the files and folders are under version control, how can the config files be ...
user avatar
  • 2,987
2 votes
2 answers
507 views

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

I am trying to setup wordpress development environment for freelancers. I have freelancers working on my site from different locations. Which tools and technologies will support development of my ...
user avatar
0 votes
1 answer
59 views

Questions about Git and WordPress [duplicate]

I am gradually getting the hang of using Git with WordPress but I have a question that's hopefully a simple answer. I have set up my local environment which I am happy with and using BitBucket as a ...
user avatar
  • 43
0 votes
1 answer
1k views

How to change version numbers in themes from Official repository?

I'm developing my own theme, anotherDuenaTheme, based on the Duena theme. How can I change version numbers of anotherDuenaTheme and use the information for auto-updates after an hypothetical update ...
user avatar
0 votes
0 answers
96 views

version control for wordpress? (wordpress folder and database at same time)

I am familiar with version control to some extent. I have been using git and github for school purposes. Now when I use wordpress it makes sense that I can use git when developing on my local ...
user avatar
  • 103
0 votes
1 answer
746 views

How to revert back to older Wordpress version?

After updating to Wordpress 4, everything went haywire. I dont have any FTP credentials to download the wordpress files from the server. All I have with me is the login credentials to the Wordpress ...
user avatar
  • 103
1 vote
2 answers
540 views

How to make changes on Wordpress site locally on live site?

I would like to set up a System where I can clone a live website and work on it locally and then when I'm satisfied and the changes are approved, I can send or sync those changes with the live site. I'...
user avatar
  • 57
0 votes
1 answer
79 views

When developing entire sites for clients, is it viable to version control the entire site? [duplicate]

How do you then manage the database? An alternative, of course, is to just keep the themes in version control, and then upload them manually to the site when deploying. edit: Close this, it's ...
user avatar
1 vote
1 answer
158 views

How can I edit commit messages in my wp-hosted plugin repo?

I stupidly committed code with a commit message that doesn't make sense. I looked up how to edit commit messages for SVN repos and read this stackoverflow post, however, unfortunately it seems like I ...
user avatar
1 vote
2 answers
167 views

Plugin updates, version dependencies, and backwards compatibility

Let's say I have a plugin that's currently at version 1.1, and I am releasing version 1.2. When you run the 1.2 update, a script will run to add new options, columns, tables, etc. A month later, 1.3 ...
user avatar
0 votes
0 answers
2k views

Revision History for Entire Wordpress Site

I am learning wordpress and am working on a wordpress site where I would like to have a revision history for every single change I make. I understand you can see the revision history for pages and ...
user avatar
  • 101
0 votes
1 answer
207 views

What is the best way to setup Wordpress for version control and PhpStorm while allowing updates

I have an active WordPress website that I would like to put under version control. Since I do keep pretty up to date on core and plugin updates I would think that those items should be best kept out ...
user avatar
  • 151
1 vote
1 answer
185 views

How to make my plugin able to be updated from admin panel?

Most of the Wordpress Plugins are able to be updated from admin panel. You go to Admin Panel > Plugins > Installed Plugins > and if you have an outdated(old plugin) that has a new version, ...
user avatar
  • 135
12 votes
2 answers
9k views

Solution for database version control and deployment?

Currently i use a dump script and commit the database to the git repo. --skip-extended-insert --skip-comments --skip-dump-date means that a diff can give me a fair idea of what has changed, but it ...
user avatar
0 votes
3 answers
4k views

TwentyTwelve child theme style.css?ver=3.8.1

I've created a child theme of TwentyTwelve. On the front end, the <head> section contains the line: http://example.com/wp-content/themes/childtheme/style.css?ver=3.8.1 Any changes I make to ...
user avatar
  • 1,660
2 votes
1 answer
1k views

Pull latest stable release via git [closed]

I'm currently working with a workflow that makes use of Wordpress as a submodule under git. My workflow involves adding a submodule to my project from the following URL: git://github.com/WordPress/...
user avatar
  • 407
1 vote
1 answer
162 views

Version control with a team of non-developers

At work we have decided to redo our website from scratch since over the years it has been plagued with no version control or dev site, plugin inconsistencies, etc. The team who created the current ...
user avatar
0 votes
0 answers
38 views

What is the proper way to manage versions (with svn) of a theme we create?

I'm developing a theme and want to control its versions. Here is my development process but I'm not sure if it's proper or not. Please help give me suggestions. Trunk is the main and the latest ...
user avatar
0 votes
1 answer
53 views

Newest version of javascript

Doing updates to my site and all the files seem to update ok, except the javascript files. I think this is to do with the version, but try as I might I can't get version numbering to work. ...
user avatar
  • 2,179
0 votes
1 answer
142 views

Does Wordpress check for updates of a plugin via plugins root folder name?

I just completed writing a plugin from another plugin. When I changed the developer name, version and other details from the plugin file, I thought the version tracing would now be done using the new ...
user avatar
1 vote
1 answer
185 views

Is there any good way to use SVN for uploads directory?

We just got our servers set up with SVN which works great. Wordpress upgrades and plugin installations are managed manually, which all goes through SVN as well, but I can't work out a good way to ...
user avatar
13 votes
2 answers
2k views

How can I keep the content of my pages version controlled?

We have a WordPress-based website that provides documentation to our REST API. Since our API is constantly changing, so is the documentation. However, we would like to keep the documentation version ...
user avatar
4 votes
1 answer
420 views

Any way to create a revision of a post ONLY with a new button in the Meta Box?

Quite sure there isn't a way baked in to do this, but anyone have any ideas on how I would get something like this done? I want to turn autorevisions off and ONLY have a revision created when a button ...
user avatar
  • 41
-1 votes
1 answer
176 views

WordPress and Git: How does Git interact with your IDE? [closed]

Everyone has been telling me I should use Git. What I don't understand is how git interacts with your IDE. Say i'm developing on Dreamweaver, and I switch branches, my IDE isn't going to reflect that ...
user avatar
  • 1,361
1 vote
1 answer
91 views

Manage base theme with version control?

I develop wordpress theme based on a base theme. sometimes when i'm coding i want to add functions, or simply piece of code i've just added to to the theme i am working to my base theme. in this way ...
user avatar
43 votes
4 answers
11k views

Best practice for versioning wp-config.php?

Is there a best practice for including your wp-config.php file in your version control repository? I'm considering creating a new site with this type of configuration, (similar to Alex King and Mark ...
user avatar
  • 2,087
0 votes
1 answer
48 views

Can plugin2 uninstall plugin1 at the very beginning of plugin2's installation?

As per the title. I have a new version of a plugin. It installs fine on a clean WordPress. When a user tries to install it when they have a previous version installed, the plugin does not function. ...
user avatar
  • 113
7 votes
3 answers
965 views

Version Control: Entire site or just pieces?

I've been using git to track changes in the plugins and themes I've developed for different sites. Each plugin or theme has their own repository in whichever local install of WordPress I happen to be ...
user avatar
  • 2,087
-1 votes
1 answer
569 views

what is the cache directory for in my theme? (version control it?)

I was wondering what processes exactly use the cache directory inside my theme's directory. More specifically, I am wondering if I should add any of those files to my git repo.
user avatar
0 votes
1 answer
465 views

WordPress project under Mercurial, what's an appropriate .hgignore file?

For those of you who are controlling their project with Mercurial, I'm curious as to what you have listed in your .hgignore file? I'm at a bit of a loss as to what I should include in it. I'm ...
user avatar
11 votes
3 answers
4k views

How do I add version control to my workflow?

I develop themes, lots of them. I am given a PSD, code up the HTML/CSS, slap the code into Wordpress, and make corrections as they get QC'd. Once live, clients can edit blog posts like normal or ...
user avatar
  • 235
43 votes
4 answers
14k views

Dev, Stage and Production Deployment for WordPress Sites?

So I need to be able to have dev/stage/production iterations (over separate servers) for a WordPress website, I use git usually but this obviously isn't going to work with WordPress sites because of ...
user avatar