@@ -208,13 +208,17 @@ function cptui_manage_post_types() {
208208 <div class="postbox-container">
209209 <div id="poststuff">
210210 <div class="cptui-section postbox">
211- <button type="button" class="handlediv button-link" aria-expanded="true">
212- <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
213- <span class="toggle-indicator" aria-hidden="true"></span>
214- </button>
215- <h2 class="hndle">
216- <span><?php esc_html_e ( 'Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
217- </h2>
211+ <div class="postbox-header">
212+ <h2 class="hndle ui-sortable-handle">
213+ <span><?php esc_html_e ( 'Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
214+ </h2>
215+ <div class="handle-actions hide-if-no-js">
216+ <button type="button" class="handlediv" aria-expanded="true">
217+ <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
218+ <span class="toggle-indicator" aria-hidden="true"></span>
219+ </button>
220+ </div>
221+ </div>
218222 <div class="inside">
219223 <div class="main">
220224 <table class="form-table cptui-table">
@@ -348,13 +352,17 @@ function cptui_manage_post_types() {
348352 </div>
349353 </div>
350354 <div class="cptui-section cptui-labels postbox">
351- <button type="button" class="handlediv button-link" aria-expanded="true">
352- <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Additional labels ' , 'custom-post-type-ui ' ); ?> </span>
353- <span class="toggle-indicator" aria-hidden="true"></span>
354- </button>
355- <h2 class="hndle">
356- <span><?php esc_html_e ( 'Additional labels ' , 'custom-post-type-ui ' ); ?> </span>
357- </h2>
355+ <div class="postbox-header">
356+ <h2 class="hndle ui-sortable-handle">
357+ <span><?php esc_html_e ( 'Additional labels ' , 'custom-post-type-ui ' ); ?> </span>
358+ </h2>
359+ <div class="handle-actions hide-if-no-js">
360+ <button type="button" class="handlediv" aria-expanded="true">
361+ <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
362+ <span class="toggle-indicator" aria-hidden="true"></span>
363+ </button>
364+ </div>
365+ </div>
358366 <div class="inside">
359367 <div class="main">
360368 <table class="form-table cptui-table">
@@ -786,13 +794,17 @@ function cptui_manage_post_types() {
786794 </div>
787795 </div>
788796 <div class="cptui-section cptui-settings postbox">
789- <button type="button" class="handlediv button-link" aria-expanded="true">
790- <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Settings ' , 'custom-post-type-ui ' ); ?> </span>
791- <span class="toggle-indicator" aria-hidden="true"></span>
792- </button>
793- <h2 class="hndle">
794- <span><?php esc_html_e ( 'Settings ' , 'custom-post-type-ui ' ); ?> </span>
795- </h2>
797+ <div class="postbox-header">
798+ <h2 class="hndle ui-sortable-handle">
799+ <span><?php esc_html_e ( 'Settings ' , 'custom-post-type-ui ' ); ?> </span>
800+ </h2>
801+ <div class="handle-actions hide-if-no-js">
802+ <button type="button" class="handlediv" aria-expanded="true">
803+ <span class="screen-reader-text"><?php esc_html_e ( 'Toggle panel: Basic settings ' , 'custom-post-type-ui ' ); ?> </span>
804+ <span class="toggle-indicator" aria-hidden="true"></span>
805+ </button>
806+ </div>
807+ </div>
796808 <div class="inside">
797809 <div class="main">
798810 <table class="form-table cptui-table">
0 commit comments