Changeset 38074
- Timestamp:
- 07/17/2016 01:28:13 PM (9 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r37714 r38074 151 151 */ 152 152 public function generic_strings() { 153 $this->strings['bad_request'] = __('Invalid Data provided.');153 $this->strings['bad_request'] = __('Invalid data provided.'); 154 154 $this->strings['fs_unavailable'] = __('Could not access filesystem.'); 155 155 $this->strings['fs_error'] = __('Filesystem error.'); 156 $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.');157 $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).');158 $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.');159 $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.');156 $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress root directory.'); 157 $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress content directory (wp-content).'); 158 $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress plugin directory.'); 159 $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress theme directory.'); 160 160 /* translators: %s: directory name */ 161 161 $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); -
trunk/src/wp-admin/includes/plugin.php
r37985 r38074 819 819 $plugins_dir = $wp_filesystem->wp_plugins_dir(); 820 820 if ( empty( $plugins_dir ) ) { 821 return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress Plugin directory.' ) );821 return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress plugin directory.' ) ); 822 822 } 823 823 -
trunk/src/wp-admin/includes/theme.php
r38073 r38074 61 61 $themes_dir = $wp_filesystem->wp_themes_dir(); 62 62 if ( empty( $themes_dir ) ) { 63 return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress Theme directory.' ) );63 return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress theme directory.' ) ); 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.