diff --git a/composer.lock b/composer.lock index eeca94d2..36b3ae9a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d3f4b90df894a1a7ae339d81c8cf5bb5", + "content-hash": "e7ba82c21c5009adbf281ac8f92e1a02", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -12,7 +12,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "1fa8d814ece34c5214863ef787041577d22dd0fa" + "reference": "6809dd4d8929e79c08273f80443a9c320887bbb3" }, "require": { "php": ">=7.0" @@ -62,7 +62,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "3a57cf3b6122aa82e9a6650a007f09711602e671" + "reference": "f3bc343044c15e028b91090fd79d628a7b72d9a4" }, "require": { "php": ">=7.0" @@ -124,7 +124,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "a7bda3bf84eda3c9d42d213393aa83bbdf0119e4" + "reference": "eb47522d1ea8e733042dfa55511b1dcaed805dea" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -190,7 +190,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "5629f91b49e6c3c974ee41f10532ecdda9b11f5b" + "reference": "91833b26bbcaf8be1b333fee5b344f9f5788568f" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -268,7 +268,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "d5e61b72a0835f6ebde3dc5000c4be23e1eb388c" + "reference": "b2eb1a18489c72eaa8f72e978a847e24a37225ac" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -327,7 +327,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "1e9b42469a5d98ce3c34268b979ef92bd70c2515" + "reference": "cd9cc2021ead58782a3d90e208a6425295190807" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -385,11 +385,11 @@ }, { "name": "automattic/jetpack-classic-theme-helper", - "version": "0.5.4-alpha.1724853317", + "version": "0.5.4-alpha.1724943105", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "b93954b8a9f8ecc7f77545a986b8d2f5d1f512dd" + "reference": "e6fb3f851c8f9557b9b27cab9a04264993b4f63b" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -457,7 +457,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "b3e9c82070a8fd001516c0d154d652313dae91eb" + "reference": "2035305f72cdea18de092d4fc9b1a8eb704b0913" }, "require": { "php": ">=7.0" @@ -494,7 +494,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "bccbb0356b18487f03e0f4df407d470c880f286d" + "reference": "418e5a366e0edcc24966f1ed7d483242b3b78cf2" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -578,7 +578,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "97858a7a9c0dccf5e1a3cf4a26cccf27bf5409a6" + "reference": "7f4d28ea7f11dc45d39dd4612a407b60a5a40213" }, "require": { "php": ">=7.0" @@ -629,7 +629,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "d386f345b4c90acf80e54e548a88adea1affe22c" + "reference": "4dc9bb8a395ef1478d00b0c9435ba3f2eed73f9c" }, "require": { "php": ">=7.0" @@ -679,7 +679,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "1cfc621d8cb261534fe5dc314e3a215e5f4996a1" + "reference": "6cdc643b2fcdefb7fb3c748727e3bd1934458406" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -747,7 +747,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "f72cc97a5ebed65d6951ec5c17c8a085908c5f5b" + "reference": "7b7515207beb6278718495b4012c7b6387400916" }, "require": { "php": ">=7.0" @@ -802,7 +802,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "4ba464f009ad83b27c0b490ac639fd4e22b699b1" + "reference": "01e41455fd29cef50445c3f44f749f970c55580c" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -874,7 +874,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "f0d350614ef2d1b7da5b8bcd64a1cb1e2035fc23" + "reference": "e1943251f4a332ce357f58b0c2a2128a4941e1d7" }, "require": { "php": ">=7.0" @@ -924,7 +924,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "33b9a4262334ed847ece8fb1d1041a51b7ce5de5" + "reference": "f6b26dd24b78c5e735208251cd162617f946e181" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -1003,7 +1003,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "15ad5fae44ea55ce60decc3b327be98a7febed22" + "reference": "ec9f2800ceeb466260f500c4e0a95e5260e25c6d" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -1083,7 +1083,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "11596da9215170889b2b2e472bccdc594ace144f" + "reference": "ad675eba5da760588827efba22d3e73b77ef3b8f" }, "require": { "php": ">=7.0" @@ -1141,7 +1141,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "bbc2589178acfe6823fee78bc6bd9608ce41b234" + "reference": "4a47d7fa11a83c8f0deddeeb6dea5316e3e8e16c" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1206,7 +1206,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "78ebbe5abacee88efd508ae27ba237a1c30b4eb4" + "reference": "cad9ee289eefd7c5d4f51f35975d23b3b16f58f1" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -1258,7 +1258,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "8da262aeb13fe7dfc2b3ed5e11c101ddd15d8773" + "reference": "e59e847afacb22871aa5b7d6dde4ad8c940536d8" }, "require": { "php": ">=7.0" @@ -1309,7 +1309,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "78df78d7c82acb47bf4f6e5baf2cf1d2a5362d5d" + "reference": "af6a022c26987c983e2107af226a79f0c2753dee" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1373,7 +1373,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "34635621369e83dacccde884fb1b16765af138ca" + "reference": "76698d1282de072cb97c60e1f2a709d43480a985" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1443,7 +1443,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "a755d6b1be50d0c5077afd2afa6bea8c42fb2850" + "reference": "972b75cc0c6c2ad82cfb7260200c8f382659d146" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1504,7 +1504,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "c60117021615ca619d59a947be10d6c51590ee6b" + "reference": "65de9870cda39d378e2922888b9670dd23fa6fd6" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1579,7 +1579,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "daa6e0f215a473517517d84f65e40a1b7295d96c" + "reference": "38d5b062c7db93c587dd1a6dd9f845d77b7d149a" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1728,7 +1728,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "7e4ca6660fdf3bb7b0e33ee4bfbadc38ce0c5a81" + "reference": "a2773e36e7b3f7b090a91529ab66e2a5094fab72" }, "require": { "php": ">=7.0", diff --git a/vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md b/vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md index 1c314e09..8feb78ff 100644 --- a/vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md +++ b/vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. ### Added +- Classic Theme Helper: Adding Portfolio custom post type content - Content Options: Moving content to Classic Theme Helper package. ### Changed diff --git a/vendor/automattic/jetpack-classic-theme-helper/src/custom-content-types.php b/vendor/automattic/jetpack-classic-theme-helper/src/custom-content-types.php new file mode 100644 index 00000000..704fb7f0 --- /dev/null +++ b/vendor/automattic/jetpack-classic-theme-helper/src/custom-content-types.php @@ -0,0 +1,78 @@ +' . __( 'Your Custom Content Types', 'jetpack-classic-theme-helper' ) . '', + 'jetpack_cpt_section_callback', + 'writing' + ); + } + add_action( 'admin_init', 'jetpack_cpt_settings_api_init' ); +} + +if ( ! function_exists( 'jetpack_cpt_section_callback' ) ) { + /** + * Settings Description + */ + function jetpack_cpt_section_callback() { + if ( class_exists( 'Redirect' ) ) { + ?> +

+ + +

