Questions tagged [version-control]
The version-control tag has no usage guidance.
68
questions
0
votes
0
answers
12
views
Wordpress 6.x tool to merge content from production database to development database [closed]
Does wordpress 6.x have a tool or command within its core capabilities that can perform something similar to git merge <branch name> but instead of merging code from a git repository, the tool ...
1
vote
1
answer
318
views
Busting Browser Cache when updating stylesheet of Wordpress website
When I've edited the child stylesheet for my site I'm encountering a problem where anyone who has already browsed my site will not see the correct version because their browser cache is using an old ...
0
votes
1
answer
7
views
If you already have a copy of the code, is there any reason to create a feature branch?
Let's say you join a team and are provided with a copy of the code from a project. That code is already set up in your IDE. Someone tells you that you need to create a feature branch. Isn't the copy ...
3
votes
6
answers
3k
views
Updating WordPress core with zero downtime - I mean zero
I have a critical website which is under version control. When I update the core WordPress files I do so locally, then commit the changes. When I do that the live site (obviously) does not even ...
1
vote
0
answers
36
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 ...
0
votes
1
answer
55
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 ...
0
votes
0
answers
54
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. ...
0
votes
1
answer
26
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....
0
votes
1
answer
27
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 ...
3
votes
1
answer
112
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 ...
1
vote
1
answer
35
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-...
1
vote
2
answers
192
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
...
1
vote
1
answer
39
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 ...
2
votes
3
answers
4k
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 ?
0
votes
1
answer
760
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 ...
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 ...
0
votes
0
answers
272
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 ...
2
votes
1
answer
567
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 ...
-1
votes
1
answer
360
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://...
0
votes
2
answers
47
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 ...
2
votes
1
answer
619
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 ...
1
vote
3
answers
7k
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',
...
0
votes
1
answer
796
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 ...
2
votes
2
answers
553
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 ...
0
votes
1
answer
60
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
98
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 ...
0
votes
1
answer
750
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 ...
1
vote
2
answers
606
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'...
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 ...
2
votes
1
answer
175
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 ...
1
vote
2
answers
185
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 ...
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 ...
0
votes
1
answer
216
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 ...
1
vote
1
answer
216
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, ...
13
votes
2
answers
10k
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 ...
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 ...
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/...
1
vote
1
answer
163
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 ...
0
votes
0
answers
39
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 ...
0
votes
1
answer
56
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.
...
0
votes
1
answer
143
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 ...
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 ...
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 ...
4
votes
1
answer
557
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 ...
-1
votes
1
answer
178
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 ...
1
vote
1
answer
98
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 ...
47
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 ...
0
votes
1
answer
49
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. ...
7
votes
3
answers
1k
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 ...