Make WordPress Core


Ignore:
Timestamp:
07/13/2008 04:57:01 AM (17 years ago)
Author:
ryan
Message:

Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r8318 r8323  
    8080        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    8181        <title><?php _e('Press This') ?></title>
    82         <!--[if gte IE 6]>
    83         <link rel="stylesheet" href="./css/press-this-ie.css" type="text/css" media="screen" charset="utf-8" />
    84         <![endif]-->
    8582    <?php
    8683        add_thickbox();
    8784        wp_enqueue_style('press-this');
     85        wp_enqueue_style('press-this-ie');
    8886        wp_enqueue_style( 'colors' );
    8987        wp_enqueue_script('post');
     
    295293
    296294    <script type="text/javascript" src="../wp-includes/js/tinymce/tiny_mce.js?ver=311"></script>
    297     <!--[if gte IE 6]>
    298     <?php wp_enqueue_style('press-this-ie'); ?>
    299     <![endif]-->
    300295<?php
    301296    add_thickbox();
    302297    wp_enqueue_style('press-this');
     298    wp_enqueue_style('press-this-ie');
    303299    wp_enqueue_style( 'colors' );
    304300    wp_enqueue_script('post');
Note: See TracChangeset for help on using the changeset viewer.