Changeset 41895 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 10/18/2017 10:03:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r41721 r41895 1481 1481 1482 1482 /** 1483 * Ajax handler for updating whether to display the Try Gutenberg panel. 1484 * 1485 * @since 4.9.0 1486 */ 1487 function wp_ajax_update_try_gutenberg_panel() { 1488 check_ajax_referer( 'try-gutenberg-panel-nonce', 'trygutenbergpanelnonce' ); 1489 1490 update_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', empty( $_POST['visible'] ) ? 0 : 1 ); 1491 1492 wp_die( 1 ); 1493 } 1494 1495 /** 1483 1496 * Ajax handler for retrieving menu meta boxes. 1484 1497 *
Note: See TracChangeset
for help on using the changeset viewer.