File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public function __construct() {
4040 */
4141 function admin_enqueue_scripts () {
4242 wp_enqueue_style ( 'wp-color-picker ' );
43+ wp_enqueue_script ( 'wp-color-picker ' );
4344 wp_enqueue_script ( 'jquery ' );
4445 wp_enqueue_script ( 'media-upload ' );
4546 wp_enqueue_script ( 'thickbox ' );
@@ -345,7 +346,7 @@ function callback_color( $args ) {
345346
346347 echo $ html ;
347348 }
348-
349+
349350 /**
350351 * Sanitize callback for Settings API
351352 */
@@ -508,6 +509,12 @@ function(){
508509 });
509510 });
510511 </script>
512+
513+ <style type="text/css">
514+ /* WordPress 3.8 Fix */
515+ .form-table th { padding: 20px 10px; }
516+ #wpbody-content .metabox-holder { padding-top: 5px; }
517+ </style>
511518 <?php
512519 }
513520
You can’t perform that action at this time.
0 commit comments