WordPress.org

Make WordPress Core

Ticket #38415: 38415.patch

File 38415.patch, 692 bytes (added by thakkarhardik, 3 years ago)

As per the suggestion, I have changed the label. Please look over it and let me know if anything more is required.

  • src/wp-admin/includes/class-walker-nav-menu-edit.php

     
    101101                } elseif ( isset( $item->post_status ) && 'draft' == $item->post_status ) {
    102102                        $classes[] = 'pending';
    103103                        /* translators: %s: title of menu item in draft status */
    104                         $title = sprintf( __( '%s (Pending)' ), $item->title );
     104                        $title = sprintf( __( '%s Menu Item (Pending)' ), $item->title );
    105105                }
    106106
    107107                $title = ( ! isset( $item->label ) || '' == $item->label ) ? $title : $item->label;