Questions tagged [updates]

An update is a source code that is applied on top of the existing software or program with an aim to fix security vulnerabilities, bugs and improve usability.

171 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
273 views

Is there any way to test if a function running only on plugin update is successfully running?

Is there any way to test if a function running only on plugin update is successfully running? Right now I am calling function if WP version present in configuration file is not same as plugin version'...
4
votes
1answer
6k views

Plugin updates are not shown

I have a site developed in WordPress 3.5.1. I have updated the WordPress to latest version (4.3.1), but it's not showing the plugin updates. It's showing all plugins are up to date, but i have already ...
3
votes
1answer
77 views

Prevent changing the length of post_name column on WordPress Update

We've some Arabic websites running on WordPress, and use Arabic slugs in the posts' URLs. You know that post slug is stored in the post_name column in wp_posts table, and the default length of this ...
3
votes
1answer
765 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 ...
3
votes
1answer
362 views

Under which circumstances is the .maintenance file not deleted?

When WordPress does plugin/theme/core updates, it creates a .maintenance file which temporarily puts the site in maintenance mode. Sometimes this file does not get deleted and users are locked out of ...
3
votes
1answer
786 views

Is it possible to hook AJAX to UPDATE-button?

I have a site with a custom post. When I enter that custom post in admin (edit)-page then a form is rendered. This form takes like about 2-3s to render - it's a lot of of values in it - both hidden ...
2
votes
0answers
475 views

Wordpress 5.8 update problem custom theme styles are overridden by core styles common.min.css

After the automatic update to wordpress 5.8 today one of my custom themes displayed wrong styling in the frontend for custom webfonts, colors, font-sizes and other styles. After a quick check in the ...
2
votes
0answers
88 views

Wordpress not showing upgrade to latest version

One of my clients has a server with a bunch of Wordpress stand-alone sites all on their own vhosts. We are trying to upgrade to the latest version, but for three of the sites no upgrade is showing in ...
2
votes
0answers
1k views

Hook (upgrader_process_complete) running moment

i want to use the upgrader_process_complete (documentation) to check if my plugin was updated (to run some scripts). My question is: when this action is triggered, WordPress is already running the ...
2
votes
0answers
104 views

Trigger Plugin database update after git pull

I have a couple of WordPress websites that I'm maintaining. The websites are on various git repositories (one for each site) with individual remotes. Currently when there is a plugin update ...
2
votes
1answer
387 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 ...
2
votes
0answers
66 views

Can I check plugins and themes for PHP 5.6 ahead of global PHP server Update

My server is updating to PHP 5.6 next week. I manage about 30 WordPress websites. I looked for a plugin that would check if any of the code throughout the other plugins and theme would break with the ...
2
votes
0answers
29 views

Is there any workaround to a core update still showing after core update if language set to anything other than US English

I build sites typically in UK English, however I typically leave them in US English because if I set system/general/site language to anything other than "English ( United States)" then when I do ...
2
votes
1answer
240 views

Why does WordPress 4.2.2 require FTP to update?

I am trying to update to WordPress 4.2.2, but it requires FTP details. Considering that everything WordPress-related is assigned to apache, and the server runs as apache, shouldn’t WordPress be able ...
2
votes
0answers
892 views

Prevent wordpress from updating language files

I would like to prevent wordpress from updating language files in languages folder. Not only in case of automatic updates, but also in case of manual ones. I have tried few solutions including change ...
1
vote
0answers
14 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?
1
vote
1answer
228 views

Can't upgrade WP 5.6 to 5.6.1: version-current.php is missing

As it says: I'm currently running WP 5.6 (on top of PHP 7.4.13 and CentOS 7.9.2009), and I got a notification that WP 5.6.1 is available, and that I should upgrade. I'm trying this via the "...
1
vote
0answers
42 views

What keys are needed when passing the icons array to plugins_api()?

I am building a self updater via GitHub (for a self hosted plugin) and would like to show the plugin icon on the update screen. I have found what keys the banners use: 'low' => 'https://...
1
vote
0answers
22 views

