Plugin Directory

Changeset 1263706


Ignore:
Timestamp:
10/12/2015 01:21:22 AM (10 years ago)
Author:
ppohler
Message:

clear api key and rename example templates

Location:
rets-rabbit/trunk
Files:
4 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • rets-rabbit/trunk/readme.txt

    r1263335 r1263706  
    44Requires at least: 3.0.1
    55Tested up to: 4.3
    6 Stable tag: 1.0.4
     6Stable tag: 1.0.5
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • rets-rabbit/trunk/retsrabbit.php

    r1263335 r1263706  
    44Plugin URI: http://retsrabbit.com/wordpress
    55Description: Plugin to integrate the real estate cloud service, Rets Rabbit, with Wordpress.
    6 Version: 1.0.4
     6Version: 1.0.5
    77Author: Patrick Pohler
    88Author URI: http://www.anecka.com
     
    1818}
    1919
    20 /*
    21 function rr_checkfordetailpagetitle($title, $sep) {
    22     $detail_page_id = get_option('rr-detail-page');
    23     if(get_the_ID() == $detail_page_id) {
    24         if($mls_id = get_query_var('mls_id')) {
    25             return $title."| WOOT";
    26         }
    27     }
    28 
    29     return $title;
    30 }
    31 */
    32 
    3320add_filter('paginate_links', 'rr_fixpaginationampersand');
    3421
  • rets-rabbit/trunk/rr_actions.php

    r1238274 r1263706  
    22add_action('admin_post_retsrabbit-search', 'retsrabbit_handle_search'); // If the user is logged in
    33add_action('admin_post_nopriv_retsrabbit-search', 'retsrabbit_handle_search'); // If the user in not logged in
     4add_action('updated_option', 'retsrabbit_clear_transients', 10, 3);
    45
    56function retsrabbit_handle_search() {
     
    4950    }
    5051}
     52
     53function retsrabbit_clear_transients($option, $oldvalue, $_newvalue) {
     54    delete_transient('rr-search-query');
     55    delete_transient('retsrabbit-access-code');
     56    delete_transient('rr-metadata');
     57}
    5158?>
Note: See TracChangeset for help on using the changeset viewer.