IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/post.php b/wp-includes/post.php
|
a
|
b
|
|
| 6970 | 6970 | return; |
| 6971 | 6971 | } |
| 6972 | 6972 | |
| | 6973 | /** |
| | 6974 | * Allowes to stop {@see wp_check_for_changed_slugs()} function functionality. |
| | 6975 | * |
| | 6976 | * @since 6.4.3 |
| | 6977 | * |
| | 6978 | * @param bool $is_skip If true the {@see wp_check_for_changed_slugs()} will be stopped. |
| | 6979 | * @param WP_Post $post The post object. |
| | 6980 | * @param WP_Post $post_before The previous post object. |
| | 6981 | */ |
| | 6982 | if ( apply_filters( 'skip_wp_check_for_changed_slugs', false, $post, $post_before ) ) { |
| | 6983 | return; |
| | 6984 | } |
| | 6985 | |
| 6973 | 6986 | $old_slugs = (array) get_post_meta( $post_id, '_wp_old_slug' ); |
| 6974 | 6987 | |
| 6975 | 6988 | // If we haven't added this old slug before, add it now. |