Changeset 2238751
- Timestamp:
- 02/05/2020 01:36:23 AM (6 years ago)
- Location:
- airpress
- Files:
-
- 4 edited
-
tags/1.1.60/airpress.php (modified) (1 diff)
-
tags/1.1.60/lib/chetmac/Airpress.php (modified) (3 diffs)
-
trunk/airpress.php (modified) (1 diff)
-
trunk/lib/chetmac/Airpress.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
airpress/tags/1.1.60/airpress.php
r2238695 r2238751 117 117 add_action( 'wp_ajax_airpress_deferred', 'airpress_execute_deferred_queries' ); 118 118 119 register_activation_hook( __FILE__, 'airpress_activation' ); 120 register_deactivation_hook( __FILE__, 'airpress_deactivation' ); 121 122 if ( ! function_exists("airpress_activation") ){ 123 124 function airpress_activation(){ 125 126 flush_rewrite_rules(); 127 128 } 129 130 } 131 132 if ( ! function_exists("airpress_deactivation") ){ 133 134 function airpress_deactivation(){ 135 136 flush_rewrite_rules(); 137 138 } 139 140 } 141 142 119 143 function airpress_get_current_record(){ 120 144 global $airpress, $post; -
airpress/tags/1.1.60/lib/chetmac/Airpress.php
r2238695 r2238751 49 49 50 50 public function check_for_update(){ 51 51 52 global $airpress_version; 53 52 54 if ( get_option( 'airpress_version' ) != $airpress_version) { 53 55 … … 59 61 update_option("airpress_version", $airpress_version, false); 60 62 63 flush_rewrite_rules(); 64 61 65 } 66 62 67 } 63 68 … … 381 386 } 382 387 383 $output = sprintf($ a["wrapper"],$a["default"]);388 $output = sprintf($recordTemplate,$a["default"]); 384 389 385 390 if ( ! is_null($values) && ! empty($values) ){ -
airpress/trunk/airpress.php
r2238695 r2238751 117 117 add_action( 'wp_ajax_airpress_deferred', 'airpress_execute_deferred_queries' ); 118 118 119 register_activation_hook( __FILE__, 'airpress_activation' ); 120 register_deactivation_hook( __FILE__, 'airpress_deactivation' ); 121 122 if ( ! function_exists("airpress_activation") ){ 123 124 function airpress_activation(){ 125 126 flush_rewrite_rules(); 127 128 } 129 130 } 131 132 if ( ! function_exists("airpress_deactivation") ){ 133 134 function airpress_deactivation(){ 135 136 flush_rewrite_rules(); 137 138 } 139 140 } 141 142 119 143 function airpress_get_current_record(){ 120 144 global $airpress, $post; -
airpress/trunk/lib/chetmac/Airpress.php
r2106394 r2238751 49 49 50 50 public function check_for_update(){ 51 51 52 global $airpress_version; 53 52 54 if ( get_option( 'airpress_version' ) != $airpress_version) { 53 55 … … 59 61 update_option("airpress_version", $airpress_version, false); 60 62 63 flush_rewrite_rules(); 64 61 65 } 66 62 67 } 63 68 … … 381 386 } 382 387 383 $output = sprintf($ a["wrapper"],$a["default"]);388 $output = sprintf($recordTemplate,$a["default"]); 384 389 385 390 if ( ! is_null($values) && ! empty($values) ){
Note: See TracChangeset
for help on using the changeset viewer.