WordPress.org

Make WordPress Core

Ticket #23481: 23481.diff

File 23481.diff, 948 bytes (added by markmcwilliams, 5 years ago)
  • wp-includes/formatting.php

     
    17211721}
    17221722
    17231723/**
    1724  * Callback to used to add rel=nofollow string to HTML A element.
     1724 * Callback to add rel=nofollow string to HTML A element.
    17251725 *
    17261726 * Will remove already existing rel="nofollow" and rel='nofollow' from the
    17271727 * string to prevent from invalidating (X)HTML.
  • wp-includes/functions.php

     
    727727 *
    728728 * @since 0.71
    729729 *
    730  * @param array $array Array to used to walk while sanitizing contents.
     730 * @param array $array Array to walk while sanitizing contents.
    731731 * @return array Sanitized $array.
    732732 */
    733733function add_magic_quotes( $array ) {