Skip to content

Commit

Permalink
update wp.org readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Sep 16, 2014
1 parent 4ae8c11 commit a4a1461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CMB2 will create metaboxes and forms with custom fields that will blow your mind
##### Notable Changes in CMB2 (from original CMB)
**Change 1:** Hooks/filters work nearly the same (if not the same), but you'll be required to use the `cmb2_` instead of the original `cmb_`. This includes the main filter for adding metaboxes, `'cmb2_meta_boxes'`. The `cmb2_render{$custom_field_type}` action no longer passes the unescaped value as the first parameter.

**Change 2:** The [old method for including the CMB core files](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/blob/master/example-functions.php#L406-L415) is no longer applicable and you're simply required to [include it directly](https://github.com/WebDevStudios/CMB2/blob/master/example-functions.php#L14).
**Change 2:** The [old method for including the CMB core files](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/blob/master/example-functions.php#L406-L415) is no longer applicable and you're simply required to [include it directly](https://github.com/WebDevStudios/CMB2/blob/master/example-functions.php#L14). This is not applicable if installing as a standard WordPress plugin.

**Change 3:** The `'pages'` metabox parameter has been changed to `'object_types'` to more accurately reflect its purpose.

Expand Down

0 comments on commit a4a1461

Please sign in to comment.