X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions-functions.php;h=463bf53ec7be4718e665008d37841cbef4663805;hp=a6a2e372cc7487910e7451b10345dab6fcab9661;hb=3e285b5aa39afe4f71664090909185a4c71fb625;hpb=a877681fa703f58deff4c234cfb9d4ead48419be diff --git a/inc/extensions-functions.php b/inc/extensions-functions.php index a6a2e372cc..463bf53ec7 100644 --- a/inc/extensions-functions.php +++ b/inc/extensions-functions.php @@ -1105,11 +1105,20 @@ function addExtensionNotes ($ext_ver) { // Reset them setExtensionUpdateNotes('', $ext_ver); } elseif (in_array($ext_ver, array('0.0', '0.0.0'))) { - // Initial release - $content = array( - 'ver' => $ext_ver, - 'notes' => '{--INITIAL_RELEASE--}' - ); + // Is the extension productive? + if (isExtensionProductive(getCurrentExtensionName())) { + // Initial release + $content = array( + 'ver' => $ext_ver, + 'notes' => '{--INITIAL_RELEASE--}' + ); + } else { + // Not productive + $content = array( + 'ver' => $ext_ver, + 'notes' => '{--DEVELOPER_RELEASE--}' + ); + } } else { // No update notes found $content = array(