mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
* Simplify jQuery UI slider CSS and bring into line with admin styles.
* Merge styles into wp-admin.css and colors-*.css. * Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized. props karmatosed, helen. see #23497. git-svn-id: https://develop.svn.wordpress.org/trunk@23581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -73,7 +73,6 @@ if ( !empty($post->post_type) && 'post' != $post->post_type )
|
||||
else
|
||||
$parent_file = $submenu_file = 'edit.php';
|
||||
|
||||
wp_enqueue_style( 'wp-jquery-ui-slider' );
|
||||
wp_enqueue_script( 'revisions' );
|
||||
|
||||
require_once( './admin-header.php' );
|
||||
@@ -134,7 +133,7 @@ var wpRevisionsSettings = <?php echo json_encode( array( 'post_id' => $post->ID,
|
||||
<span id="diff_max" ></span>
|
||||
</div>
|
||||
|
||||
<div id="slider"></div>
|
||||
<div id="slider" class="wp-slider"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user