We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff99cba commit cc77388Copy full SHA for cc77388
1 file changed
includes/Admin.php
@@ -109,6 +109,11 @@ public function scripts(): void {
109
this.checked = mode === 'all';
110
} );
111
112
+ jQuery( '[id^=augment-types_][id$=_enabled]' ).each( function() {
113
+ jQuery( this ).find( 'label' ).each( function() {
114
+ jQuery( this ).html( jQuery( this ).html().replace( /###([^#]+)###/, '<code>$1</code>' ) );
115
+ } );
116
117
</script>
118
<?php
119
@@ -149,7 +154,7 @@ protected function checklist_field( array $options ): array {
149
154
$keys = array();
150
155
151
156
foreach ( $options as $option ) {
152
- $types[ $option->name ] = sprintf( '%s (%s)', $option->label, $option->name );
157
+ $types[ $option->name ] = sprintf( '%s ###%s###', $option->label, $option->name );
153
158
159
$keys[] = $option->name;
160
}
0 commit comments