/var/www/hkosl.com/aga/wp-content/plugins/wordpress-seo/admin/views/form/select.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 *
 * @uses string $attributes Additional attributes for the select.
 * @uses string $name       Value for the select name attribute.
 * @uses string $id         ID attribute for the select.
 * @uses array  $options    Array with the options to show.
 * @uses string $selected   The current set options.
 */

if ( ! defined'WPSEO_VERSION' ) ) {
    
header'Status: 403 Forbidden' );
    
header'HTTP/1.1 403 Forbidden' );
    exit();
}

?>
<select <?php echo $attributes?>name="<?php echo esc_attr$name ); ?>" id="<?php echo esc_attr$id ); ?>">
    <?php foreach ( $options as $option_attribute_value => $option_html_value ) : ?>
    <option value="<?php echo esc_attr$option_attribute_value ); ?>"<?php echo selected$selected$option_attribute_valuefalse ); ?>><?php echo esc_html$option_html_value ); ?></option>
    <?php endforeach; ?>
</select>