WordPress.org

Plugin Directory

Changeset 636732


Ignore:
Timestamp:
12/10/12 19:50:12 (17 months ago)
Author:
mitchoyoshitaka
Message:

code cleanup

Location:
yet-another-related-posts-plugin/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • yet-another-related-posts-plugin/trunk/class-admin.php

    r636660 r636732  
    1616        } 
    1717 
    18         // if action=flush and the nonce is correct, reset the cache 
     18        // if action=copy_templates and the nonce is correct, copy templates 
    1919        if ( isset($_GET['action']) && $_GET['action'] == 'copy_templates' && 
    2020             check_ajax_referer( 'yarpp_copy_templates', false, false ) !== false ) { 
  • yet-another-related-posts-plugin/trunk/class-cache.php

    r634104 r636732  
    186186        $newsql .= " where post_status in ( 'publish', 'static' ) and ID != '$reference_ID'"; 
    187187     
    188         if ($past_only) // 3.1.8: revised $past_only option 
     188        if ( $past_only ) // 3.1.8: revised $past_only option 
    189189            $newsql .= " and post_date <= '$reference_post->post_date' "; 
    190190        if ( !$show_pass_post ) 
Note: See TracChangeset for help on using the changeset viewer.