Changeset 17925
- Timestamp:
- 05/14/2011 09:50:20 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r17900 r17925 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 -
trunk/wp-includes/class-http.php
r17914 r17925 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 … … 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; -
trunk/wp-includes/formatting.php
r17920 r17925 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 */ … … 2749 2749 * modified by the 3rd param. 2750 2750 * 2751 * <b>NOTE:</b> Any current target attributed will be strip ed and replaced.2751 * <b>NOTE:</b> Any current target attributed will be stripped and replaced. 2752 2752 * 2753 2753 * @since 2.7.0 -
trunk/wp-includes/l10n.php
r16438 r17925 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 … … 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 … … 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 ) {
Note: See TracChangeset
for help on using the changeset viewer.