diff --git a/wp-admin/js/customize-nav-menus.js b/wp-admin/js/customize-nav-menus.js
index a973e3e..7c482f1 100644
a
|
b
|
|
250 | 250 | }); |
251 | 251 | |
252 | 252 | self.currentRequest.fail(function( data ) { |
253 | | $content.empty().append( $( '<p class="nothing-found"></p>' ).text( data.message ) ); |
| 253 | $content.empty().append( $( '<div class="nothing-found"></div>' ).html( data.message ) ); |
254 | 254 | wp.a11y.speak( data.message ); |
255 | 255 | self.pages.search = -1; |
256 | 256 | }); |
diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php
index 65a4c60..28f2e6a 100644
a
|
b
|
final class WP_Customize_Nav_Menus { |
174 | 174 | $results = $this->search_available_items_query( array( 'pagenum' => $p, 's' => $s ) ); |
175 | 175 | |
176 | 176 | if ( empty( $results ) ) { |
177 | | wp_send_json_error( array( 'message' => __( 'No results found.' ) ) ); |
| 177 | wp_send_json_error( array( 'message' => '<p>' . __( 'No results found.' ) . '</p><p>' . __( 'You must create and publish content before you can add it as a menu item. You can also add links to external sites in the Custom Links section below.' ) . '</p>' ) ); |
178 | 178 | } else { |
179 | 179 | wp_send_json_success( array( 'items' => $results ) ); |
180 | 180 | } |