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

Staticize the $defaults array in add_metadata_field... #117

Closed jblz closed 10 years ago

jblz commented 10 years ago

..so it only has to be built once. Saves considerable overhead (especially in the __ / gettext calls) when this is called a lot of times.

See: #116