Boone Gorges
2322b40358
Introduce meta_box_sanitize_cb
taxonomy argument.
...
The `meta_box_cb` argument was introduced in [25572] to allow plugin
authors to provide a custom callback for rendering their taxonomy's meta
box on the post edit screen. However, the routine used to handle the saving
of these custom taxonomy meta boxes was not customizable, but was instead
based simply on whether the taxonomy was hierarchicaly. See [13535].
The new `meta_box_sanitize_cb` argument defaults to the "tag" routine for
non-hierarchical taxonomies and the "category" routine for hierarchical ones,
thereby maintaining the current default behavior. Developers can override this
when the data passed from their `meta_box_cb` differs.
Props boonebgorges, ZaneMatthew, stephenharris.
Fixes #36514 .
Built from https://develop.svn.wordpress.org/trunk@42211
git-svn-id: http://core.svn.wordpress.org/trunk@42040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-21 03:15:50 +00:00
..
2017-10-04 18:25:46 +00:00
2016-08-31 16:31:29 +00:00
2017-10-24 23:10:48 +00:00
2016-06-29 15:16:29 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-10-18 17:15:47 +00:00
2017-08-22 11:52:48 +00:00
2016-08-26 18:47:29 +00:00
2016-08-26 18:47:29 +00:00
2016-08-31 16:31:29 +00:00
2017-07-27 00:40:43 +00:00
2017-10-18 17:15:47 +00:00
2016-07-19 11:55:30 +00:00
2017-09-24 14:22:54 +00:00
2017-08-22 14:02:44 +00:00
2017-10-18 17:15:47 +00:00
2017-10-09 16:04:48 +00:00
2017-10-09 16:04:48 +00:00
2017-10-18 17:20:48 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:40:43 +00:00
2017-10-18 17:48:49 +00:00
2017-10-02 19:44:47 +00:00
2017-10-25 00:07:46 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-09-28 04:32:46 +00:00
2015-09-22 14:35:25 +00:00
2017-07-27 00:40:43 +00:00
2017-07-27 00:40:43 +00:00
2017-11-10 22:56:47 +00:00
2017-07-27 00:40:43 +00:00
2017-08-22 11:52:48 +00:00
2017-10-02 19:44:47 +00:00
2017-11-17 21:35:51 +00:00
2017-10-18 18:01:49 +00:00
2017-10-04 23:43:46 +00:00
2015-10-17 15:13:25 +00:00
2017-10-05 02:50:46 +00:00
2017-10-23 20:48:47 +00:00
2017-07-27 00:40:43 +00:00
2017-10-02 21:52:52 +00:00
2017-10-02 19:44:47 +00:00
2017-08-03 15:43:43 +00:00
2017-07-27 00:40:43 +00:00
2016-12-03 03:40:41 +00:00
2017-10-11 04:24:50 +00:00
2017-10-04 22:17:46 +00:00
2016-06-29 15:16:29 +00:00
2016-05-24 23:24:27 +00:00
2017-10-02 22:14:46 +00:00
2017-11-13 22:45:11 +00:00
2017-09-26 08:24:46 +00:00
2016-05-22 18:01:30 +00:00
2017-06-27 00:58:41 +00:00
2017-11-02 23:05:48 +00:00
2017-08-22 11:12:44 +00:00
2017-08-03 14:34:44 +00:00
2017-09-27 08:00:49 +00:00
2016-08-31 16:31:29 +00:00
2017-10-21 13:27:48 +00:00
2016-06-29 15:16:29 +00:00
2017-11-19 11:52:52 +00:00
2017-11-16 13:25:50 +00:00
2017-09-27 14:17:45 +00:00
2017-06-22 17:48:45 +00:00
2017-08-22 11:52:48 +00:00
2017-10-24 11:23:24 +00:00
2017-10-18 20:51:48 +00:00
2017-01-25 23:10:43 +00:00
2017-11-09 03:55:46 +00:00
2017-09-27 08:00:49 +00:00
2017-10-11 00:03:48 +00:00
2017-11-21 03:15:50 +00:00
2017-09-21 23:33:44 +00:00
2017-10-21 13:22:49 +00:00
2016-07-07 16:39:29 +00:00
2016-05-26 04:50:27 +00:00
2017-11-10 22:30:56 +00:00
2017-08-22 11:52:48 +00:00
2017-10-24 22:47:46 +00:00
2017-08-22 11:52:48 +00:00
2017-10-25 00:02:50 +00:00
2017-08-22 11:52:48 +00:00
2017-11-20 23:46:48 +00:00
2017-10-02 22:03:33 +00:00
2017-09-27 16:29:44 +00:00