Changeset 1643307
- Timestamp:
- 04/23/2017 04:57:59 PM (9 years ago)
- Location:
- keep-in-touch/trunk
- Files:
-
- 3 edited
-
class-keep-in-touch-msg.php (modified) (2 diffs)
-
class-virtual-page.php (modified) (1 diff)
-
keep-in-touch.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
keep-in-touch/trunk/class-keep-in-touch-msg.php
r1638852 r1643307 352 352 'date_query' => array( 353 353 array( 354 'column' => 'post_modified_gmt', 354 //'column' => 'post_modified_gmt', 355 'column' => 'post_date_gmt', 355 356 'after' => date('Y-m-d', strtotime('yesterday')), 356 357 //'before' => date('Y-m-d', strtotime('today')), … … 368 369 'date_query' => array( 369 370 array( 370 'column' => 'post_modified_gmt', 371 //'column' => 'post_modified_gmt', 372 'column' => 'post_date_gmt', 371 373 'after' => date('Y-m-d', strtotime('-1 week')), 372 374 'inclusive' => true, -
keep-in-touch/trunk/class-virtual-page.php
r1638852 r1643307 75 75 global $wp, $wp_query; 76 76 77 if (count($posts) == 0 && 78 (strcasecmp($wp->request, $this->slug) == 0 || $wp->query_vars['page_id'] == $this->slug)) 77 if (count($posts) == 0 /*and (strcasecmp($wp->request, $this->slug) == 0 || $wp->query_vars['page_id'] == $this->slug)*/) 79 78 { 80 79 // set filter results -
keep-in-touch/trunk/keep-in-touch.php
r1638717 r1643307 166 166 static function plugin_menu() 167 167 { 168 add_ options_page('Keep in Touch', 'Keep in Touch', 'manage_options', 'keep-in-touch', array('Keep_In_Touch_Settings', 'plugin_options'));168 add_menu_page(__('Keep in Touch', 'keep-in-touch'), __('Keep in Touch', 'keep-in-touch'), 'activate_plugins', 'keep-in-touch', array('Keep_In_Touch_Settings', 'plugin_options'), 'dashicons-admin-links', 26); 169 169 } 170 170 }
Note: See TracChangeset
for help on using the changeset viewer.