[wp-trac] [WordPress Trac] #62354: fetch_feed should use `get_bloginfo( 'charset' )` over `get_option( 'blog_charset' )` when setting the output encoding

WordPress Trac noreply at wordpress.org
Thu Nov 7 17:03:33 UTC 2024


#62354: fetch_feed should use `get_bloginfo( 'charset' )` over `get_option(
'blog_charset' )` when setting the output encoding
--------------------------+---------------------
 Reporter:  david.binda   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.7.1
Component:  Feeds         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by desrosj):

 Linking a few tickets and change sets for easy reference.

 It looks like the current `get_bloginfo( 'blog_charset' )` line was
 introduced in [32469] (see #10713) and shipped in WordPress 4.3. So an
 upstream change is likely responsible for surfacing this bug that has
 existed for some time.

 The SimplePie library was updated for WP 6.7 to `1.8.0` in [59141] (see
 #55604).

 @davidbinda Do you have any sense for how common this may be on the sites
 that you manage?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62354#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list