Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is the fixed function code
- function themedrive_getinfo()
- {
- global $themedrive_localversion;
- $checkfile = "http://svn.wp-plugins.org/theme-test-drive/trunk/themedrive.chk";
- $status = array();
- // return $status;
- $vcheck = wp_remote_fopen($checkfile);
- if ($vcheck) {
- $version = $themedrive_localversion;
- $status = explode('@', $vcheck);
- // return $status;
- }
- return $status;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement