WordPress.org

Make WordPress Core

Ticket #6813: press-this_7-11-1am.diff

File press-this_7-11-1am.diff, 1.2 KB (added by noel, 10 years ago)

IE CSS stylesheet conditional comment

  • press-this.php

     
    287287        <title><?php _e('Press This') ?></title>
    288288
    289289        <script type="text/javascript" src="../wp-includes/js/tinymce/tiny_mce.js?ver=311"></script>
     290       
     291        <!--[if gte IE 6]>
     292        <link rel="stylesheet" href="./css/press-this-ie.css" type="text/css" media="screen" charset="utf-8" />
     293        <![endif]-->
     294       
    290295<?php
    291296        add_thickbox();
    292297        wp_enqueue_style('press-this');
     
    497502                <div class="editor_area">
    498503                        <h2 id="content_type"><label for="content"><?php _e('Post') ?></label></h2>
    499504                        <div class="editor-container">
    500                                 <textarea name="content" id="content" style="width:100%;" class="mceEditor"><?php if ($selection) { echo wp_richedit_pre($selection); } else { ?><a href='<?php echo $url ?>'><?php echo $title; ?></a><?php } ?></textarea>
     505                                <textarea name="content" id="content" style="width:100%;" class="mceEditor"><?php if ($selection) { echo wp_richedit_pre($selection); } else { ?><a href='<?php echo $url ?>'><?php echo $title; ?></a> &rlm;<?php } ?></textarea>
    501506                        </div>
    502507                </div>
    503508        </div>