Ticket #17414: 17414.001.diff
File 17414.001.diff, 4.0 KB (added by , 14 years ago) |
---|
-
wp-includes/class-http.php
192 192 } 193 193 194 194 /** 195 * Tests which transports are capab able of supporting the request.195 * Tests which transports are capable of supporting the request. 196 196 * 197 197 * @since 3.2.0 198 198 * @access private … … 247 247 if ( !$class ) 248 248 return new WP_Error( 'http_failure', __( 'There are no HTTP transports available which can complete the requested request.' ) ); 249 249 250 // Transport claims to support request, Instantate it and give it a whirl.250 // Transport claims to support request, instantiate it and give it a whirl. 251 251 if ( empty( $transports[$class] ) ) 252 252 $transports[$class] = new $class; 253 253 -
wp-includes/l10n.php
186 186 * @param string $domain Optional. Domain to retrieve the translated text 187 187 * @return string Translated context string without pipe 188 188 */ 189 function _x( $ single, $context, $domain = 'default' ) {190 return translate_with_gettext_context( $ single, $context, $domain );189 function _x( $text, $context, $domain = 'default' ) { 190 return translate_with_gettext_context( $text, $context, $domain ); 191 191 } 192 192 193 193 /** … … 201 201 * @param string $domain Optional. Domain to retrieve the translated text 202 202 * @return string Translated context string without pipe 203 203 */ 204 function _ex( $ single, $context, $domain = 'default' ) {205 echo _x( $ single, $context, $domain );204 function _ex( $text, $context, $domain = 'default' ) { 205 echo _x( $text, $context, $domain ); 206 206 } 207 207 208 208 function esc_attr_x( $single, $context, $domain = 'default' ) { … … 270 270 * $usable_text = sprintf( translate_nooped_plural( $message, $count ), $count ); 271 271 * 272 272 * @since 2.5 273 * @param string $sing leSingle form to be i18ned273 * @param string $singular Single form to be i18ned 274 274 * @param string $plural Plural form to be i18ned 275 * @return array array($sing le, $plural)275 * @return array array($singular, $plural) 276 276 */ 277 277 function _n_noop( $singular, $plural ) { 278 278 return array( 0 => $singular, 1 => $plural, 'singular' => $singular, 'plural' => $plural, 'context' => null ); -
wp-includes/formatting.php
1227 1227 * 1228 1228 * @since 2.0.0 1229 1229 * 1230 * @param array|string $value The array or string to be strip ed.1230 * @param array|string $value The array or string to be stripped. 1231 1231 * @return array|string Stripped array (or string in the callback). 1232 1232 */ 1233 1233 function stripslashes_deep($value) { … … 2758 2758 * This function by default only applies to <a> tags, however this can be 2759 2759 * modified by the 3rd param. 2760 2760 * 2761 * <b>NOTE:</b> Any current target attributed will be strip ed and replaced.2761 * <b>NOTE:</b> Any current target attributed will be stripped and replaced. 2762 2762 * 2763 2763 * @since 2.7.0 2764 2764 * -
wp-admin/plugins.php
59 59 update_option('recently_activated', $recent); 60 60 } 61 61 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 62 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, strip ing the -importer suffix62 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix 63 63 } else { 64 64 wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above 65 65 }