Changeset 41978 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 10/23/2017 08:47:27 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r41913 r41978 1481 1481 1482 1482 /** 1483 * Ajax handler for updating whether to display the Try Gutenberg panel.1484 *1485 * @since 4.9.01486 */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 /**1496 1483 * Ajax handler for retrieving menu meta boxes. 1497 1484 *
Note: See TracChangeset
for help on using the changeset viewer.