Skip to content

Commit

Permalink
Fix duplicate ID attribute by changing metabox name
Browse files Browse the repository at this point in the history
Fixes #39. Props @Ryokuhi.
  • Loading branch information
joedolson committed Feb 11, 2025
1 parent 2d30564 commit b68e292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-accessibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ function wpa_add_outer_box() {
$allowed = get_option( 'wpa_post_types', array() );
if ( is_array( $allowed ) ) {
foreach ( $allowed as $post_type ) {
add_meta_box( 'wpa_content_summary', __( 'Content Summary', 'wp-accessibility' ), 'wpa_add_inner_box', $post_type, 'normal', 'high' );
add_meta_box( 'wpa_content_summary_container', __( 'Content Summary', 'wp-accessibility' ), 'wpa_add_inner_box', $post_type, 'normal', 'high' );
}
}
}
Expand Down

0 comments on commit b68e292

Please sign in to comment.