#1558 closed defect (bug) (fixed)
edit-form-advanced.php
Reported by: | gslin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.6 |
Component: | Administration | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
source:/trunk/wp-admin/edit-form-advanced.php#2748 break the advanced edit toolbar.
the possible workaround:
--- edit-form-advanced.php Sat Aug 6 16:35:00 2005
+++ /home/gslinn/edit-form-advanced.php Sat Aug 6 16:36:02 2005
@@ -139,6 +139,11 @@
<legend><?php _e('Post') ?></legend>
<?php if ( !get_option('rich_editing') ) : ?>
<?php the_quicktags(); ?>
+<script type="text/javascript">
+<!--
+edCanvas = document.getElementById('content');
+-->
+</script>
<?php endif; ?>
<?php
$rows = get_settings('default_post_edit_rows');
@@ -147,11 +152,6 @@
}
?>
<div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="2" id="content"><?php echo $post>post_content ?></textarea></div>
-<script type="text/javascript">
-<!--
-edCanvas = document.getElementById('content');
--->
-</script>
</fieldset>
<?php echo $form_pingback ?>
@@ -216,4 +216,4 @@
</div>
-</form>
+</form>
Attachments (1)
Change History (3)
This ticket was mentioned in PR #1559 on WordPress/wordpress-develop by jrfnl.
3 years ago
#2
- Keywords has-patch has-unit-tests added
Loosely related to #1558 as all test failures for that function originated from this one.
Note: trac ticket link below not added yet on purpose while this ticket is still WIP.
Trac ticket:
patch for trunk/wp-admin/edit-form-advanced.php