| @@ -871,17 +871,8 @@ | ||
| 871 | 871 | // intended set for the context — types missing from it were removed |
| 872 | 872 | // deliberately and must come off the page (#464). |
| 873 | 873 | $options['authoritative'] = true; |
| 874 | 874 | |
| 875 | - // A skipped entry was sent, so the user still wants it on the page; | |
| 876 | - // it only failed validation. Retiring it as "missing from the | |
| 877 | - // payload" took a live Organization down behind a success toast | |
| 878 | - // (#949) — leave whatever is deployed for it in place. | |
| 879 | - $options['retain_types'] = array_values(array_unique(array_merge( | |
| 880 | - wp_list_pluck($skipped_schemas, 'key'), | |
| 881 | - wp_list_pluck($skipped_schemas, 'type') | |
| 882 | - ))); | |
| 883 | - | |
| 884 | 875 | // Deploy schema markup with sanitized data |
| 885 | 876 | $deployment_results = $this->schema_manager->deploy_schema_markup( |
| 886 | 877 | $context_type, |
| 887 | 878 | $context_id, |
| @@ -898,9 +889,8 @@ | ||
| 898 | 889 | // Report what was skipped so the UI can say "3 deployed, 1 skipped" |
| 899 | 890 | // rather than silently dropping entries (#468). |
| 900 | 891 | if (!empty($skipped_schemas)) { |
| 901 | 892 | $response['skipped'] = $skipped_schemas; |
| 902 | - $response['partial'] = true; | |
| 903 | 893 | $response['message'] = sprintf( |
| 904 | 894 | /* translators: 1: number deployed, 2: number skipped. */ |
| 905 | 895 | __('Deployed %1$d schema(s); skipped %2$d that failed validation.', 'thinkrank'), |
| 906 | 896 | count($sanitized_schema_data), |