Plugin Directory

Changeset 1236000


Ignore:
Timestamp:
09/02/2015 04:30:12 AM (11 years ago)
Author:
hitoy
Message:

attachment except page bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • super-static-cache/trunk/super-static-cache.php

    r1235981 r1236000  
    3333        //文章的trackback也属于single, 所以is_trackback要放在前面
    3434        return 'trackback';
     35    }else if(is_attachment()){
     36        //文档的attachment也属于single, 所以is_attachment要放在前面
     37        return 'attachment';
    3538    }else if(is_feed()){
    3639        return 'feed';
     
    5154    }else if(is_author()){
    5255        return 'author';
    53     }else if(is_attachment()){
    54         return 'attachment';
    5556    }else if(is_tag()){
    5657        return 'tag';
Note: See TracChangeset for help on using the changeset viewer.