diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php
index 4690161ccc..36baf596b1 100644
--- a/wp-admin/admin-header.php
+++ b/wp-admin/admin-header.php
@@ -27,7 +27,7 @@ get_admin_page_title();
› — WordPress
-
diff --git a/wp-admin/bookmarklet.php b/wp-admin/bookmarklet.php
index 4b47e7b934..8618458daf 100644
--- a/wp-admin/bookmarklet.php
+++ b/wp-admin/bookmarklet.php
@@ -51,7 +51,7 @@ if ( !empty($content) ) {
› Bookmarklet — WordPress
-
diff --git a/wp-admin/categories.php b/wp-admin/categories.php
index 2763eca177..ee416a0e1c 100644
--- a/wp-admin/categories.php
+++ b/wp-admin/categories.php
@@ -97,7 +97,7 @@ default:
if ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
wp_enqueue_script( 'admin-categories' );
diff --git a/wp-admin/css/install.css b/wp-admin/css/install.css
index 64521464c4..5f4164c615 100644
--- a/wp-admin/css/install.css
+++ b/wp-admin/css/install.css
@@ -50,7 +50,7 @@ td input { font-size: 1.5em; }
margin-left: 0;
font-size: 13px !important;
-moz-border-radius: 2px;
- -khtml-border-radius: 2px;
+ -khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
color: #246;
diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css
index 31d41dc0a2..f3b5f8ed70 100644
--- a/wp-admin/css/login.css
+++ b/wp-admin/css/login.css
@@ -29,7 +29,7 @@ form .submit input {
border: none;
margin-top: -6px;
-moz-border-radius: 2px;
- -khtml-border-radius: 2px;
+ -khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css
index 6df7ff521e..8ef6a40e6b 100644
--- a/wp-admin/css/widgets.css
+++ b/wp-admin/css/widgets.css
@@ -35,7 +35,7 @@ p#widget-search {
div#widget-content {
border-bottom: 1px solid #ccc;
-}
+}
ul#widget-list {
list-style: none;
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index 0961588aee..72a42d6be5 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -9,7 +9,7 @@ wp_enqueue_script('admin-forms');
if ( !empty( $_REQUEST['delete_comments'] ) ) {
check_admin_referer('bulk-comments');
- $comments_deleted = $comments_approved = $comments_unapproved = $comments_spammed = 0;
+ $comments_deleted = $comments_approved = $comments_unapproved = $comments_spammed = 0;
foreach ($_REQUEST['delete_comments'] as $comment) : // Check the permissions on each
$comment = (int) $comment;
$post_id = (int) $wpdb->get_var("SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = $comment");
@@ -40,7 +40,7 @@ if ( !empty( $_REQUEST['delete_comments'] ) ) {
wp_redirect( $redirect_to );
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
require_once('admin-header.php');
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 7dcf92d609..294dce5bab 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -178,7 +178,7 @@ if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
ID); ?>
-ID) && ! empty($sample_permalink_html) ) :
+ID) && ! empty($sample_permalink_html) ) :
echo $sample_permalink_html;
endif; ?>
diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php
index e14aabded9..e34e41a2f5 100644
--- a/wp-admin/edit-link-categories.php
+++ b/wp-admin/edit-link-categories.php
@@ -22,7 +22,7 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
$title = __('Link Categories');
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 7e10d2ca38..7c31acc2c7 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -153,7 +153,7 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
ID); ?>
-ID) && ! empty($sample_permalink_html) ) :
+ID) && ! empty($sample_permalink_html) ) :
echo $sample_permalink_html;
endif; ?>
diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php
index 05bce39167..5ea942e5b6 100644
--- a/wp-admin/edit-pages.php
+++ b/wp-admin/edit-pages.php
@@ -28,7 +28,7 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
$title = __('Pages');
@@ -72,7 +72,7 @@ printf( _c( '%1$s%2$s%3$s|You can reorder these: 1: Pages, 2: by {s}, 3: matchin
$label ) {
@@ -80,7 +80,7 @@ foreach ( $post_stati as $status => $label ) {
if ( !in_array($status, $avail_post_stati) )
continue;
-
+
if ( $status == $_GET['post_status'] )
$class = ' class="current"';
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
index 17e74a6bbd..542baddc23 100644
--- a/wp-admin/edit-tags.php
+++ b/wp-admin/edit-tags.php
@@ -87,7 +87,7 @@ default:
if ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
wp_enqueue_script( 'admin-tags' );
diff --git a/wp-admin/edit.php b/wp-admin/edit.php
index f83ef351c8..8da14ab17f 100644
--- a/wp-admin/edit.php
+++ b/wp-admin/edit.php
@@ -28,7 +28,7 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
- exit;
+ exit;
}
$title = __('Posts');
@@ -154,12 +154,12 @@ foreach ($arc_result as $arc_row) {
if ( $arc_row->yyear == 0 )
continue;
$arc_row->mmonth = zeroise( $arc_row->mmonth, 2 );
-
+
if ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] )
$default = ' selected="selected"';
else
$default = '';
-
+
echo "\n";
diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php
index 634ac480bf..1d0172a4c0 100644
--- a/wp-admin/includes/class-ftp.php
+++ b/wp-admin/includes/class-ftp.php
@@ -14,7 +14,7 @@ class ftp_base {
var $Verbose;
var $OS_local;
var $OS_remote;
-
+
/* Private variables */
var $_lastaction;
var $_errors;
@@ -601,7 +601,7 @@ class ftp_base {
}
}
return $ret;
-
+
}
function mget($remote, $local=".", $continious=false) {
@@ -649,13 +649,13 @@ class ftp_base {
$this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
return false;
}
-
+
foreach($list as $k=>$v) {
$list[$k]=$this->parselisting($v);
if($list[$k]["name"]=="." or $list[$k]["name"]=="..") unset($list[$k]);
}
$ret=true;
-
+
foreach($list as $el) {
if ( empty($el) )
continue;
@@ -673,7 +673,7 @@ class ftp_base {
}
}
}
-
+
if(!$this->rmdir($remote)) {
$this->PushError("mdel", "can't delete folder", "Can't delete remote folder \"".$remote."/".$el["name"]."\"");
$ret=false;
@@ -813,7 +813,7 @@ class ftp_base {
$this->SendMSG($fctname.': '.$msg.$tmp);
return(array_push($this->_error_array,$error));
}
-
+
// Rcupre une erreur externe
function PopError(){
if(count($this->_error_array)) return(array_pop($this->_error_array));
diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php
index 19f20b9dad..d387f00d44 100644
--- a/wp-admin/includes/class-pclzip.php
+++ b/wp-admin/includes/class-pclzip.php
@@ -27,7 +27,7 @@
// ----- Constants
define( 'PCLZIP_READ_BLOCK_SIZE', 2048 );
-
+
// ----- File list separator
// In version 1.x of PclZip, the separator for file list is a space
// (which is not a very smart choice, specifically for windows paths !).
@@ -126,7 +126,7 @@
// which is not correctly supported by PHP ...
//define( 'PCLZIP_OPT_CRYPT', 77018 );
define( 'PCLZIP_OPT_EXTRACT_DIR_RESTRICTION', 77019 );
-
+
// ----- File description attributes
define( 'PCLZIP_ATT_FILE_NAME', 79001 );
define( 'PCLZIP_ATT_FILE_NEW_SHORT_NAME', 79002 );
@@ -169,7 +169,7 @@
// ----- Internal error handling
var $error_code = 1;
var $error_string = '';
-
+
// ----- Current status of the magic_quotes_runtime
// This value store the php configuration for magic_quotes
// The class can then disable the magic_quotes and reset it after
@@ -315,16 +315,16 @@
$v_att_list = array();
$v_filedescr_list = array();
$p_result_list = array();
-
+
// ----- Look if the $p_filelist is really an array
if (is_array($p_filelist)) {
-
+
// ----- Look if the first element is also an array
// This will mean that this is a file description entry
if (isset($p_filelist[0]) && is_array($p_filelist[0])) {
$v_att_list = $p_filelist;
}
-
+
// ----- The list is a list of string names
else {
$v_string_list = $p_filelist;
@@ -343,7 +343,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, 0);
return 0;
}
-
+
// ----- Reformat the string list
if (sizeof($v_string_list) != 0) {
foreach ($v_string_list as $v_string) {
@@ -355,7 +355,7 @@
}
}
}
-
+
// ----- For each file in the list check the attributes
$v_supported_attributes
= array ( PCLZIP_ATT_FILE_NAME => 'mandatory'
@@ -505,16 +505,16 @@
$v_att_list = array();
$v_filedescr_list = array();
$p_result_list = array();
-
+
// ----- Look if the $p_filelist is really an array
if (is_array($p_filelist)) {
-
+
// ----- Look if the first element is also an array
// This will mean that this is a file description entry
if (isset($p_filelist[0]) && is_array($p_filelist[0])) {
$v_att_list = $p_filelist;
}
-
+
// ----- The list is a list of string names
else {
$v_string_list = $p_filelist;
@@ -533,14 +533,14 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, 0);
return 0;
}
-
+
// ----- Reformat the string list
if (sizeof($v_string_list) != 0) {
foreach ($v_string_list as $v_string) {
$v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
}
}
-
+
// ----- For each file in the list check the attributes
$v_supported_attributes
= array ( PCLZIP_ATT_FILE_NAME => 'mandatory'
@@ -990,7 +990,7 @@
// Options :
// PCLZIP_OPT_BY_INDEX :
// PCLZIP_OPT_BY_NAME :
- // PCLZIP_OPT_BY_EREG :
+ // PCLZIP_OPT_BY_EREG :
// PCLZIP_OPT_BY_PREG :
// Return Values :
// 0 on failure,
@@ -1065,7 +1065,7 @@
function deleteByIndex($p_index)
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::deleteByIndex", "index='$p_index'");
-
+
$p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index);
// ----- Return
@@ -1119,7 +1119,7 @@
if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0)
{
$this->privSwapBackMagicQuotes();
-
+
// ----- Error log
PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode');
@@ -1448,7 +1448,7 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privParseOptions", "");
$v_result=1;
-
+
// ----- Read the options
$i=0;
while ($i<$p_size) {
@@ -1645,7 +1645,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, PclZip::errorCode(), PclZip::errorInfo());
return PclZip::errorCode();
}
-
+
// ----- Reduce the index list
// each index item in the list must be a couple with a start and
// an end value : [0,3], [5-5], [8-10], ...
@@ -1656,10 +1656,10 @@
// ----- Explode the item
$v_item_list = explode("-", $v_work_list[$j]);
$v_size_item_list = sizeof($v_item_list);
-
+
// ----- TBC : Here we might check that each item is a
// real integer ...
-
+
// ----- Look for single value
if ($v_size_item_list == 1) {
// ----- Set the option value
@@ -1697,7 +1697,7 @@
}
$v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start'];
}
-
+
// ----- Sort the items
if ($v_sort_flag) {
// TBC : To Be Completed
@@ -1829,10 +1829,10 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privFileDescrParseAtt", "");
$v_result=1;
-
+
// ----- For each file in the list check the attributes
foreach ($p_file_list as $v_key => $v_value) {
-
+
// ----- Check if the option is supported
if (!isset($v_requested_options[$v_key])) {
// ----- Error log
@@ -1854,7 +1854,7 @@
$p_filedescr['filename'] = PclZipUtilPathReduction($v_value);
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "".PclZipUtilOptionText($v_key)." = '".$v_value."'");
-
+
if ($p_filedescr['filename'] == '') {
PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '".PclZipUtilOptionText($v_key)."'");
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, PclZip::errorCode(), PclZip::errorInfo());
@@ -1922,10 +1922,10 @@
}
}
}
-
+
// end foreach
}
-
+
// ----- Return
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
@@ -1944,21 +1944,21 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privFileDescrExpand", "");
$v_result=1;
-
+
// ----- Create a result list
$v_result_list = array();
-
+
// ----- Look each entry
for ($i=0; $iprivCalculateStoredFilename($v_descr, $p_options);
-
+
// ----- Add the descriptor in result list
$v_result_list[sizeof($v_result_list)] = $v_descr;
-
+
// ----- Look for folder
if ($v_descr['type'] == 'folder') {
// ----- List of items in folder
@@ -2007,17 +2007,17 @@
if (($v_item_handler == '.') || ($v_item_handler == '..')) {
continue;
}
-
+
// ----- Compose the full filename
$v_dirlist_descr[$v_dirlist_nb]['filename'] = $v_descr['filename'].'/'.$v_item_handler;
-
+
// ----- Look for different stored filename
// Because the name of the folder was changed, the name of the
// files/sub-folders also change
if ($v_descr['stored_filename'] != $v_descr['filename']) {
$v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_descr['stored_filename'].'/'.$v_item_handler;
}
-
+
$v_dirlist_nb++;
}
}
@@ -2025,7 +2025,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Unable to open dir '".$v_descr['filename']."' in read mode. Skipped.");
// TBC : unable to open folder in read mode
}
-
+
// ----- Expand each element of the list
if ($v_dirlist_nb != 0) {
// ----- Expand
@@ -2033,7 +2033,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
}
-
+
// ----- Concat the resulting list
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Merging result list (size '".sizeof($v_result_list)."') with dirlist (size '".sizeof($v_dirlist_descr)."')");
$v_result_list = array_merge($v_result_list, $v_dirlist_descr);
@@ -2042,12 +2042,12 @@
else {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Nothing in this folder to expand.");
}
-
+
// ----- Free local array
unset($v_dirlist_descr);
}
}
-
+
// ----- Get the result list
$p_filedescr_list = $v_result_list;
@@ -2068,7 +2068,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privCreate", "list");
$v_result=1;
$v_list_detail = array();
-
+
// ----- Magic quotes trick
$this->privDisableMagicQuotes();
@@ -2429,7 +2429,7 @@
// Function : privAddFileList()
// Description :
// Parameters :
- // $p_filedescr_list : An array containing the file description
+ // $p_filedescr_list : An array containing the file description
// or directory names to add in the zip
// $p_result_list : list of added files with their properties (specially the status field)
// Return Values :
@@ -2449,7 +2449,7 @@
// ----- Format the filename
$p_filedescr_list[$j]['filename']
= PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false);
-
+
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Looking for file '".$p_filedescr_list[$j]['filename']."'");
// ----- Skip empty file names
@@ -2503,7 +2503,7 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privAddFile", "filename='".$p_filedescr['filename']."'");
$v_result=1;
-
+
// ----- Working variable
$p_filename = $p_filedescr['filename'];
@@ -2516,8 +2516,8 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, PclZip::errorCode(), PclZip::errorInfo());
return PclZip::errorCode();
}
-
- // ----- Look for a stored different filename
+
+ // ----- Look for a stored different filename
if (isset($p_filedescr['stored_filename'])) {
$v_stored_filename = $p_filedescr['stored_filename'];
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, 'Stored filename is NOT the same "'.$v_stored_filename.'"');
@@ -2583,7 +2583,7 @@
if ($p_header['stored_filename'] == "") {
$p_header['status'] = "filtered";
}
-
+
// ----- Check the path length
if (strlen($p_header['stored_filename']) > 0xFF) {
$p_header['status'] = 'filename_too_long';
@@ -2630,13 +2630,13 @@
$p_header['compressed_size'] = strlen($v_content_compressed);
$p_header['compression'] = 8;
}
-
+
// ----- Look for encryption
/*
if ((isset($p_options[PCLZIP_OPT_CRYPT]))
&& ($p_options[PCLZIP_OPT_CRYPT] != "")) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "File need to be crypted ....");
-
+
// Should be a random header
$v_header = 'xxxxxxxxxxxx';
$v_content_compressed = PclZipUtilZipEncrypt($v_content_compressed,
@@ -2644,10 +2644,10 @@
$v_header,
$p_header['crc'],
"test");
-
+
$p_header['compressed_size'] += 12;
$p_header['flag'] = 1;
-
+
// ----- Add the header to the data
$v_content_compressed = $v_header.$v_content_compressed;
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Size after header : ".strlen($v_content_compressed)."");
@@ -2662,9 +2662,9 @@
}
// ----- Write the compressed (or not) content
- @fwrite($this->zip_fd,
+ @fwrite($this->zip_fd,
$v_content_compressed, $p_header['compressed_size']);
-
+
// ----- Close the file
@fclose($v_file);
}
@@ -2730,7 +2730,7 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privCalculateStoredFilename", "filename='".$p_filedescr['filename']."'");
$v_result=1;
-
+
// ----- Working variables
$p_filename = $p_filedescr['filename'];
if (isset($p_options[PCLZIP_OPT_ADD_PATH])) {
@@ -2757,7 +2757,7 @@
$v_stored_filename = $p_filedescr['new_full_name'];
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 4, "Changing full name of '".$p_filename."' for '".$v_stored_filename."'");
}
-
+
// ----- Look for path and/or short name change
else {
@@ -2788,7 +2788,7 @@
if ( (substr($p_filename, 0, 2) == "./")
|| (substr($p_remove_dir, 0, 2) == "./")) {
-
+
if ( (substr($p_filename, 0, 2) == "./")
&& (substr($p_remove_dir, 0, 2) != "./")) {
$p_remove_dir = "./".$p_remove_dir;
@@ -2828,7 +2828,7 @@
$v_stored_filename = PclZipUtilPathReduction($v_stored_filename);
$p_filedescr['stored_filename'] = $v_stored_filename;
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Stored filename will be '".$p_filedescr['stored_filename']."', strlen ".strlen($p_filedescr['stored_filename']));
-
+
// ----- Return
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
@@ -2991,7 +2991,7 @@
{
// ----- Magic quotes trick
$this->privSwapBackMagicQuotes();
-
+
// ----- Error log
PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode');
@@ -3270,7 +3270,7 @@
else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX]))
&& ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Extract with rule 'ByIndex'");
-
+
// ----- Look if the index is in the list
for ($j=$j_start; ($jprivSwapBackMagicQuotes();
-
+
PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_COMPRESSION,
"Filename '".$v_header['stored_filename']."' is "
."compressed by an unsupported compression "
@@ -3320,7 +3320,7 @@
return PclZip::errorCode();
}
}
-
+
// ----- Check encrypted files
if (($v_extract) && (($v_header['flag'] & 1) == 1)) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Unsupported file encryption");
@@ -3357,7 +3357,7 @@
$v_extract = false;
}
-
+
// ----- Look for real extraction
if ($v_extract)
{
@@ -3411,7 +3411,7 @@
// ----- Next extracted file
$v_nb_extracted++;
-
+
// ----- Look for user callback abort
if ($v_result1 == 2) {
break;
@@ -3563,13 +3563,13 @@
if ($p_path != '') {
$p_entry['filename'] = $p_path."/".$p_entry['filename'];
}
-
+
// ----- Check a base_dir_restriction
if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Check the extract directory restriction");
$v_inclusion
= PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION],
- $p_entry['filename']);
+ $p_entry['filename']);
if ($v_inclusion == 0) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "PCLZIP_OPT_EXTRACT_DIR_RESTRICTION is selected, file is outside restriction");
@@ -3599,7 +3599,7 @@
$p_entry['status'] = "skipped";
$v_result = 1;
}
-
+
// ----- Look for abort result
if ($v_result == 2) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "User callback abort the extraction");
@@ -3631,7 +3631,7 @@
// ----- Change the file status
$p_entry['status'] = "already_a_directory";
-
+
// ----- Look for PCLZIP_OPT_STOP_ON_ERROR
// For historical reason first PclZip implementation does not stop
// when this kind of error occurs.
@@ -3764,7 +3764,7 @@
$v_binary_data = pack('a'.$v_read_size, $v_buffer);
@fwrite($v_dest_file, $v_binary_data, $v_read_size);
*/
- @fwrite($v_dest_file, $v_buffer, $v_read_size);
+ @fwrite($v_dest_file, $v_buffer, $v_read_size);
$v_size -= $v_read_size;
}
@@ -3773,7 +3773,7 @@
// ----- Change the file mtime
touch($p_entry['filename'], $p_entry['mtime']);
-
+
}
else {
@@ -3786,11 +3786,11 @@
// ----- Read the encryption header
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Read 12 encryption header bytes");
$v_encryption_header = @fread($this->zip_fd, 12);
-
+
// ----- Read the encrypted & compressed file in a buffer
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Read '".($p_entry['compressed_size']-12)."' compressed & encrypted bytes");
$v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']-12);
-
+
// ----- Decrypt the buffer
$this->privDecrypt($v_encryption_header, $v_buffer,
$p_entry['compressed_size']-12, $p_entry['crc']);
@@ -3802,7 +3802,7 @@
// ----- Read the compressed file in a buffer (one shot)
$v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
}
-
+
// ----- Decompress the file
$v_file_content = @gzinflate($v_buffer);
unset($v_buffer);
@@ -3812,11 +3812,11 @@
// ----- Change the file status
// TBC
$p_entry['status'] = "error";
-
+
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
}
-
+
// ----- Opening destination file
if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "Error while opening '".$p_entry['filename']."' in write binary mode");
@@ -3855,7 +3855,7 @@
if ($p_entry['status'] == "aborted") {
$p_entry['status'] = "skipped";
}
-
+
// ----- Look for post-extract callback
elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) {
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 2, "A post-callback '".$p_options[PCLZIP_CB_POST_EXTRACT]."()') is defined for the extraction");
@@ -3964,7 +3964,7 @@
// ----- Read the compressed file in a buffer (one shot)
$v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
-
+
// ----- Decompress the file
$v_file_content = gzinflate($v_buffer);
unset($v_buffer);
@@ -4053,7 +4053,7 @@
// ----- Reading the file
$v_data = @fread($this->zip_fd, $p_entry['compressed_size']);
-
+
// ----- Decompress the file
if (($p_string = @gzinflate($v_data)) === FALSE) {
// TBC
@@ -4803,7 +4803,7 @@
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
}
-
+
// ----- Check that local file header is same as central file header
if ($this->privCheckFileHeaders($v_local_header,
$v_header_list[$i]) != 1) {
@@ -4896,11 +4896,11 @@
// TBC : I should test the result ...
//@rename($v_zip_temp_name, $this->zipname);
PclZipUtilRename($v_zip_temp_name, $this->zipname);
-
+
// ----- Destroy the temporary archive
unset($v_temp_zip);
}
-
+
// ----- Remove every files : reset the file
else if ($v_central_dir['entries'] != 0) {
$this->privCloseFd();
@@ -5315,13 +5315,13 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, 'PclZip::privDecrypt', "size=".$p_size."");
$v_result=1;
-
+
// ----- To Be Modified ;-)
$v_pwd = "test";
-
+
$p_buffer = PclZipUtilZipDecrypt($p_buffer, $p_size, $p_encryption_header,
$p_crc, $v_pwd);
-
+
// ----- Return
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
@@ -5471,7 +5471,7 @@
}
}
}
-
+
// ----- Look for skip
if ($v_skip > 0) {
while ($v_skip > 0) {
@@ -5506,7 +5506,7 @@
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilPathInclusion", "dir='$p_dir', path='$p_path'");
$v_result = 1;
-
+
// ----- Look for path beginning by ./
if ( ($p_dir == '.')
|| ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {
@@ -5697,7 +5697,7 @@
function PclZipUtilOptionText($p_option)
{
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilOptionText", "option='".$p_option."'");
-
+
$v_list = get_defined_constants();
for (reset($v_list); $v_key = key($v_list); next($v_list)) {
$v_prefix = substr($v_key, 0, 10);
@@ -5709,7 +5709,7 @@
return $v_key;
}
}
-
+
$v_result = 'Unknown';
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
diff --git a/wp-admin/includes/class-wp-filesystem-direct.php b/wp-admin/includes/class-wp-filesystem-direct.php
index 06db21d9c9..7d5d61f1d2 100644
--- a/wp-admin/includes/class-wp-filesystem-direct.php
+++ b/wp-admin/includes/class-wp-filesystem-direct.php
@@ -87,7 +87,7 @@ class WP_Filesystem_Direct{
return false;
if( !function_exists('posix_getpwuid') )
return $owneruid;
- $ownerarray=posix_getpwuid($owneruid);
+ $ownerarray=posix_getpwuid($owneruid);
return $ownerarray['name'];
}
function getchmod($file){
@@ -121,21 +121,21 @@ class WP_Filesystem_Direct{
// Unknown
$info = 'u';
}
-
+
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x' ) :
(($perms & 0x0800) ? 'S' : '-'));
-
+
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x' ) :
(($perms & 0x0400) ? 'S' : '-'));
-
+
// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
@@ -168,10 +168,10 @@ class WP_Filesystem_Direct{
return false;
if( !function_exists('posix_getgrgid') )
return $gid;
- $grouparray=posix_getgrgid($gid);
+ $grouparray=posix_getgrgid($gid);
return $grouparray['name'];
}
-
+
function copy($source,$destination,$overwrite=false){
if( $overwrite && $this->exists($destination) )
return false;
@@ -210,7 +210,7 @@ class WP_Filesystem_Direct{
return false;
return $retval;
}
-
+
function exists($file){
return @file_exists($file);
}
@@ -230,7 +230,7 @@ class WP_Filesystem_Direct{
function is_writable($file){
return @is_writable($file);
}
-
+
function atime($file){
return @fileatime($file);
}
@@ -249,11 +249,11 @@ class WP_Filesystem_Direct{
$atime = time();
return @touch($file,$time,$atime);
}
-
+
function mkdir($path,$chmod=false,$chown=false,$chgrp=false){
if( ! $chmod)
$chmod = $this->permission;
-
+
if( !@mkdir($path,$chmod) )
return false;
if( $chown )
@@ -275,7 +275,7 @@ class WP_Filesystem_Direct{
}
return @rmdir($path);
}
-
+
function dirlist($path,$incdot=false,$recursive=false){
if( $this->is_file($path) ){
$limitFile = basename($path);
@@ -291,12 +291,12 @@ class WP_Filesystem_Direct{
while (false !== ($entry = $dir->read())) {
$struc = array();
$struc['name'] = $entry;
-
+
if( '.' == $struc['name'][0] && !$incdot)
continue;
if( $limitFile && $struc['name'] != $limitFile)
continue;
-
+
$struc['perms'] = $this->gethchmod($path.'/'.$entry);
$struc['permsn'] = $this->getnumchmodfromh($struc['perms']);
$struc['number'] = false;
@@ -309,7 +309,7 @@ class WP_Filesystem_Direct{
$struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
if ('d' == $struc['type'] ){
$struc['files'] = array();
-
+
if( $incdot ){
//We're including the doted starts
if( '.' != $struc['name'] && '..' != $struc['name'] ){ //Ok, It isnt a special folder
diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php
index 2f5f75195f..09b208eadf 100644
--- a/wp-admin/includes/class-wp-filesystem-ftpext.php
+++ b/wp-admin/includes/class-wp-filesystem-ftpext.php
@@ -4,10 +4,10 @@ class WP_Filesystem_FTPext{
var $timeout = 5;
var $errors = array();
var $options = array();
-
+
var $wp_base = '';
var $permission = null;
-
+
var $filetypes = array(
'php'=>FTP_ASCII,
'css'=>FTP_ASCII,
@@ -16,13 +16,13 @@ class WP_Filesystem_FTPext{
'html'=>FTP_ASCII,
'htm'=>FTP_ASCII,
'xml'=>FTP_ASCII,
-
+
'jpg'=>FTP_BINARY,
'png'=>FTP_BINARY,
'gif'=>FTP_BINARY,
'bmp'=>FTP_BINARY
);
-
+
function WP_Filesystem_FTPext($opt='') {
$this->errors = new WP_Error();
@@ -53,10 +53,10 @@ class WP_Filesystem_FTPext{
$this->options['username'] = $opt['username'];
if ( empty ($opt['password']) )
- $this->errors->add('empty_password', __('FTP password is required'));
+ $this->errors->add('empty_password', __('FTP password is required'));
else
$this->options['password'] = $opt['password'];
-
+
$this->options['ssl'] = ( !empty($opt['ssl']) );
}
@@ -88,7 +88,7 @@ class WP_Filesystem_FTPext{
if( empty( $base ) || '.' == $base ) $base = $this->cwd();
if( empty( $base ) ) $base = '/';
if( '/' != substr($base, -1) ) $base .= '/';
-
+
if($echo) echo sprintf(__('Changing to %s'), $base) .'
';
if( false === ftp_chdir($this->link, $base) )
return false;
@@ -219,21 +219,21 @@ class WP_Filesystem_FTPext{
// Unknown
$info = 'u';
}
-
+
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x' ) :
(($perms & 0x0800) ? 'S' : '-'));
-
+
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x' ) :
(($perms & 0x0400) ? 'S' : '-'));
-
+
// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
@@ -338,11 +338,11 @@ class WP_Filesystem_FTPext{
function rmdir($path,$recursive=false){
if( ! $recursive )
return ftp_rmdir($this->link, $file);
-
+
//TODO: Recursive Directory delete, Have to delete files from the folder first.
//$dir = $this->dirlist($path);
//foreach($dir as $file)
-
+
}
function parselisting($line) {
@@ -439,7 +439,7 @@ class WP_Filesystem_FTPext{
$ret = array();
foreach ( $dirlist as $struc ) {
-
+
if ( 'd' == $struc['type'] ) {
$struc['files'] = array();
diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php
index 132e7b231a..4ad62f50d1 100644
--- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php
+++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php
@@ -4,10 +4,10 @@ class WP_Filesystem_ftpsockets{
var $timeout = 5;
var $errors;
var $options = array();
-
+
var $wp_base = '';
var $permission = null;
-
+
var $filetypes = array(
'php'=>FTP_ASCII,
'css'=>FTP_ASCII,
@@ -16,13 +16,13 @@ class WP_Filesystem_ftpsockets{
'html'=>FTP_ASCII,
'htm'=>FTP_ASCII,
'xml'=>FTP_ASCII,
-
+
'jpg'=>FTP_BINARY,
'png'=>FTP_BINARY,
'gif'=>FTP_BINARY,
'bmp'=>FTP_BINARY
);
-
+
function WP_Filesystem_ftpsockets($opt='') {
$this->errors = new WP_Error();
@@ -52,7 +52,7 @@ class WP_Filesystem_ftpsockets{
$this->options['username'] = $opt['username'];
if ( empty ($opt['password']) )
- $this->errors->add('empty_password', __('FTP password is required'));
+ $this->errors->add('empty_password', __('FTP password is required'));
else
$this->options['password'] = $opt['password'];
}
@@ -90,7 +90,7 @@ class WP_Filesystem_ftpsockets{
if( empty( $base ) || '.' == $base ) $base = $this->cwd();
if( empty( $base ) ) $base = '/';
if( '/' != substr($base, -1) ) $base .= '/';
-
+
if($echo) echo __('Changing to ') . $base .'
';
if( false === $this->ftp->chdir($base) )
return false;
@@ -157,7 +157,7 @@ class WP_Filesystem_ftpsockets{
$type = isset($this->filetypes[ $extension ]) ? $this->filetypes[ $extension ] : FTP_ASCII;
}
$this->ftp->SetType($type);
-
+
$temp = tmpfile();
fwrite($temp,$contents);
fseek($temp, 0); //Skip back to the start of the file being written to
@@ -173,7 +173,7 @@ class WP_Filesystem_ftpsockets{
function chgrp($file,$group,$recursive=false){
return false;
}
-
+
function chmod($file,$mode=false,$recursive=false){
if( ! $mode )
$mode = $this->permission;
@@ -191,16 +191,16 @@ class WP_Filesystem_ftpsockets{
}
return true;
}
-
+
function chown($file,$owner,$recursive=false){
return false;
}
-
+
function owner($file){
$dir = $this->dirlist($file);
return $dir[$file]['owner'];
}
-
+
function getchmod($file){
$dir = $this->dirlist($file);
return $dir[$file]['permsn'];
@@ -234,21 +234,21 @@ class WP_Filesystem_ftpsockets{
// Unknown
$info = 'u';
}
-
+
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x' ) :
(($perms & 0x0800) ? 'S' : '-'));
-
+
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x' ) :
(($perms & 0x0400) ? 'S' : '-'));
-
+
// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
@@ -385,7 +385,7 @@ class WP_Filesystem_ftpsockets{
$ret = array();
foreach ( $list as $struc ) {
-
+
if ( 'd' == $struc['type'] ) {
$struc['files'] = array();
diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php
index a9ff0a06f0..f5ee23ad1d 100644
--- a/wp-admin/includes/comment.php
+++ b/wp-admin/includes/comment.php
@@ -80,7 +80,7 @@ function floated_admin_avatar( $name ) {
return "$avatar $name";
}
-if ( is_admin() && ('edit-comments.php' == $pagenow || 'moderation.php' == $pagenow || 'edit.php' == $pagenow) ) {
+if ( is_admin() && ('edit-comments.php' == $pagenow || 'moderation.php' == $pagenow || 'edit.php' == $pagenow) ) {
if ( get_option('show_avatars') )
add_filter( 'comment_author', 'floated_admin_avatar' );
}
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index ef6e98aadd..5ba11a4a17 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -110,7 +110,7 @@ function wp_dashboard_setup() {
$wp_dashboard_empty_callback (only needed if using 'wp_dashboard_empty' as your $output_callback),
$arg, $arg, $arg... (further args passed to callbacks)
);
-
+
// optional: if you want users to be able to edit the settings of your widget, you need to register a widget_control
wp_register_widget_control( $widget_id, $widget_control_title, $control_output_callback,
array(), // leave an empty array here: oddity in widget code
@@ -316,17 +316,17 @@ function wp_dashboard_incoming_links_output() {
$content = '';
$date = '';
$link = clean_url( strip_tags( $item['link'] ) );
-
+
if ( isset( $item['author_uri'] ) )
$site_link = clean_url( strip_tags( $item['author_uri'] ) );
-
+
if ( !$publisher = wp_specialchars( strip_tags( isset($item['dc']['publisher']) ? $item['dc']['publisher'] : $item['author_name'] ) ) )
$publisher = __( 'Somebody' );
if ( $site_link )
$publisher = "$publisher";
else
$publisher = "$publisher";
-
+
if ( isset($item['description']) )
$content = $item['description'];
elseif ( isset($item['summary']) )
@@ -343,7 +343,7 @@ function wp_dashboard_incoming_links_output() {
$text = _c( '%1$s linked here saying, "%3$s"|feed_display' );
else
$text = _c( '%1$s linked here saying, "%3$s"|feed_display' );
-
+
if ( $show_date ) {
if ( $show_author || $show_summary )
$text .= _c( ' on %4$s|feed_display' );
@@ -351,7 +351,7 @@ function wp_dashboard_incoming_links_output() {
$date = strtotime( $date );
$date = gmdate( get_option( 'date_format' ), $date );
}
-
+
echo "\t" . sprintf( _c( "$text|feed_display" ), $publisher, $link, $content, $date ) . "\n";
}
diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php
index 1d0252c02f..9178c3b444 100644
--- a/wp-admin/includes/file.php
+++ b/wp-admin/includes/file.php
@@ -207,7 +207,7 @@ function download_url( $url ) {
require_once( ABSPATH . 'wp-includes/class-snoopy.php' );
$snoopy = new Snoopy();
$snoopy->fetch($url);
-
+
fwrite($handle, $snoopy->results);
fclose($handle);
@@ -219,7 +219,7 @@ function unzip_file($file, $to) {
if ( ! $wp_filesystem || !is_object($wp_filesystem) )
return new WP_Error('fs_unavailable', __('Could not access filesystem.'));
-
+
$fs =& $wp_filesystem;
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php
index ac9f9a7a9a..5ca5303ccc 100644
--- a/wp-admin/includes/media.php
+++ b/wp-admin/includes/media.php
@@ -126,7 +126,7 @@ function wp_iframe($content_func /* ... */) {
› — WordPress
-
@@ -386,7 +386,7 @@ function media_upload_file() {
function media_upload_gallery() {
if ( !empty($_POST) ) {
$return = media_upload_form_handler();
-
+
if ( is_string($return) )
return $return;
if ( is_array($return) )
@@ -399,7 +399,7 @@ function media_upload_gallery() {
function media_upload_library() {
if ( !empty($_POST) ) {
$return = media_upload_form_handler();
-
+
if ( is_string($return) )
return $return;
if ( is_array($return) )
diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
index a453f437b8..7238613b06 100644
--- a/wp-admin/includes/post.php
+++ b/wp-admin/includes/post.php
@@ -644,7 +644,7 @@ function wp_set_post_lock( $post_id ) {
return false;
if ( !$current_user || !$current_user->ID )
return false;
-
+
$now = time();
if ( !add_post_meta( $post->ID, '_edit_lock', $now, true ) )
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 9f490d3c45..8c7c974519 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -347,8 +347,8 @@ function display_page_row( $page, &$children_pages, $level = 0 ) {
$posts_columns = wp_manage_pages_columns();
?>
-
-
+
+
$column_display_name) {
@@ -451,7 +451,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
}
}
?>
-
+
escape($s);
$comments = $wpdb->get_results("SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->comments WHERE
@@ -615,7 +615,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
$delete_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );
$approve_url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "approve-comment_$comment->comment_ID" ) );
$spam_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );
-
+
?>