Commit 2c92770e by Scott

Change update URI key

parent 522d81aa
......@@ -1040,13 +1040,13 @@
}
$updatehtml = '';
if (strlen(@$metadata['version']) && strlen(@$metadata['update'])) {
if (strlen(@$metadata['version']) && strlen(@$metadata['update_uri'])) {
$elementid = 'version_check_'.$optionname;
$updatehtml = '(<span id="'.$elementid.'">...</span>)';
$qa_content['script_onloads'][] = array(
"qa_version_check(".qa_js($metadata['update']).", ".qa_js($metadata['version'], true).", ".qa_js($elementid).");"
"qa_version_check(".qa_js($metadata['update_uri']).", ".qa_js($metadata['version'], true).", ".qa_js($elementid).");"
);
}
......
......@@ -150,13 +150,13 @@
else
$authorhtml = '';
if ($metaver && isset($metadata['update']) && strlen($metadata['update'])) {
if ($metaver && isset($metadata['update_uri']) && strlen($metadata['update_uri'])) {
$elementid = 'version_check_'.md5($plugindirectory);
$updatehtml = '(<span id="'.$elementid.'">...</span>)';
$qa_content['script_onloads'][] = array(
"qa_version_check(".qa_js($metadata['update']).", ".qa_js($metadata['version'], true).", ".qa_js($elementid).");"
"qa_version_check(".qa_js($metadata['update_uri']).", ".qa_js($metadata['version'], true).", ".qa_js($elementid).");"
);
}
......
......@@ -311,7 +311,7 @@
'author' => 'Author',
'author_uri' => 'Author URI',
'license' => 'License',
'update' => 'Update Check URI',
'update_uri' => 'Update Check URI',
));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment