Make WordPress Core


Ignore:
Timestamp:
12/13/2018 09:06:20 AM (6 years ago)
Author:
pento
Message:

Dashboard: Remove the Try Gutenberg callout.

Merge of [43807] from the 5.0 branch.

Props mukesh27.
Fixes #45063.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/ajax-actions.php

    r44053 r44106  
    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.