release: v1.2.0

This commit is contained in:
noschmarrn 2026-03-27 18:10:24 +00:00
parent d98c328869
commit 4f7bbeb57a
2 changed files with 6 additions and 6 deletions

View file

@ -20,10 +20,10 @@ if ( ! defined( 'ABSPATH' ) ) {
</p> </p>
<div id="brezngeo-keyword-secondary-list"> <div id="brezngeo-keyword-secondary-list">
<?php if ( ! empty( $secondary ) ) : ?> <?php if ( ! empty( $secondary ) ) : ?>
<?php foreach ( $secondary as $kw ) : ?> <?php foreach ( $secondary as $brezngeo_kw ) : ?>
<div class="brezngeo-keyword-secondary-row" style="display:flex;gap:6px;margin-bottom:4px;"> <div class="brezngeo-keyword-secondary-row" style="display:flex;gap:6px;margin-bottom:4px;">
<input type="text" name="brezngeo_keyword_secondary[]" <input type="text" name="brezngeo_keyword_secondary[]"
value="<?php echo esc_attr( $kw ); ?>" value="<?php echo esc_attr( $brezngeo_kw ); ?>"
style="flex:1;box-sizing:border-box;"> style="flex:1;box-sizing:border-box;">
<button type="button" class="button brezngeo-keyword-remove-secondary">&times;</button> <button type="button" class="button brezngeo-keyword-remove-secondary">&times;</button>
</div> </div>

View file

@ -70,12 +70,12 @@ if ( ! defined( 'ABSPATH' ) ) {
<tr> <tr>
<th scope="row"><?php esc_html_e( 'Show keyword meta box on', 'brezngeo' ); ?></th> <th scope="row"><?php esc_html_e( 'Show keyword meta box on', 'brezngeo' ); ?></th>
<td> <td>
<?php foreach ( $post_types as $pt ) : ?> <?php foreach ( $post_types as $brezngeo_pt ) : ?>
<label style="display:block;margin-bottom:4px;"> <label style="display:block;margin-bottom:4px;">
<input type="checkbox" name="brezngeo_keyword_settings[post_types][]" <input type="checkbox" name="brezngeo_keyword_settings[post_types][]"
value="<?php echo esc_attr( $pt->name ); ?>" value="<?php echo esc_attr( $brezngeo_pt->name ); ?>"
<?php checked( in_array( $pt->name, $settings['post_types'], true ) ); ?>> <?php checked( in_array( $brezngeo_pt->name, $settings['post_types'], true ) ); ?>>
<?php echo esc_html( $pt->labels->name ); ?> <?php echo esc_html( $brezngeo_pt->labels->name ); ?>
</label> </label>
<?php endforeach; ?> <?php endforeach; ?>
</td> </td>