MasterPress 1.1.4 is now available. This release contains an important compatibility fix for WordPress 4.5 to allow correct detection of the taxonomy term editing screen. Without this fix, any custom fields you have attached to custom taxonomies will not be shown at all in the editing form. Note also that MasterPress will still detect the edit screen correctly in…
Parses attributes passed to a shortcode handler to retrieve an “id” for the shortcode, accepting the following styles of shortcode:
- [item 1]
- [item id=”1″]
That is, if there are no named attributes, this function will assume the first attribute is the ID. Note that this also checks if that ID is numeric, and if not, the number 1 will be returned. This is intended for the specific use case in the example, where we can retrieve a field item in a field set.