Make WordPress Core

Ticket #1865: metakeys_no_limit.diff

File metakeys_no_limit.diff, 574 bytes (added by coffee2code, 19 years ago)

Solution 1: Remove LIMIT clause all together

  • wp-admin/admin-functions.php

     
    767767                        SELECT meta_key
    768768                        FROM $wpdb->postmeta
    769769                        GROUP BY meta_key
    770                         ORDER BY meta_id DESC
    771                         LIMIT 10");
     770                        ORDER BY meta_id DESC");
    772771?>
    773772<h3><?php _e('Add a new custom field:') ?></h3>
    774773<table cellspacing="3" cellpadding="3">
     
    17331732                return array((int) ($width / $height * $hmax), $hmax);
    17341733}
    17351734
    1736 ?>
    1737  No newline at end of file
     1735?>