Make WordPress Core

Ticket #38924: 38924.diff

File 38924.diff, 622 bytes (added by dlh, 8 years ago)
  • src/wp-includes/default-filters.php

     
    348348add_filter( 'default_option_link_manager_enabled', '__return_true' );
    349349
    350350// This option no longer exists; tell plugins we always support auto-embedding.
    351 add_filter( 'default_option_embed_autourls', '__return_true' );
     351add_filter( 'pre_option_embed_autourls', '__return_true' );
    352352
    353353// Default settings for heartbeat
    354354add_filter( 'heartbeat_settings', 'wp_heartbeat_settings' );