WordPress.org

Make WordPress Core

Ticket #17500: pressthis.diff

File pressthis.diff, 778 bytes (added by greuben, 7 years ago)
  • wp-admin/press-this.php

     
    346346        do_action('admin_print_styles');
    347347        do_action('admin_print_scripts');
    348348        do_action('admin_head');
    349 
    350         if ( user_can_richedit() ) {
    351                 wp_tiny_mce( true, array( 'height' => '370' ) );
    352         }
    353349?>
    354350        <script type="text/javascript">
    355351        function insert_plain_editor(text) {
     
    467463</script>
    468464</head>
    469465<body class="press-this wp-admin">
     466<?php
     467if ( user_can_richedit() ) {
     468        wp_tiny_mce( true, array( 'height' => '370' ) );
     469}
     470?>
    470471<div id="wphead"></div>
    471472<form action="press-this.php?action=post" method="post">
    472473<div id="poststuff" class="metabox-holder">