Package: libphp-simplepie
Version: 1.2.1-3
Severity: important

The changes made in response to #651515 break WordPress. It's good to
clean up code but this should be upstream's responsibilities and deviating
from upstream can cause issues with external code using simplepie.

In this case, wordpress redefines a method of simplepie and that method
has been changed to "static" by Thorsten's patch (I don't know why) and
it now fails with this:
PHP Fatal error:  Cannot make static method SimplePie_Cache::create() non 
static in class WP_Feed_Cache in 
/usr/share/wordpress/wp-includes/class-feed.php on line 6

The code in question seems legitimate:
class WP_Feed_Cache extends SimplePie_Cache {
        /**
         * Create a new SimplePie_Cache object
         *
         * @static
         * @access public
         */
        function create($location, $filename, $extension) {
                return new WP_Feed_Cache_Transient($location, $filename, 
$extension);
        }
}

I would thus kindly ask you to revert that change at least partially
for all the methods that have been marked static and let upstream deal
properly with the fallout of the incompatible change...

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libphp-simplepie depends on:
ii  php5-cli   5.4.1~rc1-1
ii  php5-curl  5.4.1~rc1-1
ii  php5-intl  5.4.1~rc1-1

libphp-simplepie recommends no packages.

libphp-simplepie suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to