diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 6c688f6ace..76f33a4fd8 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -114,7 +114,7 @@
// Dividers (basically an `
`) within the dropdown
.dropdown-divider {
- @include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y);
+ @include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y, true);
}
// Links, buttons, and more within the dropdown menu
diff --git a/scss/mixins/_nav-divider.scss b/scss/mixins/_nav-divider.scss
index 4fb37b6224..3e0cceafef 100644
--- a/scss/mixins/_nav-divider.scss
+++ b/scss/mixins/_nav-divider.scss
@@ -2,9 +2,10 @@
//
// Dividers (basically an hr) within dropdowns and nav lists
-@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y) {
+@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y, $ignore-warning: false) {
height: 0;
margin: $margin-y 0;
overflow: hidden;
border-top: 1px solid $color;
+ @include deprecate("The `nav-divider()` mixin", "v4.4.0", "v5", $ignore-warning);
}