Make WordPress Core


Ignore:
Timestamp:
10/23/2018 11:03:20 AM (6 years ago)
Author:
pento
Message:

Dashboard: Remove the Try Gutenberg callout.

Block or block not. There is no try.

Props mukesh27.
See #45063.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/includes/ajax-actions.php

    r43502 r43807  
    14861486
    14871487/**
    1488  * Ajax handler for updating whether to display the Try Gutenberg panel.
    1489  *
    1490  * @since 4.9.8
    1491  */
    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 /**
    15011488 * Ajax handler for retrieving menu meta boxes.
    15021489 *
Note: See TracChangeset for help on using the changeset viewer.