Changeset 44106 for branches/4.9/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 12/13/2018 09:06:20 AM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/branches/5.0 merged: 43807
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/includes/ajax-actions.php
r44053 r44106 1486 1486 1487 1487 /** 1488 * Ajax handler for updating whether to display the Try Gutenberg panel.1489 *1490 * @since 4.9.81491 */1492 function wp_ajax_update_try_gutenberg_panel() {1493 check_ajax_referer( 'try-gutenberg-panel-nonce', 'trygutenbergpanelnonce' );1494 1495 update_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', empty( $_POST['visible'] ) ? 0 : 1 );1496 1497 wp_die( 1 );1498 }1499 1500 /**1501 1488 * Ajax handler for retrieving menu meta boxes. 1502 1489 *
Note: See TracChangeset
for help on using the changeset viewer.