Make WordPress Core


Ignore:
Timestamp:
03/28/2018 12:17:26 AM (8 years ago)
Author:
pento
Message:

Dashboard: Remove the "Try Gutenberg" callout.

As eager as we all are to see Gutenberg put before a wider audience, there are still a handful of issues that need to be fixed, which won't be done before the 4.9.5 release.

Reverts [42869].
See #41316.

File:
1 edited

Legend:

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

    r42869 r42883  
    14861486
    14871487/**
    1488  * Ajax handler for updating whether to display the Try Gutenberg panel.
    1489  *
    1490  * @since 4.9.5
    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.