Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 797 forks source link

De-Fusion: Custom Post Types #25181

Closed sdixon194 closed 2 years ago

sdixon194 commented 2 years ago

Impacted plugin

Jetpack

What

Custom Post Types

How

"$plugin_root/modules/custom-post-types/comics/"                     => "$wpcom_root/wp-content/mu-plugins/verticals/comics/",
"$plugin_root/modules/custom-post-types/comics.php"                  => "$wpcom_root/wp-content/mu-plugins/verticals/comics.php",
"$plugin_root/modules/custom-post-types/portfolios.php"              => "$wpcom_root/wp-content/mu-plugins/custom-post-types/portfolio.php",
"$plugin_root/modules/custom-post-types/css/portfolio-shortcode.css" => "$wpcom_root/wp-content/mu-plugins/custom-post-types/css/portfolio-shortcode.css",
"$plugin_root/modules/custom-post-types/testimonial.php"             => "$wpcom_root/wp-content/mu-plugins/custom-post-types/testimonial.php",
"$plugin_root/modules/custom-post-types/nova.php"                    => "$wpcom_root/wp-content/plugins/nova/nova.php",
"$plugin_root/modules/custom-post-types/css/nova.css"                => "$wpcom_root/wp-content/plugins/nova/css/nova.css",
"$plugin_root/modules/custom-post-types/css/nova-font.css"           => "$wpcom_root/wp-content/plugins/nova/css/nova-font.css",
"$plugin_root/modules/custom-post-types/js/many-items.js"            => "$wpcom_root/wp-content/plugins/nova/js/many-items.js",
"$plugin_root/modules/custom-post-types/js/menu-checkboxes.js"       => "$wpcom_root/wp-content/plugins/nova/js/menu-checkboxes.js",
"$plugin_root/modules/custom-post-types/js/nova-drag-drop.js"        => "$wpcom_root/wp-content/plugins/nova/js/nova-drag-drop.js",
sdixon194 commented 2 years ago

Defusion: D87581-code Cleanup: D87582-code

Kinda hard to test, since no themes support the comics post type anymore and not many themes support the Nova stuff (Simple Food Menu: https://jetpack.com/support/custom-content-types/#Menus ). Confit and Canape are two.

But testing testimonials and portfolios as best we can.

coder-karen commented 2 years ago

Tests well (Nova, Portfolios and Testimonials), with both diffs applied.

sdixon194 commented 2 years ago

DEfusion: r252510-wpcom Cleanup: r252511-wpcom