Questions tagged [automatic-updates]
Cron based background upgrades for WordPress core, plugins, themes and language packs.
224
questions
1
vote
1
answer
23
views
"View Version Details" on Plugin update shows "Plugin not found"
I'm trying to make the update feature for my plugin but I don't manage to the the "View Version Details" or the "Update Now" features working.
It keeps or returning "Plugin ...
0
votes
3
answers
205
views
Fatal error..can't sign into my WP site to try and deactivate naughty plugins. Help!
dear sages
received this when trying to either access my site URL, or sign into WP admin:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, ...
0
votes
0
answers
29
views
Twenty Twenty One update changes dom classes and breaks my child theme
I built my first child theme and am paying the price of my ignorance.
It basically breaks all the time. Every update to the main theme (Twenty Twenty One) seems to change some class name that my js ...
0
votes
0
answers
45
views
How to schedule Automatic Wordpress Core and specifics Plugins updates for specific time a day
Nowadays we are doing manually updates every 2 weeks in a test server, we test all plugins and if everything is ok. We deploy same file changes with Git in production server.
Sometime we found some ...
1
vote
1
answer
35
views
Adding "Changelog" as a second tab to the auto updater custom plugin
I have this code for the auto update plugins manually from my own server:
<?php
// Take over the update check
add_filter( 'pre_set_site_transient_update_plugins', 'gb_check_for_plugin_update' );
...
1
vote
0
answers
41
views
Wordpress Plugin Update not working
I am facing an issue of update now button not showing up even if there is an update for a plugin. The following is the method that checks the updates for the plugin
public function check_update( $...
0
votes
0
answers
68
views
What triggers WordPress automatic updates? (revisited)
I'm trying to ascertain what triggers WordPress automatic updates. (focusing core-updates for now, not plugin/theme at this time.)
How To/What triggers a Wordpress auto update?
The 8 year old question ...
1
vote
1
answer
444
views
Stiff-necked themes
Site health alerts that I should remove inactive themes, but every time I update WordPress, the default themes are automatically installed again. How do I get rid of automatic twentywhatever themes ...
0
votes
0
answers
25
views
Control a Wordpress plugin auto-update rate time
I am writing a plugin, I want, in some cases, to tell WordPress to update that plugin, and that plugin only, immediately.
I know that there is a transient called update_plugins that contains the ...
0
votes
1
answer
114
views
Wordpress is updating only patch version and not minor
I was using version 5.1.15
It updated to 5.1.16. But not to 5.2
What should I check?
0
votes
1
answer
314
views
How do I send out an update for my custom wordpress theme?
I created a wordpress theme and I've installed it on two sites so far. I recently made an update to the theme and I want to push it to all of my clients. How do I send out an update?
0
votes
0
answers
21
views
Wordpress Automated Posts Creation
I have already read the question on: Automating Page Creation and the possible suggestion, but I want to have another discussion here.
So, I am having a python scraper which gets 1000s of results ...
0
votes
2
answers
154
views
Automated WordPress update failed to complete - but all updates fail with code -1
I have a WordPress website on my Ubuntu machine. I do use auto-updates and auto-updates for plugins. After I logged in recently I saw that a couple of plugins didn't update, as well as WordPress ...
0
votes
0
answers
38
views
How to enable auto update for embedded plugins
I'm working on a plugin that will support my custom theme. I've embedded some commercial plugins like elementor free and pro elements, but I've noticed that I'm unable to let auto update them if ...
1
vote
1
answer
32
views
Do plugin auto-updates also run for a lower version?
We are planning to upload a new major version of our plugin to the WordPress Plugins Directory.
As part of our contingency planning, we wanted to understand how rolling back to the old version might ...
0
votes
0
answers
140
views
Plugin download link
I am facing this problem on my plugin.
The update link is something like that:
https://acpt.io/wp-json/api/v1/plugin/download?license=xxxxx&user_id=yyyyy
(I need those two parameters for checking ...
0
votes
1
answer
43
views
How to Replicate Elementor Licensing Model
I plan on selling premium WordPress plugins and I'm looking to implement an authentication model similar to Elementor where the end user is required authenticate their domain with my server in order ...
0
votes
1
answer
130
views
How to Enfroce Domain Licensing Limits? [closed]
I'm looking to sell premium WordPress plugins (using Easy Digital Downloads licensing manager) and I want to limit the number of domains the plugin can be activated on (to receive automatic updates). ...
0
votes
1
answer
68
views
Hook automatic_updates_complete to autoupdate plugin
I'm trying to trigger some internal update class when WP is autoupdated.
For manual update (when clicking on update), I found a way, it's pretty well documentated, I use the hook
add_action( '...
-1
votes
2
answers
102
views
How to upgrade WordPress automatically?
How to upgrade WordPress automatically?
What is the standard way to upgrade an entire WordPress installation --- core or core and plugins, automatically?
0
votes
1
answer
60
views
Cannot update plugin
I've implemented this class for update my plugin, I've followed this tutorial.
I tested the update in localhost using XAMPP and everything works well, but unfortunately when I test on a live site I ...
0
votes
3
answers
2k
views
pre_set_site_transient_update_plugins not updating
I've implemented this update class in my plugin, but for some reason the update banner isn't diplayed.
Within the class Wp_License_Manager_Client I have this code:
add_filter('...
1
vote
0
answers
43
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 ...
1
vote
0
answers
17
views
What file(s) in core control automatic background updates?
I'm trying to understand the background updates feature. What files should I be studying?
0
votes
1
answer
172
views
Can not login to wordpress site after resolving white screen of death
I had a white screen of death that I was somewhat able to resolve. I updated PHP from 7.0 to 7.3.2, removed BOM from wp-config.php, and deleted wp super cache plugin. From looking at others issues ...
0
votes
2
answers
207
views
Where does Wordpress get the theme name from to check for updates?
I'm using a customised version of a commercial theme, with a lot of stuff in it.
I've changed style.css to only have:
/*!
Theme Name: A quite unique theme name
Theme URI: http://www.mywebsite.org/
...
1
vote
1
answer
1k
views
How to turn off automatic updates of the WordPress core
I have two dozen installations of WordPress on my servers and until my most recent install, I have had to manually update versions (my preferred method). But this morning I received that a notice that ...
0
votes
1
answer
31
views
is it right choose to connect database in template page directly in Wordpress site?
i'm a little bit new in WordPress and for now working on WordPress site that some information will insert to database from forms ... i design some page template and use mysqli_connect() to connect ...
0
votes
1
answer
2k
views
How to execute plugin and theme updates from a web hook / endpoint?
I'm trying out adding WordPress REST API endpoints. I would now like to add an endpoint that retrieves a list of available plugin, theme and core updates.
I found the following functions: ...
8
votes
1
answer
2k
views
Enable automatic minor core updates when root of site is a git repository
I have a client site that's under version control using Git. The single repository is at the Wordpress root level, but it is set to ignore everything except for theme and plugin files. I did some ...
0
votes
1
answer
92
views
Wordpres core-update theme renames theme folder name
I've got a theme that checks for a new version on GitHub. When it finds a new version it downloads it and install it. The problem is that it installs the theme with a different folder name than ...
0
votes
1
answer
139
views
Realtime database update from 3rd party apps (notion, airtable, sheet, etc)
Can I achieve Realtime database update from spreadsheet?
My requirements:
I have many posts with custom fields that have certain values. I have all these values stored on a spreadsheet (GoogleSheets, ...
1
vote
1
answer
907
views
How does wordpress handle file permissions when automatic updates are enabled?
As far as i unterstood, every file wich should be changed by php/apache have to be writeable by the user of the apache server process. According to the "Hardening Section" of the Wordpress ...
1
vote
1
answer
2k
views
How to schedule Automatic Wordpress Plugin and Core updates for night times
I don't want to update plugins within business hours. Is there a way to schedule for after 1 am? Maybe via a hook or a setting in wp-config.php?
1
vote
1
answer
222
views
How to trigger automatic plugin updates in Wordpress 5.5
I would like to be able to test automatic updates of plugins that I have developed. After enabling auto updates for individual plugins on the plugins page, how can I trigger the update or when can I ...
6
votes
2
answers
1k
views
Enable Auto-updates for all plugins using wp-cli? (since wordpress 5.5)
Since WP 5.5 just released and now you can set plugins to auto-update, can this be done via wp-cli?
Looking at the documentation, I don't see a sub-command for it: https://developer.wordpress.org/cli/...
1
vote
1
answer
610
views
How to allow WordPress updates to only one specific administrator?
I found a code to prevent WordPress update for certain user role:
add_action( 'init', function () {
if ( ! current_user_can( 'administrator' ) ) {
add_filter( '...
1
vote
2
answers
603
views
Auto Plugin & Core Updates Not Working For Custom Theme
I have a custom WordPress theme I've developed and have included the following lines in my wp-config.php in hopes to automate plugin and core updates:
define( 'WP_AUTO_UPDATE_CORE', true );
add_filter(...
0
votes
1
answer
48
views
How to create a plugin with automatic update?
I'm developing a plugin and would like to know how do I send automatic updates to it? Do I have to use webhooks for this?
The plugin will be for private use, it will scan the website to remove ...
0
votes
0
answers
15
views
Update main post with same category when creating custom post to update the modified date
I have 2 post type, so i create post on my main post type, then i need to create another post to fill the content to my main post in custom post type. Is there any way to update my main post publish ...
0
votes
1
answer
1k
views
WP-CLI: detect altered core files and restore them automatically
I know that there is a command to verify the integrity of the core files:
$ wp core verify-checksums
In case a file is corrupted or altered, is there any WP-CLI command to automatically restore all ...
0
votes
1
answer
14k
views
WordPress update fails with a "permission denied" error?
I have a Wordpress installation that refuses to auto update using the standard update button in the dashboard. The error received is:
"Unpacking the update… The update cannot be installed ...
0
votes
2
answers
47
views
Can I create a child theme from a premium theme without losing my posts and page etc that I already have?
I have a Wordpress installation with the theme premium, in case I created a custom page to be used, however as this site was already in production I ended up following it that way, even though I know ...
0
votes
2
answers
420
views
Are the wordpress settings (abspath, disable core updates) added by SiteGround of any use after I've migrated to a different host?
I had started my wordpress site with the host SiteGround. Later I moved to another host.
I now see that in my wp-config.php file the following settings are present near the end of the file:
/* That'...
0
votes
1
answer
89
views
How do I stop plugins and themes from getting updated in a new plugin?
I found this 2 filters to add in my functions.php of the Theme:
add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );
But I need to do totally ...
0
votes
2
answers
342
views
flush rewrite rules after plugin update?
I am working on a plugin that registers custom new endpoints in every update and we need to Flush Rewrite Rules after every update of the plugin.
Flushing Rewrite Rules are easy after activation of ...
1
vote
1
answer
38
views
Updating Existed RocketTheme Theme on Wordpress
I have a legal RocketTheme theme for Wordpress. I installed it while it on version 1.5. Now, version 1.6 released. How can I update theme without corrupt my theme customizations ?
Thanks.
1
vote
1
answer
137
views
Create cron job for update translations automatically
I would like to set cron job in WordPress with WP Crontrol for update translations automatically. If I saw it right I have to create a PHP code (simple plugin) and then schedule it with mentioned ...
0
votes
0
answers
36
views
Auto update error messages
I was having problems in the admin area with auto updates, keep getting error messages that say: Trying to get property of non-object in wordpress/wp-admin/update-core.php
I did a manual update to 5....
0
votes
1
answer
35
views
Allow auto-updates on a non-managed WordPress site?
I have been setting up a WordPress site for a customer, with a custom template and about 5 plugins (some of which the templade depends on). The thing is, the customer just wants to edit content, and ...