Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 3 years ago

#1558 closed defect (bug) (fixed)

edit-form-advanced.php

Reported by: gslin's profile 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)

edit-form-advanced-php.diff (865 bytes) - added by gslin 19 years ago.
patch for trunk/wp-admin/edit-form-advanced.php

Download all attachments as: .zip

Change History (3)

@gslin
19 years ago

patch for trunk/wp-admin/edit-form-advanced.php

#1 @gslin
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [2789].

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:

Note: See TracTickets for help on using tickets.