Skip to content

Commit b8cf438

Browse files
committed
Include the first argument
1 parent 12026e4 commit b8cf438

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php/datasource/class-fieldmanager-datasource-post.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public function get_ajax_action() {
211211
&& isset( $this->query_callback[1] )
212212
&& is_string( $this->query_callback[1] )
213213
) {
214+
$unique_key .= is_object( $this->query_callback[0] ) ? get_debug_type( $this->query_callback[0] ) : (string) $this->query_callback[0];
214215
$unique_key .= $this->query_callback[1];
215216
}
216217
$unique_key .= get_called_class();

0 commit comments

Comments
 (0)