Make WordPress Core

Ticket #50569: 50569.2.diff

File 50569.2.diff, 743 bytes (added by stevenlinx, 5 years ago)
  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index 45fb3c35b6..a8b89375e5 100644
    a b function sanitize_title_for_query( $title ) { 
    22252225 *
    22262226 * @param string $title     The title to be sanitized.
    22272227 * @param string $raw_title Optional. Not used.
    2228  * @param string $context   Optional. The operation for which the string is sanitized.
     2228 * @param string $context   Optional. The context for the sanitation. When set to 'save', additional entities are converted to hyphens or stripped entirely.
    22292229 * @return string The sanitized title.
    22302230 */
    22312231function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'display' ) {