Wordpress 2.8.5 Update breaks the update.php file

Bug #460818 reported by Seth Hoenig
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
wordpress (Ubuntu)
Invalid
Undecided
Rolf Leggewie

Bug Description

Binary package hint: wordpress

*******************************************************************
I am sending this bug report not from the machine with the problem, as ubuntu servers cannot file bug reports!
*******************************************************************

The original install was Ubuntu 8.04 LTS with package wordpress 2.8.4

Just recently, security update wordpress 2.8.5 was pushed.

This update causes this breakage:

Warning: constant() [function.constant]: Couldn't find constant WP_CORE_UPDATE in /usr/share/wordpress/wp-admin/includes/update.php on line 33

This line appears on every admin/editor page when logged into wordpress.

I do not *think* this is a security vulnerability, but then again, web development is not my area.

Attached is the broken file, update.php (for my particular install, though I imagine it's the same for all wordpress installations after being broken by the 2.8.5 update)

ProblemType: Bug
Architecture: i386
Date: Sun Oct 25 22:04:41 2009
DistroRelease: Ubuntu 9.10
Package: wordpress (not installed)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: wordpress
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Seth Hoenig (shoenig) wrote :
Revision history for this message
pleasebeus (syrysko) wrote :

this is also happening on Ubuntu 9.10 Karmic Koala and Wordpress Version 2.8.4 installed via synaptic

Revision history for this message
richtl (richtl-dancinglion) wrote :

> this is also happening on Ubuntu 9.10 Karmic Koala and Wordpress Version 2.8.4 installed via synaptic

Me too.

Revision history for this message
theneoindian (theneoindian) wrote :

Me tooo . i just installed wordpress and it shows this error

Revision history for this message
Ryan (ryanplear) wrote :

I just upgraded wordpress and got the same error.

couldn't find constant WP_CORE_UPDATE

Revision history for this message
sbricchiLIN (sbricchi) wrote :

Same error.
I've already posted this problem at the wordpress forum. Hope we get lucky!
My version is 2.8.4...

Revision history for this message
Seth Hoenig (shoenig) wrote :

I have a ghetto workaround for this:
open:

/usr/share/wordpress/wp-admin/includes/update.php

and comment out the lines:

if ( !constant('WP_CORE_UPDATE') )
return false;

A more detailed guide can be found here:
http://bozosort.com/content/?p=185

Revision history for this message
Richard Voogd (Lisati) (lisati) wrote :

Affects me as well. I noticed the message after an upgrade from Ubuntu 9.04 server to 9.10

Revision history for this message
Richard Voogd (Lisati) (lisati) wrote :

Seems to be fixed for me after a manual update to version 3.01 of Wordpress

Revision history for this message
Rolf Leggewie (r0lf) wrote :

2.8.5 is not in any release. Hardy is still on the 2.3.3 series. Are you sure you have an official package?

Changed in wordpress (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

not much we can do without further information. Please reopen with the requested details.

Changed in wordpress (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Fleuv (fleuv-d) wrote :

Problem still exists however this warning can be silenced by adding the following to the wp-config.php:
define('WP_CORE_UPDATE', false);

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.