diff --git src/wp-includes/formatting.php src/wp-includes/formatting.php
index be8ea6c..4e82133 100644
--- src/wp-includes/formatting.php
+++ src/wp-includes/formatting.php
@@ -1440,11 +1440,11 @@ function sanitize_key( $key ) {
 }
 
 /**
- * Sanitizes a title, or returns a fallback title.
+ * Sanitizes a string for use as a slug in a URL.
  *
  * Specifically, HTML and PHP tags are stripped. Further actions can be added
- * via the plugin API. If $title is empty and $fallback_title is set, the latter
- * will be used.
+ * via the plugin API. If the sanitized version of $title is empty,
+ * `$fallback_title` will be returned.
  *
  * @since 1.0.0
  *
@@ -1491,10 +1491,10 @@ function sanitize_title_for_query( $title ) {
 }
 
 /**
- * Sanitizes a title, replacing whitespace and a few other characters with dashes.
+ * Sanitizes a string.
  *
- * Limits the output to alphanumeric characters, underscore (_) and dash (-).
- * Whitespace becomes a dash.
+ * Output is limited to to alphanumeric characters, underscore (_) and dash (-).
+ * Various characters (including whitespace) are convered to dashes.
  *
  * @since 1.2.0
  *
@@ -1520,7 +1520,8 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa
 	}
 
 	$title = strtolower($title);
-	$title = preg_replace('/&.+?;/', '', $title); // kill entities
+	// Remove HTML entities.
+	$title = preg_replace('/&.+?;/', '', $title);
 	$title = str_replace('.', '-', $title);
 
 	if ( 'save' == $context ) {
