Changes from tags/2.6.2 at r8849 to tags/2.6.3 at r9310
- Location:
- tags/2.6.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/2.6.3/wp-admin/includes/media.php
r8849 r9310 619 619 'html' => " 620 620 <input type='text' name='attachments[$post->ID][url]' value='" . attribute_escape($file) . "' /><br /> 621 <button type='button' class='button url-$post->ID' value=''>" . __('None') . "</button>622 <button type='button' class='button url-$post->ID' value='" . attribute_escape($file) . "'>" . __('File URL') . "</button>623 <button type='button' class='button url-$post->ID' value='" . attribute_escape($link) . "'>" . __('Post URL') . "</button>621 <button type='button' class='button url-$post->ID' title=''>" . __('None') . "</button> 622 <button type='button' class='button url-$post->ID' title='" . attribute_escape($file) . "'>" . __('File URL') . "</button> 623 <button type='button' class='button url-$post->ID' title='" . attribute_escape($link) . "'>" . __('Post URL') . "</button> 624 624 <script type='text/javascript'> 625 jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val( this.value);});625 jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val(jQuery(this).attr('title'));}); 626 626 </script>\n", 627 627 'helps' => __('Enter a link URL or click above for presets.'), … … 814 814 $item .= $field[$field['input']]; 815 815 elseif ( $field['input'] == 'textarea' ) { 816 $item .= "<textarea type='text' id='$name' name='$name' >" . attribute_escape( $field['value'] ) . $aria_required. "</textarea>";816 $item .= "<textarea type='text' id='$name' name='$name'" . $aria_required . ">" . htmlspecialchars( $field['value'] ) . "</textarea>"; 817 817 } else { 818 818 $item .= "<input type='text' id='$name' name='$name' value='" . attribute_escape( $field['value'] ) . "'" . $aria_required . "/>"; -
tags/2.6.3/wp-includes/class-snoopy.php
r8849 r9310 1 1 <?php 2 /**3 * Snoopy - the PHP net client4 * @author Monte Ohrt <monte@ispi.net>5 * @copyright 1999-2000 ispi, all rights reserved6 * @version 1.017 * @license GNU Lesser GPL8 * @link http://snoopy.sourceforge.net/9 * @package Snoopy10 */11 12 2 if ( !in_array('Snoopy', get_declared_classes() ) ) : 13 /** 14 * Snoopy - the PHP net client 15 * 16 * @authorMonte Ohrt <monte@ispi.net>17 * @copyright (c): 1999-2000 ispi, all rights reserved18 * @version 1.01 19 * 3 /************************************************* 4 5 Snoopy - the PHP net client 6 Author: Monte Ohrt <monte@ispi.net> 7 Copyright (c): 1999-2008 New Digital Group, all rights reserved 8 Version: 1.2.4 9 20 10 * This library is free software; you can redistribute it and/or 21 11 * modify it under the terms of the GNU Lesser General Public … … 31 21 * License along with this library; if not, write to the Free Software 32 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 33 * 34 * You may contact the author of Snoopy by e-mail at: 35 * monte@ispi.net 36 * 37 * Or, write to: 38 * Monte Ohrt 39 * CTO, ispi 40 * 237 S. 70th suite 220 41 * Lincoln, NE 68510 42 * 43 * @link http://snoopy.sourceforge.net/ The latest version of Snoopy can be 44 * obtained 45 */ 23 24 You may contact the author of Snoopy by e-mail at: 25 monte@ohrt.com 26 27 The latest version of Snoopy can be obtained from: 28 http://snoopy.sourceforge.net/ 29 30 *************************************************/ 31 46 32 class Snoopy 47 33 { … … 57 43 var $proxy_pass = ""; // proxy password to use 58 44 59 var $agent = "Snoopy v1.2. 3"; // agent we masquerade as45 var $agent = "Snoopy v1.2.4"; // agent we masquerade as 60 46 var $referer = ""; // referer info to pass 61 47 var $cookies = array(); // array of cookies to pass … … 86 72 var $response_code = ""; // response code returned from server 87 73 var $headers = array(); // headers returned from server sent here 88 var $maxlength = 8192; // max return data length (body)74 var $maxlength = 500000; // max return data length (body) 89 75 var $read_timeout = 0; // timeout on read operations, in seconds 90 76 // supported only since PHP 4 Beta 4 … … 1021 1007 $headerfile = tempnam($temp_dir, "sno"); 1022 1008 1023 $safer_URI = strtr( $URI, "\"", " " ); // strip quotes from the URI to avoid shell access 1024 exec(escapeshellcmd($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\""),$results,$return); 1009 exec($this->curl_path." -k -D \"$headerfile\"".$cmdline_params." \"".escapeshellcmd($URI)."\"",$results,$return); 1025 1010 1026 1011 if($return) … … 1246 1231 1247 1232 $fp = fopen($file_name, "r"); 1248 while (!feof($fp)) { 1249 $file_content .= fread($fp, filesize($file_name)); 1250 } 1233 $file_content = fread($fp, filesize($file_name)); 1251 1234 fclose($fp); 1252 1235 $base_name = basename($file_name); … … 1265 1248 } 1266 1249 endif; 1267 1268 1250 ?> -
tags/2.6.3/wp-includes/version.php
r8849 r9310 9 9 * @global string $wp_version 10 10 */ 11 $wp_version = '2.6. 2';11 $wp_version = '2.6.3'; 12 12 13 13 /**
Note: See TracChangeset
for help on using the changeset viewer.