Automattic / custom-metadata

A WordPress plugin that provides an easy way to add custom fields to your object types (post, pages, custom post types, users)
https://wordpress.org/plugins/custom-metadata/
193 stars 46 forks source link

Setting up the $defaults array in add_metadata_field should only be done once per execution #116

Closed jblz closed 10 years ago

jblz commented 10 years ago

If this is called a lot of times, the overhead (especially the __ / gettext calls) adds up and slows things down.