Changeset 41289 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 08/22/2017 11:51:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r41161 r41289 32 32 33 33 /** 34 * Whether a bulk upgrade/install is being performed.34 * Whether a bulk upgrade/installation is being performed. 35 35 * 36 36 * @since 2.9.0 … … 57 57 58 58 /** 59 * Initialize the install strings.59 * Initialize the installation strings. 60 60 * 61 61 * @since 2.8.0 62 62 */ 63 63 public function install_strings() { 64 $this->strings['no_package'] = __('Install package not available.');65 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>…');64 $this->strings['no_package'] = __('Installation package not available.'); 65 $this->strings['downloading_package'] = __('Downloading installation package from <span class="code">%s</span>…'); 66 66 $this->strings['unpack_package'] = __('Unpacking the package…'); 67 67 $this->strings['installing_package'] = __('Installing the plugin…'); 68 68 $this->strings['no_files'] = __('The plugin contains no files.'); 69 $this->strings['process_failed'] = __('Plugin install failed.');69 $this->strings['process_failed'] = __('Plugin installation failed.'); 70 70 $this->strings['process_success'] = __('Plugin installed successfully.'); 71 71 } … … 84 84 * Default true. 85 85 * } 86 * @return bool|WP_Error True if the install was successful, false or a WP_Error otherwise.86 * @return bool|WP_Error True if the installation was successful, false or a WP_Error otherwise. 87 87 */ 88 88 public function install( $package, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.