Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alimuzzaman committed Jul 25, 2022
1 parent cf4544f commit 795255d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/disable-comments-settings-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ jQuery(document).ready(function ($) {
return val !== 'Logged out users';
})
var text = "<b>" + _selectedOptions.join("</b>, <b>") + "</b>";
excludedRoles.html("Users who are <b>logged out</b>, " + text + " will see comments.");
excludedRoles.html("Comments are visible to " + text + " and <b>logged out users</b>.");
includedRoles.text("No comments will be visible to other roles.");
}
}
Expand Down
4 changes: 2 additions & 2 deletions views/partials/_disable.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
<select class="dc-select2" name="exclude_by_role[]" data-options='<?php echo json_encode($roles);?>'>
</select>
</div>
<p class="disable__option__description description__roles excluded-roles">Lorem ipsum dolor sit amet consectetur adipisicing elit. Eius iste delectus aut.</p>
<p class="disable__option__description description__roles included-roles">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Alias autem omnis quae!</p>
<p class="disable__option__description description__roles excluded-roles" style="display: none;"></p>
<p class="disable__option__description description__roles included-roles" style="display: none;"></p>
<p class="disable__option__description mt10"><span class="danger"><?php _e('Note:', 'disable-comments'); ?></span> <?php _e('This will exclude all the above settings for the selected user roles.', 'disable-comments'); ?></p>
</div>

Expand Down

0 comments on commit 795255d

Please sign in to comment.