+ maybe_register_cpt(); + } + + /** + * Registers the custom post types and adds action/filter handlers, but + * only if the site supports it + */ + public function maybe_register_cpt() { + if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { + $setting = get_option( self::OPTION_NAME, '0' ); + } else { + $setting = class_exists( 'Jetpack_Options' ) ? Jetpack_Options::get_option_and_ensure_autoload( self::OPTION_NAME, '0' ) : '0'; // @phan-suppress-current-line PhanUndeclaredClassMethod -- We check if the class exists first. + } + + // Bail early if Portfolio option is not set and the theme doesn't declare support. + if ( empty( $setting ) && ! $this->site_supports_custom_post_type() ) { + return; + } + + // CPT magic. + $this->register_post_types(); + add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 ); + add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'flush_rules_on_enable' ), 10 ); + add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'flush_rules_on_first_project' ) ); + add_action( 'after_switch_theme', array( $this, 'flush_rules_on_switch' ) ); + + // Admin Customization. + add_filter( 'post_updated_messages', array( $this, 'updated_messages' ) ); + add_filter( sprintf( 'manage_%s_posts_columns', self::CUSTOM_POST_TYPE ), array( $this, 'edit_admin_columns' ) ); + add_filter( sprintf( 'manage_%s_posts_custom_column', self::CUSTOM_POST_TYPE ), array( $this, 'image_column' ), 10, 2 ); + if ( ! wp_is_block_theme() ) { + add_action( 'customize_register', array( $this, 'customize_register' ) ); + } + + if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { + + // Track all the things. + add_action( sprintf( 'add_option_%s', self::OPTION_NAME ), array( $this, 'new_activation_stat_bump' ) ); + add_action( sprintf( 'update_option_%s', self::OPTION_NAME ), array( $this, 'update_option_stat_bump' ), 11, 2 ); + add_action( sprintf( 'publish_%s', self::CUSTOM_POST_TYPE ), array( $this, 'new_project_stat_bump' ) ); + } + + add_image_size( 'jetpack-portfolio-admin-thumb', 50, 50, true ); + add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) ); + + // register jetpack_portfolio shortcode and portfolio shortcode (legacy). + add_shortcode( 'portfolio', array( $this, 'portfolio_shortcode' ) ); + add_shortcode( 'jetpack_portfolio', array( $this, 'portfolio_shortcode' ) ); + + // Adjust CPT archive and custom taxonomies to obey CPT reading setting. + add_filter( 'infinite_scroll_settings', array( $this, 'infinite_scroll_click_posts_per_page' ) ); + add_filter( 'infinite_scroll_results', array( $this, 'infinite_scroll_results' ), 10, 3 ); + + if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { + // Add to Dotcom XML sitemaps. + add_filter( 'wpcom_sitemap_post_types', array( $this, 'add_to_sitemap' ) ); + } else { + // Add to Jetpack XML sitemap. + add_filter( 'jetpack_sitemap_post_types', array( $this, 'add_to_sitemap' ) ); + } + + // Adjust CPT archive and custom taxonomies to obey CPT reading setting. + add_filter( 'pre_get_posts', array( $this, 'query_reading_setting' ) ); + + // If CPT was enabled programatically and no CPT items exist when user switches away, disable. + if ( $setting && $this->site_supports_custom_post_type() ) { + add_action( 'switch_theme', array( $this, 'deactivation_post_type_support' ) ); + } + } + + /** + * Add a checkbox field in 'Settings' > 'Writing' + * for enabling CPT functionality. + * + * @return void + */ + public function settings_api_init() { + add_settings_field( + self::OPTION_NAME, + '' . __( 'Portfolio Projects', 'jetpack-classic-theme-helper' ) . '', + array( $this, 'setting_html' ), + 'writing', + 'jetpack_cpt_section' + ); + register_setting( + 'writing', + self::OPTION_NAME, + 'intval' + ); + + // Check if CPT is enabled first so that intval doesn't get set to NULL on re-registering. + if ( get_option( self::OPTION_NAME, '0' ) || current_theme_supports( self::CUSTOM_POST_TYPE ) ) { + register_setting( + 'writing', + self::OPTION_READING_SETTING, + 'intval' + ); + } + } + + /** + * HTML code to display a checkbox true/false option + * for the Portfolio CPT setting. + * + * @return void + */ + public function setting_html() { + if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) : ?> +

+ %s', 'jetpack-classic-theme-helper' ), + esc_attr( self::CUSTOM_POST_TYPE ) + ), + array( + 'strong' => array(), + ) + ); + ?> +

+ + +

', + esc_attr( self::OPTION_READING_SETTING ), + sprintf( + /* translators: %1$s is replaced with an input field for numbers */ + __( 'Portfolio pages display at most %1$s projects', 'jetpack-classic-theme-helper' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- the placeholder contains HTML. + sprintf( + '', + esc_attr( self::OPTION_READING_SETTING ), + esc_attr( get_option( self::OPTION_READING_SETTING, '10' ) ) + ) + ) + ); + endif; + } + + /** + * Bump Portfolio > New Activation stat. + */ + public function new_activation_stat_bump() { + if ( function_exists( 'bump_stats_extras' ) ) { + bump_stats_extras( 'portfolios', 'new-activation' ); // @phan-suppress-current-line PhanUndeclaredFunction -- only calling if it exists. + } + } + + /** + * Bump Portfolio > Option On/Off stats to get total active. + * + * @param mixed $old The old option value. + * @param mixed $new The new option value. + */ + public function update_option_stat_bump( $old, $new ) { + if ( empty( $old ) && ! empty( $new ) ) { + if ( function_exists( 'bump_stats_extras' ) ) { + + bump_stats_extras( 'portfolios', 'option-on' ); // @phan-suppress-current-line PhanUndeclaredFunction -- only calling if it exists. + } + } + + if ( ! empty( $old ) && empty( $new ) ) { + if ( function_exists( 'bump_stats_extras' ) ) { + + bump_stats_extras( 'portfolios', 'option-off' ); // @phan-suppress-current-line PhanUndeclaredFunction -- only calling if it exists. + } + } + } + + /** + * Bump Portfolio > Published Projects stat when projects are published. + */ + public function new_project_stat_bump() { + if ( function_exists( 'bump_stats_extras' ) ) { + + bump_stats_extras( 'portfolios', 'published-projects' ); // @phan-suppress-current-line PhanUndeclaredFunction -- only calling if it exists. + } + } + + /** + * Should this Custom Post Type be made available? + */ + private function site_supports_custom_post_type() { + // If the current theme requests it. + if ( current_theme_supports( self::CUSTOM_POST_TYPE ) || get_option( self::OPTION_NAME, '0' ) ) { + return true; + } + + // Otherwise, say no unless something wants to filter us to say yes. + /** This action is documented in modules/custom-post-types/nova.php */ + return (bool) apply_filters( 'jetpack_enable_cpt', false, self::CUSTOM_POST_TYPE ); + } + + /** + * Flush permalinks when CPT option is turned on/off + */ + public function flush_rules_on_enable() { + flush_rewrite_rules(); + } + + /** + * Count published projects and flush permalinks when first projects is published + */ + public function flush_rules_on_first_project() { + $projects = get_transient( 'jetpack-portfolio-count-cache' ); + + if ( false === $projects ) { + flush_rewrite_rules(); + $projects = (int) wp_count_posts( self::CUSTOM_POST_TYPE )->publish; + + if ( ! empty( $projects ) ) { + set_transient( 'jetpack-portfolio-count-cache', $projects, HOUR_IN_SECONDS * 12 ); + } + } + } + + /** + * Flush permalinks when CPT supported theme is activated + */ + public function flush_rules_on_switch() { + if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) { + flush_rewrite_rules(); + } + } + + /** + * On plugin/theme activation, check if current theme supports CPT + */ + public static function activation_post_type_support() { + if ( current_theme_supports( self::CUSTOM_POST_TYPE ) ) { + update_option( self::OPTION_NAME, '1' ); + } + } + + /** + * On theme switch, check if CPT item exists and disable if not + */ + public function deactivation_post_type_support() { + $portfolios = get_posts( + array( + 'fields' => 'ids', + 'posts_per_page' => 1, + 'post_type' => self::CUSTOM_POST_TYPE, + 'suppress_filters' => false, + ) + ); + + if ( empty( $portfolios ) ) { + update_option( self::OPTION_NAME, '0' ); + } + } + + /** + * Register Post Type + */ + public function register_post_types() { + if ( post_type_exists( self::CUSTOM_POST_TYPE ) ) { + return; + } + + register_post_type( + self::CUSTOM_POST_TYPE, + array( + 'labels' => array( + 'name' => esc_html__( 'Projects', 'jetpack-classic-theme-helper' ), + 'singular_name' => esc_html__( 'Project', 'jetpack-classic-theme-helper' ), + 'menu_name' => esc_html__( 'Portfolio', 'jetpack-classic-theme-helper' ), + 'all_items' => esc_html__( 'All Projects', 'jetpack-classic-theme-helper' ), + 'add_new' => esc_html__( 'Add New', 'jetpack-classic-theme-helper' ), + 'add_new_item' => esc_html__( 'Add New Project', 'jetpack-classic-theme-helper' ), + 'edit_item' => esc_html__( 'Edit Project', 'jetpack-classic-theme-helper' ), + 'new_item' => esc_html__( 'New Project', 'jetpack-classic-theme-helper' ), + 'view_item' => esc_html__( 'View Project', 'jetpack-classic-theme-helper' ), + 'search_items' => esc_html__( 'Search Projects', 'jetpack-classic-theme-helper' ), + 'not_found' => esc_html__( 'No Projects found', 'jetpack-classic-theme-helper' ), + 'not_found_in_trash' => esc_html__( 'No Projects found in Trash', 'jetpack-classic-theme-helper' ), + 'filter_items_list' => esc_html__( 'Filter projects list', 'jetpack-classic-theme-helper' ), + 'items_list_navigation' => esc_html__( 'Project list navigation', 'jetpack-classic-theme-helper' ), + 'items_list' => esc_html__( 'Projects list', 'jetpack-classic-theme-helper' ), + ), + 'supports' => array( + 'title', + 'editor', + 'thumbnail', + 'author', + 'post-formats', + 'comments', + 'publicize', + 'wpcom-markdown', + 'revisions', + 'excerpt', + 'custom-fields', + 'newspack_blocks', + ), + 'rewrite' => array( + 'slug' => 'portfolio', + 'with_front' => false, + 'feeds' => true, + 'pages' => true, + ), + 'public' => true, + 'show_ui' => true, + 'menu_position' => 20, // below Pages. + 'menu_icon' => 'dashicons-portfolio', // 3.8+ dashicon option. + 'capability_type' => 'page', + 'map_meta_cap' => true, + 'taxonomies' => array( self::CUSTOM_TAXONOMY_TYPE, self::CUSTOM_TAXONOMY_TAG ), + 'has_archive' => true, + 'query_var' => 'portfolio', + 'show_in_rest' => true, + ) + ); + + register_taxonomy( + self::CUSTOM_TAXONOMY_TYPE, + self::CUSTOM_POST_TYPE, + array( + 'hierarchical' => true, + 'labels' => array( + 'name' => esc_html__( 'Project Types', 'jetpack-classic-theme-helper' ), + 'singular_name' => esc_html__( 'Project Type', 'jetpack-classic-theme-helper' ), + 'menu_name' => esc_html__( 'Project Types', 'jetpack-classic-theme-helper' ), + 'all_items' => esc_html__( 'All Project Types', 'jetpack-classic-theme-helper' ), + 'edit_item' => esc_html__( 'Edit Project Type', 'jetpack-classic-theme-helper' ), + 'view_item' => esc_html__( 'View Project Type', 'jetpack-classic-theme-helper' ), + 'update_item' => esc_html__( 'Update Project Type', 'jetpack-classic-theme-helper' ), + 'add_new_item' => esc_html__( 'Add New Project Type', 'jetpack-classic-theme-helper' ), + 'new_item_name' => esc_html__( 'New Project Type Name', 'jetpack-classic-theme-helper' ), + 'parent_item' => esc_html__( 'Parent Project Type', 'jetpack-classic-theme-helper' ), + 'parent_item_colon' => esc_html__( 'Parent Project Type:', 'jetpack-classic-theme-helper' ), + 'search_items' => esc_html__( 'Search Project Types', 'jetpack-classic-theme-helper' ), + 'items_list_navigation' => esc_html__( 'Project type list navigation', 'jetpack-classic-theme-helper' ), + 'items_list' => esc_html__( 'Project type list', 'jetpack-classic-theme-helper' ), + ), + 'public' => true, + 'show_ui' => true, + 'show_in_nav_menus' => true, + 'show_in_rest' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'rewrite' => array( 'slug' => 'project-type' ), + ) + ); + + register_taxonomy( + self::CUSTOM_TAXONOMY_TAG, + self::CUSTOM_POST_TYPE, + array( + 'hierarchical' => false, + 'labels' => array( + 'name' => esc_html__( 'Project Tags', 'jetpack-classic-theme-helper' ), + 'singular_name' => esc_html__( 'Project Tag', 'jetpack-classic-theme-helper' ), + 'menu_name' => esc_html__( 'Project Tags', 'jetpack-classic-theme-helper' ), + 'all_items' => esc_html__( 'All Project Tags', 'jetpack-classic-theme-helper' ), + 'edit_item' => esc_html__( 'Edit Project Tag', 'jetpack-classic-theme-helper' ), + 'view_item' => esc_html__( 'View Project Tag', 'jetpack-classic-theme-helper' ), + 'update_item' => esc_html__( 'Update Project Tag', 'jetpack-classic-theme-helper' ), + 'add_new_item' => esc_html__( 'Add New Project Tag', 'jetpack-classic-theme-helper' ), + 'new_item_name' => esc_html__( 'New Project Tag Name', 'jetpack-classic-theme-helper' ), + 'search_items' => esc_html__( 'Search Project Tags', 'jetpack-classic-theme-helper' ), + 'popular_items' => esc_html__( 'Popular Project Tags', 'jetpack-classic-theme-helper' ), + 'separate_items_with_commas' => esc_html__( 'Separate tags with commas', 'jetpack-classic-theme-helper' ), + 'add_or_remove_items' => esc_html__( 'Add or remove tags', 'jetpack-classic-theme-helper' ), + 'choose_from_most_used' => esc_html__( 'Choose from the most used tags', 'jetpack-classic-theme-helper' ), + 'not_found' => esc_html__( 'No tags found.', 'jetpack-classic-theme-helper' ), + 'items_list_navigation' => esc_html__( 'Project tag list navigation', 'jetpack-classic-theme-helper' ), + 'items_list' => esc_html__( 'Project tag list', 'jetpack-classic-theme-helper' ), + ), + 'public' => true, + 'show_ui' => true, + 'show_in_nav_menus' => true, + 'show_in_rest' => true, + 'show_admin_column' => true, + 'query_var' => true, + 'rewrite' => array( 'slug' => 'project-tag' ), + ) + ); + + register_taxonomy_for_object_type( 'post_format', self::CUSTOM_POST_TYPE ); + } + + /** + * Update messages for the Portfolio admin. + * + * @param array $messages Existing post update messages. + */ + public function updated_messages( $messages ) { + global $post; + + $messages[ self::CUSTOM_POST_TYPE ] = array( + 0 => '', // Unused. Messages start at index 1. + 1 => sprintf( + /* Translators: link to portfolio item's page. */ + __( 'Project updated. View item', 'jetpack-classic-theme-helper' ), + esc_url( get_permalink( $post->ID ) ) + ), + 2 => esc_html__( 'Custom field updated.', 'jetpack-classic-theme-helper' ), + 3 => esc_html__( 'Custom field deleted.', 'jetpack-classic-theme-helper' ), + 4 => esc_html__( 'Project updated.', 'jetpack-classic-theme-helper' ), + 5 => isset( $_GET['revision'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling. + ? sprintf( + /* translators: %s: date and time of the revision */ + esc_html__( 'Project restored to revision from %s', 'jetpack-classic-theme-helper' ), + wp_post_revision_title( (int) $_GET['revision'], false ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Copying core message handling. + ) + : false, + 6 => sprintf( + /* Translators: link to portfolio item's page. */ + __( 'Project published. View project', 'jetpack-classic-theme-helper' ), + esc_url( get_permalink( $post->ID ) ) + ), + 7 => esc_html__( 'Project saved.', 'jetpack-classic-theme-helper' ), + 8 => sprintf( + /* Translators: link to portfolio item's page. */ + __( 'Project submitted. Preview project', 'jetpack-classic-theme-helper' ), + esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) + ), + 9 => sprintf( + /* Translators: 1: Publishing date and time. 2. Link to portfolio's item page. */ + __( 'Project scheduled for: %1$s. Preview project', 'jetpack-classic-theme-helper' ), + /* translators: Publish box date format, see https://php.net/date */ + date_i18n( __( 'M j, Y @ G:i', 'jetpack-classic-theme-helper' ), strtotime( $post->post_date ) ), + esc_url( get_permalink( $post->ID ) ) + ), + 10 => sprintf( + /* Translators: link to portfolio item's page. */ + __( 'Project item draft updated. Preview project', 'jetpack-classic-theme-helper' ), + esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) + ), + ); + + return $messages; + } + + /** + * Change ‘Title’ column label + * Add Featured Image column + * + * @param array $columns An array of column names. + */ + public function edit_admin_columns( $columns ) { + // change 'Title' to 'Project'. + $columns['title'] = __( 'Project', 'jetpack-classic-theme-helper' ); + if ( current_theme_supports( 'post-thumbnails' ) ) { + // add featured image before 'Project'. + $columns = array_slice( $columns, 0, 1, true ) + array( 'thumbnail' => '' ) + array_slice( $columns, 1, null, true ); + } + + return $columns; + } + + /** + * Add featured image to column + * + * @param string $column The name of the column to display. + * @param int $post_id The current post ID. + */ + public function image_column( $column, $post_id ) { + if ( 'thumbnail' !== $column ) { + return; + } + + echo get_the_post_thumbnail( $post_id, 'jetpack-portfolio-admin-thumb' ); + } + + /** + * Adjust image column width + * + * @param string $hook Page hook. + */ + public function enqueue_admin_styles( $hook ) { + $screen = get_current_screen(); + + if ( + 'edit.php' === $hook + && self::CUSTOM_POST_TYPE === $screen->post_type + && current_theme_supports( 'post-thumbnails' ) + ) { + wp_add_inline_style( 'wp-admin', '.manage-column.column-thumbnail { width: 50px; } @media screen and (max-width: 360px) { .column-thumbnail{ display:none; } }' ); + } + } + + /** + * Adds portfolio section to the Customizer. + * + * @param WP_Customize_Manager $wp_customize Customizer instance. + */ + public function customize_register( $wp_customize ) { + $options = get_theme_support( self::CUSTOM_POST_TYPE ); + + if ( ( ! isset( $options[0]['title'] ) || true !== $options[0]['title'] ) && ( ! isset( $options[0]['content'] ) || true !== $options[0]['content'] ) && ( ! isset( $options[0]['featured-image'] ) || true !== $options[0]['featured-image'] ) ) { + return; + } + + $wp_customize->add_section( + 'jetpack_portfolio', + array( + 'title' => esc_html__( 'Portfolio', 'jetpack-classic-theme-helper' ), + 'theme_supports' => self::CUSTOM_POST_TYPE, + 'priority' => 130, + ) + ); + + if ( isset( $options[0]['title'] ) && true === $options[0]['title'] ) { + $wp_customize->add_setting( + 'jetpack_portfolio_title', + array( + 'default' => esc_html__( 'Projects', 'jetpack-classic-theme-helper' ), + 'type' => 'option', + 'sanitize_callback' => 'sanitize_text_field', + 'sanitize_js_callback' => 'sanitize_text_field', + ) + ); + + $wp_customize->add_control( + 'jetpack_portfolio_title', + array( + 'section' => 'jetpack_portfolio', + 'label' => esc_html__( 'Portfolio Archive Title', 'jetpack-classic-theme-helper' ), + 'type' => 'text', + ) + ); + } + + if ( isset( $options[0]['content'] ) && true === $options[0]['content'] ) { + $wp_customize->add_setting( + 'jetpack_portfolio_content', + array( + 'default' => '', + 'type' => 'option', + 'sanitize_callback' => 'wp_kses_post', + 'sanitize_js_callback' => 'wp_kses_post', + ) + ); + + $wp_customize->add_control( + 'jetpack_portfolio_content', + array( + 'section' => 'jetpack_portfolio', + 'label' => esc_html__( 'Portfolio Archive Content', 'jetpack-classic-theme-helper' ), + 'type' => 'textarea', + ) + ); + } + + if ( isset( $options[0]['featured-image'] ) && true === $options[0]['featured-image'] ) { + $wp_customize->add_setting( + 'jetpack_portfolio_featured_image', + array( + 'default' => '', + 'type' => 'option', + 'sanitize_callback' => 'attachment_url_to_postid', + 'sanitize_js_callback' => 'attachment_url_to_postid', + 'theme_supports' => 'post-thumbnails', + ) + ); + + $wp_customize->add_control( + new WP_Customize_Image_Control( + $wp_customize, + 'jetpack_portfolio_featured_image', + array( + 'section' => 'jetpack_portfolio', + 'label' => esc_html__( 'Portfolio Archive Featured Image', 'jetpack-classic-theme-helper' ), + ) + ) + ); + } + } + + /** + * Follow CPT reading setting on CPT archive and taxonomy pages + * + * @param WP_Query $query A WP_Query instance. + */ + public function query_reading_setting( $query ) { + if ( ( ! is_admin() || ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) ) + && $query->is_main_query() + && ( $query->is_post_type_archive( self::CUSTOM_POST_TYPE ) + || $query->is_tax( self::CUSTOM_TAXONOMY_TYPE ) + || $query->is_tax( self::CUSTOM_TAXONOMY_TAG ) ) + ) { + $query->set( 'posts_per_page', get_option( self::OPTION_READING_SETTING, '10' ) ); + } + } + + /** + * If Infinite Scroll is set to 'click', use our custom reading setting instead of core's `posts_per_page`. + * + * @param array $settings Array of Infinite Scroll settings. + */ + public function infinite_scroll_click_posts_per_page( $settings ) { + global $wp_query; + + if ( ( ! is_admin() || ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) ) + && true === $settings['click_handle'] + && ( $wp_query->is_post_type_archive( self::CUSTOM_POST_TYPE ) + || $wp_query->is_tax( self::CUSTOM_TAXONOMY_TYPE ) + || $wp_query->is_tax( self::CUSTOM_TAXONOMY_TAG ) ) + ) { + $settings['posts_per_page'] = get_option( self::OPTION_READING_SETTING, $settings['posts_per_page'] ); // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page + } + + return $settings; + } + + /** + * Filter the results of infinite scroll to make sure we get `lastbatch` right. + * + * @param array $results Array of Infinite Scroll results. + * @param array $query_args Array of main query arguments. + * @param WP_Query $query WP Query. + */ + public function infinite_scroll_results( $results, $query_args, $query ) { + $results['lastbatch'] = $query_args['paged'] >= $query->max_num_pages; + return $results; + } + + /** + * Add CPT to Dotcom sitemap + * + * @param array $post_types Array of post types included in sitemap. + */ + public function add_to_sitemap( $post_types ) { + $post_types[] = self::CUSTOM_POST_TYPE; + + return $post_types; + } + + /** + * Add to REST API post type allowed list. + * + * @param array $post_types Array of post types to add to the allowed list. Default to `array( 'post', 'page', 'revision' )`. + */ + public function allow_portfolio_rest_api_type( $post_types ) { + $post_types[] = self::CUSTOM_POST_TYPE; + + return $post_types; + } + + /** + * Our [portfolio] shortcode. + * Prints Portfolio data styled to look good on *any* theme. + * + * @param array $atts Shortcode attributes. + * + * @return string html + */ + public static function portfolio_shortcode( $atts ) { + // Default attributes. + $atts = shortcode_atts( + array( + 'display_types' => true, + 'display_tags' => true, + 'display_content' => true, // Can be false, true, or full. + 'display_author' => false, + 'show_filter' => false, + 'include_type' => false, + 'include_tag' => false, + 'columns' => 2, + 'showposts' => -1, + 'order' => 'asc', + 'orderby' => 'date', + ), + $atts, + 'portfolio' + ); + + /* + * A little sanitization for our shortcode attributes aiming to use booleans. + * Attributes can be booleans (from the default values) or strings. + */ + foreach ( $atts as $attribute_name => $attribute_value ) { + if ( preg_match( '#^(?:display_|show_)#i', $attribute_name ) ) { + // display_content is a special case. + if ( 'display_content' === $attribute_name && 'full' === $attribute_value ) { + $atts['display_content'] = 'full'; + continue; + } + + $atts[ $attribute_name ] = self::sanitize_boolean_attribute( $attribute_value ); + } + } + + if ( $atts['include_type'] ) { + $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); + } + + if ( $atts['include_tag'] ) { + $atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) ); + } + + $atts['columns'] = absint( $atts['columns'] ); + + $atts['showposts'] = (int) $atts['showposts']; + + if ( $atts['order'] ) { + $atts['order'] = urldecode( $atts['order'] ); + $atts['order'] = strtoupper( $atts['order'] ); + if ( 'DESC' !== $atts['order'] ) { + $atts['order'] = 'ASC'; + } + } + + if ( $atts['orderby'] ) { + $atts['orderby'] = urldecode( $atts['orderby'] ); + $atts['orderby'] = strtolower( $atts['orderby'] ); + $allowed_keys = array( 'author', 'date', 'title', 'rand' ); + + $parsed = array(); + foreach ( explode( ',', $atts['orderby'] ) as $orderby ) { + if ( ! in_array( $orderby, $allowed_keys, true ) ) { + continue; + } + $parsed[] = $orderby; + } + + if ( empty( $parsed ) ) { + unset( $atts['orderby'] ); + } else { + $atts['orderby'] = implode( ' ', $parsed ); + } + } + + // enqueue shortcode styles when shortcode is used. + if ( ! wp_style_is( 'jetpack-portfolio-style', 'enqueued' ) ) { + wp_enqueue_style( 'jetpack-portfolio-style', plugins_url( 'css/portfolio-shortcode.css', __FILE__ ), array(), '20140326' ); + } + + return self::portfolio_shortcode_html( $atts ); + } + + /** + * Sanitizes an attribute value. + * Attributes can be booleans (from the default values) or strings. + * + * @since 11.0 + * + * @param bool|string $attr Shortcode attribute value. + * + * @return bool + */ + private static function sanitize_boolean_attribute( $attr ) { + if ( $attr && 'true' == $attr ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual + return true; + } + + return false; + } + + /** + * Query to retrieve entries from the Portfolio post_type. + * + * @param array $atts Shortcode attributes. + * + * @return object + */ + private static function portfolio_query( $atts ) { + // Default query arguments. + $default = array( + 'order' => $atts['order'], + 'orderby' => $atts['orderby'], + 'posts_per_page' => $atts['showposts'], + ); + + $args = wp_parse_args( $atts, $default ); + $args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type. + + if ( $atts['include_type'] || $atts['include_tag'] ) { + $args['tax_query'] = array(); + } + + // If 'include_type' has been set use it on the main query. + if ( $atts['include_type'] ) { + array_push( + $args['tax_query'], + array( + 'taxonomy' => self::CUSTOM_TAXONOMY_TYPE, + 'field' => 'slug', + 'terms' => $atts['include_type'], + ) + ); + } + + // If 'include_tag' has been set use it on the main query. + if ( $atts['include_tag'] ) { + array_push( + $args['tax_query'], + array( + 'taxonomy' => self::CUSTOM_TAXONOMY_TAG, + 'field' => 'slug', + 'terms' => $atts['include_tag'], + ) + ); + } + + if ( $atts['include_type'] && $atts['include_tag'] ) { + $args['tax_query']['relation'] = 'AND'; + } + + // Run the query and return. + $query = new WP_Query( $args ); + return $query; + } + + /** + * The Portfolio shortcode loop. + * + * @todo add theme color styles + * + * @param array $atts Shortcode attributes. + * + * @return string html + */ + private static function portfolio_shortcode_html( $atts ) { + $query = self::portfolio_query( $atts ); + $portfolio_index_number = 0; + + ob_start(); + + /* + * If we have posts, create the html + * with portfolio markup + */ + if ( $query->have_posts() ) { + /* + * Render styles + * See self::themecolor_styles(); + */ + ?> +
+ have_posts() ) { + $query->the_post(); + $post_id = get_the_ID(); + ?> +
+
+ + +

+ + + +
+ + +
+ +
+ +
+ +
+ +

+ 'slugs' ) ); + $class = array(); + + $class[] = 'portfolio-entry-column-' . $columns; + // add a type- class for each project type. + foreach ( $project_types as $project_type ) { + $class[] = 'type-' . esc_html( $project_type ); + } + if ( $columns > 1 ) { + if ( ( $portfolio_index_number % 2 ) === 0 ) { + $class[] = 'portfolio-entry-mobile-first-item-row'; + } else { + $class[] = 'portfolio-entry-mobile-last-item-row'; + } + } + + // add first and last classes to first and last items in a row. + if ( ( $portfolio_index_number % $columns ) === 0 ) { + $class[] = 'portfolio-entry-first-item-row'; + } elseif ( ( $portfolio_index_number % $columns ) === ( $columns - 1 ) ) { + $class[] = 'portfolio-entry-last-item-row'; + } + + /** + * Filter the class applied to project div in the portfolio + * + * @module custom-content-types + * + * @since 3.1.0 + * + * @param string $class class name of the div. + * @param int $portfolio_index_number iterator count the number of columns up starting from 0. + * @param int $columns number of columns to display the content in. + */ + return apply_filters( + 'portfolio-project-post-class', // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores + implode( ' ', $class ), + $portfolio_index_number, + $columns + ); + } + + /** + * Displays the project type that a project belongs to. + * + * @param int $post_id Post ID. + * + * @return string html + */ + private static function get_project_type( $post_id ) { + $project_types = get_the_terms( $post_id, self::CUSTOM_TAXONOMY_TYPE ); + + // If no types, return empty string. + if ( empty( $project_types ) || is_wp_error( $project_types ) ) { + return ''; + } + + $html = '
' . __( 'Types:', 'jetpack-classic-theme-helper' ) . ''; + $types = array(); + // Loop through all the types. + foreach ( $project_types as $project_type ) { + $project_type_link = get_term_link( $project_type, self::CUSTOM_TAXONOMY_TYPE ); + + if ( is_wp_error( $project_type_link ) ) { + return $project_type_link; + } + + $types[] = ''; + } + $html .= ' ' . implode( ', ', $types ); + $html .= '
'; + + return $html; + } + + /** + * Displays the project tags that a project belongs to. + * + * @param int $post_id Post ID. + * + * @return string html + */ + private static function get_project_tags( $post_id ) { + $project_tags = get_the_terms( $post_id, self::CUSTOM_TAXONOMY_TAG ); + + // If no tags, return empty string. + if ( empty( $project_tags ) || is_wp_error( $project_tags ) ) { + return ''; + } + + $html = '
' . __( 'Tags:', 'jetpack-classic-theme-helper' ) . ''; + $tags = array(); + // Loop through all the tags. + foreach ( $project_tags as $project_tag ) { + $project_tag_link = get_term_link( $project_tag, self::CUSTOM_TAXONOMY_TYPE ); + + if ( is_wp_error( $project_tag_link ) ) { + return $project_tag_link; + } + + $tags[] = ''; + } + $html .= ' ' . implode( ', ', $tags ); + $html .= '
'; + + return $html; + } + + /** + * Displays the author of the current portfolio project. + * + * @return string html + */ + private static function get_project_author() { + $html = '
'; + $html .= sprintf( + /* translators: %1$s is link to author posts, %2$s is author display name */ + __( 'Author: %2$s', 'jetpack-classic-theme-helper' ), + esc_url( get_author_posts_url( (int) get_the_author_meta( 'ID' ) ) ), + esc_html( get_the_author() ) + ); + $html .= '
'; + + return $html; + } + + /** + * Display the featured image if it's available + * + * @param int $post_id Post ID. + * + * @return string html + */ + private static function get_portfolio_thumbnail_link( $post_id ) { + if ( has_post_thumbnail( $post_id ) ) { + /** + * Change the Portfolio thumbnail size. + * + * @module custom-content-types + * + * @since 3.4.0 + * + * @param string|array $var Either a registered size keyword or size array. + */ + return '' . get_the_post_thumbnail( $post_id, apply_filters( 'jetpack_portfolio_thumbnail_size', 'large' ) ) . ''; + } + } + } +} diff --git a/vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/portfolio-shortcode.css b/vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/portfolio-shortcode.css new file mode 100644 index 00000000..b3c2c1e3 --- /dev/null +++ b/vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/portfolio-shortcode.css @@ -0,0 +1,131 @@ +.jetpack-portfolio-shortcode { + clear: both; + margin: 0; + overflow: hidden; + padding: 0; +} + +.portfolio-entry { + float: left; + margin: 0 0 3em; + padding: 0; + width: 100%; +} + +/* Column setting */ +.portfolio-entry-column-1 { + width: 100%; +} + +.portfolio-entry-column-2 { + margin-right: 4%; + width: 48%; +} + +.portfolio-entry-column-3 { + margin-right: 3.5%; + width: 31%; +} + +.portfolio-entry-column-4 { + margin-right: 3%; + width: 22%; +} + +.portfolio-entry-column-5 { + margin-right: 2.5%; + width: 18%; +} + +.portfolio-entry-column-6 { + margin-right: 2%; + width: 15%; +} +.portfolio-entry-first-item-row { + clear: both; +} +.portfolio-entry-last-item-row { + margin-right: 0; +} + +@media screen and (max-width:768px) { + .portfolio-entry-mobile-first-item-row{ + margin-right: 4%; + width: 48%; + clear:both; + } + .portfolio-entry-first-item-row { + clear:none; + } + .portfolio-entry-mobile-last-item-row{ + width: 48%; + margin-right: 0; + } +} +/* Entry Header */ +.portfolio-entry-header { + border: 0; + margin: 0; + padding: 0; +} + +.portfolio-featured-image { + margin: 0; + padding: 0; +} + +.portfolio-featured-image img { + border: 0; + height: auto; + max-width: 100%; + vertical-align: middle; +} + +.portfolio-entry-title { + font-weight: 700; + margin: 0; + padding: 0; +} + +.portfolio-featured-image + .portfolio-entry-title { + margin-top: 1.0em; +} + +.portfolio-entry-title a { + border: 0; + text-decoration: none; +} + +/* Entry Meta */ +.portfolio-entry-meta { + margin: 0; + padding: 0; +} + +.portfolio-entry-title + .portfolio-entry-meta { + margin-top: 0.75em; +} + +.portfolio-entry-title + .portfolio-entry-meta:empty { + margin: 0; +} + +.portfolio-entry-meta span, +.portfolio-entry-meta a { + font-size: 0.9em; + padding: 0; +} + +.portfolio-entry-meta a { + border: 0; + text-decoration: none; +} +/* Entry Content */ +.portfolio-entry-content { + margin: 0.75em 0 0; + padding: 0; +} + +.portfolio-entry-content > :last-child { + margin: 0; +} \ No newline at end of file diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 4e52a991..8c1d362f 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -34,6 +34,7 @@ 'Automattic\\Jetpack\\Blocks' => $vendorDir . '/automattic/jetpack-blocks/src/class-blocks.php', 'Automattic\\Jetpack\\Calypsoify\\Jetpack_Calypsoify' => $vendorDir . '/automattic/jetpack-calypsoify/src/class-jetpack-calypsoify.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Featured_Content' => $vendorDir . '/automattic/jetpack-classic-theme-helper/src/class-featured-content.php', + 'Automattic\\Jetpack\\Classic_Theme_Helper\\Jetpack_Portfolio' => $vendorDir . '/automattic/jetpack-classic-theme-helper/src/custom-post-types/class-jetpack-portfolio.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Main' => $vendorDir . '/automattic/jetpack-classic-theme-helper/src/class-main.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links' => $vendorDir . '/automattic/jetpack-classic-theme-helper/src/class-social-links.php', 'Automattic\\Jetpack\\Connection\\Authorize_Json_Api' => $vendorDir . '/automattic/jetpack-connection/src/class-authorize-json-api.php', diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 57d2b859..694a5c36 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -53,6 +53,7 @@ class ComposerStaticInitd9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_plugin 'Automattic\\Jetpack\\Blocks' => __DIR__ . '/..' . '/automattic/jetpack-blocks/src/class-blocks.php', 'Automattic\\Jetpack\\Calypsoify\\Jetpack_Calypsoify' => __DIR__ . '/..' . '/automattic/jetpack-calypsoify/src/class-jetpack-calypsoify.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Featured_Content' => __DIR__ . '/..' . '/automattic/jetpack-classic-theme-helper/src/class-featured-content.php', + 'Automattic\\Jetpack\\Classic_Theme_Helper\\Jetpack_Portfolio' => __DIR__ . '/..' . '/automattic/jetpack-classic-theme-helper/src/custom-post-types/class-jetpack-portfolio.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Main' => __DIR__ . '/..' . '/automattic/jetpack-classic-theme-helper/src/class-main.php', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links' => __DIR__ . '/..' . '/automattic/jetpack-classic-theme-helper/src/class-social-links.php', 'Automattic\\Jetpack\\Connection\\Authorize_Json_Api' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-authorize-json-api.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 57d66762..54e781c1 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "1fa8d814ece34c5214863ef787041577d22dd0fa" + "reference": "6809dd4d8929e79c08273f80443a9c320887bbb3" }, "require": { "php": ">=7.0" @@ -60,7 +60,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "3a57cf3b6122aa82e9a6650a007f09711602e671" + "reference": "f3bc343044c15e028b91090fd79d628a7b72d9a4" }, "require": { "php": ">=7.0" @@ -125,7 +125,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "a7bda3bf84eda3c9d42d213393aa83bbdf0119e4" + "reference": "eb47522d1ea8e733042dfa55511b1dcaed805dea" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -194,7 +194,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "5629f91b49e6c3c974ee41f10532ecdda9b11f5b" + "reference": "91833b26bbcaf8be1b333fee5b344f9f5788568f" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -275,7 +275,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "d5e61b72a0835f6ebde3dc5000c4be23e1eb388c" + "reference": "b2eb1a18489c72eaa8f72e978a847e24a37225ac" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -337,7 +337,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "1e9b42469a5d98ce3c34268b979ef92bd70c2515" + "reference": "cd9cc2021ead58782a3d90e208a6425295190807" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -397,12 +397,12 @@ }, { "name": "automattic/jetpack-classic-theme-helper", - "version": "0.5.4-alpha.1724853317", - "version_normalized": "0.5.4.0-alpha1724853317", + "version": "0.5.4-alpha.1724943105", + "version_normalized": "0.5.4.0-alpha1724943105", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "b93954b8a9f8ecc7f77545a986b8d2f5d1f512dd" + "reference": "e6fb3f851c8f9557b9b27cab9a04264993b4f63b" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -473,7 +473,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "b3e9c82070a8fd001516c0d154d652313dae91eb" + "reference": "2035305f72cdea18de092d4fc9b1a8eb704b0913" }, "require": { "php": ">=7.0" @@ -513,7 +513,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "bccbb0356b18487f03e0f4df407d470c880f286d" + "reference": "418e5a366e0edcc24966f1ed7d483242b3b78cf2" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -600,7 +600,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "97858a7a9c0dccf5e1a3cf4a26cccf27bf5409a6" + "reference": "7f4d28ea7f11dc45d39dd4612a407b60a5a40213" }, "require": { "php": ">=7.0" @@ -654,7 +654,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "d386f345b4c90acf80e54e548a88adea1affe22c" + "reference": "4dc9bb8a395ef1478d00b0c9435ba3f2eed73f9c" }, "require": { "php": ">=7.0" @@ -707,7 +707,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "1cfc621d8cb261534fe5dc314e3a215e5f4996a1" + "reference": "6cdc643b2fcdefb7fb3c748727e3bd1934458406" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -778,7 +778,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "f72cc97a5ebed65d6951ec5c17c8a085908c5f5b" + "reference": "7b7515207beb6278718495b4012c7b6387400916" }, "require": { "php": ">=7.0" @@ -836,7 +836,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "4ba464f009ad83b27c0b490ac639fd4e22b699b1" + "reference": "01e41455fd29cef50445c3f44f749f970c55580c" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -911,7 +911,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "f0d350614ef2d1b7da5b8bcd64a1cb1e2035fc23" + "reference": "e1943251f4a332ce357f58b0c2a2128a4941e1d7" }, "require": { "php": ">=7.0" @@ -964,7 +964,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "33b9a4262334ed847ece8fb1d1041a51b7ce5de5" + "reference": "f6b26dd24b78c5e735208251cd162617f946e181" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -1046,7 +1046,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "15ad5fae44ea55ce60decc3b327be98a7febed22" + "reference": "ec9f2800ceeb466260f500c4e0a95e5260e25c6d" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -1129,7 +1129,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "11596da9215170889b2b2e472bccdc594ace144f" + "reference": "ad675eba5da760588827efba22d3e73b77ef3b8f" }, "require": { "php": ">=7.0" @@ -1190,7 +1190,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "bbc2589178acfe6823fee78bc6bd9608ce41b234" + "reference": "4a47d7fa11a83c8f0deddeeb6dea5316e3e8e16c" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1258,7 +1258,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "78ebbe5abacee88efd508ae27ba237a1c30b4eb4" + "reference": "cad9ee289eefd7c5d4f51f35975d23b3b16f58f1" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -1313,7 +1313,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "8da262aeb13fe7dfc2b3ed5e11c101ddd15d8773" + "reference": "e59e847afacb22871aa5b7d6dde4ad8c940536d8" }, "require": { "php": ">=7.0" @@ -1367,7 +1367,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "78df78d7c82acb47bf4f6e5baf2cf1d2a5362d5d" + "reference": "af6a022c26987c983e2107af226a79f0c2753dee" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1434,7 +1434,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "34635621369e83dacccde884fb1b16765af138ca" + "reference": "76698d1282de072cb97c60e1f2a709d43480a985" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1507,7 +1507,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "a755d6b1be50d0c5077afd2afa6bea8c42fb2850" + "reference": "972b75cc0c6c2ad82cfb7260200c8f382659d146" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1571,7 +1571,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "c60117021615ca619d59a947be10d6c51590ee6b" + "reference": "65de9870cda39d378e2922888b9670dd23fa6fd6" }, "require": { "automattic/jetpack-connection": "^2.12.5", @@ -1649,7 +1649,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "daa6e0f215a473517517d84f65e40a1b7295d96c" + "reference": "38d5b062c7db93c587dd1a6dd9f845d77b7d149a" }, "require": { "automattic/jetpack-connection": "^2.12.5", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 3a048dc8..0a6f4775 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '2.0.2', 'version' => '2.0.2.0', - 'reference' => '1fa8d814ece34c5214863ef787041577d22dd0fa', + 'reference' => '6809dd4d8929e79c08273f80443a9c320887bbb3', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.4.4', 'version' => '0.4.4.0', - 'reference' => '3a57cf3b6122aa82e9a6650a007f09711602e671', + 'reference' => 'f3bc343044c15e028b91090fd79d628a7b72d9a4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '2.3.5', 'version' => '2.3.5.0', - 'reference' => 'a7bda3bf84eda3c9d42d213393aa83bbdf0119e4', + 'reference' => 'eb47522d1ea8e733042dfa55511b1dcaed805dea', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-blaze' => array( 'pretty_version' => '0.22.8-alpha.1724853317', 'version' => '0.22.8.0-alpha1724853317', - 'reference' => '5629f91b49e6c3c974ee41f10532ecdda9b11f5b', + 'reference' => '91833b26bbcaf8be1b333fee5b344f9f5788568f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-blaze', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-blocks' => array( 'pretty_version' => '2.0.5', 'version' => '2.0.5.0', - 'reference' => 'd5e61b72a0835f6ebde3dc5000c4be23e1eb388c', + 'reference' => 'b2eb1a18489c72eaa8f72e978a847e24a37225ac', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-blocks', 'aliases' => array(), @@ -58,16 +58,16 @@ 'automattic/jetpack-calypsoify' => array( 'pretty_version' => '0.1.5-alpha.1724853317', 'version' => '0.1.5.0-alpha1724853317', - 'reference' => '1e9b42469a5d98ce3c34268b979ef92bd70c2515', + 'reference' => 'cd9cc2021ead58782a3d90e208a6425295190807', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-calypsoify', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-classic-theme-helper' => array( - 'pretty_version' => '0.5.4-alpha.1724853317', - 'version' => '0.5.4.0-alpha1724853317', - 'reference' => 'b93954b8a9f8ecc7f77545a986b8d2f5d1f512dd', + 'pretty_version' => '0.5.4-alpha.1724943105', + 'version' => '0.5.4.0-alpha1724943105', + 'reference' => 'e6fb3f851c8f9557b9b27cab9a04264993b4f63b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-classic-theme-helper', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-compat' => array( 'pretty_version' => '3.0.2', 'version' => '3.0.2.0', - 'reference' => 'b3e9c82070a8fd001516c0d154d652313dae91eb', + 'reference' => '2035305f72cdea18de092d4fc9b1a8eb704b0913', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-compat', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '2.12.5', 'version' => '2.12.5.0', - 'reference' => 'bccbb0356b18487f03e0f4df407d470c880f286d', + 'reference' => '418e5a366e0edcc24966f1ed7d483242b3b78cf2', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-connection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '97858a7a9c0dccf5e1a3cf4a26cccf27bf5409a6', + 'reference' => '7f4d28ea7f11dc45d39dd4612a407b60a5a40213', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-constants', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '2.1.4', 'version' => '2.1.4.0', - 'reference' => 'd386f345b4c90acf80e54e548a88adea1affe22c', + 'reference' => '4dc9bb8a395ef1478d00b0c9435ba3f2eed73f9c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-device-detection', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-google-analytics' => array( 'pretty_version' => '0.2.3', 'version' => '0.2.3.0', - 'reference' => '1cfc621d8cb261534fe5dc314e3a215e5f4996a1', + 'reference' => '6cdc643b2fcdefb7fb3c748727e3bd1934458406', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-google-analytics', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.2.3', 'version' => '0.2.3.0', - 'reference' => 'f72cc97a5ebed65d6951ec5c17c8a085908c5f5b', + 'reference' => '7b7515207beb6278718495b4012c7b6387400916', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-ip', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '3.1.19', 'version' => '3.1.19.0', - 'reference' => '4ba464f009ad83b27c0b490ac639fd4e22b699b1', + 'reference' => '01e41455fd29cef50445c3f44f749f970c55580c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-jitm', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => 'f0d350614ef2d1b7da5b8bcd64a1cb1e2035fc23', + 'reference' => 'e1943251f4a332ce357f58b0c2a2128a4941e1d7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-logo', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-masterbar' => array( 'pretty_version' => '0.8.1-alpha.1724853317', 'version' => '0.8.1.0-alpha1724853317', - 'reference' => '33b9a4262334ed847ece8fb1d1041a51b7ce5de5', + 'reference' => 'f6b26dd24b78c5e735208251cd162617f946e181', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-masterbar', 'aliases' => array(), @@ -157,7 +157,7 @@ 'automattic/jetpack-mu-wpcom' => array( 'pretty_version' => '5.59.1-alpha.1724853317', 'version' => '5.59.1.0-alpha1724853317', - 'reference' => '15ad5fae44ea55ce60decc3b327be98a7febed22', + 'reference' => 'ec9f2800ceeb466260f500c4e0a95e5260e25c6d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => '11596da9215170889b2b2e472bccdc594ace144f', + 'reference' => 'ad675eba5da760588827efba22d3e73b77ef3b8f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-password-checker', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.4.8', 'version' => '0.4.8.0', - 'reference' => 'bbc2589178acfe6823fee78bc6bd9608ce41b234', + 'reference' => '4a47d7fa11a83c8f0deddeeb6dea5316e3e8e16c', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '78ebbe5abacee88efd508ae27ba237a1c30b4eb4', + 'reference' => 'cad9ee289eefd7c5d4f51f35975d23b3b16f58f1', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-redirect', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '8da262aeb13fe7dfc2b3ed5e11c101ddd15d8773', + 'reference' => 'e59e847afacb22871aa5b7d6dde4ad8c940536d8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-roles', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.13.1', 'version' => '0.13.1.0', - 'reference' => '78df78d7c82acb47bf4f6e5baf2cf1d2a5362d5d', + 'reference' => 'af6a022c26987c983e2107af226a79f0c2753dee', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-stats', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-stats-admin' => array( 'pretty_version' => '0.21.1', 'version' => '0.21.1.0', - 'reference' => '34635621369e83dacccde884fb1b16765af138ca', + 'reference' => '76698d1282de072cb97c60e1f2a709d43480a985', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-stats-admin', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '3.3.4', 'version' => '3.3.4.0', - 'reference' => 'a755d6b1be50d0c5077afd2afa6bea8c42fb2850', + 'reference' => '972b75cc0c6c2ad82cfb7260200c8f382659d146', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-status', 'aliases' => array(), @@ -238,7 +238,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '3.9.0-alpha.1724928414', 'version' => '3.9.0.0-alpha1724928414', - 'reference' => 'c60117021615ca619d59a947be10d6c51590ee6b', + 'reference' => '65de9870cda39d378e2922888b9670dd23fa6fd6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-sync', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/scheduled-updates' => array( 'pretty_version' => '0.13.2', 'version' => '0.13.2.0', - 'reference' => 'daa6e0f215a473517517d84f65e40a1b7295d96c', + 'reference' => '38d5b062c7db93c587dd1a6dd9f845d77b7d149a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/scheduled-updates', 'aliases' => array(),