From e1c1d9220fdf1e2486101bd4179a3fc7f4085f20 Mon Sep 17 00:00:00 2001
From: Mohammad Jangda <batmoo@gmail.com>
Date: Wed, 16 Oct 2013 06:10:22 +0000
Subject: [PATCH] Fix casing typo in variable name

s/post_id/post_ID/
---
 includes/class-wp-push-syndication-server.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/includes/class-wp-push-syndication-server.php b/includes/class-wp-push-syndication-server.php
index 40c35ee..bc90333 100644
--- a/includes/class-wp-push-syndication-server.php
+++ b/includes/class-wp-push-syndication-server.php
@@ -854,7 +854,7 @@ class WP_Push_Syndication_Server {
 					$result = $client->new_post( $post_ID );
 
 					$this->validate_result_new_post( $result, $slave_post_states, $site->ID, $client );
-					$this->update_slave_post_states( $post_id, $slave_post_states );
+					$this->update_slave_post_states( $post_ID, $slave_post_states );
 
 					do_action( 'syn_post_push_new_post', $result, $post_ID, $site, $transport_type, $client, $info );
 					
@@ -866,7 +866,7 @@ class WP_Push_Syndication_Server {
 					$result = $client->edit_post( $post_ID, $info['ext_ID'] );
 
 					$this->validate_result_edit_post( $result, $info['ext_ID'], $slave_post_states, $site->ID, $client );
-					$this->update_slave_post_states( $post_id, $slave_post_states );
+					$this->update_slave_post_states( $post_ID, $slave_post_states );
 
 					do_action( 'syn_post_push_edit_post', $result, $post_ID, $site, $transport_type, $client, $info );
 				}
@@ -888,7 +888,7 @@ class WP_Push_Syndication_Server {
 					$result = $client->delete_post( $info['ext_ID'] );
 					if ( is_wp_error( $result ) ) {
 						$slave_post_states[ 'remove-error' ][ $site->ID ] = $result;
-						$this->update_slave_post_states( $post_id, $slave_post_states );
+						$this->update_slave_post_states( $post_ID, $slave_post_states );
 					}
 
 				}
-- 
GitLab