[wp-trac] [WordPress Trac] #38924: Getting 'embed_autourls' option still generates a DB query

WordPress Trac noreply at wordpress.org
Sat Apr 1 13:55:31 UTC 2017


#38924: Getting 'embed_autourls' option still generates a DB query
------------------------------+----------------------------
 Reporter:  dlh               |       Owner:  peterwilsoncc
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.8
Component:  Embeds            |     Version:  3.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40360"]:
 {{{
 #!CommitTicketReference repository="" revision="40360"
 Embeds: Change the `embed_autourls` option filter from `default_option_*`
 to `pre_option_*` to avoid a DB query.

 The option was removed from core in [21998], but still might be used by
 plugins.

 Props dlh.
 Fixes #38924.
 }}}

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


More information about the wp-trac mailing list