In wp-admin/options-media.php, there are a few lines that go:

<?php if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
<h3 class="title"><?php _e('Embeds') ?></h3>
<table class="form-table">
<?php do_settings_fields( 'media', 'embeds' ); ?>
<?php endif; ?>

'embeds' and "embeds" are nowhere else to be found in the WP code base. Might anyone know what it's for?


1 Answer 1


Per the two comments by Rarst and myself, the variable itself is is potentially populated by add_settings_field(), and the related logic is present for historical/backwards compatibility reasons. (There used to be fields in this area.)

The related ticket and changeset for reference:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.