Make WordPress Core

Ticket #63342: 63342.patch

File 63342.patch, 643 bytes (added by dilipbheda, 11 months ago)
  • src/wp-admin/options.php

    diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php
    index 8348b24c8e..7cbf7129c3 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    395395                <input type="hidden" name="option_page" value="options" />
    396396                <table class="form-table" role="presentation">
    397397<?php
    398 $options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" );
     398$options = $wpdb->get_results( "SELECT * FROM $wpdb->options WHERE option_name REGEXP '^[^_site_transient_]+' ORDER BY option_name" );
    399399
    400400foreach ( (array) $options as $option ) :
    401401        $disabled = false;