[wp-trac] [WordPress Trac] #12454: The code editor should not show leading <?php and trailing ?> tags (was: wp-config lacks closing php tag ?>)

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 12:20:20 UTC 2010


#12454: The code editor should not show leading <?php and trailing ?> tags
-------------------------+--------------------------------------------------
 Reporter:  Ribbontree   |        Owner:                
     Type:  enhancement  |       Status:  reopened      
 Priority:  normal       |    Milestone:  Future Release
Component:  General      |      Version:  3.0           
 Severity:  normal       |   Resolution:                
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  closed => reopened
  * resolution:  invalid =>
  * milestone:  => Future Release
  * type:  defect (bug) => enhancement


Old description:

> When WP lacks permission to generate wp-config.php during install, the
> textarea does not display the closing tag (?>) for a PHP file, despite
> the opening tag (<?php) appearing at the top.
>
> I do not know what will happen if one does not manually add the closing
> tag. I suspect a PHP error will occur, but I did not test that.
> This was tested with the nightly build, downloaded 14 hours ago.

New description:

 Re-opened to discuss the UI issue in the code editor. Was:

 ----

 When WP lacks permission to generate wp-config.php during install, the
 textarea does not display the closing tag (?>) for a PHP file, despite the
 opening tag (<?php) appearing at the top.

 I do not know what will happen if one does not manually add the closing
 tag. I suspect a PHP error will occur, but I did not test that.
 This was tested with the nightly build, downloaded 14 hours ago.

--

Comment:

 Re-opening this for the twist in the ticket's description...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12454#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list