3 | | Digging through the code, it is set (as far as upgrading is concerned) by the `WP_Upgrader::install_package()` function. After the `install_package()` function runs, the `$this->result` variable contains the value returned by the function. Since this value is ultimately returned by the `WP_Upgrader::run()` function, it would seem that this result would be seen in successful upgrade responses. In my testing, I would see null responses even on successful upgrades, so I'm not sure what accounts for that issue. |
| 3 | Digging through the code, it is set (as far as upgrading is concerned) by the `WP_Upgrader::install_package()` function. After the `WP_Upgrader::install_package()` function runs, the `$this->result` variable contains the value returned by the function. Since this value is ultimately returned by the `WP_Upgrader::run()` function, it would seem that this result would be seen in successful upgrade responses. In my testing, I would see null responses even on successful upgrades, so I'm not sure what accounts for that issue. |