Changeset 1235981
- Timestamp:
- 09/02/2015 03:58:57 AM (11 years ago)
- Location:
- super-static-cache/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
super-static-cache.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
super-static-cache/trunk/readme.txt
r1234467 r1235981 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.3 7 Stable tag: 3.2. 37 Stable tag: 3.2.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Upgrade Notice == 29 = 3.2.4 = 30 * Bug Fixed 31 29 32 = 3.2.3 = 30 33 * Except Cache Function fixed 31 32 34 33 35 = 3.2.2 = -
super-static-cache/trunk/super-static-cache.php
r1234485 r1235981 4 4 Plugin URI: https://www.hitoy.org/super-static-cache-for-wordperss.html 5 5 Description: Super Static Cache is an efficient WordPress caching engine which provides three cache mode. It can reduce the pressure of the database significantly that makes your website faster than ever. 6 Version: 3.2. 36 Version: 3.2.4 7 7 Author: Hito 8 8 Author URI: https://www.hitoy.org/ … … 27 27 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 28 */ 29 30 29 31 30 //获取当前页面类型 … … 44 43 }else if(is_search()){ 45 44 return 'search'; 45 }else if(is_home()){ 46 return 'home'; 46 47 }else if(is_single()){ 47 48 return 'single'; 49 }else if(is_page()){ 50 return 'page'; 51 }else if(is_author()){ 52 return 'author'; 53 }else if(is_attachment()){ 54 return 'attachment'; 48 55 }else if(is_tag()){ 49 56 return 'tag'; 50 57 }else if(is_category()){ 51 58 return 'category'; 52 }else if(is_page()){ 53 return 'page'; 54 }else if(is_home()){ 55 return 'home'; 56 }else if(is_archive()){ 57 return 'archive'; 59 }else if(is_paged()){ 60 return 'paged'; 61 }else if(is_date()){ 62 return 'date'; 58 63 } 59 64 return 'notfound';
Note: See TracChangeset
for help on using the changeset viewer.