Questions tagged [auto-update]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
38 views

How to update Wordpress and plugins at specific day and time in PHP?

We use automatic updates on our sites due to having many sites and so manual updates not being feasible in the low hosting costs. But due to Wordpress or mainly plugin updates having the possibility ...
1
vote
2answers
72 views

Wordpress core auto update fails for UpdraftPlus WordPress Backup Plugin

I use a plugin (Companion Auto Update) for auto-update plugins. This is using the core function of Wordpress where you can force auto-update for plugins. All the plugins is updated when an update is ...
1
vote
2answers
39 views

Can a manually uploaded plugin be made to track updates from the WordPress.org plugin directory?

I've made a plugin which I will give to some users to test by manually uploading the zip file. I later on want to host the plugin in the WordPress.org plugin directory, but I want to avoid users ...
1
vote
1answer
186 views

“You have the latest version of WordPress. Future security updates will be applied automatically.”

Today I've manually updated my website Wordpress version from 5.0.0 to 5.0.2. Since these updates are not automatic, I'm puzzled by the meaning of this message that appears now at the top of my ...
0
votes
1answer
196 views

Inherited website changing CSS/JS path

Disclaimer - I don't often use WP and am somewhat limited in my knowledge of it;s inner workings, please don't many assumptions of my knowledge and explain everything as clearly as you can I ...
1
vote
0answers
13 views

Automatic updates only in a predefined maintenance window

I would like to use the automatic wordpress updates feature. But I wish that updates can only be done within a predefined time windows. In order to avoid an update during a critical use windows of ...
0
votes
1answer
36 views

I should enable automatic updates?

I have a small hosting company with a few hundred sites hosted on cPanel. All my clients need to use a WordPress plugin from our company for compatibility issues. So I have the option to make all ...
0
votes
1answer
24 views

Adding a banner to the install dialogue of a custom plugin

I wrote a custom plugin for a client and another one for myself. The one for my client is being used on 9 of their wordpress sites and I have zero drive to manually upload new versions 9 times. Hence ...
0
votes
1answer
506 views

Wordpress updates and Git

How to handle wordpress core and plugin updates when using git? I need to update my core and plugins. I have site on my localhost and live site on server. If I update localy and then commit+push ...
2
votes
1answer
682 views

What ALL can cause “Another update is currently in progress.”? [closed]

I have been digging through stuff and I can't seem to find any other reason for the "Another update is currently in progress." To clarify I have already tried the Fix Another Update Is In Progress ...
0
votes
1answer
13 views

Possible to automatically update plugin without user interaction

I am developing a plugin and I would like my plugin to auto-update. By auto-update I mean, it will somehow know that a new version is available and automatically update without user interaction. Does ...
0
votes
1answer
23 views

Is it possible to issue a theme update that requires a new plugin?

I developed a forked version of the Understrap theme for a project I completed. The theme has since been used in about 300 sites. Recently we found a bug relating to a plugin used that the developer ...
0
votes
1answer
32 views

Will WordPress Auto Update work on a site with Basic Authentication enabled?

