Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ahmad Hassan

    (@ahmadhassan10)

    videotube

    Thread Starter Ahmad Hassan

    (@ahmadhassan10)

    I found this solution on other site

    Edit file “C:\wamp64\www\themes\wp-admin\includes\class-bulk-upgrader-skin.php” and replace code

    		if ( $this->result && ! is_wp_error( $this->result ) ) {
    			if ( ! $this->error ) {
    				echo '<div class="updated js-update-details" data-update-details="progress-' . esc_attr( $this->upgrader->update_current ) . '">' .
    					'<p>' . sprintf( $this->upgrader->strings['skin_update_successful'], $title ) .
    					' <button type="button" class="hide-if-no-js button-link js-update-details-toggle" aria-expanded="false">' . __( 'Show details.' ) . '</button>' .
    					'</p></div>';
    			}
    
    			echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js($this->upgrader->update_current) . '\').hide();</script>';
    		}
    		

    To this code

    
    		if ( $this->result && ! is_wp_error( $this->result ) ) {
    			if ( ! $this->error )
    				echo '<div class="updated"><p>' . sprintf($this->upgrader->strings['skin_update_successful'], $title, 'jQuery(\'#progress-' . esc_js($this->upgrader->update_current) . '\').toggle();jQuery(\'span\', this).toggle(); return false;') . '</p></div>';
    					echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js($this->upgrader->update_current) . '\').hide();</script>';
    		}
    Thread Starter Ahmad Hassan

    (@ahmadhassan10)

    This is not auto update, this plugins is required for themes I use. Also I find if I install required plugins one after one plugins installed successful but if install bulk plugins 2 or more in one step shwoing error “( ! ) Warning: sprintf(): Too few arguments in C:\wamp64\www\themes\wp-admin\includes\class-bulk-upgrader-skin.php on line 150”

Viewing 3 replies - 1 through 3 (of 3 total)