geodirectory-admin/admin_functions.php 1 location
|
@@ 1165-1167 (lines=3) @@
|
| 1162 |
|
function geodir_post_information_save($post_id, $post) {
|
| 1163 |
|
global $wpdb, $current_user;
|
| 1164 |
|
|
| 1165 |
|
if (isset($post->post_type) && ($post->post_type=='nav_menu_item' || $post->post_type=='page' || $post->post_type=='post')) {
|
| 1166 |
|
return;
|
| 1167 |
|
}
|
| 1168 |
|
|
| 1169 |
|
$geodir_posttypes = geodir_get_posttypes();
|
| 1170 |
|
|
geodirectory-functions/general_functions.php 1 location
|
@@ 3339-3341 (lines=3) @@
|
| 3336 |
|
{
|
| 3337 |
|
if(isset($_REQUEST['action']) && $_REQUEST['action']=='geodir_import_export'){return;}//do not run if importing listings
|
| 3338 |
|
|
| 3339 |
|
if(isset($post->post_type) && ($post->post_type=='nav_menu_item' || $post->post_type=='page' || $post->post_type=='post')){
|
| 3340 |
|
return;
|
| 3341 |
|
}
|
| 3342 |
|
if($new_status!=$old_status) {
|
| 3343 |
|
geodir_count_reviews_by_terms(true);
|
| 3344 |
|
}
|