I'm trying to setup WordPress Auto Patching on a site with Basic Authentication enabled (ie via .htaccess). I've setup a proper cron job to trigger the Auto Update process (with the Basic ...
0
votes
1answer
53 views

Update (a function) post's featured image as soon as $image_url changes

everyone! I've been making a wordpress plugin which gets seperate instagram photos and then puts them in shortcodes. Though, the shortcodes display images not saved in WP images folder, but directly ...
2
votes
1answer
121 views

I want to run different WordPress websites under the same database

I want to buy multiple domains and host on there different WordPress themes. However, I want them all to run under the same database. All of the websites will have a different theme however, the same ...
0
votes
3answers
559 views

Can't access dashboard after 4.8.1 automatic upgrade

I’ve had an automatic update to 4.8.1 (on local, staging and production-sites) on thursday the 3rd of August and since it is no longer possible to access the admin dashboard. In the header, i have ...
1
vote
1answer
268 views

Cannot change the definition of AUTOMATIC_UPDATER_DISABLED

I have several WordPress sites that I want to enable auto update. I installed Background Update Tester to verify that the updates were enabled correctly, but I get the following message: FAIL: The ...
0
votes
1answer
83 views

IP addresses to block to stop WP auto-update?

I am trying to run Wordpress 4.7.0 inside a docker container but the auto-update pushes me to 4.7.3. Now, I am aware that to stop auto updates I'd need to append the wp-config.php file in the back-end,...
2
votes
0answers
472 views

Website not updating - no cache plugins active!

I've a problem with my WordPress website getting updated after I make changes to its code: I'm using phpStorm with auto-save, running the website on WAMP, locally. Therefore, right after I right new ...
1
vote
1answer
67 views

Theme Javascript.php Overwritten Nightly [closed]

I am new to Wordpress. I inherited this site which ran ok with typical updates for about a year and suddenly this problem started to occur. Each night around the same time a portion of my ...
1
vote
0answers
121 views

Auto update specifick plugin

I've created a plugin and I want to auto-update this plugin. I've been looking in the WordPress Codex and found this following piece of code: add_filter( 'auto_update_plugin', '__return_true' ); I ...
2
votes
1answer
548 views

How to update/auto-update my private plugin? [duplicate]

I've made a private plugin for WordPress. How can I make this plugin update and/or even auto update? Thanks a lot already! EDIT: got the update part done, the only thing i need to add is the Auto-...
3
votes
5answers
366 views

Is it possible to prevent website from breaking with auto update?

Recently i've noticed a lot of posts from users, complaining about their website running into problem after updating the WordPress to the latest version. Let's say i have a website with a lot of ...
0
votes
2answers
32 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 ...
0
votes
2answers
296 views

Plugins download & install fine, wordpress update fails

I've setup all permissions and directories/files correctly according to Wordpress. Adding plugins/installing/updating works perfectly, but when it comes to updating to 4.7.2, it asks me for FTP ...
1
vote
0answers
45 views

Auto updating a single plugin

I have created a custom plugin and it is self hosted (not in the Wordpress repository). I am able to get WordPress to recognize when there are updates available for the plugin but I would like to have ...
2
votes
2answers
3k views

Get data from dropdown and update page

I have a simple webpage with a dropdown menu with a few options. I would like to be able to get the user's selection and then output the same selection on the webpage. This is the code I have so far. ...
0
votes
1answer
22 views

What do Wordpress auto updates include?

Ok so I know according to Wordpress' own article on this that the core gets security auto updates since 3.7. But my question is does that include all security fixes? I.e. if I have a site that does ...
0
votes
2answers
462 views

Can I update themes without enabling maintenance mode?

I would like to update only themes in my WP without enabling maintenance mode. Is it possible?
4
votes
1answer
3k views

Automatic updates are not working

After the new release, obviously that core and plugin automatic updates it's not working by my side. For the core auto updates I added the following mu-plugin: add_filter( '...
1
vote
1answer
38 views

Edit Auto Update Admin Notification

I'm new on stackexchange.com and hope to get some help for my topic. If a WordPRess website uses auto update the admin gets a notification, after the auto update is done. My goal is to change the ...
0
votes
1answer
159 views

Where to add my code to auto attach images to existing products

I've got this code from an answer to a previous question: add_action('add_attachment', function( $attachmentID ) { if ( ! class_exists( 'WC_Product' ) ) return; // if no WooCommerce do nothing //...
2
votes
1answer
70 views

Why are the automatic updates to Wordpress behind the version my site is on?

Been getting messages on a regular basis that my wordpress site has been automatically updated. The most recent one came in today and says it was updated automatically to WordPress 4.4.4. My website ...
0
votes
1answer
208 views

How to automate post update website check?

I maintain clients' Wordpress websites (~25 installations) as a part of my job. To do this quickly and efficiently I use Jetpack's "Manage" feature. In case something went wrong I have fully automated ...
0
votes
2answers
117 views

WordPress core update fails - no issues with plugin updates

My WP installation does one-click plugin / theme updates without any hiccups, but updates to the core always fails. No specific reason is cited, except for a suggestion that it may be due to file ...
1
vote
0answers
256 views

How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?

I need to run the following script once per 24 hours: (1) http:domain.com/wp-cron.php?import_key=Iq_GCn7v0&import_id=36&action=trigger the following one to run after the above, once or twice ...
0
votes
0answers
15 views

Update Wordpress from non-public machine

I'm setting up a Wordpress installation on a development machine. This machine, for both technical and security machines, isn't routable from the internet. (In other words, while it can connect to the ...
1
vote
1answer
903 views

Batch update a post meta field value of each post in Post Type

I need some help on making a batch post meta updater I'm trying to add to my options/setting page. Basically I'm looking for a way to click a button a batch runs through all post of a selected CPT "...
0
votes
2answers
754 views

Auto update post title and slug when post status is changed

I need help. Thanks in advance. I need a function that update post title and slug with some default title + current date when post status is updated from draft to published. I use this one to update ...
2
votes
1answer
192 views

Auto backup before automatic Wordpress updates

Is it possible to have a auto backup solution, that backs up my files and database before automatically upgrading Wordpress. Keeping up to date with the Wordpress versions seems to be more important ...
0
votes
1answer
183 views

Auto-update failing with “hardened” permissions

I've attempted to set up my wordpress install as recommended in the Codex's "Hardening WordPress" article. That is: All files are 644, all folders are 755 Everything owned by the user account wp-...
0
votes
2answers
182 views

Check filter defined or not?

Is this possible to find out whether add_filter( 'allow_major_auto_core_updates', '__return_true', 1 ); already added or not in some other plugin? or can i check this automatic updates set for ...
0
votes
1answer
205 views

wordpress automatic update does not run

Hey Im creating automatic update plugin for wordpress and i have added following code using add_action('init' add_filter( 'allow_major_auto_core_updates', '__return_true', 1 ); add_filter( '...
5
votes
3answers
1k views

Auto-updating Wordpress from a local zip file

I have a Wordpress blog hosted on a server without outgoing network. Therefore, Wordpress cannot check for a new version and/or update automatically to a new version. Currently, the only ways I'm ...
6
votes
1answer
248 views

WordPress updates defined vs add_filter?

I'm trying to create a WordPress update automation plugin. here I got two option to make enable and disable the updates. Via define ex :defined( 'AUTOMATIC_UPDATER_DISABLED',true ) 2.via ...
7
votes
1answer
229 views

Automate Wordpress Database Upgrade

I've set up auto-updates on my Wordpresses by adding /* Updates */ define('WP_AUTO_UPDATE_CORE', true); in the wp-config.php file. Once Wordpress releases a new version, when I try to reach the wp-...
2
votes
1answer
184 views

Disable Plugin Updates but Allow WP Auto Security Updates

In my wp-config.php file I have define('DISALLOW_FILE_MODS', true); which stops clients from being able to update plugins or add new ones. It also stops WP from running its auto update when a ...
1
vote
2answers
288 views

Making plugin unique to not conflict with plugins with the same name

I have plugin that has the same name as other plugin uploaded to wordpress.org How can i make it unique so it doesn't share "View Detais" link and auto-update with other plugin uploaded to wordpress....
1
vote
1answer
152 views

Where can i find wordpress auto update code flows?

I want to see how WordPress auto update works in code . which WordPress file or function performs auto core update? I have read http://halfelf.org/2011/how-the-wordpress-upgrade-works/ I have ...
0
votes
1answer
233 views

Wordpress Auto Updates

I need to have auto updates on my Wordpress so I've followed the codex here. My need is to have all updates like from 4.2.2 to 4.2.3 and to 4.3 etc.. No FTP credentials are needed on my server. My ...