Solved

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

Posted on 2013-10-31
4
313 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 42

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 42

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now