Changeset 2129151
- Timestamp:
- 07/26/2019 02:25:08 PM (7 years ago)
- Location:
- clinicalwp-core/trunk
- Files:
-
- 3 edited
-
Clinical_CMS.php (modified) (6 diffs)
-
README.txt (modified) (3 diffs)
-
includes/wp-config_htacess_scripts.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clinicalwp-core/trunk/Clinical_CMS.php
r2128679 r2129151 7 7 Description: Plugin for implementing ClinicalWP core customisations including; Speed Enhancements, Increased Security, Image Enhancements, Support Panels and much more. 8 8 //OLD Version: 3.7.9 9 Version: 0.9.99 Version: 1.0.0 10 10 Requires at least: 3.9 11 11 Tested up to: 5.2.2 12 12 Requires PHP: 5.0 13 Stable tag: 0.9.913 Stable tag: 1.0.0 14 14 Contributors: munklefish, missmanylayers, clinicalwp, codeclinic, freemius 15 15 Text Domain: Clinical-CMS-Core … … 20 20 if (!defined('ABSPATH')) 21 21 return; 22 23 define('CWP_Version', "1.0.0"); 22 24 23 25 //include titan-framework locally … … 34 36 include_once ABSPATH . 'wp-admin/includes/plugin.php'; 35 37 //force TitanFramework to reactivate 36 if (is_plugin_active('titan-framework/titan-framework.php')) {38 //if (is_plugin_active('titan-framework/titan-framework.php')) { 37 39 deactivate_plugins('titan-framework/titan-framework.php'); 38 }39 if (!is_plugin_active('titan-framework/titan-framework.php')) {40 //} 41 //if (!is_plugin_active('titan-framework/titan-framework.php')) { 40 42 activate_plugins('titan-framework/titan-framework.php'); 41 }43 //} 42 44 //} 43 45 … … 348 350 function return_CMS_Ver_ID($arg = '') 349 351 { 350 return "0.9.9";352 return CWP_Version; //for legacy calls to this function 351 353 //echo apply_filters( 'CMS_Ver_ID', '' ); 352 354 } … … 361 363 $cmsVersion = $cmsInfo['mods']; 362 364 363 return 'ClinicalWP ' . $cmsVersion . ' ' . $this->return_CMS_Ver_ID();365 return 'ClinicalWP ' . $cmsVersion . ' ' . CWP_Version; 364 366 } 365 367 … … 5032 5034 5033 5035 //wp_enqueue_style( 'admin_css', plugins_url( 'clinical_custom/clinicalWP-admin.css' , __FILE__, $this->return_CMS_Ver_ID() ) ); 5034 wp_enqueue_style('admin_css', plugins_url('clinical_custom/clinicalWP-admin.min.css', __FILE__, $this->return_CMS_Ver_ID()));5036 wp_enqueue_style('admin_css', plugins_url('clinical_custom/clinicalWP-admin.min.css', __FILE__, CWP_Version)); 5035 5037 } 5036 5038 -
clinicalwp-core/trunk/README.txt
r2128679 r2129151 8 8 Tested up to: 5.2.2 9 9 Requires PHP: 5.0 10 Version: 0.9.911 Stable tag: 0.9.910 Version: 1.0.0 11 Stable tag: 1.0.0 12 12 License: GPLv3 13 13 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 131 131 132 132 == Upgrade Notice == 133 = 1.0.0 (Released 2019/07/26) = 134 * Minor code optimisations 135 133 136 = 0.9.9 (Released 2019/07/25) = 134 137 * Fixed issue causing Data Cache warning when Object caching not available … … 169 172 170 173 == Changelog == 174 = 1.0.0 (Released 2019/07/26) = 175 * Minor code optimisations 176 171 177 = 0.9.9 (Released 2019/07/25) = 172 178 * Fixed issue causing Data Cache warning when Object caching not available -
clinicalwp-core/trunk/includes/wp-config_htacess_scripts.php
r2115085 r2129151 365 365 $status = false; 366 366 } 367 error_log("Failed to write KeepAlive to htacess");368 367 return $status; 369 368 } … … 1595 1594 if (strpos($line, 'START ClinicalWP KeepAlive') !== false) { 1596 1595 $inLoop = true; 1597 error_log('LOOP START');1596 //error_log('LOOP START'); 1598 1597 } 1599 1598 if (strpos($line, 'END ClinicalWP KeepAlive') !== false) { 1600 1599 $inLoop = false; 1601 error_log('LOOP STOP');1600 //error_log('LOOP STOP'); 1602 1601 continue; 1603 1602 } … … 1606 1605 fflush($fp); 1607 1606 } 1608 }// KeepAlive1607 }//Secure Readme file 1609 1608 else if ($method == 18) { 1610 1609 if (strpos($line, 'START ClinicalWP Readme') !== false) { 1611 1610 $inLoop = true; 1612 error_log('LOOP START');1611 //error_log('LOOP START'); 1613 1612 } 1614 1613 if (strpos($line, 'END ClinicalWP Readme') !== false) { 1615 1614 $inLoop = false; 1616 error_log('LOOP STOP');1615 //error_log('LOOP STOP'); 1617 1616 continue; 1618 1617 } … … 1621 1620 fflush($fp); 1622 1621 } 1623 }// KeepAlive1622 }//Secure Indexes 1624 1623 else if ($method == 19) { 1625 1624 if (strpos($line, 'START ClinicalWP Indexes') !== false) { 1626 1625 $inLoop = true; 1627 error_log('LOOP START');1626 //error_log('LOOP START'); 1628 1627 } 1629 1628 if (strpos($line, 'END ClinicalWP Indexes') !== false) { 1630 1629 $inLoop = false; 1631 error_log('LOOP STOP');1630 //error_log('LOOP STOP'); 1632 1631 continue; 1633 1632 } … … 1636 1635 fflush($fp); 1637 1636 } 1638 }// KeepAlive1637 }//Secure Includes 1639 1638 else if ($method == 20) { 1640 1639 if (strpos($line, 'START ClinicalWP Includes') !== false) { 1641 1640 $inLoop = true; 1642 error_log('LOOP START');1641 //error_log('LOOP START'); 1643 1642 } 1644 1643 if (strpos($line, 'END ClinicalWP Includes') !== false) { 1645 1644 $inLoop = false; 1646 error_log('LOOP STOP');1645 //error_log('LOOP STOP'); 1647 1646 continue; 1648 1647 } … … 1651 1650 fflush($fp); 1652 1651 } 1653 }// KeepAlive1652 }//Secure WP-Content 1654 1653 else if ($method == 21) { 1655 1654 if (strpos($line, 'START ClinicalWP Content') !== false) { 1656 1655 $inLoop = true; 1657 error_log('LOOP START');1656 //error_log('LOOP START'); 1658 1657 } 1659 1658 if (strpos($line, 'END ClinicalWP Content') !== false) { 1660 1659 $inLoop = false; 1661 error_log('LOOP STOP');1660 //error_log('LOOP STOP'); 1662 1661 continue; 1663 1662 } … … 1666 1665 fflush($fp); 1667 1666 } 1668 }// KeepAlive1667 }//Secure Uploads folder 1669 1668 else if ($method == 22) { 1670 1669 if (strpos($line, 'START ClinicalWP Uploads') !== false) { 1671 1670 $inLoop = true; 1672 error_log('LOOP START');1671 //error_log('LOOP START'); 1673 1672 } 1674 1673 if (strpos($line, 'END ClinicalWP Uploads') !== false) { 1675 1674 $inLoop = false; 1676 error_log('LOOP STOP');1675 //error_log('LOOP STOP'); 1677 1676 continue; 1678 1677 } … … 1681 1680 fflush($fp); 1682 1681 } 1683 }// KeepAlive1682 }//Prevent Browser Jacking 1684 1683 else if ($method == 23) { 1685 1684 if (strpos($line, 'START ClinicalWP Jacking') !== false) { 1686 1685 $inLoop = true; 1687 error_log('LOOP START');1686 //error_log('LOOP START'); 1688 1687 } 1689 1688 if (strpos($line, 'END ClinicalWP Jacking') !== false) { 1690 1689 $inLoop = false; 1691 error_log('LOOP STOP');1690 //error_log('LOOP STOP'); 1692 1691 continue; 1693 1692 } … … 1696 1695 fflush($fp); 1697 1696 } 1698 }// KeepAlive1697 }//Prevent XSS 1699 1698 else if ($method == 24) { 1700 1699 if (strpos($line, 'START ClinicalWP XSS') !== false) { 1701 1700 $inLoop = true; 1702 error_log('LOOP START');1701 //error_log('LOOP START'); 1703 1702 } 1704 1703 if (strpos($line, 'END ClinicalWP XSS') !== false) { 1705 1704 $inLoop = false; 1706 error_log('LOOP STOP');1705 //error_log('LOOP STOP'); 1707 1706 continue; 1708 1707 } … … 1711 1710 fflush($fp); 1712 1711 } 1713 }// KeepAlive1712 }//Prevent Traces 1714 1713 else if ($method == 25) { 1715 1714 if (strpos($line, 'START ClinicalWP Trace') !== false) { 1716 1715 $inLoop = true; 1717 error_log('LOOP START');1716 //error_log('LOOP START'); 1718 1717 } 1719 1718 if (strpos($line, 'END ClinicalWP Trace') !== false) { 1720 1719 $inLoop = false; 1721 error_log('LOOP STOP');1720 //error_log('LOOP STOP'); 1722 1721 continue; 1723 1722 } … … 1726 1725 fflush($fp); 1727 1726 } 1728 }// KeepAlive1727 }//Prevent Sniffing 1729 1728 else if ($method == 26) { 1730 1729 if (strpos($line, 'START ClinicalWP NoSniff') !== false) { 1731 1730 $inLoop = true; 1732 error_log('LOOP START');1731 //error_log('LOOP START'); 1733 1732 } 1734 1733 if (strpos($line, 'END ClinicalWP NoSniff') !== false) { 1735 1734 $inLoop = false; 1736 error_log('LOOP STOP');1735 //error_log('LOOP STOP'); 1737 1736 continue; 1738 1737 }
Note: See TracChangeset
for help on using the changeset viewer.