Make WordPress Core

Ticket #42497: 42497.diff

File 42497.diff, 689 bytes (added by dlh, 6 years ago)
  • src/wp-admin/customize.php

     
    5353        if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) {
    5454                wp_die(
    5555                        '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
    56                         '<p>' . __( 'This changeset has already been published and cannot be further modified.' ) . '</p>' .
     56                        '<p>' . __( 'This changeset cannot be further modified.' ) . '</p>' .
    5757                        '<p><a href="' . esc_url( remove_query_arg( 'changeset_uuid' ) ) . '">' . __( 'Customize New Changes' ) . '</a></p>',
    5858                        403
    5959                );