Multisite: cloning, but also updating too

My requirements are: 1 main website and 100 subsites All subsites will have same themes, plugins, pages, menus, sidebars - everything Only posts in each subsite will be different. How do I manage ...
1
vote
2answers
922 views

Still Another update is currently in progress by updating WordPress 5.3

I tried to find with this select statement. SELECT * FROM `wp_options` WHERE 'option_name' LIKE '%core_update%' Zero lines result. What can I do beside update by hand. I only want to use the update ...
1
vote
0answers
15 views

How to preserve changes in templates and other files

I've downloaded a theme and then changed some css styles, and also php templates etc. Then I've realized, that when I will have to update the theme I'll probably lose all my changes. Is this kind of ...
1
vote
0answers
130 views

How can I ping update-core.php with a script?

I have the paid Divi theme on many websites on a cPanel powered server. I use WP-CLI in a bash script to update all the plugins and themes. But Divi will never update because it only reveals an ...
1
vote
2answers
2k views

Cannot update WordPress to 5.2

I am using CentOS 7 (CentOS Linux release 7.6.1810 (Core)), NGINX 1.15.12, WordPress 5.1 Error Update WordPress Downloading update from https://downloads.wordpress.org/release/wordpress-5.2-no-...
1
vote
4answers
13k views

WordPress and plugins can't update ("inconsistent file permissions" error)?

I have a problem - when I click on "Wordpress update", I receive this message: Downloading update from https://downloads.wordpress.org/release/wordpress-5.1-new-bundled.zip… Unpacking the update… ...
1
vote
0answers
643 views

Update WordPress - Another update is currently in progress

Update WordPress Another update is currently in progress. This message is displayed for a month already I don't have any .maintenance files at my www's fodlers, subfolders I don't have any ...
1
vote
2answers
4k views

get 404 when accessing wp-admin/plugin-install.php

While freshly installed, I cannot access the 'Add new plugins` page whatsoever. It just keep waiting & then redirect me to 404 page of the current theme. I'm not sure what went wrong as the ...
1
vote
2answers
2k views

WP-Admin shows (1) update but there is no update for plugin, theme or Wordpress

I am having a strange issue where in my wp-admin it says there is an update required. However I checked the Themes, Plugins and even reinstalled the latest version of Wordpress and it is still showing ...
1
vote
0answers
567 views

$wpdb->replace: WHERE?

