Thread Starter
Seodev
(@seodev)
hmm maybe it would be easier to bulid a bot that logs in and sends the post form…
<form method="post" action="update-core.php?action=do-core-upgrade" name="upgrade" class="upgrade"><input type="hidden" id="_wpnonce" name="_wpnonce" value="79hh316" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/update-core.php" /><p><input name="version" value="3.3.1" type="hidden"/><input name="locale" value="en_US" type="hidden"/><input type="submit" name="upgrade" id="upgrade" class="button button-primary" value="Update Now" /> <a href="http://ww.wp.xz.cn/wordpress-3.3.1.zip" class="button">Download 3.3.1</a> </p></form></li></ul><p>While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.</p>
Thread Starter
Seodev
(@seodev)
No one? 🙁
Here’s a function in that file that should be used:
function do_core_upgrade( $reinstall = false )