WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16529, comment 9


Ignore:
Timestamp:
08/09/13 09:35:44 (20 months ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16529, comment 9

    initial v1  
    11The str_replace is no longer being used.  Currently we are doing: 
    22 
    3     $config_file[ $line_num ] = "define('" . $constant . "'," . $padding . "'" . addcslashes( constant( $constant ), "\\'" ) . "');\r\n"; 
     3 
     4{{{ 
     5$config_file[ $line_num ] = "define('" . $constant . "'," . $padding . "'" . addcslashes( constant( $constant ), "\\'" ) . "');\r\n"; 
     6}}} 
     7 
    48 
    59Which also preserves the single quotes.