WordPress.org

Make WordPress Core

Ticket #38648: 38648.0.diff

File 38648.0.diff, 642 bytes (added by westonruter, 4 years ago)
  • src/wp-includes/class-wp-customize-manager.php

    diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
    index 6e8faf2..467164b 100644
    final class WP_Customize_Manager { 
    12321232                wp_enqueue_script( 'customize-preview' );
    12331233                add_action( 'wp_head', array( $this, 'customize_preview_loading_style' ) );
    12341234                add_action( 'wp_footer', array( $this, 'customize_preview_settings' ), 20 );
     1235                add_filter( 'get_edit_post_link', '__return_empty_string' );
    12351236
    12361237                /**
    12371238                 * Fires once the Customizer preview has initialized and JavaScript