WordPress.org

Make WordPress Core

Ticket #3237: patch.diff

File patch.diff, 698 bytes (added by alexkingorg, 9 years ago)

patch

  • admin-functions.php

     
    10291029                        FROM $wpdb->postmeta 
    10301030                        GROUP BY meta_key 
    10311031                        ORDER BY meta_id DESC 
    1032                         LIMIT 10"); 
     1032                        LIMIT 30"); 
    10331033?> 
    10341034<h3><?php _e('Add a new custom field:') ?></h3> 
    10351035<table id="newmeta" cellspacing="3" cellpadding="3"> 
     
    10431043<select id="metakeyselect" name="metakeyselect" tabindex="7"> 
    10441044<option value="#NONE#"><?php _e('- Select -'); ?></option> 
    10451045<?php 
    1046  
     1046        natcasesort($keys); 
    10471047        foreach ($keys as $key) { 
    10481048                $key = wp_specialchars($key, 1); 
    10491049                echo "\n\t<option value='$key'>$key</option>";