File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -646,9 +646,11 @@ protected function render_content() {
646646 <div class="new-content-item-wrapper">
647647 <label for="create-input-<?php echo esc_attr ( $ this ->id ); ?> "><?php _e ( 'New page title ' ); ?> </label>
648648 <div class="new-content-item">
649- <input type="text" id="create-input-<?php echo esc_attr ( $ this ->id ); ?> " class="create-item-input" >
649+ <input type="text" id="create-input-<?php echo esc_attr ( $ this ->id ); ?> " class="create-item-input form-required" >
650650 <button type="button" class="button add-content"><?php _e ( 'Add ' ); ?> </button>
651651 </div>
652+ <span id="create-input-<?php echo esc_attr ( $ this ->id ); ?> -error" class="create-item-error error-message" style="display: none;"><?php _e ( 'Please enter a page title ' ); ?> </span>
653+
652654 </div>
653655 <?php endif ; ?>
654656 <?php
You can’t perform that action at this time.
0 commit comments