Make WordPress Core

Ticket #44042: 44042.diff

File 44042.diff, 505 bytes (added by sebastien@…, 7 years ago)
  • wp-includes/option.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    548548function delete_option( $option ) {
    549549        global $wpdb;
    550550
    551         $option = trim( $option );
     551        $option = trim( apply_filters( 'delete_option_name', $option ));
     552
    552553        if ( empty( $option ) ) {
    553554                return false;
    554555        }