| @@ -176,13 +176,8 @@ | ||
| 176 | 176 | if ( $indexable->object_type !== 'post' ) { |
| 177 | 177 | return; |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | - if ( \is_a( $post, Indexable::class ) ) { | |
| 181 | - \_deprecated_argument( __FUNCTION__, '17.7', 'The $old_indexable argument has been deprecated.' ); | |
| 182 | - $post = $this->post->get_post( $indexable->object_id ); | |
| 183 | - } | |
| 184 | - | |
| 185 | 180 | $this->update_relations( $post ); |
| 186 | 181 | } |
| 187 | 182 | |
| 188 | 183 | /** |