[wp-trac] [WordPress Trac] #18309: Fix SimplePie_gzdecode Code Typo

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 1 11:11:12 UTC 2011


#18309: Fix SimplePie_gzdecode Code Typo
--------------------------+-----------------------------
 Reporter:  pagesimplify  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:  3.2.1
 Severity:  normal        |   Keywords:  dev-feedback
--------------------------+-----------------------------
 == File:
 http://core.svn.wordpress.org/tags/3.2.1/wp-includes/class-simplepie.php
 :: Line 8485

 == Class Name:
 class SimplePie_gzdecode

 == Class Method:
 function parse()

 == Reference:
 NOTE: I reported this issue on simplepie.org as seen below.
  - https://github.com/simplepie/simplepie/issues/149

 The same issue exists in WordPress file:
  - /wp-includes/class-simplepie.php on Line 8485

 == Description:
 SimplePie_gzdecode class method parse() attempts to reference a class
 property with the following line:

 {{{
 $position += 2;
 }}}

 The line should be modified as:

 {{{
 $this->position += 2;
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18309>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list