[wp-trac] [WordPress Trac] #48621: class-oembed.php is deprecated since version 5.3.0 message

WordPress Trac noreply at wordpress.org
Thu Nov 14 10:07:07 UTC 2019


#48621: class-oembed.php is deprecated since version 5.3.0 message
-------------------------------+----------------------
 Reporter:  scottrobg          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Embeds             |     Version:  5.3
 Severity:  major              |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by Otto42):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hello scottrobg! This is a bug reporting system, not a support forum. You
 should post to https://wordpress.org/support/forums for this type of issue
 instead.

 To answer your question, yes, this message is correct. You need to update
 whatever plugins you have that might be using the oembed functionality, as
 this functionality changed in 5.3.

 Additionally, you should not have "notices" enabled for your production
 website in the first place. This is a debugging notice, which should only
 ever appear on test sites. Live websites should not have the
 `display_errors` option of PHP enabled. If you have the `WP_DEBUG`
 constant set in your wp-config.php file, then you should set that to
 `false`. If you have a `PHP.INI` file in your system, it should have
 `display_errors` set to `0`. This should be the case for all live
 websites.

 So, turn off those settings, and update your plugins to newer versions.

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


More information about the wp-trac mailing list