michaeluno / admin-page-framework

Facilitates WordPress plugin and theme development.
http://admin-page-framework.michaeluno.jp/
Other
340 stars 71 forks source link

Deprecate the validation_{class name}_{submit field id} and validation_{class name}_{submit input id} #64

Closed michaeluno closed 10 years ago

michaeluno commented 10 years ago

I'm going to deprecate the validation_{class name}_{submit field id} and validation_{class name}_{submit input id} filters for the submit field type as it is confusing with the other submitted fields.

To determine which submit button is pressed, instead I'll add the following action hooks:

Then the field id can be used for all the fields, not restricted to the submit field type.

michaeluno commented 10 years ago

Done in some of the following commits: