Ticket #2866: supplementary-phantom-fix.diff
File supplementary-phantom-fix.diff, 2.0 KB (added by , 18 years ago) |
---|
-
wp-pass.php
1 1 <?php 2 require( dirname(__FILE__) . '/wp-config.php');2 require( getcwd() . '/wp-config.php'); 3 3 4 4 if ( get_magic_quotes_gpc() ) 5 5 $_POST['post_password'] = stripslashes($_POST['post_password']); … … 8 8 setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH); 9 9 10 10 wp_redirect($_SERVER['HTTP_REFERER']); 11 ?> 12 Sin fin-de-línea al final del archivo 11 ?> -
wp-comments-post.php
1 1 <?php 2 require( dirname(__FILE__) . '/wp-config.php' );2 require( getcwd() . '/wp-config.php' ); 3 3 4 4 nocache_headers(); 5 5 -
wp-login.php
1 1 <?php 2 require( dirname(__FILE__) . '/wp-config.php' );2 require( getcwd() . '/wp-config.php' ); 3 3 4 4 $action = $_REQUEST['action']; 5 5 $error = ''; -
wp-mail.php
1 1 <?php 2 require( dirname(__FILE__) . '/wp-config.php');2 require( getcwd() . '/wp-config.php'); 3 3 4 4 require_once(ABSPATH.WPINC.'/class-pop3.php'); 5 5 … … 163 163 164 164 $pop3->quit(); 165 165 166 ?> 167 Sin fin-de-línea al final del archivo 166 ?> -
wp-admin/update-links.php
1 1 <?php 2 require_once( dirname( dirname(__FILE__)) . '/wp-config.php');2 require_once( getcwd() . '/wp-config.php'); 3 3 require_once( ABSPATH . 'wp-includes/class-snoopy.php'); 4 4 5 5 if ( !get_option('use_linksupdate') )