Solved

Wordpress was auto updated to 3.7 and now some things have shifted

Posted on 2013-10-31
4
331 Views
Last Modified: 2013-11-04
Hi,
We have a website (www.totalnetsol.com) that was on 3.5 (I believe) but I just received an email saying it was auto updated to 3.7.1. I did not enable this so I'm guessing someone else did. We have a couple of people with admin access. Anyway, the logo is not showing up now, it is only text and the image next to the phone number in the header is also missing. It was a linked image. How do I get those to show up now and how do I disable auto updates from happening again?
0
Comment
Question by:rxyl17
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39614802
Two different questions here.

Anyway, the logo is not showing up now, it is only text and the image next to the phone number in the header is also missing. It was a linked image. How do I get those to show up now

Were you using one of the default WordPress TwentyX themes? If so, whenever WordPress updates, those themes may get downloaded again and blow away any modifications.  You should always make child themes to prevent this from happening. If not, please indicate which theme it was and check the version...it may be that one of your admins updated everything, including any themes and that would also remove header images.  To get it back, simply reconfigure it from Appearance | Header.

how do I disable auto updates from happening again?

Up until recently, WordPress doesn't auto-update without a third-party in the mix.  As of 3.7, WordPress will attempt to auto-update the core when a security patch is release (e.g. 3.7 to 3.7.1) but will NOT auto-update to the next complete version (3.7.x to 3.8).

So really, it depends on who/what is auto-updating the site.  If you are on some form of managed hosting, the host provider may be forcing the updates through for their own security peace of mind.  If a user is manually logging in and updating there isn't much you can do other than removing his/her permissions or asking them to not do that.

To manage the 3.7 auto-update going forward, please read this article by one of the core devs:

http://make.wordpress.org/core/2013/10/25/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7/

The "relevant to your interests section" of the above is:

4. Disable only core updates.

The easiest way to manipulate core updates is with the WP_AUTO_UPDATE_CORE constant:
# Disables all core updates:
define( 'WP_AUTO_UPDATE_CORE', false );
 
# Enables all core updates, including minor and major:
define( 'WP_AUTO_UPDATE_CORE', true );
 
# Enables core updates for minor releases (default):
define( 'WP_AUTO_UPDATE_CORE', 'minor' );

There are also some filters you can use for even finer control, which override the constant if used: allow_dev_auto_core_updates (like updating from 3.7-RC to 3.7-RC2), allow_minor_auto_core_updates (updating from 3.7 to 3.7.1), allow_major_auto_core_updates (3.7 to 3.8). Return true through these filters to allow such updates, false to disallow.
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39614810
This isn't down to your WordPress update - the images are being pulled in from another domain and they no exist there:

http://www.vincegiuseffi.com/tns255w/wp-content/uploads/2013/01/TNSlogo-2.png
http://www.vincegiuseffi.com/tns255w/wp-content/uploads/2013/02/213x69.png

There is no setting in WordPress to enable or disable automatic updates, so it was either done manually, or you install is handled by a third party installer script.
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39614815
Oops - didn't realise 3.7 did automatic updates!
0
 

Author Comment

by:rxyl17
ID: 39614921
I did see (after you pointed it out) that those particular links were coming from our old dev site. The weird thing is that the dev site was still up. So they should have still been pulled from there. I just now deleted the dev site and replaced the link url to the actual site url where the images are now. So what could it have been? All I know is that it was fine, then I received that email saying it had been updated to 3.7 and then those links and the background image were gone. Its now ok with the updated correct links but why would it have all disappeared if the dev site was still up?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question