WordPress.org

Make WordPress Core

Changeset 18148


Ignore:
Timestamp:
06/05/2011 12:36:12 PM (7 years ago)
Author:
westi
Message:

Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben

File:
1 edited

Legend:

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

    r18144 r18148  
    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">
     
    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">
Note: See TracChangeset for help on using the changeset viewer.