Skip to content

Commit

Permalink
issue-compat-members: fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-gillot committed Oct 2, 2023
1 parent e98fa4a commit ddedd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/models/relations.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ public static function get_object_id_for_emitter( $types, $emitter_blog_id, $rec
public static function current_object_is_synchronized( $types, $receiver_blog_id, $receiver_id ) {
global $wpdb;

// In some contexts the do_action( 'add_meta_boxes') is called an passes wrong parameters
// In some contexts the do_action( 'add_meta_boxes') is called and passes wrong parameters
// to the get_cache_id method.
// $receiver_id at this point must be a number or a numeric string
if ( ! is_numeric( $receiver_id ) ) {
Expand Down

0 comments on commit ddedd83

Please sign in to comment.