My plan is to upsert values in a custom meta table with $wpdb->replace. This is what I try: $up_meta = $wpdb->replace( 'spieldaten', array( 'spiel_uid' => $uid, '...
1
vote
0answers
123 views

Can I check which users ran which updates?

We have a site that was previously updated to 4.8.0. Two of us who normally perform updates did not have the right permissions to run the 4.8.1 update. Using wp-cli wp core update Error: Could not ...
1
vote
0answers
426 views

Error: Warning: strpos() in media.php

Received a new error after updating php to version 7.1 Here's what he writes: Warning: strpos(): Empty needle in .../wp-includes/media.php on line 1147 Here's what's on this line: if ( ! $...
1
vote
0answers
104 views

New version doesn't show up

I have problem updating my current WordPress version (4.7.2) to the latest (4.7.5). I have multi-site inside "Network admin dashboard". There is no new version What can the problem be? Thanks!
1
vote
3answers
186 views

Custom theme updater - random string in new theme name

I am making a theme that will be updateable via github. https://github.com/pallazzio/skeleton I am trying to use the plugin updater tutorial from smashing magazine, modified for updating a theme ...
1
vote
1answer
42 views

Errors when updating plugin through the WordPress plugin repository

I'm working on a plugin that's in the WordPress plugin repository. I've made some changes to the plugin's code. The changes I made were to move code from a large admin.php file into an /admin ...
1
vote
1answer
703 views

WordPress load-scripts.php encoding issue

After updating to Wordpress 4.7, the WordPress load-scripts.php is producing the following result. We are unable to identify the cause of this.
1
vote
0answers
84 views

Update from 4.5 to 4.6 failing

I am having a few issues upgrading a wordpress installation. I am moving from 4.5.3 to the latest, 4.6.1 - but every time I try I get an error. I have tried both the auto-update and doing it manually ...
1
vote
0answers
25 views

Updating a page won't have any effect

I tried to update my about-us page by aligning all the picture to the right. And deleted some spaces to make the page tight. But update clicking UPDATE button and view the page I still get the same ...
1
vote
0answers
81 views

Update to 4.4.1 breaks my pagination

I recently updated to 4.4.1 and I noticed my pagination was screwed up. I can't go to page 2 or further because all it does is going back to the home page so I had to go back to a previous version in ...
1
vote
1answer
281 views

How does one dismiss the 'upgrade notice' when managing upgrades with SVN?

I manage a site as a Subversion checkout of a tagged release (e.g. http://develop.svn.wordpress.org/tags/4.3.1 ), which means that I don't use the built-in core updater but rather just do a svn sw to ...
1
vote
0answers
372 views

Programatically update non-wordpress repository hosted (self-hosted) plugins

I am working on a plugin that checks for and updates other plugins. The new plugin can easily update other plugins which are hosted on wordpress repository. But how can the new plugin update other ...
1
vote
1answer
247 views

Keep getting update notifcations despite there is nothing to update

Seems like this issue persists no matter how many times I update. As I enter my dashboard almost 100% of the times I get a notification on a WordPress update. It also shows at the bottom of the page. ...
1
vote
0answers
39 views

Migrate database between 2 different wordpress version

I have been trying to import a sql dump from a production site, which is several wp version behind the development site (4.1), is there any compatibility issue? Every time I try to login after the db ...
1
vote
0answers
27 views

Show List of Terms (not posts) that have been Recently Updated?

Is it possible to prepare a list of terms that have been recently updated? For example: I have custom fields attached to my terms and I would like to show a list of terms that have been updated say ...
1
vote
1answer
39 views

Procedural Question on Plugin Installation

I am running WP multisite with about 80 sites. I can see from my server's directory structure the presence of only one directory for ../wp-content/plugins/* Each of the plugins I have installed is ...
1
vote
0answers
116 views

Translation update successful but apparently not

I was updating my multi site installation just minutes ago to WordPress 4.0. The dashboard keeps notifying me, of an available translation update. I updated it as well and it gave me a success message....
1
vote
0answers
914 views

Some recent plugin updates have failed "Could not create directory"

I have been developing my WordPress site on a WAMPServer on my laptop for a few months, with few problems. In the last few days several (but not all) plugin updates have failed - Specifically IThemes ...
1
vote
1answer
167 views

Can't update WordPress, need to reboot the VPS

After I moved to a new VPS (Ubuntu), I can't update the WordPress. When I click on the "Update Now" button, it shows upgrading progress messages and it shows "Welcome to WordPress 3.9" (Now I'm on 3.8....
1
vote
1answer
2k views

Which directory should be writable to update wordpress?

I configured file permissions according to here like this. apache user runs server and wordpress user owns directory, this user is only used for this site. drwxr-xr-x 5 wordpress wordpress 4096 ...
1
vote
0answers
67 views

Selectively update themes in WordPress multisite

I have been running a WordPress multisite installation for a few years, and every time WordPress releases an update (from x.y.z to x.y or x.y.z to x.y.z) there is always a chance that one of the ...
1
vote
0answers
110 views

Call specific plugin update

I'm looking for way to update specific plugin via xmlrpc api. There is no exposed any function for do upgrades. I've tried to visit http://example.com/wp-admin/update.php?action=upgrade-plugin&...
1
vote
0answers
3k views

using wp_update_post for updating custom post type

I'm trying to update post_parent of wp_posts in WordPress database. I've created a custom post type with capability_type = post , but I want it to behave like a page: hierarchical, allowing parent ...