Skip to content

Commit

Permalink
fix wrong variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnderson684 committed May 10, 2017
1 parent b86e871 commit cfbf3a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions class-udm-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
if (!class_exists('Updraft_Manager_Updater_1_3')):
class Updraft_Manager_Updater_1_3 {

public $version = '1.3.4';
public $version = '1.3.5';

public $relative_plugin_file;
public $slug;
Expand Down Expand Up @@ -390,7 +390,7 @@ public function admin_footer() {
apply_filters('udmupdater_need_credentials_message',
sprintf(
__('You need to enter both an email address and a %s', 'udmupdater'),
apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin)
apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin_data)
)
)
);?>');
Expand Down Expand Up @@ -420,7 +420,7 @@ public function admin_footer() {
alert(resp.msg);
} else {
alert('<?php echo esc_js(sprintf(
__('Your email address and %s were not recognised.', 'udmupdater'), apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin)
__('Your email address and %s were not recognised.', 'udmupdater'), apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin_data)
));?>');
console.log(resp);
}
Expand Down Expand Up @@ -570,7 +570,7 @@ protected function print_plugin_connector_box($type='inline') {
</div>
<div class="udmupdater_userpassform udmupdater_userpassform_<?php echo esc_attr($this->slug);?>" style="float:left;">
<input type="text" style="width:180px;" placeholder="<?php echo esc_attr(__('Email', 'udmupdater')); ?>" name="email" value="">
<input type="password" style="width:180px;" placeholder="<?php echo esc_attr(ucfirst(apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin))); ?>" name="password" value="">
<input type="password" style="width:180px;" placeholder="<?php echo esc_attr(ucfirst(apply_filters('udmupdater_password_description', __('password', 'udmupdater'), $this->slug, $this->plugin_data))); ?>" name="password" value="">
<button class="button button-primary udmupdater-connect"><?php _e('Connect', 'udmupdater');?></button>
</div>
<?php } ?>
Expand Down

0 comments on commit cfbf3a6

Please sign in to comment.