Skip to content

Instantly share code, notes, and snippets.

@giovanni-d
giovanni-d / allinonemigration.md
Last active April 21, 2024 19:16
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@giovanni-d
giovanni-d / select.js
Created December 22, 2016 19:37
Select with multiple="true" in react
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
class Select extends Component{
constructor() {
super();
this.state = {
folders: ['option 0', 'option 1', 'option 3', 'option 4'],
values: []