From dd95c943cbb888f69829c96534328540d5d0424c Mon Sep 17 00:00:00 2001
From: Lai Power
Date: Wed, 9 Oct 2024 12:47:34 +0000
Subject: [PATCH] deleted file `wwa-version.php`
---
.../plugins/activitypub/LICENSE | 22 -
.../plugins/activitypub/activitypub.php | 239 -
.../assets/css/activitypub-admin.css | 204 -
.../plugins/activitypub/assets/img/mp.jpg | Bin 3337 -> 0 bytes
.../activitypub/assets/img/wp-logo.png | Bin 11836 -> 0 bytes
.../assets/js/activitypub-admin.js | 21 -
.../activitypub/build/follow-me/block.json | 47 -
.../build/follow-me/index.asset.php | 1 -
.../activitypub/build/follow-me/index.js | 1 -
.../build/follow-me/style-view-rtl.css | 1 -
.../build/follow-me/style-view.css | 1 -
.../build/follow-me/view.asset.php | 1 -
.../activitypub/build/follow-me/view.js | 1 -
.../activitypub/build/followers/block.json | 57 -
.../build/followers/index.asset.php | 1 -
.../activitypub/build/followers/index.js | 3 -
.../build/followers/style-view-rtl.css | 1 -
.../build/followers/style-view.css | 1 -
.../build/followers/view.asset.php | 1 -
.../activitypub/build/followers/view.js | 3 -
.../activitypub/build/remote-reply/block.json | 11 -
.../build/remote-reply/index.asset.php | 1 -
.../activitypub/build/remote-reply/index.js | 1 -
.../build/remote-reply/style-index-rtl.css | 1 -
.../build/remote-reply/style-index.css | 1 -
.../includes/activity/class-activity.php | 191 -
.../includes/activity/class-actor.php | 174 -
.../includes/activity/class-base-object.php | 714 --
.../activity/extended-object/class-event.php | 340 -
.../activity/extended-object/class-place.php | 93 -
.../includes/class-activity-dispatcher.php | 238 -
.../includes/class-activitypub.php | 561 --
.../activitypub/includes/class-admin.php | 649 --
.../activitypub/includes/class-blocks.php | 159 -
.../activitypub/includes/class-comment.php | 465 --
.../activitypub/includes/class-debug.php | 37 -
.../activitypub/includes/class-handler.php | 35 -
.../activitypub/includes/class-hashtag.php | 119 -
.../includes/class-health-check.php | 365 -
.../activitypub/includes/class-http.php | 251 -
.../activitypub/includes/class-mention.php | 183 -
.../activitypub/includes/class-migration.php | 287 -
.../includes/class-notification.php | 58 -
.../activitypub/includes/class-scheduler.php | 348 -
.../activitypub/includes/class-shortcodes.php | 598 --
.../activitypub/includes/class-signature.php | 510 --
.../activitypub/includes/class-webfinger.php | 287 -
.../includes/collection/class-followers.php | 432 --
.../collection/class-interactions.php | 247 -
.../includes/collection/class-users.php | 278 -
.../plugins/activitypub/includes/compat.php | 99 -
.../plugins/activitypub/includes/debug.php | 17 -
.../activitypub/includes/functions.php | 1045 ---
.../includes/handler/class-announce.php | 69 -
.../includes/handler/class-create.php | 70 -
.../includes/handler/class-delete.php | 178 -
.../includes/handler/class-follow.php | 119 -
.../includes/handler/class-undo.php | 50 -
.../includes/handler/class-update.php | 95 -
.../plugins/activitypub/includes/help.php | 75 -
.../includes/model/class-application.php | 204 -
.../activitypub/includes/model/class-blog.php | 405 -
.../includes/model/class-follower.php | 395 -
.../activitypub/includes/model/class-post.php | 136 -
.../activitypub/includes/model/class-user.php | 336 -
.../includes/rest/class-actors.php | 150 -
.../includes/rest/class-collection.php | 228 -
.../includes/rest/class-comment.php | 95 -
.../includes/rest/class-followers.php | 150 -
.../includes/rest/class-following.php | 132 -
.../activitypub/includes/rest/class-inbox.php | 328 -
.../includes/rest/class-nodeinfo.php | 187 -
.../includes/rest/class-outbox.php | 162 -
.../includes/rest/class-server.php | 127 -
.../includes/rest/class-webfinger.php | 145 -
.../includes/table/class-followers.php | 178 -
.../includes/transformer/class-attachment.php | 61 -
.../includes/transformer/class-base.php | 124 -
.../includes/transformer/class-comment.php | 292 -
.../includes/transformer/class-factory.php | 80 -
.../includes/transformer/class-post.php | 881 ---
.../integration/class-buddypress.php | 76 -
.../class-enable-mastodon-apps.php | 468 --
.../activitypub/integration/class-jetpack.php | 21 -
.../integration/class-nodeinfo.php | 83 -
.../integration/class-opengraph.php | 107 -
.../integration/class-webfinger.php | 69 -
.../plugins/activitypub/readme.txt | 233 -
.../activitypub/templates/admin-header.php | 27 -
.../activitypub/templates/author-json.php | 15 -
.../activitypub/templates/blog-json.php | 15 -
.../templates/blog-user-followers-list.php | 28 -
.../activitypub/templates/comment-json.php | 23 -
.../activitypub/templates/post-json.php | 25 -
.../activitypub/templates/settings.php | 270 -
.../templates/user-followers-list.php | 21 -
.../activitypub/templates/user-settings.php | 67 -
.../plugins/activitypub/templates/welcome.php | 162 -
.../plugins/gitium/functions.php | 420 -
.../plugins/gitium/gitium-webhook.php | 49 -
.../plugins/gitium/gitium.php | 374 -
.../plugins/gitium/img/gitium.png | Bin 540 -> 0 bytes
.../plugins/gitium/img/gitium.svg | 26 -
.../plugins/gitium/inc/class-git-wrapper.php | 671 --
.../plugins/gitium/inc/class-gitium-admin.php | 53 -
.../plugins/gitium/inc/class-gitium-help.php | 107 -
.../gitium/inc/class-gitium-menu-bubble.php | 55 -
.../plugins/gitium/inc/class-gitium-menu.php | 97 -
.../gitium/inc/class-gitium-requirements.php | 117 -
.../inc/class-gitium-submenu-commits.php | 94 -
.../inc/class-gitium-submenu-configure.php | 253 -
.../inc/class-gitium-submenu-settings.php | 139 -
.../inc/class-gitium-submenu-status.php | 236 -
.../plugins/gitium/inc/ssh-git | 8 -
.../plugins/gitium/languages/gitium-es_ES.mo | Bin 13284 -> 0 bytes
.../plugins/gitium/languages/gitium-es_ES.po | 546 --
.../plugins/gitium/languages/gitium-sr_RS.mo | Bin 12978 -> 0 bytes
.../plugins/gitium/languages/gitium-sr_RS.po | 538 --
.../plugins/gitium/languages/gitium.pot | 489 --
.../plugins/gitium/readme.txt | 267 -
.../gp-premium/backgrounds/functions/css.php | 134 -
.../backgrounds/functions/functions.php | 1342 ----
.../functions/secondary-nav-backgrounds.php | 420 -
.../backgrounds/generate-backgrounds.php | 19 -
.../gp-premium/blog/functions/columns.php | 169 -
.../gp-premium/blog/functions/css/columns.css | 149 -
.../blog/functions/css/columns.min.css | 1 -
.../blog/functions/css/featured-images.css | 104 -
.../functions/css/featured-images.min.css | 1 -
.../gp-premium/blog/functions/css/style.css | 254 -
.../blog/functions/css/style.min.css | 1 -
.../gp-premium/blog/functions/customizer.php | 1181 ---
.../gp-premium/blog/functions/defaults.php | 58 -
.../blog/functions/generate-blog.php | 754 --
.../gp-premium/blog/functions/images.php | 369 -
.../gp-premium/blog/functions/js/controls.js | 98 -
.../blog/functions/js/customizer.js | 76 -
.../functions/js/infinite-scroll.pkgd.min.js | 12 -
.../gp-premium/blog/functions/js/scripts.js | 100 -
.../blog/functions/js/scripts.min.js | 1 -
.../gp-premium/blog/functions/migrate.php | 122 -
.../plugins/gp-premium/blog/generate-blog.php | 20 -
.../gp-premium/colors/functions/functions.php | 1583 ----
.../colors/functions/js/customizer.js | 620 --
.../functions/js/menu-plus-customizer.js | 102 -
.../colors/functions/js/wc-customizer.js | 161 -
.../colors/functions/secondary-nav-colors.php | 403 -
.../colors/functions/slideout-nav-colors.php | 400 -
.../colors/functions/woocommerce-colors.php | 911 ---
.../gp-premium/colors/generate-colors.php | 20 -
.../copyright/functions/functions.php | 223 -
.../copyright/functions/js/customizer.js | 18 -
.../copyright/generate-copyright.php | 20 -
.../disable-elements/functions/functions.php | 426 -
.../generate-disable-elements.php | 20 -
.../gp-premium/dist/block-elements.asset.php | 1 -
.../gp-premium/dist/block-elements.css | 7 -
.../plugins/gp-premium/dist/block-elements.js | 3 -
.../gp-premium/dist/customizer.asset.php | 1 -
.../plugins/gp-premium/dist/customizer.js | 1 -
.../gp-premium/dist/dashboard.asset.php | 1 -
.../plugins/gp-premium/dist/dashboard.js | 1 -
.../plugins/gp-premium/dist/editor.asset.php | 1 -
.../plugins/gp-premium/dist/editor.css | 1 -
.../plugins/gp-premium/dist/editor.js | 1 -
.../gp-premium/dist/site-library.asset.php | 1 -
.../plugins/gp-premium/dist/site-library.css | 1 -
.../plugins/gp-premium/dist/site-library.js | 6 -
.../gp-premium/dist/style-dashboard.css | 4 -
.../assets/admin/author-image-placeholder.png | Bin 138 -> 0 bytes
.../admin/background-image-fallback.jpg | Bin 45015 -> 0 bytes
.../elements/assets/admin/balloon.css | 211 -
.../elements/assets/admin/elements.css | 82 -
.../elements/assets/admin/elements.js | 29 -
.../admin/featured-image-placeholder.png | Bin 200 -> 0 bytes
.../elements/assets/admin/metabox.css | 396 -
.../elements/assets/admin/metabox.js | 424 -
.../elements/assets/admin/spinner.gif | Bin 4162 -> 0 bytes
.../gp-premium/elements/assets/js/parallax.js | 17 -
.../elements/assets/js/parallax.min.js | 1 -
.../elements/class-block-elements.php | 1789 -----
.../gp-premium/elements/class-block.php | 469 --
.../gp-premium/elements/class-conditions.php | 447 --
.../elements/class-elements-helper.php | 527 --
.../gp-premium/elements/class-hero.php | 1041 ---
.../gp-premium/elements/class-hooks.php | 223 -
.../gp-premium/elements/class-layout.php | 550 --
.../gp-premium/elements/class-metabox.php | 2245 ------
.../gp-premium/elements/class-post-type.php | 508 --
.../plugins/gp-premium/elements/elements.php | 289 -
.../general/class-external-file-css.php | 449 --
.../gp-premium/general/enqueue-scripts.php | 81 -
.../plugins/gp-premium/general/icons.php | 87 -
.../gp-premium/general/icons/gp-premium.eot | Bin 3020 -> 0 bytes
.../gp-premium/general/icons/gp-premium.svg | 20 -
.../gp-premium/general/icons/gp-premium.ttf | Bin 2856 -> 0 bytes
.../gp-premium/general/icons/gp-premium.woff | Bin 2932 -> 0 bytes
.../gp-premium/general/icons/icons.css | 10 -
.../gp-premium/general/icons/icons.min.css | 1 -
.../gp-premium/general/js/smooth-scroll.js | 743 --
.../general/js/smooth-scroll.min.js | 1 -
.../gp-premium/general/smooth-scroll.php | 103 -
.../plugins/gp-premium/gp-premium.php | 307 -
.../hooks/functions/assets/css/hooks.css | 59 -
.../hooks/functions/assets/js/admin.js | 38 -
.../functions/assets/js/jquery.cookie.js | 165 -
.../gp-premium/hooks/functions/functions.php | 542 --
.../gp-premium/hooks/functions/hooks.php | 171 -
.../gp-premium/hooks/generate-hooks.php | 21 -
.../gp-premium/inc/class-dashboard.php | 401 -
.../plugins/gp-premium/inc/class-rest.php | 570 --
.../gp-premium/inc/deprecated-admin.php | 790 --
.../plugins/gp-premium/inc/deprecated.php | 718 --
.../plugins/gp-premium/inc/functions.php | 152 -
.../gp-premium/inc/legacy/activation.php | 623 --
.../inc/legacy/assets/dashboard.css | 199 -
.../gp-premium/inc/legacy/assets/dashboard.js | 48 -
.../gp-premium/inc/legacy/dashboard.php | 47 -
.../gp-premium/inc/legacy/import-export.php | 371 -
.../plugins/gp-premium/inc/legacy/reset.php | 273 -
.../plugins/gp-premium/langs/gp-premium-ar.mo | Bin 32088 -> 0 bytes
.../gp-premium/langs/gp-premium-bn_BD.mo | Bin 42410 -> 0 bytes
.../gp-premium/langs/gp-premium-cs_CZ.mo | Bin 10096 -> 0 bytes
.../gp-premium/langs/gp-premium-da_DK.mo | Bin 28026 -> 0 bytes
...e_DE-42da344ccb044413769d16ed3484307b.json | 1 -
...e_DE-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...e_DE-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...e_DE-cbab080b0f20fd6c323029398be6c986.json | 1 -
...e_DE-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../gp-premium/langs/gp-premium-de_DE.mo | Bin 59453 -> 0 bytes
.../gp-premium/langs/gp-premium-es_AR.mo | Bin 26952 -> 0 bytes
...s_ES-42da344ccb044413769d16ed3484307b.json | 1 -
...s_ES-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...s_ES-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...s_ES-cbab080b0f20fd6c323029398be6c986.json | 1 -
...s_ES-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../gp-premium/langs/gp-premium-es_ES.mo | Bin 60021 -> 0 bytes
...m-fi-42da344ccb044413769d16ed3484307b.json | 1 -
...m-fi-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...m-fi-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...m-fi-cbab080b0f20fd6c323029398be6c986.json | 1 -
...m-fi-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../plugins/gp-premium/langs/gp-premium-fi.mo | Bin 59738 -> 0 bytes
...r_FR-42da344ccb044413769d16ed3484307b.json | 1 -
...r_FR-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...r_FR-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
.../gp-premium/langs/gp-premium-fr_FR.mo | Bin 39934 -> 0 bytes
.../plugins/gp-premium/langs/gp-premium-hr.mo | Bin 27851 -> 0 bytes
.../gp-premium/langs/gp-premium-hu_HU.mo | Bin 52216 -> 0 bytes
.../gp-premium/langs/gp-premium-it_IT.mo | Bin 39606 -> 0 bytes
.../gp-premium/langs/gp-premium-nb_NO.mo | Bin 25382 -> 0 bytes
...l_NL-42da344ccb044413769d16ed3484307b.json | 1 -
...l_NL-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...l_NL-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...l_NL-cbab080b0f20fd6c323029398be6c986.json | 1 -
...l_NL-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../gp-premium/langs/gp-premium-nl_NL.mo | Bin 57471 -> 0 bytes
.../gp-premium/langs/gp-premium-pl_PL.mo | Bin 30953 -> 0 bytes
.../gp-premium/langs/gp-premium-pt_BR.mo | Bin 54588 -> 0 bytes
...t_PT-42da344ccb044413769d16ed3484307b.json | 1 -
...t_PT-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...t_PT-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
.../gp-premium/langs/gp-premium-pt_PT.mo | Bin 36676 -> 0 bytes
...u_RU-42da344ccb044413769d16ed3484307b.json | 1 -
...u_RU-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...u_RU-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...u_RU-cbab080b0f20fd6c323029398be6c986.json | 1 -
...u_RU-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../gp-premium/langs/gp-premium-ru_RU.mo | Bin 77631 -> 0 bytes
...v_SE-42da344ccb044413769d16ed3484307b.json | 1 -
...v_SE-53e2a1d5945b8d2b1c35e81ae1e532f3.json | 1 -
...v_SE-92fa58377f1b6f7bef9c785c31ae29ff.json | 1 -
...v_SE-cbab080b0f20fd6c323029398be6c986.json | 1 -
...v_SE-ecf9f3c2af10c4f2dfbf4f42504922d1.json | 1 -
.../gp-premium/langs/gp-premium-sv_SE.mo | Bin 50196 -> 0 bytes
.../plugins/gp-premium/langs/gp-premium-uk.mo | Bin 26349 -> 0 bytes
.../plugins/gp-premium/langs/gp-premium-vi.mo | Bin 31417 -> 0 bytes
.../gp-premium/langs/gp-premium-zh_CN.mo | Bin 53253 -> 0 bytes
.../wp-color-picker-alpha.js | 635 --
.../wp-color-picker-alpha.min.js | 11 -
.../gp-premium/library/class-make-css.php | 202 -
.../library/class-plugin-updater.php | 676 --
.../gp-premium/library/customizer-helpers.php | 531 --
.../library/customizer/active-callbacks.php | 601 --
.../controls/class-action-button-control.php | 44 -
.../controls/class-alpha-color-control.php | 76 -
.../controls/class-backgrounds-control.php | 146 -
.../controls/class-control-toggle.php | 37 -
.../controls/class-copyright-control.php | 51 -
.../customizer/controls/class-deprecated.php | 396 -
.../controls/class-information-control.php | 42 -
.../controls/class-range-slider-control.php | 165 -
.../controls/class-refresh-button-control.php | 24 -
.../class-section-shortcuts-control.php | 123 -
.../controls/class-spacing-control.php | 165 -
.../controls/class-title-control.php | 32 -
.../controls/class-typography-control.php | 187 -
.../controls/css/alpha-color-picker.css | 32 -
.../controls/css/button-actions.css | 19 -
.../css/control-toggle-customizer.css | 21 -
.../controls/css/section-shortcuts.css | 43 -
.../customizer/controls/css/selectWoo.min.css | 1 -
.../controls/css/slider-customizer.css | 131 -
.../controls/css/spacing-customizer.css | 101 -
.../controls/css/title-customizer.css | 9 -
.../controls/css/transparency-grid.png | Bin 2343 -> 0 bytes
.../controls/css/typography-customizer.css | 60 -
.../controls/js/alpha-color-picker.js | 277 -
.../controls/js/backgrounds-customizer.js | 31 -
.../customizer/controls/js/button-actions.js | 43 -
.../controls/js/control-toggle-customizer.js | 35 -
.../controls/js/copyright-customizer.js | 12 -
.../controls/js/generatepress-controls.js | 151 -
.../controls/js/section-shortcuts.js | 46 -
.../customizer/controls/js/selectWoo.min.js | 1 -
.../controls/js/slider-customizer.js | 137 -
.../controls/js/spacing-customizer.js | 203 -
.../controls/js/typography-customizer.js | 148 -
.../library/customizer/deprecated.php | 324 -
.../library/customizer/sanitize.php | 131 -
.../library/select2/select2.full.min.js | 2 -
.../library/select2/select2.min.css | 1 -
.../menu-plus/fields/slideout-nav-colors.php | 185 -
.../menu-plus/functions/css/menu-logo.css | 76 -
.../menu-plus/functions/css/menu-logo.min.css | 1 -
.../css/navigation-branding-flex.css | 116 -
.../css/navigation-branding-flex.min.css | 1 -
.../functions/css/navigation-branding.css | 135 -
.../functions/css/navigation-branding.min.css | 1 -
.../menu-plus/functions/css/offside.css | 362 -
.../menu-plus/functions/css/offside.min.css | 1 -
.../menu-plus/functions/css/sticky.css | 76 -
.../menu-plus/functions/css/sticky.min.css | 1 -
.../functions/generate-menu-plus.php | 2452 ------
.../menu-plus/functions/js/offside.js | 646 --
.../menu-plus/functions/js/offside.min.js | 1 -
.../menu-plus/functions/js/sticky.js | 650 --
.../menu-plus/functions/js/sticky.min.js | 1 -
.../menu-plus/generate-menu-plus.php | 21 -
.../page-header/functions/css/metabox.css | 302 -
.../page-header/functions/css/page-header.css | 92 -
.../functions/css/page-header.min.css | 1 -
.../page-header/functions/functions.php | 1317 ----
.../functions/global-locations.php | 220 -
.../page-header/functions/js/full-height.js | 66 -
.../functions/js/full-height.min.js | 1 -
.../functions/js/jquery.vide.min.js | 9 -
.../page-header/functions/js/lc_switch.js | 149 -
.../page-header/functions/js/metabox.js | 220 -
.../page-header/functions/js/parallax.js | 17 -
.../page-header/functions/js/parallax.min.js | 1 -
.../page-header/functions/metabox.php | 782 --
.../page-header/functions/page-header.php | 184 -
.../page-header/functions/post-image.php | 60 -
.../page-header/functions/post-type.php | 236 -
.../page-header/generate-page-header.php | 21 -
.../plugins/gp-premium/readme.txt | 528 --
.../fields/secondary-navigation.php | 174 -
.../secondary-nav/functions/css.php | 138 -
.../functions/css/main-mobile.css | 125 -
.../functions/css/main-mobile.min.css | 1 -
.../secondary-nav/functions/css/main.css | 377 -
.../secondary-nav/functions/css/main.min.css | 1 -
.../functions/css/style-mobile.css | 97 -
.../functions/css/style-mobile.min.css | 1 -
.../secondary-nav/functions/css/style.css | 337 -
.../secondary-nav/functions/css/style.min.css | 1 -
.../secondary-nav/functions/functions.php | 1356 ----
.../secondary-nav/functions/js/customizer.js | 77 -
.../secondary-nav/generate-secondary-nav.php | 23 -
.../sections/functions/css/style.css | 57 -
.../sections/functions/css/style.min.css | 1 -
.../sections/functions/generate-sections.php | 329 -
.../sections/functions/js/parallax.js | 17 -
.../sections/functions/js/parallax.min.js | 1 -
.../css/generate-sections-metabox.css | 348 -
.../functions/metaboxes/css/lc_switch.css | 92 -
.../js/generate-sections-metabox-4.9.js | 835 --
.../metaboxes/js/generate-sections-metabox.js | 858 ---
.../functions/metaboxes/metabox-functions.php | 396 -
.../metaboxes/views/sections-template.php | 279 -
.../functions/metaboxes/views/sections.php | 13 -
.../metaboxes/views/use-sections.php | 17 -
.../sections/functions/templates/template.php | 122 -
.../gp-premium/sections/generate-sections.php | 21 -
.../class-site-library-helper.php | 1021 ---
.../site-library/class-site-library-rest.php | 922 ---
.../site-library/class-site-library.php | 412 -
.../class-beaver-builder-batch-processing.php | 163 -
.../classes/class-content-importer.php | 49 -
.../classes/class-site-import-image.php | 200 -
.../classes/class-site-widget-importer.php | 275 -
.../libs/wxr-importer/WPImporterLogger.php | 138 -
.../libs/wxr-importer/WXRImportInfo.php | 16 -
.../libs/wxr-importer/WXRImporter.php | 2329 ------
.../functions/customizer/content-spacing.php | 244 -
.../functions/customizer/footer-spacing.php | 207 -
.../functions/customizer/header-spacing.php | 135 -
.../functions/customizer/js/customizer.js | 661 --
.../customizer/navigation-spacing.php | 281 -
.../customizer/secondary-nav-spacing.php | 159 -
.../functions/customizer/sidebar-spacing.php | 211 -
.../functions/customizer/top-bar-spacing.php | 73 -
.../spacing/functions/functions.php | 362 -
.../spacing/functions/migration.php | 102 -
.../gp-premium/spacing/generate-spacing.php | 20 -
.../typography/functions/functions.php | 3125 --------
.../typography/functions/google-fonts.json | 6835 -----------------
.../typography/functions/js/customizer.js | 250 -
.../typography/functions/migration.php | 359 -
.../functions/secondary-nav-fonts.php | 176 -
.../functions/slideout-nav-fonts.php | 149 -
.../functions/woocommerce-fonts.php | 179 -
.../gp-premium/typography/generate-fonts.php | 20 -
.../woocommerce/fields/woocommerce-colors.php | 607 --
.../functions/css/woocommerce-mobile.css | 201 -
.../functions/css/woocommerce-mobile.min.css | 1 -
.../woocommerce/functions/css/woocommerce.css | 1284 ----
.../functions/css/woocommerce.min.css | 1 -
.../functions/customizer/customizer.php | 1031 ---
.../functions/customizer/js/customizer.js | 6 -
.../woocommerce/functions/functions.php | 1532 ----
.../woocommerce/functions/js/woocommerce.js | 285 -
.../functions/js/woocommerce.min.js | 1 -
.../gp-premium/woocommerce/woocommerce.php | 19 -
.../plugins/gp-premium/wpml-config.xml | 112 -
.../plugins/jetpack-protect/CHANGELOG.md | 252 -
.../plugins/jetpack-protect/LICENSE.txt | 357 -
.../plugins/jetpack-protect/SECURITY.md | 47 -
.../assets/fonts/jetpack-protect.eot | Bin 1496 -> 0 bytes
.../assets/fonts/jetpack-protect.svg | 11 -
.../assets/fonts/jetpack-protect.ttf | Bin 1300 -> 0 bytes
.../assets/fonts/jetpack-protect.woff | Bin 1376 -> 0 bytes
.../assets/jetpack-protect.css | 30 -
.../in-progress-db145d62b5ef09c05ad7.png | Bin 15681 -> 0 bytes
.../jetpack-protect/build/index.asset.php | 1 -
.../plugins/jetpack-protect/build/index.css | 1 -
.../plugins/jetpack-protect/build/index.js | 48 -
.../build/index.js.LICENSE.txt | 35 -
.../jetpack-protect/build/index.rtl.css | 1 -
.../plugins/jetpack-protect/composer.json | 76 -
.../jetpack-protect/jetpack-protect.php | 140 -
.../jetpack-a8c-mc-stats/CHANGELOG.md | 166 -
.../jetpack-a8c-mc-stats/LICENSE.txt | 357 -
.../jetpack-a8c-mc-stats/SECURITY.md | 47 -
.../jetpack-a8c-mc-stats/composer.json | 41 -
.../src/class-a8c-mc-stats.php | 181 -
.../automattic/jetpack-admin-ui/CHANGELOG.md | 183 -
.../automattic/jetpack-admin-ui/LICENSE.txt | 357 -
.../automattic/jetpack-admin-ui/SECURITY.md | 47 -
.../automattic/jetpack-admin-ui/composer.json | 54 -
.../jetpack-admin-ui/src/class-admin-menu.php | 208 -
.../automattic/jetpack-assets/CHANGELOG.md | 553 --
.../automattic/jetpack-assets/LICENSE.txt | 357 -
.../automattic/jetpack-assets/SECURITY.md | 47 -
.../automattic/jetpack-assets/actions.php | 19 -
.../build/i18n-loader.asset.php | 1 -
.../jetpack-assets/build/i18n-loader.js | 1 -
.../automattic/jetpack-assets/composer.json | 57 -
.../jetpack-assets/src/class-assets.php | 754 --
.../jetpack-assets/src/class-semver.php | 121 -
.../jetpack-assets/src/js/i18n-loader.js | 76 -
.../CHANGELOG.md | 46 -
.../LICENSE.txt | 357 -
.../SECURITY.md | 47 -
.../composer.json | 51 -
.../src/class-helper-script-manager-impl.php | 620 --
.../src/class-helper-script-manager.php | 89 -
.../src/class-throw-on-errors.php | 498 --
.../jetpack-boost-core/CHANGELOG.md | 70 -
.../automattic/jetpack-boost-core/LICENSE.txt | 357 -
.../automattic/jetpack-boost-core/SECURITY.md | 47 -
.../jetpack-boost-core/composer.json | 53 -
.../src/contracts/boost-api-client.php | 34 -
.../src/lib/class-boost-api.php | 110 -
.../src/lib/class-cacheable.php | 134 -
.../src/lib/class-transient.php | 122 -
.../jetpack-boost-core/src/lib/class-url.php | 96 -
.../src/lib/class-utils.php | 145 -
.../src/lib/class-wpcom-boost-api-client.php | 63 -
.../jetpack-boost-speed-score/CHANGELOG.md | 101 -
.../jetpack-boost-speed-score/LICENSE.txt | 357 -
.../jetpack-boost-speed-score/SECURITY.md | 47 -
.../jetpack-boost-speed-score/composer.json | 61 -
.../src/class-jetpack-boost-modules.php | 56 -
...lass-speed-score-graph-history-request.php | 138 -
.../src/class-speed-score-history.php | 148 -
.../src/class-speed-score-request.php | 324 -
.../src/class-speed-score.php | 362 -
.../automattic/jetpack-config/CHANGELOG.md | 246 -
.../automattic/jetpack-config/LICENSE.txt | 357 -
.../automattic/jetpack-config/SECURITY.md | 47 -
.../automattic/jetpack-config/composer.json | 70 -
.../jetpack-config/src/class-config.php | 455 --
.../jetpack-connection/CHANGELOG.md | 1282 ----
.../automattic/jetpack-connection/LICENSE.txt | 357 -
.../automattic/jetpack-connection/SECURITY.md | 47 -
.../automattic/jetpack-connection/TRACKING.md | 122 -
.../jetpack-connection/composer.json | 75 -
.../jetpack-sso-admin-create-user.asset.php | 1 -
.../dist/jetpack-sso-admin-create-user.css | 1 -
.../dist/jetpack-sso-admin-create-user.js | 1 -
.../jetpack-sso-admin-create-user.rtl.css | 1 -
.../dist/jetpack-sso-login.asset.php | 1 -
.../dist/jetpack-sso-login.css | 1 -
.../dist/jetpack-sso-login.js | 1 -
.../dist/jetpack-sso-login.rtl.css | 1 -
.../dist/jetpack-sso-users.asset.php | 1 -
.../dist/jetpack-sso-users.js | 1 -
.../dist/tracks-ajax.asset.php | 1 -
.../jetpack-connection/dist/tracks-ajax.js | 1 -
.../dist/tracks-callables.asset.php | 1 -
.../dist/tracks-callables.js | 1 -
.../legacy/class-jetpack-ixr-client.php | 187 -
.../class-jetpack-ixr-clientmulticall.php | 74 -
.../legacy/class-jetpack-options.php | 692 --
.../legacy/class-jetpack-signature.php | 409 -
.../legacy/class-jetpack-tracks-client.php | 230 -
.../legacy/class-jetpack-tracks-event.php | 188 -
.../legacy/class-jetpack-xmlrpc-server.php | 877 ---
.../src/class-authorize-json-api.php | 281 -
.../jetpack-connection/src/class-client.php | 510 --
.../src/class-connection-notice.php | 243 -
.../src/class-error-handler.php | 779 --
.../src/class-heartbeat.php | 310 -
.../src/class-initial-state.php | 61 -
.../jetpack-connection/src/class-manager.php | 2656 -------
.../src/class-nonce-handler.php | 212 -
.../src/class-package-version-tracker.php | 176 -
.../src/class-package-version.php | 30 -
.../src/class-partner-coupon.php | 466 --
.../jetpack-connection/src/class-partner.php | 215 -
.../src/class-plugin-storage.php | 297 -
.../jetpack-connection/src/class-plugin.php | 122 -
.../src/class-rest-authentication.php | 222 -
.../src/class-rest-connector.php | 1024 ---
.../jetpack-connection/src/class-secrets.php | 282 -
.../src/class-server-sandbox.php | 243 -
.../src/class-terms-of-service.php | 111 -
.../src/class-tokens-locks.php | 76 -
.../jetpack-connection/src/class-tokens.php | 687 --
.../jetpack-connection/src/class-tracking.php | 318 -
.../jetpack-connection/src/class-urls.php | 192 -
.../jetpack-connection/src/class-utils.php | 135 -
.../jetpack-connection/src/class-webhooks.php | 213 -
.../src/class-xmlrpc-async-call.php | 106 -
.../src/class-xmlrpc-connector.php | 85 -
.../src/interface-manager.php | 17 -
.../src/sso/class-force-2fa.php | 184 -
.../src/sso/class-helpers.php | 387 -
.../src/sso/class-notices.php | 241 -
.../jetpack-connection/src/sso/class-sso.php | 1283 ----
.../src/sso/class-user-admin.php | 1321 ----
.../src/sso/jetpack-sso-admin-create-user.css | 21 -
.../src/sso/jetpack-sso-admin-create-user.js | 45 -
.../src/sso/jetpack-sso-login.css | 164 -
.../src/sso/jetpack-sso-login.js | 27 -
.../src/sso/jetpack-sso-users.js | 64 -
.../src/webhooks/class-authorize-redirect.php | 211 -
.../automattic/jetpack-constants/CHANGELOG.md | 204 -
.../automattic/jetpack-constants/LICENSE.txt | 357 -
.../automattic/jetpack-constants/SECURITY.md | 47 -
.../jetpack-constants/composer.json | 42 -
.../jetpack-constants/src/class-constants.php | 124 -
.../jetpack-device-detection/CHANGELOG.md | 240 -
.../jetpack-device-detection/LICENSE.txt | 357 -
.../jetpack-device-detection/SECURITY.md | 47 -
.../jetpack-device-detection/composer.json | 41 -
.../src/class-device-detection.php | 224 -
.../src/class-user-agent-info.php | 1755 -----
.../src/functions.php | 36 -
.../jetpack-identity-crisis/CHANGELOG.md | 678 --
.../jetpack-identity-crisis/LICENSE.txt | 357 -
.../jetpack-identity-crisis/SECURITY.md | 47 -
.../build/index.asset.php | 1 -
.../jetpack-identity-crisis/build/index.css | 1 -
.../jetpack-identity-crisis/build/index.js | 5 -
.../build/index.js.LICENSE.txt | 5 -
.../build/index.rtl.css | 1 -
.../jetpack-identity-crisis/composer.json | 68 -
.../src/_inc/admin-bar.scss | 30 -
.../src/_inc/admin.jsx | 60 -
.../src/_inc/style.scss | 9 -
.../src/class-exception.php | 13 -
.../src/class-identity-crisis.php | 864 ---
.../src/class-rest-endpoints.php | 321 -
.../jetpack-identity-crisis/src/class-ui.php | 201 -
.../src/class-url-secret.php | 159 -
.../automattic/jetpack-ip/CHANGELOG.md | 58 -
.../automattic/jetpack-ip/LICENSE.txt | 357 -
.../automattic/jetpack-ip/SECURITY.md | 47 -
.../automattic/jetpack-ip/composer.json | 46 -
.../automattic/jetpack-ip/src/class-utils.php | 209 -
.../automattic/jetpack-jitm/CHANGELOG.md | 878 ---
.../automattic/jetpack-jitm/LICENSE.txt | 357 -
.../automattic/jetpack-jitm/SECURITY.md | 47 -
.../background-165b2f00927a762c8cf4.png | Bin 24109 -> 0 bytes
.../jetpack-jitm/build/index.asset.php | 1 -
.../automattic/jetpack-jitm/build/index.css | 1 -
.../automattic/jetpack-jitm/build/index.js | 1 -
.../jetpack-jitm/build/index.rtl.css | 1 -
.../automattic/jetpack-jitm/composer.json | 63 -
.../jetpack-jitm/src/class-jitm.php | 347 -
.../src/class-post-connection-jitm.php | 417 -
.../src/class-pre-connection-jitm.php | 171 -
.../src/class-rest-api-endpoints.php | 98 -
.../src/css/jetpack-admin-jitm.scss | 501 --
.../jetpack-jitm/src/images/background.png | Bin 24109 -> 0 bytes
.../automattic/jetpack-licensing/CHANGELOG.md | 335 -
.../automattic/jetpack-licensing/LICENSE.txt | 357 -
.../automattic/jetpack-licensing/SECURITY.md | 47 -
.../jetpack-licensing/composer.json | 51 -
.../jetpack-licensing/src/class-endpoints.php | 449 --
.../jetpack-licensing/src/class-licensing.php | 359 -
.../automattic/jetpack-logo/CHANGELOG.md | 218 -
.../automattic/jetpack-logo/LICENSE.txt | 357 -
.../automattic/jetpack-logo/SECURITY.md | 47 -
.../automattic/jetpack-logo/composer.json | 41 -
.../jetpack-logo/src/class-logo.php | 122 -
.../jetpack-my-jetpack/CHANGELOG.md | 1670 ----
.../automattic/jetpack-my-jetpack/LICENSE.txt | 357 -
.../automattic/jetpack-my-jetpack/SECURITY.md | 47 -
.../images/apple-92dacafad84e79708a74.svg | 3 -
.../images/boost-a54137485af36fdffe9c.png | Bin 148315 -> 0 bytes
.../images/cloud-81ac85ba680343200f54.svg | 12 -
.../images/connect-f27775ac15cf885713c2.png | Bin 62000 -> 0 bytes
.../build/images/crm-7e7684ae2c40327d8fed.png | Bin 119373 -> 0 bytes
...isconnect-confirm-dc9fe8f5c68cfd1320e0.jpg | Bin 25037 -> 0 bytes
...disconnect-thanks-5873bfac56a9bd7322cd.jpg | Bin 55604 -> 0 bytes
.../empty-avatar-fea23feddfa99b07c2e8.svg | 40 -
.../images/extras-26daf36507504c96d066.png | Bin 25957 -> 0 bytes
.../images/google-dec2a429bf1d8e83f9ad.svg | 1 -
.../images/jetpack-9de1caef5eb5c22da5d6.svg | 23 -
.../jetpack-ai-1a265a198f75543e342e.png | Bin 149191 -> 0 bytes
...ivation-with-lock-7b01c1a4cf56de799cd7.png | Bin 144326 -> 0 bytes
...tion-with-success-cad524ede4e793cc0ece.png | Bin 145433 -> 0 bytes
.../jetpack-manage-3a7ecaa604823c98c3cf.svg | 10 -
.../images/search-f9756bd9c926d905fe70.png | Bin 94887 -> 0 bytes
.../site-cards-143fca7aec7a8c370e82.png | Bin 210293 -> 0 bytes
.../images/social-e3fb80b2f32534fefe63.png | Bin 432102 -> 0 bytes
.../images/stats-9802380852610a4d5908.png | Bin 289829 -> 0 bytes
.../videopress-9591093a9a238cc48a35.png | Bin 255812 -> 0 bytes
.../images/wordpress-1fc3e0ba6c52e9707900.svg | 1 -
.../jetpack-my-jetpack/build/index.asset.php | 1 -
.../jetpack-my-jetpack/build/index.css | 1 -
.../jetpack-my-jetpack/build/index.js | 72 -
.../build/index.js.LICENSE.txt | 56 -
.../jetpack-my-jetpack/build/index.rtl.css | 1 -
.../jetpack-my-jetpack/composer.json | 88 -
.../automattic/jetpack-my-jetpack/global.d.ts | 266 -
.../src/class-activitylog.php | 57 -
.../src/class-initializer.php | 689 --
.../src/class-jetpack-manage.php | 124 -
.../jetpack-my-jetpack/src/class-products.php | 195 -
.../jetpack-my-jetpack/src/class-rest-ai.php | 90 -
.../src/class-rest-product-data.php | 147 -
.../src/class-rest-products.php | 249 -
.../src/class-rest-purchases.php | 77 -
.../src/class-rest-zendesk-chat.php | 122 -
.../src/class-wpcom-products.php | 273 -
.../src/products/class-anti-spam.php | 177 -
.../src/products/class-backup.php | 241 -
.../src/products/class-boost.php | 330 -
.../src/products/class-creator.php | 350 -
.../src/products/class-crm.php | 168 -
.../src/products/class-extras.php | 141 -
.../src/products/class-hybrid-product.php | 153 -
.../src/products/class-jetpack-ai.php | 604 --
.../src/products/class-module-product.php | 133 -
.../src/products/class-product.php | 730 --
.../src/products/class-protect.php | 297 -
.../src/products/class-scan.php | 231 -
.../src/products/class-search-stats.php | 150 -
.../src/products/class-search.php | 382 -
.../src/products/class-security.php | 212 -
.../src/products/class-social.php | 190 -
.../src/products/class-starter.php | 203 -
.../src/products/class-stats.php | 309 -
.../src/products/class-videopress.php | 195 -
.../jetpack-password-checker/CHANGELOG.md | 143 -
.../jetpack-password-checker/LICENSE.txt | 357 -
.../jetpack-password-checker/SECURITY.md | 47 -
.../jetpack-password-checker/composer.json | 50 -
.../src/class-password-checker.php | 1313 ----
.../jetpack-plugins-installer/CHANGELOG.md | 106 -
.../jetpack-plugins-installer/LICENSE.txt | 357 -
.../jetpack-plugins-installer/SECURITY.md | 47 -
.../jetpack-plugins-installer/composer.json | 44 -
.../src/class-automatic-install-skin.php | 157 -
.../src/class-plugins-installer.php | 255 -
.../automattic/jetpack-redirect/CHANGELOG.md | 247 -
.../automattic/jetpack-redirect/LICENSE.txt | 357 -
.../automattic/jetpack-redirect/SECURITY.md | 47 -
.../automattic/jetpack-redirect/composer.json | 43 -
.../jetpack-redirect/src/class-redirect.php | 79 -
.../automattic/jetpack-roles/CHANGELOG.md | 205 -
.../automattic/jetpack-roles/LICENSE.txt | 357 -
.../automattic/jetpack-roles/SECURITY.md | 47 -
.../automattic/jetpack-roles/composer.json | 42 -
.../jetpack-roles/src/class-roles.php | 81 -
.../automattic/jetpack-status/CHANGELOG.md | 440 --
.../automattic/jetpack-status/LICENSE.txt | 357 -
.../automattic/jetpack-status/SECURITY.md | 47 -
.../automattic/jetpack-status/composer.json | 54 -
.../jetpack-status/src/class-cache.php | 54 -
.../jetpack-status/src/class-cookiestate.php | 103 -
.../jetpack-status/src/class-errors.php | 47 -
.../jetpack-status/src/class-files.php | 54 -
.../jetpack-status/src/class-host.php | 295 -
.../jetpack-status/src/class-modules.php | 601 --
.../jetpack-status/src/class-paths.php | 81 -
.../jetpack-status/src/class-status.php | 374 -
.../jetpack-status/src/class-visitor.php | 56 -
.../automattic/jetpack-sync/CHANGELOG.md | 1376 ----
.../automattic/jetpack-sync/LICENSE.txt | 357 -
.../automattic/jetpack-sync/SECURITY.md | 47 -
.../automattic/jetpack-sync/composer.json | 68 -
.../jetpack-sync/src/class-actions.php | 1193 ---
.../jetpack-sync/src/class-data-settings.php | 419 -
.../src/class-dedicated-sender.php | 408 -
.../src/class-default-filter-settings.php | 80 -
.../jetpack-sync/src/class-defaults.php | 1340 ----
.../jetpack-sync/src/class-functions.php | 712 --
.../jetpack-sync/src/class-health.php | 188 -
.../src/class-json-deflate-array-codec.php | 96 -
.../jetpack-sync/src/class-listener.php | 485 --
.../jetpack-sync/src/class-lock.php | 77 -
.../jetpack-sync/src/class-main.php | 135 -
.../jetpack-sync/src/class-modules.php | 163 -
.../src/class-package-version.php | 30 -
.../jetpack-sync/src/class-queue-buffer.php | 78 -
.../jetpack-sync/src/class-queue.php | 678 --
.../jetpack-sync/src/class-replicastore.php | 1457 ----
.../jetpack-sync/src/class-rest-endpoints.php | 881 ---
.../jetpack-sync/src/class-rest-sender.php | 144 -
.../jetpack-sync/src/class-sender.php | 1032 ---
.../jetpack-sync/src/class-server.php | 195 -
.../jetpack-sync/src/class-settings.php | 717 --
.../jetpack-sync/src/class-simple-codec.php | 62 -
.../jetpack-sync/src/class-users.php | 152 -
.../jetpack-sync/src/class-utils.php | 65 -
.../jetpack-sync/src/interface-codec.php | 44 -
.../src/interface-replicastore.php | 567 --
.../src/modules/class-attachments.php | 98 -
.../src/modules/class-callables.php | 666 --
.../src/modules/class-comments.php | 504 --
.../src/modules/class-constants.php | 338 -
.../modules/class-full-sync-immediately.php | 471 --
.../src/modules/class-full-sync.php | 730 --
.../jetpack-sync/src/modules/class-import.php | 220 -
.../jetpack-sync/src/modules/class-menus.php | 146 -
.../jetpack-sync/src/modules/class-meta.php | 112 -
.../jetpack-sync/src/modules/class-module.php | 649 --
.../src/modules/class-network-options.php | 251 -
.../src/modules/class-options.php | 480 --
.../src/modules/class-plugins.php | 416 -
.../jetpack-sync/src/modules/class-posts.php | 957 ---
.../src/modules/class-protect.php | 54 -
.../jetpack-sync/src/modules/class-search.php | 1875 -----
.../jetpack-sync/src/modules/class-stats.php | 68 -
.../src/modules/class-term-relationships.php | 263 -
.../jetpack-sync/src/modules/class-terms.php | 313 -
.../jetpack-sync/src/modules/class-themes.php | 874 ---
.../src/modules/class-updates.php | 589 --
.../jetpack-sync/src/modules/class-users.php | 934 ---
.../modules/class-woocommerce-hpos-orders.php | 370 -
.../src/modules/class-woocommerce.php | 638 --
.../src/modules/class-wp-super-cache.php | 156 -
.../class-table-checksum-usermeta.php | 209 -
.../class-table-checksum-users.php | 185 -
.../src/replicastore/class-table-checksum.php | 927 ---
.../class-queue-storage-options.php | 291 -
.../sync-queue/class-queue-storage-table.php | 691 --
.../jetpack-transport-helper/CHANGELOG.md | 75 -
.../jetpack-transport-helper/LICENSE.txt | 357 -
.../jetpack-transport-helper/SECURITY.md | 47 -
.../jetpack-transport-helper/actions.php | 32 -
.../jetpack-transport-helper/composer.json | 60 -
.../src/class-package-version-compat.php | 25 -
.../src/class-package-version.php | 41 -
.../src/class-rest-controller.php | 152 -
.../automattic/jetpack-waf/CHANGELOG.md | 391 -
.../automattic/jetpack-waf/LICENSE.txt | 357 -
.../automattic/jetpack-waf/SECURITY.md | 47 -
.../automattic/jetpack-waf/cli.php | 13 -
.../automattic/jetpack-waf/composer.json | 63 -
.../class-blocked-login-page.php | 774 --
.../class-math-fallback.php | 179 -
.../class-shared-functions.php | 240 -
.../class-transient-cleanup.php | 63 -
.../src/class-brute-force-protection.php | 1159 ---
.../jetpack-waf/src/class-compatibility.php | 232 -
.../jetpack-waf/src/class-rest-controller.php | 193 -
.../jetpack-waf/src/class-waf-cli.php | 166 -
.../jetpack-waf/src/class-waf-constants.php | 117 -
.../jetpack-waf/src/class-waf-initializer.php | 245 -
.../jetpack-waf/src/class-waf-operators.php | 286 -
.../jetpack-waf/src/class-waf-request.php | 373 -
.../src/class-waf-rules-manager.php | 323 -
.../jetpack-waf/src/class-waf-runner.php | 454 --
.../jetpack-waf/src/class-waf-runtime.php | 831 --
.../src/class-waf-standalone-bootstrap.php | 173 -
.../jetpack-waf/src/class-waf-stats.php | 72 -
.../jetpack-waf/src/class-waf-transforms.php | 403 -
.../class-file-system-exception.php | 23 -
.../exceptions/class-rules-api-exception.php | 23 -
.../src/exceptions/class-waf-exception.php | 35 -
.../automattic/jetpack-waf/src/functions.php | 72 -
.../jetpack_vendor/i18n-map.php | 72 -
.../plugins/jetpack-protect/readme.txt | 172 -
.../jetpack-protect/src/class-credentials.php | 55 -
.../src/class-jetpack-protect.php | 458 --
.../jetpack-protect/src/class-onboarding.php | 80 -
.../jetpack-protect/src/class-plan.php | 111 -
.../src/class-protect-status.php | 258 -
.../src/class-rest-controller.php | 483 --
.../jetpack-protect/src/class-scan-status.php | 359 -
.../jetpack-protect/src/class-site-health.php | 111 -
.../jetpack-protect/src/class-status.php | 306 -
.../jetpack-protect/src/class-threats.php | 202 -
.../src/models/class-extension-model.php | 110 -
.../src/models/class-status-model.php | 141 -
.../src/models/class-threat-model.php | 115 -
.../jetpack-protect/vendor/autoload.php | 25 -
.../vendor/autoload_packages.php | 13 -
.../automattic/jetpack-plans/CHANGELOG.md | 169 -
.../automattic/jetpack-plans/LICENSE.txt | 357 -
.../automattic/jetpack-plans/SECURITY.md | 47 -
.../automattic/jetpack-plans/composer.json | 53 -
.../jetpack-plans/src/class-current-plan.php | 393 -
.../jetpack-plans/src/class-plans.php | 82 -
.../vendor/composer/ClassLoader.php | 579 --
.../vendor/composer/InstalledVersions.php | 359 -
.../jetpack-protect/vendor/composer/LICENSE | 21 -
.../vendor/composer/autoload_classmap.php | 234 -
.../vendor/composer/autoload_files.php | 12 -
.../vendor/composer/autoload_namespaces.php | 9 -
.../vendor/composer/autoload_psr4.php | 10 -
.../vendor/composer/autoload_real.php | 51 -
.../vendor/composer/autoload_static.php | 266 -
.../vendor/composer/installed.json | 1706 ----
.../vendor/composer/installed.php | 275 -
.../composer/jetpack_autoload_classmap.php | 961 ---
.../composer/jetpack_autoload_filemap.php | 21 -
.../vendor/composer/platform_check.php | 26 -
.../class-autoloader-handler.php | 147 -
.../class-autoloader-locator.php | 90 -
.../jetpack-autoloader/class-autoloader.php | 90 -
.../jetpack-autoloader/class-container.php | 150 -
.../jetpack-autoloader/class-hook-manager.php | 76 -
.../class-latest-autoloader-guard.php | 86 -
.../class-manifest-reader.php | 99 -
.../class-path-processor.php | 194 -
.../class-php-autoloader.php | 93 -
.../class-plugin-locator.php | 153 -
.../class-plugins-handler.php | 164 -
.../class-shutdown-handler.php | 92 -
.../class-version-loader.php | 164 -
.../class-version-selector.php | 69 -
.../vendor/wikimedia/aho-corasick/LICENSE | 202 -
.../vendor/wikimedia/aho-corasick/NOTICE | 2 -
.../wikimedia/aho-corasick/bench/bench.php | 75 -
.../wikimedia/aho-corasick/bench/check.php | 42 -
.../aho-corasick/src/MultiStringMatcher.php | 230 -
.../aho-corasick/src/MultiStringReplacer.php | 96 -
.../plugins/wp-webauthn/LICENSE | 674 --
.../wp-webauthn/blocks/blocks.build.js | 1 -
.../wp-webauthn-tr_TR-wwa_block_js.json | 1 -
.../wp-webauthn-zh_CN-wwa_block_js.json | 1 -
.../wp-webauthn-zh_HK-wwa_block_js.json | 1 -
.../wp-webauthn-zh_TW-wwa_block_js.json | 1 -
.../plugins/wp-webauthn/css/admin.css | 54 -
.../plugins/wp-webauthn/css/frontend.css | 264 -
.../plugins/wp-webauthn/css/login.css | 54 -
.../plugins/wp-webauthn/js/admin.js | 85 -
.../plugins/wp-webauthn/js/default_wa.js | 73 -
.../plugins/wp-webauthn/js/frontend.js | 635 --
.../plugins/wp-webauthn/js/login.js | 417 -
.../plugins/wp-webauthn/js/profile.js | 470 --
.../wp-webauthn/languages/template.pot | 646 --
.../languages/wp-webauthn-ca_ES.mo | Bin 17062 -> 0 bytes
.../languages/wp-webauthn-ca_ES.po | 708 --
.../languages/wp-webauthn-es_ES.mo | Bin 17442 -> 0 bytes
.../languages/wp-webauthn-es_ES.po | 697 --
.../languages/wp-webauthn-fr_FR.mo | Bin 12337 -> 0 bytes
.../languages/wp-webauthn-fr_FR.po | 524 --
.../languages/wp-webauthn-it_IT.mo | Bin 17164 -> 0 bytes
.../languages/wp-webauthn-it_IT.po | 695 --
.../languages/wp-webauthn-tr_TR.mo | Bin 16201 -> 0 bytes
.../languages/wp-webauthn-tr_TR.po | 644 --
.../plugins/wp-webauthn/readme.txt | 160 -
.../wp-webauthn-vendor/autoload.php | 25 -
.../beberlei/assert/.github/workflows/ci.yml | 64 -
.../beberlei/assert/LICENSE | 11 -
.../beberlei/assert/composer.json | 64 -
.../beberlei/assert/lib/Assert/Assert.php | 85 -
.../beberlei/assert/lib/Assert/Assertion.php | 2797 -------
.../assert/lib/Assert/AssertionChain.php | 247 -
.../lib/Assert/AssertionFailedException.php | 32 -
.../lib/Assert/InvalidArgumentException.php | 74 -
.../assert/lib/Assert/LazyAssertion.php | 228 -
.../lib/Assert/LazyAssertionException.php | 53 -
.../beberlei/assert/lib/Assert/functions.php | 72 -
.../brick/math/CHANGELOG.md | 415 -
.../wp-webauthn-vendor/brick/math/LICENSE | 20 -
.../wp-webauthn-vendor/brick/math/SECURITY.md | 17 -
.../brick/math/composer.json | 35 -
.../brick/math/src/BigDecimal.php | 895 ---
.../brick/math/src/BigInteger.php | 1184 ---
.../brick/math/src/BigNumber.php | 572 --
.../brick/math/src/BigRational.php | 523 --
.../src/Exception/DivisionByZeroException.php | 41 -
.../Exception/IntegerOverflowException.php | 27 -
.../math/src/Exception/MathException.php | 14 -
.../src/Exception/NegativeNumberException.php | 12 -
.../src/Exception/NumberFormatException.php | 35 -
.../Exception/RoundingNecessaryException.php | 21 -
.../brick/math/src/Internal/Calculator.php | 756 --
.../Internal/Calculator/BcMathCalculator.php | 116 -
.../src/Internal/Calculator/GmpCalculator.php | 156 -
.../Internal/Calculator/NativeCalculator.php | 634 --
.../brick/math/src/RoundingMode.php | 107 -
.../composer/ClassLoader.php | 579 --
.../composer/InstalledVersions.php | 359 -
.../wp-webauthn-vendor/composer/LICENSE | 21 -
.../composer/autoload_classmap.php | 669 --
.../composer/autoload_files.php | 103 -
.../composer/autoload_namespaces.php | 9 -
.../composer/autoload_psr4.php | 34 -
.../composer/autoload_real.php | 48 -
.../composer/autoload_static.php | 948 ---
.../composer/installed.json | 2427 ------
.../wp-webauthn-vendor/composer/installed.php | 308 -
.../fgrosse/phpasn1/CHANGELOG.md | 61 -
.../fgrosse/phpasn1/LICENSE | 19 -
.../fgrosse/phpasn1/README.md | 169 -
.../fgrosse/phpasn1/composer.json | 49 -
.../fgrosse/phpasn1/lib/ASN1/ASNObject.php | 355 -
.../phpasn1/lib/ASN1/AbstractString.php | 136 -
.../fgrosse/phpasn1/lib/ASN1/AbstractTime.php | 78 -
.../fgrosse/phpasn1/lib/ASN1/Base128.php | 63 -
.../ASN1/Composite/AttributeTypeAndValue.php | 35 -
.../phpasn1/lib/ASN1/Composite/RDNString.php | 37 -
.../Composite/RelativeDistinguishedName.php | 50 -
.../fgrosse/phpasn1/lib/ASN1/Construct.php | 202 -
.../Exception/NotImplementedException.php | 15 -
.../lib/ASN1/Exception/ParserException.php | 29 -
.../lib/ASN1/ExplicitlyTaggedObject.php | 131 -
.../fgrosse/phpasn1/lib/ASN1/Identifier.php | 339 -
.../fgrosse/phpasn1/lib/ASN1/OID.php | 1023 ---
.../fgrosse/phpasn1/lib/ASN1/Parsable.php | 32 -
.../phpasn1/lib/ASN1/TemplateParser.php | 70 -
.../phpasn1/lib/ASN1/Universal/BMPString.php | 41 -
.../phpasn1/lib/ASN1/Universal/BitString.php | 88 -
.../phpasn1/lib/ASN1/Universal/Boolean.php | 75 -
.../lib/ASN1/Universal/CharacterString.php | 28 -
.../phpasn1/lib/ASN1/Universal/Enumerated.php | 21 -
.../lib/ASN1/Universal/GeneralString.php | 34 -
.../lib/ASN1/Universal/GeneralizedTime.php | 134 -
.../lib/ASN1/Universal/GraphicString.php | 34 -
.../phpasn1/lib/ASN1/Universal/IA5String.php | 35 -
.../phpasn1/lib/ASN1/Universal/Integer.php | 130 -
.../phpasn1/lib/ASN1/Universal/NullObject.php | 54 -
.../lib/ASN1/Universal/NumericString.php | 38 -
.../lib/ASN1/Universal/ObjectDescriptor.php | 26 -
.../lib/ASN1/Universal/ObjectIdentifier.php | 138 -
.../lib/ASN1/Universal/OctetString.php | 91 -
.../lib/ASN1/Universal/PrintableString.php | 53 -
.../Universal/RelativeObjectIdentifier.php | 57 -
.../phpasn1/lib/ASN1/Universal/Sequence.php | 23 -
.../phpasn1/lib/ASN1/Universal/Set.php | 21 -
.../phpasn1/lib/ASN1/Universal/T61String.php | 36 -
.../phpasn1/lib/ASN1/Universal/UTCTime.php | 77 -
.../phpasn1/lib/ASN1/Universal/UTF8String.php | 34 -
.../lib/ASN1/Universal/UniversalString.php | 36 -
.../lib/ASN1/Universal/VisibleString.php | 34 -
.../lib/ASN1/UnknownConstructedObject.php | 59 -
.../phpasn1/lib/ASN1/UnknownObject.php | 59 -
.../phpasn1/lib/Utility/BigInteger.php | 195 -
.../phpasn1/lib/Utility/BigIntegerBcmath.php | 133 -
.../phpasn1/lib/Utility/BigIntegerGmp.php | 133 -
.../phpasn1/lib/X509/AlgorithmIdentifier.php | 22 -
.../phpasn1/lib/X509/CSR/Attributes.php | 68 -
.../fgrosse/phpasn1/lib/X509/CSR/CSR.php | 159 -
.../lib/X509/CertificateExtensions.php | 100 -
.../phpasn1/lib/X509/CertificateSubject.php | 108 -
.../fgrosse/phpasn1/lib/X509/PrivateKey.php | 35 -
.../fgrosse/phpasn1/lib/X509/PublicKey.php | 35 -
.../fgrosse/phpasn1/lib/X509/SAN/DNSName.php | 28 -
.../phpasn1/lib/X509/SAN/IPAddress.php | 73 -
.../lib/X509/SAN/SubjectAlternativeNames.php | 96 -
.../league/uri-interfaces/LICENSE | 20 -
.../league/uri-interfaces/composer.json | 68 -
.../src/Contracts/AuthorityInterface.php | 87 -
.../src/Contracts/DataPathInterface.php | 92 -
.../src/Contracts/DomainHostInterface.php | 107 -
.../src/Contracts/FragmentInterface.php | 22 -
.../src/Contracts/HostInterface.php | 51 -
.../src/Contracts/IpHostInterface.php | 48 -
.../src/Contracts/PathInterface.php | 90 -
.../src/Contracts/PortInterface.php | 22 -
.../src/Contracts/QueryInterface.php | 227 -
.../src/Contracts/SegmentedPathInterface.php | 147 -
.../src/Contracts/UriComponentInterface.php | 88 -
.../src/Contracts/UriException.php | 20 -
.../src/Contracts/UriInterface.php | 292 -
.../src/Contracts/UserInfoInterface.php | 40 -
.../src/Exceptions/FileinfoSupportMissing.php | 20 -
.../src/Exceptions/IdnSupportMissing.php | 20 -
.../src/Exceptions/IdnaConversionFailed.php | 46 -
.../src/Exceptions/SyntaxError.php | 20 -
.../league/uri-interfaces/src/Idna/Idna.php | 212 -
.../uri-interfaces/src/Idna/IdnaInfo.php | 113 -
.../wp-webauthn-vendor/league/uri/LICENSE | 20 -
.../league/uri/composer.json | 107 -
.../Exceptions/TemplateCanNotBeExpanded.php | 30 -
.../league/uri/src/Http.php | 335 -
.../league/uri/src/HttpFactory.php | 25 -
.../wp-webauthn-vendor/league/uri/src/Uri.php | 1337 ----
.../league/uri/src/UriInfo.php | 215 -
.../league/uri/src/UriResolver.php | 376 -
.../league/uri/src/UriString.php | 467 --
.../league/uri/src/UriTemplate.php | 134 -
.../league/uri/src/UriTemplate/Expression.php | 329 -
.../league/uri/src/UriTemplate/Template.php | 126 -
.../uri/src/UriTemplate/VarSpecifier.php | 96 -
.../uri/src/UriTemplate/VariableBag.php | 114 -
.../nyholm/psr7-server/.github/FUNDING.yml | 3 -
.../nyholm/psr7-server/CHANGELOG.md | 54 -
.../nyholm/psr7-server/LICENSE | 21 -
.../nyholm/psr7-server/README.md | 38 -
.../nyholm/psr7-server/composer.json | 41 -
.../psr7-server/src/ServerRequestCreator.php | 282 -
.../src/ServerRequestCreatorInterface.php | 56 -
.../nyholm/psr7/.php-cs-fixer.dist.php | 25 -
.../nyholm/psr7/CHANGELOG.md | 164 -
.../wp-webauthn-vendor/nyholm/psr7/LICENSE | 21 -
.../wp-webauthn-vendor/nyholm/psr7/README.md | 108 -
.../nyholm/psr7/composer.json | 49 -
.../nyholm/psr7/phpstan-baseline.neon | 36 -
.../nyholm/psr7/psalm.baseline.xml | 8 -
.../psr7/src/Factory/HttplugFactory.php | 53 -
.../nyholm/psr7/src/Factory/Psr17Factory.php | 78 -
.../nyholm/psr7/src/MessageTrait.php | 235 -
.../nyholm/psr7/src/Request.php | 47 -
.../nyholm/psr7/src/RequestTrait.php | 127 -
.../nyholm/psr7/src/Response.php | 93 -
.../nyholm/psr7/src/ServerRequest.php | 201 -
.../nyholm/psr7/src/Stream.php | 391 -
.../nyholm/psr7/src/StreamTrait.php | 57 -
.../nyholm/psr7/src/UploadedFile.php | 179 -
.../nyholm/psr7/src/Uri.php | 356 -
.../psr/http-client/CHANGELOG.md | 23 -
.../psr/http-client/LICENSE | 19 -
.../psr/http-client/README.md | 12 -
.../psr/http-client/composer.json | 27 -
.../src/ClientExceptionInterface.php | 10 -
.../psr/http-client/src/ClientInterface.php | 20 -
.../src/NetworkExceptionInterface.php | 24 -
.../src/RequestExceptionInterface.php | 24 -
.../psr/http-factory/LICENSE | 21 -
.../psr/http-factory/README.md | 12 -
.../psr/http-factory/composer.json | 35 -
.../src/RequestFactoryInterface.php | 18 -
.../src/ResponseFactoryInterface.php | 18 -
.../src/ServerRequestFactoryInterface.php | 24 -
.../src/StreamFactoryInterface.php | 45 -
.../src/UploadedFileFactoryInterface.php | 34 -
.../http-factory/src/UriFactoryInterface.php | 17 -
.../psr/http-message/CHANGELOG.md | 36 -
.../psr/http-message/LICENSE | 19 -
.../psr/http-message/README.md | 16 -
.../psr/http-message/composer.json | 26 -
.../psr/http-message/docs/PSR7-Interfaces.md | 130 -
.../psr/http-message/docs/PSR7-Usage.md | 159 -
.../psr/http-message/src/MessageInterface.php | 189 -
.../psr/http-message/src/RequestInterface.php | 131 -
.../http-message/src/ResponseInterface.php | 70 -
.../src/ServerRequestInterface.php | 263 -
.../psr/http-message/src/StreamInterface.php | 160 -
.../src/UploadedFileInterface.php | 125 -
.../psr/http-message/src/UriInterface.php | 326 -
.../wp-webauthn-vendor/psr/log/LICENSE | 19 -
.../psr/log/Psr/Log/AbstractLogger.php | 128 -
.../log/Psr/Log/InvalidArgumentException.php | 7 -
.../psr/log/Psr/Log/LogLevel.php | 18 -
.../psr/log/Psr/Log/LoggerAwareInterface.php | 18 -
.../psr/log/Psr/Log/LoggerAwareTrait.php | 26 -
.../psr/log/Psr/Log/LoggerInterface.php | 125 -
.../psr/log/Psr/Log/LoggerTrait.php | 142 -
.../psr/log/Psr/Log/NullLogger.php | 30 -
.../psr/log/Psr/Log/Test/DummyTest.php | 18 -
.../log/Psr/Log/Test/LoggerInterfaceTest.php | 138 -
.../psr/log/Psr/Log/Test/TestLogger.php | 147 -
.../wp-webauthn-vendor/psr/log/README.md | 58 -
.../wp-webauthn-vendor/psr/log/composer.json | 26 -
.../ramsey/collection/LICENSE | 19 -
.../ramsey/collection/README.md | 70 -
.../ramsey/collection/SECURITY.md | 169 -
.../ramsey/collection/composer.json | 120 -
.../collection/conventional-commits.json | 22 -
.../ramsey/collection/src/AbstractArray.php | 208 -
.../collection/src/AbstractCollection.php | 341 -
.../ramsey/collection/src/AbstractSet.php | 50 -
.../ramsey/collection/src/ArrayInterface.php | 51 -
.../ramsey/collection/src/Collection.php | 104 -
.../collection/src/CollectionInterface.php | 206 -
.../collection/src/DoubleEndedQueue.php | 187 -
.../src/DoubleEndedQueueInterface.php | 317 -
.../Exception/CollectionMismatchException.php | 24 -
.../Exception/InvalidArgumentException.php | 22 -
.../Exception/InvalidSortOrderException.php | 24 -
.../src/Exception/NoSuchElementException.php | 24 -
.../src/Exception/OutOfBoundsException.php | 22 -
.../UnsupportedOperationException.php | 24 -
.../Exception/ValueExtractionException.php | 24 -
.../ramsey/collection/src/GenericArray.php | 24 -
.../ramsey/collection/src/Map/AbstractMap.php | 163 -
.../collection/src/Map/AbstractTypedMap.php | 68 -
.../src/Map/AssociativeArrayMap.php | 25 -
.../collection/src/Map/MapInterface.php | 149 -
.../collection/src/Map/NamedParameterMap.php | 121 -
.../ramsey/collection/src/Map/TypedMap.php | 132 -
.../collection/src/Map/TypedMapInterface.php | 35 -
.../ramsey/collection/src/Queue.php | 169 -
.../ramsey/collection/src/QueueInterface.php | 204 -
.../ramsey/collection/src/Set.php | 67 -
.../ramsey/collection/src/Tool/TypeTrait.php | 74 -
.../src/Tool/ValueExtractorTrait.php | 61 -
.../src/Tool/ValueToStringTrait.php | 98 -
.../wp-webauthn-vendor/ramsey/uuid/LICENSE | 19 -
.../wp-webauthn-vendor/ramsey/uuid/README.md | 83 -
.../ramsey/uuid/composer.json | 107 -
.../ramsey/uuid/src/BinaryUtils.php | 63 -
.../uuid/src/Builder/BuilderCollection.php | 80 -
.../uuid/src/Builder/DefaultUuidBuilder.php | 26 -
.../uuid/src/Builder/DegradedUuidBuilder.php | 76 -
.../uuid/src/Builder/FallbackBuilder.php | 74 -
.../uuid/src/Builder/UuidBuilderInterface.php | 39 -
.../ramsey/uuid/src/Codec/CodecInterface.php | 71 -
.../ramsey/uuid/src/Codec/GuidStringCodec.php | 55 -
.../uuid/src/Codec/OrderedTimeCodec.php | 113 -
.../ramsey/uuid/src/Codec/StringCodec.php | 138 -
.../src/Codec/TimestampFirstCombCodec.php | 113 -
.../uuid/src/Codec/TimestampLastCombCodec.php | 51 -
.../Converter/Number/BigNumberConverter.php | 57 -
.../Number/DegradedNumberConverter.php | 25 -
.../Number/GenericNumberConverter.php | 63 -
.../Converter/NumberConverterInterface.php | 57 -
.../Converter/Time/BigNumberTimeConverter.php | 51 -
.../Converter/Time/DegradedTimeConverter.php | 25 -
.../Converter/Time/GenericTimeConverter.php | 124 -
.../src/Converter/Time/PhpTimeConverter.php | 183 -
.../src/Converter/TimeConverterInterface.php | 58 -
.../ramsey/uuid/src/DegradedUuid.php | 25 -
.../uuid/src/DeprecatedUuidInterface.php | 147 -
.../uuid/src/DeprecatedUuidMethodsTrait.php | 370 -
.../Exception/BuilderNotFoundException.php | 24 -
.../uuid/src/Exception/DateTimeException.php | 24 -
.../src/Exception/DceSecurityException.php | 25 -
.../Exception/InvalidArgumentException.php | 24 -
.../src/Exception/InvalidBytesException.php | 24 -
.../Exception/InvalidUuidStringException.php | 25 -
.../uuid/src/Exception/NameException.php | 25 -
.../uuid/src/Exception/NodeException.php | 24 -
.../src/Exception/RandomSourceException.php | 27 -
.../src/Exception/TimeSourceException.php | 24 -
.../Exception/UnableToBuildUuidException.php | 24 -
.../UnsupportedOperationException.php | 24 -
.../src/Exception/UuidExceptionInterface.php | 21 -
.../ramsey/uuid/src/FeatureSet.php | 449 --
.../uuid/src/Fields/FieldsInterface.php | 32 -
.../src/Fields/SerializableFieldsTrait.php | 86 -
.../uuid/src/Generator/CombGenerator.php | 127 -
.../src/Generator/DceSecurityGenerator.php | 160 -
.../DceSecurityGeneratorInterface.php | 53 -
.../src/Generator/DefaultNameGenerator.php | 48 -
.../src/Generator/DefaultTimeGenerator.php | 147 -
.../src/Generator/NameGeneratorFactory.php | 30 -
.../src/Generator/NameGeneratorInterface.php | 38 -
.../src/Generator/PeclUuidNameGenerator.php | 54 -
.../src/Generator/PeclUuidRandomGenerator.php | 35 -
.../src/Generator/PeclUuidTimeGenerator.php | 39 -
.../src/Generator/RandomBytesGenerator.php | 45 -
.../src/Generator/RandomGeneratorFactory.php | 30 -
.../Generator/RandomGeneratorInterface.php | 30 -
.../uuid/src/Generator/RandomLibAdapter.php | 55 -
.../src/Generator/TimeGeneratorFactory.php | 63 -
.../src/Generator/TimeGeneratorInterface.php | 38 -
.../ramsey/uuid/src/Guid/Fields.php | 194 -
.../ramsey/uuid/src/Guid/Guid.php | 61 -
.../ramsey/uuid/src/Guid/GuidBuilder.php | 89 -
.../uuid/src/Lazy/LazyUuidFromString.php | 575 --
.../uuid/src/Math/BrickMathCalculator.php | 144 -
.../uuid/src/Math/CalculatorInterface.php | 106 -
.../ramsey/uuid/src/Math/RoundingMode.php | 146 -
.../ramsey/uuid/src/Nonstandard/Fields.php | 133 -
.../ramsey/uuid/src/Nonstandard/Uuid.php | 37 -
.../uuid/src/Nonstandard/UuidBuilder.php | 88 -
.../ramsey/uuid/src/Nonstandard/UuidV6.php | 133 -
.../Dce/SystemDceSecurityProvider.php | 234 -
.../Provider/DceSecurityProviderInterface.php | 41 -
.../Provider/Node/FallbackNodeProvider.php | 60 -
.../Provider/Node/NodeProviderCollection.php | 61 -
.../src/Provider/Node/RandomNodeProvider.php | 69 -
.../src/Provider/Node/StaticNodeProvider.php | 76 -
.../src/Provider/Node/SystemNodeProvider.php | 173 -
.../src/Provider/NodeProviderInterface.php | 30 -
.../src/Provider/Time/FixedTimeProvider.php | 63 -
.../src/Provider/Time/SystemTimeProvider.php | 33 -
.../src/Provider/TimeProviderInterface.php | 28 -
.../ramsey/uuid/src/Rfc4122/Fields.php | 194 -
.../uuid/src/Rfc4122/FieldsInterface.php | 126 -
.../ramsey/uuid/src/Rfc4122/NilTrait.php | 41 -
.../ramsey/uuid/src/Rfc4122/NilUuid.php | 27 -
.../ramsey/uuid/src/Rfc4122/UuidBuilder.php | 111 -
.../ramsey/uuid/src/Rfc4122/UuidInterface.php | 36 -
.../ramsey/uuid/src/Rfc4122/UuidV1.php | 92 -
.../ramsey/uuid/src/Rfc4122/UuidV2.php | 143 -
.../ramsey/uuid/src/Rfc4122/UuidV3.php | 58 -
.../ramsey/uuid/src/Rfc4122/UuidV4.php | 58 -
.../ramsey/uuid/src/Rfc4122/UuidV5.php | 58 -
.../ramsey/uuid/src/Rfc4122/Validator.php | 49 -
.../ramsey/uuid/src/Rfc4122/VariantTrait.php | 90 -
.../ramsey/uuid/src/Rfc4122/VersionTrait.php | 57 -
.../ramsey/uuid/src/Type/Decimal.php | 137 -
.../ramsey/uuid/src/Type/Hexadecimal.php | 116 -
.../ramsey/uuid/src/Type/Integer.php | 153 -
.../ramsey/uuid/src/Type/NumberInterface.php | 28 -
.../ramsey/uuid/src/Type/Time.php | 139 -
.../ramsey/uuid/src/Type/TypeInterface.php | 30 -
.../ramsey/uuid/src/Uuid.php | 664 --
.../ramsey/uuid/src/UuidFactory.php | 493 --
.../ramsey/uuid/src/UuidFactoryInterface.php | 182 -
.../ramsey/uuid/src/UuidInterface.php | 99 -
.../uuid/src/Validator/GenericValidator.php | 50 -
.../uuid/src/Validator/ValidatorInterface.php | 41 -
.../ramsey/uuid/src/functions.php | 123 -
.../spomky-labs/base64url/.github/FUNDING.yml | 2 -
.../spomky-labs/base64url/LICENSE | 22 -
.../spomky-labs/base64url/composer.json | 35 -
.../spomky-labs/base64url/src/Base64Url.php | 56 -
.../spomky-labs/cbor-php/LICENSE | 21 -
.../spomky-labs/cbor-php/composer.json | 53 -
.../cbor-php/src/AbstractCBORObject.php | 50 -
.../cbor-php/src/ByteStringObject.php | 76 -
.../src/ByteStringWithChunkObject.php | 21 -
.../spomky-labs/cbor-php/src/CBORObject.php | 110 -
.../spomky-labs/cbor-php/src/Decoder.php | 268 -
.../cbor-php/src/DecoderInterface.php | 19 -
.../src/IndefiniteLengthByteStringObject.php | 106 -
.../src/IndefiniteLengthListObject.php | 167 -
.../src/IndefiniteLengthMapObject.php | 201 -
.../src/IndefiniteLengthTextStringObject.php | 106 -
.../cbor-php/src/InfiniteListObject.php | 21 -
.../cbor-php/src/InfiniteMapObject.php | 21 -
.../cbor-php/src/LengthCalculator.php | 77 -
.../spomky-labs/cbor-php/src/ListObject.php | 187 -
.../spomky-labs/cbor-php/src/MapItem.php | 48 -
.../spomky-labs/cbor-php/src/MapObject.php | 217 -
.../cbor-php/src/NegativeIntegerObject.php | 136 -
.../spomky-labs/cbor-php/src/Normalizable.php | 22 -
.../spomky-labs/cbor-php/src/OtherObject.php | 52 -
.../cbor-php/src/OtherObject/BreakObject.php | 47 -
.../DoublePrecisionFloatObject.php | 97 -
.../cbor-php/src/OtherObject/FalseObject.php | 53 -
.../src/OtherObject/GenericObject.php | 43 -
.../OtherObject/HalfPrecisionFloatObject.php | 97 -
.../cbor-php/src/OtherObject/NullObject.php | 53 -
.../src/OtherObject/OtherObjectManager.php | 59 -
.../OtherObjectManagerInterface.php | 21 -
.../cbor-php/src/OtherObject/SimpleObject.php | 79 -
.../SinglePrecisionFloatObject.php | 96 -
.../cbor-php/src/OtherObject/TrueObject.php | 53 -
.../src/OtherObject/UndefinedObject.php | 49 -
.../cbor-php/src/SignedIntegerObject.php | 21 -
.../spomky-labs/cbor-php/src/Stream.php | 19 -
.../spomky-labs/cbor-php/src/StringStream.php | 85 -
.../spomky-labs/cbor-php/src/Tag.php | 99 -
.../cbor-php/src/Tag/Base16EncodingTag.php | 57 -
.../cbor-php/src/Tag/Base64EncodingTag.php | 63 -
.../cbor-php/src/Tag/Base64Tag.php | 57 -
.../cbor-php/src/Tag/Base64UrlEncodingTag.php | 58 -
.../cbor-php/src/Tag/Base64UrlTag.php | 57 -
.../cbor-php/src/Tag/BigFloatTag.php | 108 -
.../cbor-php/src/Tag/CBOREncodingTag.php | 57 -
.../spomky-labs/cbor-php/src/Tag/CBORTag.php | 54 -
.../cbor-php/src/Tag/DatetimeTag.php | 84 -
.../cbor-php/src/Tag/DecimalFractionTag.php | 114 -
.../spomky-labs/cbor-php/src/Tag/EpochTag.php | 21 -
.../cbor-php/src/Tag/GenericTag.php | 38 -
.../spomky-labs/cbor-php/src/Tag/MimeTag.php | 66 -
.../src/Tag/NegativeBigIntegerTag.php | 83 -
.../src/Tag/PositiveBigIntegerTag.php | 21 -
.../cbor-php/src/Tag/TagManager.php | 64 -
.../cbor-php/src/Tag/TagManagerInterface.php | 22 -
.../cbor-php/src/Tag/TagObjectManager.php | 21 -
.../cbor-php/src/Tag/TimestampTag.php | 111 -
.../src/Tag/UnsignedBigIntegerTag.php | 78 -
.../spomky-labs/cbor-php/src/Tag/UriTag.php | 66 -
.../spomky-labs/cbor-php/src/TagObject.php | 21 -
.../cbor-php/src/TextStringObject.php | 76 -
.../src/TextStringWithChunkObject.php | 21 -
.../cbor-php/src/UnsignedIntegerObject.php | 139 -
.../spomky-labs/cbor-php/src/Utils.php | 69 -
.../symfony/polyfill-ctype/Ctype.php | 232 -
.../symfony/polyfill-ctype/LICENSE | 19 -
.../symfony/polyfill-ctype/README.md | 12 -
.../symfony/polyfill-ctype/bootstrap.php | 50 -
.../symfony/polyfill-ctype/bootstrap80.php | 46 -
.../symfony/polyfill-ctype/composer.json | 41 -
.../symfony/polyfill-php80/LICENSE | 19 -
.../symfony/polyfill-php80/Php80.php | 115 -
.../symfony/polyfill-php80/PhpToken.php | 103 -
.../symfony/polyfill-php80/README.md | 25 -
.../Resources/stubs/Attribute.php | 31 -
.../Resources/stubs/PhpToken.php | 16 -
.../Resources/stubs/Stringable.php | 20 -
.../Resources/stubs/UnhandledMatchError.php | 16 -
.../Resources/stubs/ValueError.php | 16 -
.../symfony/polyfill-php80/bootstrap.php | 42 -
.../symfony/polyfill-php80/composer.json | 40 -
.../symfony/polyfill-php81/LICENSE | 19 -
.../symfony/polyfill-php81/Php81.php | 37 -
.../symfony/polyfill-php81/README.md | 17 -
.../Resources/stubs/ReturnTypeWillChange.php | 20 -
.../symfony/polyfill-php81/bootstrap.php | 28 -
.../symfony/polyfill-php81/composer.json | 36 -
.../symfony/process/CHANGELOG.md | 116 -
.../process/Exception/ExceptionInterface.php | 21 -
.../Exception/InvalidArgumentException.php | 21 -
.../process/Exception/LogicException.php | 21 -
.../Exception/ProcessFailedException.php | 54 -
.../Exception/ProcessSignaledException.php | 41 -
.../Exception/ProcessTimedOutException.php | 69 -
.../process/Exception/RuntimeException.php | 21 -
.../symfony/process/ExecutableFinder.php | 86 -
.../symfony/process/InputStream.php | 96 -
.../symfony/process/LICENSE | 19 -
.../symfony/process/PhpExecutableFinder.php | 103 -
.../symfony/process/PhpProcess.php | 72 -
.../symfony/process/Pipes/AbstractPipes.php | 180 -
.../symfony/process/Pipes/PipesInterface.php | 61 -
.../symfony/process/Pipes/UnixPipes.php | 163 -
.../symfony/process/Pipes/WindowsPipes.php | 204 -
.../symfony/process/Process.php | 1652 ----
.../symfony/process/ProcessUtils.php | 69 -
.../symfony/process/README.md | 28 -
.../symfony/process/composer.json | 29 -
.../thecodingmachine/safe/LICENSE | 21 -
.../thecodingmachine/safe/README.md | 178 -
.../thecodingmachine/safe/composer.json | 123 -
.../deprecated/Exceptions/ApcException.php | 11 -
.../Exceptions/LibeventException.php | 11 -
.../deprecated/Exceptions/MssqlException.php | 11 -
.../deprecated/Exceptions/StatsException.php | 11 -
.../thecodingmachine/safe/deprecated/apc.php | 238 -
.../safe/deprecated/functionsList.php | 56 -
.../safe/deprecated/libevent.php | 496 --
.../safe/deprecated/mssql.php | 426 -
.../safe/deprecated/stats.php | 108 -
.../safe/generated/Exceptions/.gitkeep | 0
.../generated/Exceptions/ApacheException.php | 11 -
.../generated/Exceptions/ApcuException.php | 11 -
.../generated/Exceptions/ArrayException.php | 11 -
.../generated/Exceptions/Bzip2Exception.php | 11 -
.../Exceptions/CalendarException.php | 11 -
.../Exceptions/ClassobjException.php | 11 -
.../generated/Exceptions/ComException.php | 11 -
.../generated/Exceptions/CubridException.php | 11 -
.../Exceptions/DatetimeException.php | 11 -
.../generated/Exceptions/DirException.php | 11 -
.../generated/Exceptions/EioException.php | 11 -
.../Exceptions/ErrorfuncException.php | 11 -
.../generated/Exceptions/ExecException.php | 11 -
.../Exceptions/FileinfoException.php | 11 -
.../Exceptions/FilesystemException.php | 11 -
.../generated/Exceptions/FilterException.php | 11 -
.../generated/Exceptions/FpmException.php | 11 -
.../generated/Exceptions/FtpException.php | 11 -
.../Exceptions/FunchandException.php | 11 -
.../generated/Exceptions/GmpException.php | 11 -
.../generated/Exceptions/GnupgException.php | 11 -
.../generated/Exceptions/HashException.php | 11 -
.../generated/Exceptions/IbaseException.php | 11 -
.../generated/Exceptions/IbmDb2Exception.php | 11 -
.../generated/Exceptions/IconvException.php | 11 -
.../generated/Exceptions/ImageException.php | 11 -
.../generated/Exceptions/ImapException.php | 11 -
.../generated/Exceptions/InfoException.php | 11 -
.../Exceptions/IngresiiException.php | 11 -
.../generated/Exceptions/InotifyException.php | 11 -
.../generated/Exceptions/LdapException.php | 11 -
.../generated/Exceptions/LibxmlException.php | 11 -
.../generated/Exceptions/LzfException.php | 11 -
.../Exceptions/MailparseException.php | 11 -
.../Exceptions/MbstringException.php | 11 -
.../generated/Exceptions/MiscException.php | 11 -
.../generated/Exceptions/MsqlException.php | 11 -
.../generated/Exceptions/MysqlException.php | 11 -
.../generated/Exceptions/MysqliException.php | 11 -
.../Exceptions/MysqlndMsException.php | 11 -
.../Exceptions/MysqlndQcException.php | 11 -
.../generated/Exceptions/NetworkException.php | 11 -
.../generated/Exceptions/Oci8Exception.php | 11 -
.../generated/Exceptions/OpcacheException.php | 11 -
.../Exceptions/OutcontrolException.php | 11 -
.../Exceptions/PasswordException.php | 11 -
.../generated/Exceptions/PcntlException.php | 11 -
.../generated/Exceptions/PdfException.php | 11 -
.../generated/Exceptions/PgsqlException.php | 11 -
.../generated/Exceptions/PosixException.php | 11 -
.../safe/generated/Exceptions/PsException.php | 11 -
.../generated/Exceptions/PspellException.php | 11 -
.../Exceptions/ReadlineException.php | 11 -
.../generated/Exceptions/RpminfoException.php | 11 -
.../generated/Exceptions/RrdException.php | 11 -
.../generated/Exceptions/SemException.php | 11 -
.../generated/Exceptions/SessionException.php | 11 -
.../generated/Exceptions/ShmopException.php | 11 -
.../Exceptions/SimplexmlException.php | 11 -
.../generated/Exceptions/SocketsException.php | 11 -
.../generated/Exceptions/SodiumException.php | 11 -
.../generated/Exceptions/SolrException.php | 11 -
.../generated/Exceptions/SplException.php | 11 -
.../generated/Exceptions/SqlsrvException.php | 11 -
.../generated/Exceptions/SsdeepException.php | 11 -
.../generated/Exceptions/Ssh2Exception.php | 11 -
.../generated/Exceptions/StreamException.php | 11 -
.../generated/Exceptions/StringsException.php | 11 -
.../generated/Exceptions/SwooleException.php | 11 -
.../generated/Exceptions/UodbcException.php | 11 -
.../generated/Exceptions/UopzException.php | 11 -
.../generated/Exceptions/UrlException.php | 11 -
.../generated/Exceptions/VarException.php | 11 -
.../generated/Exceptions/XdiffException.php | 11 -
.../generated/Exceptions/XmlException.php | 11 -
.../generated/Exceptions/XmlrpcException.php | 11 -
.../generated/Exceptions/YamlException.php | 11 -
.../generated/Exceptions/YazException.php | 11 -
.../generated/Exceptions/ZipException.php | 11 -
.../generated/Exceptions/ZlibException.php | 11 -
.../safe/generated/apache.php | 177 -
.../thecodingmachine/safe/generated/apcu.php | 112 -
.../thecodingmachine/safe/generated/array.php | 464 --
.../thecodingmachine/safe/generated/bzip2.php | 96 -
.../safe/generated/calendar.php | 27 -
.../safe/generated/classobj.php | 25 -
.../thecodingmachine/safe/generated/com.php | 127 -
.../safe/generated/cubrid.php | 395 -
.../thecodingmachine/safe/generated/curl.php | 3156 --------
.../safe/generated/datetime.php | 631 --
.../thecodingmachine/safe/generated/dir.php | 157 -
.../thecodingmachine/safe/generated/eio.php | 2071 -----
.../safe/generated/errorfunc.php | 82 -
.../thecodingmachine/safe/generated/exec.php | 159 -
.../safe/generated/fileinfo.php | 75 -
.../safe/generated/filesystem.php | 1488 ----
.../safe/generated/filter.php | 93 -
.../thecodingmachine/safe/generated/fpm.php | 22 -
.../thecodingmachine/safe/generated/ftp.php | 496 --
.../safe/generated/funchand.php | 47 -
.../safe/generated/functionsList.php | 1070 ---
.../thecodingmachine/safe/generated/gmp.php | 87 -
.../thecodingmachine/safe/generated/gnupg.php | 168 -
.../thecodingmachine/safe/generated/hash.php | 61 -
.../thecodingmachine/safe/generated/ibase.php | 633 --
.../safe/generated/ibmDb2.php | 1221 ---
.../thecodingmachine/safe/generated/iconv.php | 96 -
.../thecodingmachine/safe/generated/image.php | 2704 -------
.../thecodingmachine/safe/generated/imap.php | 1481 ----
.../thecodingmachine/safe/generated/info.php | 511 --
.../safe/generated/ingres-ii.php | 720 --
.../safe/generated/inotify.php | 44 -
.../thecodingmachine/safe/generated/json.php | 73 -
.../thecodingmachine/safe/generated/ldap.php | 1603 ----
.../safe/generated/libxml.php | 43 -
.../thecodingmachine/safe/generated/lzf.php | 44 -
.../safe/generated/mailparse.php | 127 -
.../safe/generated/mbstring.php | 526 --
.../thecodingmachine/safe/generated/misc.php | 464 --
.../thecodingmachine/safe/generated/msql.php | 443 --
.../thecodingmachine/safe/generated/mysql.php | 938 ---
.../safe/generated/mysqli.php | 42 -
.../safe/generated/mysqlndMs.php | 119 -
.../safe/generated/mysqlndQc.php | 103 -
.../safe/generated/network.php | 639 --
.../thecodingmachine/safe/generated/oci8.php | 1721 -----
.../safe/generated/opcache.php | 42 -
.../safe/generated/openssl.php | 1088 ---
.../safe/generated/outcontrol.php | 100 -
.../safe/generated/password.php | 126 -
.../thecodingmachine/safe/generated/pcntl.php | 166 -
.../thecodingmachine/safe/generated/pcre.php | 659 --
.../thecodingmachine/safe/generated/pdf.php | 1553 ----
.../thecodingmachine/safe/generated/pgsql.php | 1878 -----
.../thecodingmachine/safe/generated/posix.php | 329 -
.../thecodingmachine/safe/generated/ps.php | 1812 -----
.../safe/generated/pspell.php | 451 --
.../safe/generated/readline.php | 157 -
.../safe/generated/rpminfo.php | 21 -
.../thecodingmachine/safe/generated/rrd.php | 23 -
.../thecodingmachine/safe/generated/sem.php | 367 -
.../safe/generated/session.php | 153 -
.../thecodingmachine/safe/generated/shmop.php | 68 -
.../safe/generated/simplexml.php | 94 -
.../safe/generated/sockets.php | 813 --
.../safe/generated/sodium.php | 58 -
.../thecodingmachine/safe/generated/solr.php | 22 -
.../thecodingmachine/safe/generated/spl.php | 139 -
.../safe/generated/sqlsrv.php | 429 --
.../safe/generated/ssdeep.php | 70 -
.../thecodingmachine/safe/generated/ssh2.php | 641 --
.../safe/generated/stream.php | 609 --
.../safe/generated/strings.php | 846 --
.../safe/generated/swoole.php | 108 -
.../thecodingmachine/safe/generated/uodbc.php | 1009 ---
.../thecodingmachine/safe/generated/uopz.php | 40 -
.../thecodingmachine/safe/generated/url.php | 144 -
.../thecodingmachine/safe/generated/var.php | 60 -
.../thecodingmachine/safe/generated/xdiff.php | 236 -
.../thecodingmachine/safe/generated/xml.php | 95 -
.../safe/generated/xmlrpc.php | 22 -
.../thecodingmachine/safe/generated/yaml.php | 97 -
.../thecodingmachine/safe/generated/yaz.php | 438 --
.../thecodingmachine/safe/generated/zip.php | 71 -
.../thecodingmachine/safe/generated/zlib.php | 611 --
.../thecodingmachine/safe/lib/DateTime.php | 81 -
.../safe/lib/DateTimeImmutable.php | 262 -
.../safe/lib/Exceptions/CurlException.php | 15 -
.../safe/lib/Exceptions/JsonException.php | 12 -
.../safe/lib/Exceptions/OpensslException.php | 12 -
.../safe/lib/Exceptions/PcreException.php | 21 -
.../lib/Exceptions/SafeExceptionInterface.php | 9 -
.../safe/lib/special_cases.php | 241 -
.../safe/rector-migrate-0.7.php | 1081 ---
.../web-auth/cose-lib/LICENSE | 21 -
.../web-auth/cose-lib/composer.json | 31 -
.../cose-lib/src/Algorithm/Algorithm.php | 19 -
.../cose-lib/src/Algorithm/Mac/HS256.php | 34 -
.../src/Algorithm/Mac/HS256Truncated64.php | 34 -
.../cose-lib/src/Algorithm/Mac/HS384.php | 34 -
.../cose-lib/src/Algorithm/Mac/HS512.php | 34 -
.../cose-lib/src/Algorithm/Mac/Hmac.php | 43 -
.../cose-lib/src/Algorithm/Mac/Mac.php | 24 -
.../cose-lib/src/Algorithm/Manager.php | 56 -
.../cose-lib/src/Algorithm/ManagerFactory.php | 50 -
.../src/Algorithm/Signature/ECDSA/ECDSA.php | 53 -
.../Algorithm/Signature/ECDSA/ECSignature.php | 144 -
.../src/Algorithm/Signature/ECDSA/ES256.php | 41 -
.../src/Algorithm/Signature/ECDSA/ES256K.php | 41 -
.../src/Algorithm/Signature/ECDSA/ES384.php | 41 -
.../src/Algorithm/Signature/ECDSA/ES512.php | 41 -
.../src/Algorithm/Signature/EdDSA/ED256.php | 40 -
.../src/Algorithm/Signature/EdDSA/ED512.php | 40 -
.../src/Algorithm/Signature/EdDSA/Ed25519.php | 24 -
.../src/Algorithm/Signature/EdDSA/EdDSA.php | 65 -
.../src/Algorithm/Signature/RSA/PS256.php | 31 -
.../src/Algorithm/Signature/RSA/PS384.php | 31 -
.../src/Algorithm/Signature/RSA/PS512.php | 31 -
.../src/Algorithm/Signature/RSA/PSSRSA.php | 181 -
.../src/Algorithm/Signature/RSA/RS1.php | 29 -
.../src/Algorithm/Signature/RSA/RS256.php | 29 -
.../src/Algorithm/Signature/RSA/RS384.php | 29 -
.../src/Algorithm/Signature/RSA/RS512.php | 29 -
.../src/Algorithm/Signature/RSA/RSA.php | 49 -
.../src/Algorithm/Signature/Signature.php | 24 -
.../web-auth/cose-lib/src/Algorithms.php | 123 -
.../web-auth/cose-lib/src/BigInteger.php | 154 -
.../web-auth/cose-lib/src/Hash.php | 103 -
.../web-auth/cose-lib/src/Key/Ec2Key.php | 145 -
.../web-auth/cose-lib/src/Key/Key.php | 91 -
.../web-auth/cose-lib/src/Key/OkpKey.php | 67 -
.../web-auth/cose-lib/src/Key/RsaKey.php | 207 -
.../cose-lib/src/Key/SymmetricKey.php | 33 -
.../web-auth/cose-lib/src/Verifier.php | 18 -
.../web-auth/metadata-service/LICENSE | 21 -
.../web-auth/metadata-service/composer.json | 39 -
.../src/AbstractDescriptor.php | 49 -
.../src/AuthenticatorStatus.php | 58 -
.../src/BiometricAccuracyDescriptor.php | 108 -
.../src/BiometricStatusReport.php | 118 -
.../src/CodeAccuracyDescriptor.php | 73 -
.../DisplayPNGCharacteristicsDescriptor.php | 172 -
.../src/DistantSingleMetadata.php | 82 -
.../metadata-service/src/EcdaaTrustAnchor.php | 123 -
.../src/ExtensionDescriptor.php | 106 -
.../metadata-service/src/MetadataService.php | 283 -
.../src/MetadataStatement.php | 602 --
.../src/MetadataStatementFetcher.php | 85 -
.../src/MetadataStatementRepository.php | 26 -
.../src/MetadataTOCPayload.php | 142 -
.../src/MetadataTOCPayloadEntry.php | 188 -
.../src/PatternAccuracyDescriptor.php | 66 -
.../metadata-service/src/RgbPaletteEntry.php | 84 -
.../metadata-service/src/RogueListEntry.php | 67 -
.../metadata-service/src/SingleMetadata.php | 53 -
.../metadata-service/src/StatusReport.php | 166 -
.../web-auth/metadata-service/src/Utils.php | 35 -
.../src/VerificationMethodANDCombinations.php | 59 -
.../src/VerificationMethodDescriptor.php | 168 -
.../web-auth/metadata-service/src/Version.php | 80 -
.../web-auth/webauthn-lib/LICENSE | 21 -
.../web-auth/webauthn-lib/composer.json | 49 -
.../AndroidKeyAttestationStatementSupport.php | 147 -
...idSafetyNetAttestationStatementSupport.php | 292 -
.../AppleAttestationStatementSupport.php | 119 -
.../AttestationObject.php | 81 -
.../AttestationObjectLoader.php | 148 -
.../AttestationStatement.php | 175 -
.../AttestationStatementSupport.php | 28 -
.../AttestationStatementSupportManager.php | 43 -
.../FidoU2FAttestationStatementSupport.php | 118 -
.../NoneAttestationStatementSupport.php | 42 -
.../PackedAttestationStatementSupport.php | 194 -
.../TPMAttestationStatementSupport.php | 309 -
.../src/AttestedCredentialData.php | 113 -
.../AuthenticationExtension.php | 59 -
.../AuthenticationExtensionsClientInputs.php | 88 -
.../AuthenticationExtensionsClientOutputs.php | 97 -
...nticationExtensionsClientOutputsLoader.php | 34 -
.../ExtensionOutputChecker.php | 22 -
.../ExtensionOutputCheckerHandler.php | 37 -
.../ExtensionOutputError.php | 36 -
.../src/AuthenticatorAssertionResponse.php | 64 -
...uthenticatorAssertionResponseValidator.php | 272 -
.../src/AuthenticatorAttestationResponse.php | 38 -
...henticatorAttestationResponseValidator.php | 384 -
.../webauthn-lib/src/AuthenticatorData.php | 124 -
.../src/AuthenticatorResponse.php | 35 -
.../src/AuthenticatorSelectionCriteria.php | 167 -
.../CertificateChainChecker.php | 23 -
.../OpenSSLCertificateChainChecker.php | 239 -
.../webauthn-lib/src/CertificateToolbox.php | 223 -
.../webauthn-lib/src/CollectedClientData.php | 145 -
.../src/Counter/CounterChecker.php | 21 -
.../src/Counter/ThrowExceptionIfInvalid.php | 46 -
.../web-auth/webauthn-lib/src/Credential.php | 46 -
.../webauthn-lib/src/PublicKeyCredential.php | 62 -
.../PublicKeyCredentialCreationOptions.php | 261 -
.../src/PublicKeyCredentialDescriptor.php | 112 -
...ublicKeyCredentialDescriptorCollection.php | 95 -
.../src/PublicKeyCredentialEntity.php | 60 -
.../src/PublicKeyCredentialLoader.php | 181 -
.../src/PublicKeyCredentialOptions.php | 104 -
.../src/PublicKeyCredentialParameters.php | 82 -
.../src/PublicKeyCredentialRequestOptions.php | 194 -
.../src/PublicKeyCredentialRpEntity.php | 62 -
.../src/PublicKeyCredentialSource.php | 240 -
.../PublicKeyCredentialSourceRepository.php | 26 -
.../src/PublicKeyCredentialUserEntity.php | 87 -
.../web-auth/webauthn-lib/src/Server.php | 351 -
.../webauthn-lib/src/StringStream.php | 73 -
.../IgnoreTokenBindingHandler.php | 24 -
.../TokenBinding/SecTokenBindingHandler.php | 33 -
.../src/TokenBinding/TokenBinding.php | 82 -
.../src/TokenBinding/TokenBindingHandler.php | 21 -
.../TokenBindingNotSupportedHandler.php | 25 -
.../src/TrustPath/CertificateTrustPath.php | 61 -
.../src/TrustPath/EcdaaKeyIdTrustPath.php | 55 -
.../src/TrustPath/EmptyTrustPath.php | 35 -
.../webauthn-lib/src/TrustPath/TrustPath.php | 24 -
.../src/TrustPath/TrustPathLoader.php | 58 -
.../webauthn-lib/src/U2FPublicKey.php | 46 -
.../src/Util/CoseSignatureFixer.php | 54 -
.../jwt-core/.github/CONTRIBUTING.md | 4 -
.../web-token/jwt-core/.github/FUNDING.yml | 1 -
.../jwt-core/.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../web-token/jwt-core/Algorithm.php | 29 -
.../web-token/jwt-core/AlgorithmManager.php | 80 -
.../jwt-core/AlgorithmManagerFactory.php | 80 -
.../web-token/jwt-core/JWK.php | 146 -
.../web-token/jwt-core/JWKSet.php | 340 -
.../web-token/jwt-core/JWT.php | 23 -
.../web-token/jwt-core/LICENSE | 21 -
.../web-token/jwt-core/README.md | 15 -
.../web-token/jwt-core/Util/BigInteger.php | 231 -
.../web-token/jwt-core/Util/ECKey.php | 366 -
.../web-token/jwt-core/Util/ECSignature.php | 143 -
.../web-token/jwt-core/Util/Hash.php | 103 -
.../web-token/jwt-core/Util/JsonConverter.php | 55 -
.../web-token/jwt-core/Util/KeyChecker.php | 121 -
.../web-token/jwt-core/Util/RSAKey.php | 315 -
.../web-token/jwt-core/composer.json | 33 -
.../jwt-key-mgmt/.github/CONTRIBUTING.md | 4 -
.../jwt-key-mgmt/.github/FUNDING.yml | 1 -
.../.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../Analyzer/AlgorithmAnalyzer.php | 26 -
.../Analyzer/ES256KeyAnalyzer.php | 61 -
.../Analyzer/ES384KeyAnalyzer.php | 61 -
.../Analyzer/ES512KeyAnalyzer.php | 61 -
.../Analyzer/HS256KeyAnalyzer.php | 35 -
.../Analyzer/HS384KeyAnalyzer.php | 35 -
.../Analyzer/HS512KeyAnalyzer.php | 35 -
.../jwt-key-mgmt/Analyzer/KeyAnalyzer.php | 24 -
.../Analyzer/KeyAnalyzerManager.php | 46 -
.../Analyzer/KeyIdentifierAnalyzer.php | 26 -
.../jwt-key-mgmt/Analyzer/KeysetAnalyzer.php | 24 -
.../Analyzer/KeysetAnalyzerManager.php | 46 -
.../jwt-key-mgmt/Analyzer/Message.php | 97 -
.../jwt-key-mgmt/Analyzer/MessageBag.php | 71 -
.../jwt-key-mgmt/Analyzer/MixedKeyTypes.php | 49 -
.../Analyzer/MixedPublicAndPrivateKeys.php | 48 -
.../jwt-key-mgmt/Analyzer/NoneAnalyzer.php | 28 -
.../jwt-key-mgmt/Analyzer/OctAnalyzer.php | 32 -
.../jwt-key-mgmt/Analyzer/RsaAnalyzer.php | 54 -
.../jwt-key-mgmt/Analyzer/UsageAnalyzer.php | 32 -
.../Analyzer/ZxcvbnKeyAnalyzer.php | 48 -
.../web-token/jwt-key-mgmt/JKUFactory.php | 39 -
.../web-token/jwt-key-mgmt/JWKFactory.php | 328 -
.../jwt-key-mgmt/KeyConverter/ECKey.php | 307 -
.../KeyConverter/KeyConverter.php | 272 -
.../jwt-key-mgmt/KeyConverter/RSAKey.php | 263 -
.../web-token/jwt-key-mgmt/LICENSE | 21 -
.../web-token/jwt-key-mgmt/README.md | 15 -
.../jwt-key-mgmt/UrlKeySetFactory.php | 58 -
.../web-token/jwt-key-mgmt/X5UFactory.php | 56 -
.../web-token/jwt-key-mgmt/composer.json | 34 -
.../.github/CONTRIBUTING.md | 4 -
.../.github/FUNDING.yml | 1 -
.../.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../jwt-signature-algorithm-ecdsa/ECDSA.php | 80 -
.../jwt-signature-algorithm-ecdsa/ES256.php | 32 -
.../jwt-signature-algorithm-ecdsa/ES384.php | 32 -
.../jwt-signature-algorithm-ecdsa/ES512.php | 32 -
.../jwt-signature-algorithm-ecdsa/LICENSE | 21 -
.../jwt-signature-algorithm-ecdsa/README.md | 15 -
.../composer.json | 26 -
.../.github/CONTRIBUTING.md | 4 -
.../.github/FUNDING.yml | 1 -
.../.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../jwt-signature-algorithm-eddsa/EdDSA.php | 107 -
.../jwt-signature-algorithm-eddsa/LICENSE | 21 -
.../jwt-signature-algorithm-eddsa/README.md | 15 -
.../composer.json | 26 -
.../.github/CONTRIBUTING.md | 4 -
.../.github/FUNDING.yml | 1 -
.../.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../jwt-signature-algorithm-rsa/LICENSE | 21 -
.../jwt-signature-algorithm-rsa/PS256.php | 27 -
.../jwt-signature-algorithm-rsa/PS384.php | 27 -
.../jwt-signature-algorithm-rsa/PS512.php | 27 -
.../jwt-signature-algorithm-rsa/README.md | 15 -
.../jwt-signature-algorithm-rsa/RS256.php | 27 -
.../jwt-signature-algorithm-rsa/RS384.php | 27 -
.../jwt-signature-algorithm-rsa/RS512.php | 27 -
.../jwt-signature-algorithm-rsa/RSA.php | 74 -
.../jwt-signature-algorithm-rsa/RSAPKCS1.php | 75 -
.../jwt-signature-algorithm-rsa/RSAPSS.php | 69 -
.../jwt-signature-algorithm-rsa/Util/RSA.php | 251 -
.../jwt-signature-algorithm-rsa/composer.json | 31 -
.../jwt-signature/.github/CONTRIBUTING.md | 4 -
.../jwt-signature/.github/FUNDING.yml | 1 -
.../.github/PULL_REQUEST_TEMPLATE.md | 3 -
.../jwt-signature/Algorithm/MacAlgorithm.php | 37 -
.../Algorithm/SignatureAlgorithm.php | 37 -
.../web-token/jwt-signature/JWS.php | 150 -
.../web-token/jwt-signature/JWSBuilder.php | 235 -
.../jwt-signature/JWSBuilderFactory.php | 41 -
.../web-token/jwt-signature/JWSLoader.php | 124 -
.../jwt-signature/JWSLoaderFactory.php | 59 -
.../jwt-signature/JWSTokenSupport.php | 42 -
.../web-token/jwt-signature/JWSVerifier.php | 170 -
.../jwt-signature/JWSVerifierFactory.php | 41 -
.../web-token/jwt-signature/LICENSE | 21 -
.../web-token/jwt-signature/README.md | 15 -
.../Serializer/CompactSerializer.php | 96 -
.../Serializer/JSONFlattenedSerializer.php | 110 -
.../Serializer/JSONGeneralSerializer.php | 167 -
.../Serializer/JWSSerializer.php | 38 -
.../Serializer/JWSSerializerManager.php | 86 -
.../JWSSerializerManagerFactory.php | 63 -
.../jwt-signature/Serializer/Serializer.php | 24 -
.../web-token/jwt-signature/Signature.php | 134 -
.../web-token/jwt-signature/composer.json | 33 -
.../plugins/wp-webauthn/wp-webauthn.php | 86 -
.../plugins/wp-webauthn/wwa-admin-content.php | 321 -
.../plugins/wp-webauthn/wwa-ajax.php | 1256 ---
.../plugins/wp-webauthn/wwa-compatibility.php | 6 -
.../plugins/wp-webauthn/wwa-functions.php | 401 -
.../plugins/wp-webauthn/wwa-menus.php | 50 -
.../wp-webauthn/wwa-profile-content.php | 173 -
.../plugins/wp-webauthn/wwa-shortcodes.php | 181 -
.../plugins/wp-webauthn/wwa-version.php | 6 -
1784 files changed, 325846 deletions(-)
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/activitypub.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/assets/css/activitypub-admin.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/assets/img/mp.jpg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/assets/img/wp-logo.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/assets/js/activitypub-admin.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/block.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view-rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/block.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view-rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/block.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index-rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-activity.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-actor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-base-object.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-event.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-place.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activity-dispatcher.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activitypub.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-admin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-blocks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-comment.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-debug.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-hashtag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-health-check.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-http.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-mention.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-migration.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-notification.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-scheduler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-shortcodes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-signature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-webfinger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-followers.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-interactions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-users.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/compat.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/debug.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-announce.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-create.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-delete.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-follow.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-undo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-update.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/help.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-application.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-blog.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-follower.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-post.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-user.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-actors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-collection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-comment.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-followers.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-following.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-inbox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-nodeinfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-outbox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-server.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-webfinger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/table/class-followers.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-attachment.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-base.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-comment.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-factory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-post.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-buddypress.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-enable-mastodon-apps.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-jetpack.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-nodeinfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-opengraph.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-webfinger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/readme.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/admin-header.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/author-json.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-json.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-user-followers-list.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/comment-json.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/post-json.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-followers-list.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/activitypub/templates/welcome.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/gitium-webhook.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/gitium.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/img/gitium.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/img/gitium.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-git-wrapper.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-admin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-help.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu-bubble.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-requirements.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-commits.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-configure.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-status.php
delete mode 100755 wp-content/upgrade-temp-backup/plugins/gitium/inc/ssh-git
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-es_ES.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-es_ES.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-sr_RS.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-sr_RS.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium.pot
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gitium/readme.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/css.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/secondary-nav-backgrounds.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/generate-backgrounds.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/columns.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/customizer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/defaults.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/generate-blog.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/images.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/controls.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/infinite-scroll.pkgd.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/scripts.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/scripts.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/migrate.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/blog/generate-blog.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/menu-plus-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/wc-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/secondary-nav-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/slideout-nav-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/woocommerce-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/colors/generate-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/functions/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/generate-copyright.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/disable-elements/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/disable-elements/generate-disable-elements.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/dashboard.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/dashboard.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/dist/style-dashboard.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/author-image-placeholder.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/background-image-fallback.jpg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/balloon.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/elements.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/elements.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/featured-image-placeholder.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/metabox.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/metabox.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/spinner.gif
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/js/parallax.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/js/parallax.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-block-elements.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-block.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-conditions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-elements-helper.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-hero.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-hooks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-layout.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-metabox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/class-post-type.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/elements/elements.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/class-external-file-css.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/enqueue-scripts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/gp-premium.eot
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/gp-premium.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/gp-premium.ttf
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/gp-premium.woff
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/icons.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/icons/icons.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/js/smooth-scroll.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/js/smooth-scroll.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/general/smooth-scroll.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/gp-premium.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/functions/assets/css/hooks.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/functions/assets/js/admin.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/functions/assets/js/jquery.cookie.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/functions/hooks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/hooks/generate-hooks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/class-dashboard.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/class-rest.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/deprecated-admin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/deprecated.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/activation.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/assets/dashboard.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/assets/dashboard.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/dashboard.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/import-export.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/inc/legacy/reset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ar.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-bn_BD.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-cs_CZ.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-da_DK.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-de_DE.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_AR.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-es_ES.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fi.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fr_FR-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fr_FR-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fr_FR-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-fr_FR.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-hr.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-hu_HU.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-it_IT.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nb_NO.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-nl_NL.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pl_PL.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pt_BR.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pt_PT-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pt_PT-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pt_PT-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-pt_PT.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-ru_RU.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE-42da344ccb044413769d16ed3484307b.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE-53e2a1d5945b8d2b1c35e81ae1e532f3.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE-92fa58377f1b6f7bef9c785c31ae29ff.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE-cbab080b0f20fd6c323029398be6c986.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE-ecf9f3c2af10c4f2dfbf4f42504922d1.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-sv_SE.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-uk.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-vi.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/langs/gp-premium-zh_CN.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/alpha-color-picker/wp-color-picker-alpha.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/alpha-color-picker/wp-color-picker-alpha.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/class-make-css.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/class-plugin-updater.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer-helpers.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/active-callbacks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-action-button-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-alpha-color-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-backgrounds-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-control-toggle.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-copyright-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-deprecated.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-information-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-range-slider-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-refresh-button-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-section-shortcuts-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-spacing-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-title-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/class-typography-control.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/alpha-color-picker.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/button-actions.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/control-toggle-customizer.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/section-shortcuts.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/selectWoo.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/slider-customizer.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/spacing-customizer.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/title-customizer.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/transparency-grid.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/css/typography-customizer.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/alpha-color-picker.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/backgrounds-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/button-actions.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/control-toggle-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/copyright-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/generatepress-controls.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/section-shortcuts.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/selectWoo.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/slider-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/spacing-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/controls/js/typography-customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/deprecated.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/customizer/sanitize.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/select2/select2.full.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/library/select2/select2.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/fields/slideout-nav-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/menu-logo.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/menu-logo.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/navigation-branding-flex.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/navigation-branding-flex.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/navigation-branding.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/navigation-branding.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/offside.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/offside.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/sticky.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/css/sticky.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/generate-menu-plus.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/js/offside.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/js/offside.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/js/sticky.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/functions/js/sticky.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/menu-plus/generate-menu-plus.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/css/metabox.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/css/page-header.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/css/page-header.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/global-locations.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/full-height.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/full-height.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/jquery.vide.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/lc_switch.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/metabox.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/parallax.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/js/parallax.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/metabox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/page-header.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/post-image.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/functions/post-type.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/page-header/generate-page-header.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/readme.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/fields/secondary-navigation.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/main-mobile.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/main-mobile.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/main.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/main.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/style-mobile.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/style-mobile.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/style.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/css/style.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/functions/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/secondary-nav/generate-secondary-nav.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/css/style.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/css/style.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/generate-sections.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/js/parallax.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/js/parallax.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/css/generate-sections-metabox.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/css/lc_switch.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/js/generate-sections-metabox-4.9.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/js/generate-sections-metabox.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/metabox-functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/views/sections-template.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/views/sections.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/metaboxes/views/use-sections.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/functions/templates/template.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/sections/generate-sections.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/class-site-library-helper.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/class-site-library-rest.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/class-site-library.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/classes/class-beaver-builder-batch-processing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/classes/class-content-importer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/classes/class-site-import-image.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/classes/class-site-widget-importer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/libs/wxr-importer/WPImporterLogger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/libs/wxr-importer/WXRImportInfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/site-library/libs/wxr-importer/WXRImporter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/content-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/footer-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/header-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/navigation-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/secondary-nav-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/sidebar-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/customizer/top-bar-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/functions/migration.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/spacing/generate-spacing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/google-fonts.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/migration.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/secondary-nav-fonts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/slideout-nav-fonts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/functions/woocommerce-fonts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/typography/generate-fonts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/fields/woocommerce-colors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/css/woocommerce-mobile.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/css/woocommerce-mobile.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/css/woocommerce.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/css/woocommerce.min.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/customizer/customizer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/customizer/js/customizer.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/js/woocommerce.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/functions/js/woocommerce.min.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/woocommerce/woocommerce.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/gp-premium/wpml-config.xml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/assets/fonts/jetpack-protect.eot
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/assets/fonts/jetpack-protect.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/assets/fonts/jetpack-protect.ttf
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/assets/fonts/jetpack-protect.woff
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/assets/jetpack-protect.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/images/in-progress-db145d62b5ef09c05ad7.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/index.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/index.js.LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/build/index.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack-protect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-a8c-mc-stats/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-a8c-mc-stats/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-a8c-mc-stats/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-admin-ui/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-admin-ui/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-admin-ui/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-admin-ui/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/actions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/build/i18n-loader.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-assets/src/js/i18n-loader.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/src/class-helper-script-manager-impl.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/src/class-helper-script-manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-backup-helper-script-manager/src/class-throw-on-errors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/contracts/boost-api-client.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-boost-api.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-cacheable.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-transient.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-url.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-core/src/lib/class-wpcom-boost-api-client.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/src/class-jetpack-boost-modules.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/src/class-speed-score-graph-history-request.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/src/class-speed-score-history.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/src/class-speed-score-request.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-boost-speed-score/src/class-speed-score.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-config/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-config/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-config/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-config/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-config/src/class-config.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/TRACKING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-admin-create-user.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-admin-create-user.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-admin-create-user.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-admin-create-user.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-login.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-login.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-login.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-login.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-users.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-sso-users.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/tracks-ajax.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/dist/tracks-callables.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-authorize-json-api.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-client.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-connection-notice.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-partner-coupon.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-partner.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-rest-authentication.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-secrets.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-tokens-locks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-async-call.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/interface-manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/class-force-2fa.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/class-helpers.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/class-notices.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/class-sso.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/class-user-admin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-admin-create-user.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-admin-create-user.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-login.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-login.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-users.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-constants/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-constants/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-constants/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-device-detection/src/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.js.LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/build/index.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin-bar.scss
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/admin.jsx
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/_inc/style.scss
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-url-secret.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-ip/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-ip/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-ip/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-ip/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-ip/src/class-utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/build/images/background-165b2f00927a762c8cf4.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/build/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/build/index.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/build/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/build/index.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/css/jetpack-admin-jitm.scss
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-jitm/src/images/background.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-logo/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-logo/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-logo/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-logo/src/class-logo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/apple-92dacafad84e79708a74.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/cloud-81ac85ba680343200f54.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/disconnect-thanks-5873bfac56a9bd7322cd.jpg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/empty-avatar-fea23feddfa99b07c2e8.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/google-dec2a429bf1d8e83f9ad.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-9de1caef5eb5c22da5d6.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-ai-1a265a198f75543e342e.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-manage-3a7ecaa604823c98c3cf.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/site-cards-143fca7aec7a8c370e82.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/social-e3fb80b2f32534fefe63.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/stats-9802380852610a4d5908.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.png
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/wordpress-1fc3e0ba6c52e9707900.svg
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js.LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.rtl.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/global.d.ts
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-activitylog.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-jetpack-manage.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-creator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-password-checker/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-password-checker/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-password-checker/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-password-checker/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-redirect/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-redirect/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-redirect/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-roles/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-roles/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-roles/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-roles/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-cache.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-errors.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-files.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-host.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-modules.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-paths.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-status.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-health.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-lock.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-main.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-modules.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-queue-buffer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-rest-sender.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-server.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-users.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/interface-replicastore.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-attachments.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-comments.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-import.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-menus.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-meta.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-module.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-network-options.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-options.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-themes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-updates.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-users.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce-hpos-orders.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-usermeta.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-users.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/sync-queue/class-queue-storage-options.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-sync/src/sync-queue/class-queue-storage-table.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/actions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/src/class-package-version-compat.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/src/class-package-version.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-transport-helper/src/class-rest-controller.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/cli.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-math-fallback.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-shared-functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-transient-cleanup.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-compatibility.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-rest-controller.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-rules-manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/exceptions/class-file-system-exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/exceptions/class-rules-api-exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/exceptions/class-waf-exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/src/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/jetpack_vendor/i18n-map.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/readme.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-credentials.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-jetpack-protect.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-onboarding.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-plan.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-protect-status.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-rest-controller.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-scan-status.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-site-health.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-status.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/class-threats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/models/class-extension-model.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/models/class-status-model.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/src/models/class-threat-model.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/autoload.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/autoload_packages.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/LICENSE.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/src/class-current-plan.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/automattic/jetpack-plans/src/class-plans.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/ClassLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/InstalledVersions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_classmap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_files.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_namespaces.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_psr4.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_real.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_static.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/installed.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/installed.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/jetpack_autoload_classmap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/jetpack_autoload_filemap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/platform_check.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-autoloader-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-autoloader-locator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-autoloader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-container.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-hook-manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-manifest-reader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-path-processor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-php-autoloader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-plugin-locator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-plugins-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-shutdown-handler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-version-loader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/jetpack-autoloader/class-version-selector.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/NOTICE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/bench.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/check.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/blocks/blocks.build.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/blocks/languages/wp-webauthn-tr_TR-wwa_block_js.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/blocks/languages/wp-webauthn-zh_CN-wwa_block_js.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/blocks/languages/wp-webauthn-zh_HK-wwa_block_js.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/blocks/languages/wp-webauthn-zh_TW-wwa_block_js.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/css/admin.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/css/frontend.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/css/login.css
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/js/admin.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/js/default_wa.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/js/frontend.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/js/login.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/js/profile.js
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/template.pot
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-ca_ES.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-ca_ES.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-es_ES.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-es_ES.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-fr_FR.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-fr_FR.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-it_IT.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-it_IT.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-tr_TR.mo
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/languages/wp-webauthn-tr_TR.po
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/readme.txt
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/autoload.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/.github/workflows/ci.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/Assert.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/Assertion.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/AssertionChain.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/AssertionFailedException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/InvalidArgumentException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/LazyAssertion.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/LazyAssertionException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/beberlei/assert/lib/Assert/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/BigDecimal.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/BigInteger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/BigNumber.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/BigRational.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/DivisionByZeroException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/IntegerOverflowException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/MathException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/NegativeNumberException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/NumberFormatException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Exception/RoundingNecessaryException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Internal/Calculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Internal/Calculator/BcMathCalculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Internal/Calculator/GmpCalculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/brick/math/src/RoundingMode.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/ClassLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/InstalledVersions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_classmap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_files.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_namespaces.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_psr4.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_real.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/autoload_static.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/installed.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/composer/installed.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/ASNObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/AbstractString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/AbstractTime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Base128.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Composite/RDNString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Composite/RelativeDistinguishedName.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Construct.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Exception/NotImplementedException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Exception/ParserException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/ExplicitlyTaggedObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Identifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/OID.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Parsable.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/TemplateParser.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/BMPString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/BitString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/Boolean.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/CharacterString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/Enumerated.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/GeneralString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/GeneralizedTime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/GraphicString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/IA5String.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/Integer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/NullObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/NumericString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/ObjectDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/ObjectIdentifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/OctetString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/PrintableString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/RelativeObjectIdentifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/Sequence.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/Set.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/T61String.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/UTCTime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/UTF8String.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/UniversalString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/Universal/VisibleString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/UnknownConstructedObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/ASN1/UnknownObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/Utility/BigInteger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/Utility/BigIntegerBcmath.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/Utility/BigIntegerGmp.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/AlgorithmIdentifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/CSR/Attributes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/CSR/CSR.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/CertificateExtensions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/CertificateSubject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/PrivateKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/PublicKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/SAN/DNSName.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/SAN/IPAddress.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/fgrosse/phpasn1/lib/X509/SAN/SubjectAlternativeNames.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/AuthorityInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/DataPathInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/DomainHostInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/FragmentInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/HostInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/IpHostInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/PathInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/PortInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/QueryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/SegmentedPathInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/UriComponentInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/UriException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/UriInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Contracts/UserInfoInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Exceptions/FileinfoSupportMissing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Exceptions/IdnaConversionFailed.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Exceptions/SyntaxError.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Idna/Idna.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri-interfaces/src/Idna/IdnaInfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/Exceptions/TemplateCanNotBeExpanded.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/Http.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/HttpFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/Uri.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriInfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriResolver.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriTemplate.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriTemplate/Expression.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriTemplate/Template.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriTemplate/VarSpecifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/league/uri/src/UriTemplate/VariableBag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/src/ServerRequestCreator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7-server/src/ServerRequestCreatorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/.php-cs-fixer.dist.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/phpstan-baseline.neon
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/psalm.baseline.xml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Factory/HttplugFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Factory/Psr17Factory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/MessageTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Request.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/RequestTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Response.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/ServerRequest.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Stream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/StreamTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/UploadedFile.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/nyholm/psr7/src/Uri.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/src/ClientExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/src/ClientInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/src/NetworkExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-client/src/RequestExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/RequestFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/ResponseFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/StreamFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-factory/src/UriFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/docs/PSR7-Interfaces.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/docs/PSR7-Usage.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/MessageInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/RequestInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/ResponseInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/ServerRequestInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/StreamInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/UploadedFileInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/http-message/src/UriInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/AbstractLogger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/InvalidArgumentException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/LogLevel.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/LoggerAwareInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/LoggerAwareTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/LoggerInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/LoggerTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/NullLogger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/Test/DummyTest.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/Psr/Log/Test/TestLogger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/psr/log/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/SECURITY.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/conventional-commits.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/AbstractArray.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/AbstractCollection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/AbstractSet.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/ArrayInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Collection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/CollectionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/DoubleEndedQueue.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/DoubleEndedQueueInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/CollectionMismatchException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/InvalidArgumentException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/InvalidSortOrderException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/NoSuchElementException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/OutOfBoundsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Exception/ValueExtractionException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/GenericArray.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/AbstractMap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/AbstractTypedMap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/AssociativeArrayMap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/MapInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/NamedParameterMap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/TypedMap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Map/TypedMapInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Queue.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/QueueInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Set.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Tool/TypeTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Tool/ValueExtractorTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/collection/src/Tool/ValueToStringTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/BinaryUtils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Builder/BuilderCollection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Builder/DegradedUuidBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Builder/FallbackBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Builder/UuidBuilderInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/CodecInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/GuidStringCodec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/StringCodec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Codec/TimestampLastCombCodec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Number/BigNumberConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/NumberConverterInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Converter/TimeConverterInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/DegradedUuid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/DeprecatedUuidInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/DateTimeException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/DceSecurityException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/NameException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/NodeException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/RandomSourceException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/TimeSourceException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/FeatureSet.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Fields/FieldsInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/CombGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/NameGeneratorFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/NameGeneratorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/RandomGeneratorFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/RandomGeneratorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/RandomLibAdapter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/TimeGeneratorFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Generator/TimeGeneratorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Guid/Fields.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Guid/Guid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Guid/GuidBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Math/BrickMathCalculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Math/CalculatorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Math/RoundingMode.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Nonstandard/Fields.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Nonstandard/Uuid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Nonstandard/UuidBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Nonstandard/UuidV6.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/NodeProviderInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Provider/TimeProviderInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/Fields.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/FieldsInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/NilTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/NilUuid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidV1.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidV2.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidV3.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidV4.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/UuidV5.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/Validator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/Decimal.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/Hexadecimal.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/Integer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/NumberInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/Time.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Type/TypeInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Uuid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/UuidFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/UuidFactoryInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/UuidInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Validator/GenericValidator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/Validator/ValidatorInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/ramsey/uuid/src/functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/base64url/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/base64url/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/base64url/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/base64url/src/Base64Url.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/AbstractCBORObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/ByteStringObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/ByteStringWithChunkObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/CBORObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Decoder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/DecoderInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/IndefiniteLengthByteStringObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/IndefiniteLengthListObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/IndefiniteLengthMapObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/IndefiniteLengthTextStringObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/InfiniteListObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/InfiniteMapObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/LengthCalculator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/ListObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/MapItem.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/MapObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/NegativeIntegerObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Normalizable.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/BreakObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/DoublePrecisionFloatObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/FalseObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/GenericObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/HalfPrecisionFloatObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/NullObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/OtherObjectManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/OtherObjectManagerInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/SimpleObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/SinglePrecisionFloatObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/TrueObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/OtherObject/UndefinedObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/SignedIntegerObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Stream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/StringStream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/Base16EncodingTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/Base64EncodingTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/Base64Tag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/Base64UrlEncodingTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/Base64UrlTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/BigFloatTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/CBOREncodingTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/CBORTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/DatetimeTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/DecimalFractionTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/EpochTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/GenericTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/MimeTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/NegativeBigIntegerTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/PositiveBigIntegerTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/TagManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/TagManagerInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/TagObjectManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/TimestampTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/UnsignedBigIntegerTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Tag/UriTag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/TagObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/TextStringObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/TextStringWithChunkObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/UnsignedIntegerObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/spomky-labs/cbor-php/src/Utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/Ctype.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/bootstrap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/bootstrap80.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-ctype/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Php80.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/PhpToken.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/bootstrap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php80/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/Php81.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/bootstrap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/polyfill-php81/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/CHANGELOG.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/ExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/InvalidArgumentException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/LogicException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/ProcessFailedException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/ProcessSignaledException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/ProcessTimedOutException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Exception/RuntimeException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/ExecutableFinder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/InputStream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/PhpExecutableFinder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/PhpProcess.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Pipes/AbstractPipes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Pipes/PipesInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Pipes/UnixPipes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Pipes/WindowsPipes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/Process.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/ProcessUtils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/symfony/process/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/Exceptions/ApcException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/Exceptions/LibeventException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/Exceptions/MssqlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/Exceptions/StatsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/apc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/functionsList.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/libevent.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/mssql.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/deprecated/stats.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/.gitkeep
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ApacheException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ApcuException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ArrayException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/Bzip2Exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/CalendarException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ClassobjException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ComException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/CubridException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/DatetimeException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/DirException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/EioException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ErrorfuncException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ExecException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FileinfoException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FilesystemException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FilterException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FpmException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FtpException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/FunchandException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/GmpException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/GnupgException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/HashException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/IbaseException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/IbmDb2Exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/IconvException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ImageException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ImapException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/InfoException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/IngresiiException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/InotifyException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/LdapException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/LibxmlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/LzfException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MailparseException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MbstringException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MiscException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MsqlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MysqlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MysqliException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MysqlndMsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/MysqlndQcException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/NetworkException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/Oci8Exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/OpcacheException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/OutcontrolException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PasswordException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PcntlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PdfException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PgsqlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PosixException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/PspellException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ReadlineException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/RpminfoException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/RrdException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SemException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SessionException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ShmopException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SimplexmlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SocketsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SodiumException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SolrException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SplException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SqlsrvException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SsdeepException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/Ssh2Exception.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/StreamException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/StringsException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/SwooleException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/UodbcException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/UopzException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/UrlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/VarException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/XdiffException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/XmlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/XmlrpcException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/YamlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/YazException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ZipException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/Exceptions/ZlibException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/apache.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/apcu.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/array.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/bzip2.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/calendar.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/classobj.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/com.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/cubrid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/curl.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/datetime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/dir.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/eio.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/errorfunc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/exec.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/fileinfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/filesystem.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/filter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/fpm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ftp.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/funchand.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/functionsList.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/gmp.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/gnupg.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/hash.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ibase.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ibmDb2.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/iconv.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/image.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/imap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/info.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ingres-ii.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/inotify.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/json.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ldap.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/libxml.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/lzf.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mailparse.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mbstring.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/misc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/msql.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mysql.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mysqli.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mysqlndMs.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/mysqlndQc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/network.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/oci8.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/opcache.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/openssl.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/outcontrol.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/password.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/pcntl.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/pcre.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/pdf.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/pgsql.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/posix.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ps.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/pspell.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/readline.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/rpminfo.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/rrd.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/sem.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/session.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/shmop.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/simplexml.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/sockets.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/sodium.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/solr.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/spl.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/sqlsrv.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ssdeep.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/ssh2.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/stream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/strings.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/swoole.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/uodbc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/uopz.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/url.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/var.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/xdiff.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/xml.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/xmlrpc.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/yaml.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/yaz.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/zip.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/generated/zlib.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/DateTime.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/DateTimeImmutable.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/Exceptions/JsonException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/Exceptions/PcreException.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/Exceptions/SafeExceptionInterface.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/lib/special_cases.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/thecodingmachine/safe/rector-migrate-0.7.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Algorithm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/HS256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/HS256Truncated64.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/HS384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/HS512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/Hmac.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Mac/Mac.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Manager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/ManagerFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ECDSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ECSignature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ES256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ES256K.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ES384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ES512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/ED256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/ED512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/Ed25519.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/EdDSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/PS256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/PS384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/PS512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/PSSRSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/RS1.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/RS256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/RS384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/RS512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/RSA/RSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithm/Signature/Signature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Algorithms.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/BigInteger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Hash.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Key/Ec2Key.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Key/Key.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Key/OkpKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Key/RsaKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Key/SymmetricKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/cose-lib/src/Verifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/AbstractDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/AuthenticatorStatus.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/BiometricAccuracyDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/BiometricStatusReport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/CodeAccuracyDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/DisplayPNGCharacteristicsDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/DistantSingleMetadata.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/EcdaaTrustAnchor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/ExtensionDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataService.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataStatement.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataStatementFetcher.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataStatementRepository.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataTOCPayload.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/MetadataTOCPayloadEntry.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/PatternAccuracyDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/RgbPaletteEntry.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/RogueListEntry.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/SingleMetadata.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/StatusReport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/Utils.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/VerificationMethodANDCombinations.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/VerificationMethodDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/metadata-service/src/Version.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AndroidKeyAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AndroidSafetyNetAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AppleAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationObject.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationObjectLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationStatement.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationStatementSupportManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/FidoU2FAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/NoneAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/PackedAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/TPMAttestationStatementSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestedCredentialData.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/AuthenticationExtension.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/AuthenticationExtensionsClientInputs.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/AuthenticationExtensionsClientOutputs.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/AuthenticationExtensionsClientOutputsLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/ExtensionOutputChecker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/ExtensionOutputCheckerHandler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticationExtensions/ExtensionOutputError.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorAssertionResponse.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorAssertionResponseValidator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorAttestationResponse.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorAttestationResponseValidator.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorData.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorResponse.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AuthenticatorSelectionCriteria.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/CertificateChainChecker/CertificateChainChecker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/CertificateChainChecker/OpenSSLCertificateChainChecker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/CertificateToolbox.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/CollectedClientData.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Counter/CounterChecker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Counter/ThrowExceptionIfInvalid.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Credential.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredential.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialCreationOptions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialDescriptor.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialDescriptorCollection.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialEntity.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialOptions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialParameters.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialRequestOptions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialRpEntity.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialSource.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialSourceRepository.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/PublicKeyCredentialUserEntity.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Server.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/StringStream.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TokenBinding/IgnoreTokenBindingHandler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TokenBinding/SecTokenBindingHandler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TokenBinding/TokenBinding.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TokenBinding/TokenBindingHandler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TokenBinding/TokenBindingNotSupportedHandler.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TrustPath/CertificateTrustPath.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TrustPath/EcdaaKeyIdTrustPath.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TrustPath/EmptyTrustPath.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TrustPath/TrustPath.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/TrustPath/TrustPathLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/U2FPublicKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Util/CoseSignatureFixer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Algorithm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/AlgorithmManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/AlgorithmManagerFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/JWK.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/JWKSet.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/JWT.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/BigInteger.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/ECKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/ECSignature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/Hash.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/JsonConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/KeyChecker.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/Util/RSAKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-core/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/AlgorithmAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/ES256KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/ES384KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/ES512KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/HS256KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/HS384KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/HS512KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/KeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/KeyAnalyzerManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/KeyIdentifierAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/KeysetAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/KeysetAnalyzerManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/Message.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/MessageBag.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/MixedKeyTypes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/MixedPublicAndPrivateKeys.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/NoneAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/OctAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/RsaAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/UsageAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/Analyzer/ZxcvbnKeyAnalyzer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/JKUFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/JWKFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/KeyConverter/ECKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/KeyConverter/KeyConverter.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/KeyConverter/RSAKey.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/UrlKeySetFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/X5UFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-key-mgmt/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/ECDSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/ES256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/ES384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/ES512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-ecdsa/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/EdDSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-eddsa/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/PS256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/PS384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/PS512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RS256.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RS384.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RS512.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RSAPKCS1.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/RSAPSS.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/Util/RSA.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature-algorithm-rsa/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/.github/CONTRIBUTING.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/.github/FUNDING.yml
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/.github/PULL_REQUEST_TEMPLATE.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Algorithm/MacAlgorithm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Algorithm/SignatureAlgorithm.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWS.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSBuilder.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSBuilderFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSLoader.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSLoaderFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSTokenSupport.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSVerifier.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/JWSVerifierFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/LICENSE
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/README.md
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/CompactSerializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/JSONFlattenedSerializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/JSONGeneralSerializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/JWSSerializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/JWSSerializerManager.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/JWSSerializerManagerFactory.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Serializer/Serializer.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/Signature.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn-vendor/web-token/jwt-signature/composer.json
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wp-webauthn.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-admin-content.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-ajax.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-compatibility.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-functions.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-menus.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-profile-content.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-shortcodes.php
delete mode 100644 wp-content/upgrade-temp-backup/plugins/wp-webauthn/wwa-version.php
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/LICENSE b/wp-content/upgrade-temp-backup/plugins/activitypub/LICENSE
deleted file mode 100644
index 644800f2..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-MIT License
-
-Copyright (c) 2019 Matthias Pfefferle
-Copyright (c) 2023 Automattic
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/activitypub.php b/wp-content/upgrade-temp-backup/plugins/activitypub/activitypub.php
deleted file mode 100644
index 478486ef..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/activitypub.php
+++ /dev/null
@@ -1,239 +0,0 @@
-)|(?<= )|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))' );
-\defined( 'ACTIVITYPUB_USERNAME_REGEXP' ) || \define( 'ACTIVITYPUB_USERNAME_REGEXP', '(?:([A-Za-z0-9\._-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))' );
-\defined( 'ACTIVITYPUB_CUSTOM_POST_CONTENT' ) || \define( 'ACTIVITYPUB_CUSTOM_POST_CONTENT', "[ap_title] \n\n[ap_content]\n\n[ap_hashtags]\n\n[ap_shortlink]" );
-\defined( 'ACTIVITYPUB_AUTHORIZED_FETCH' ) || \define( 'ACTIVITYPUB_AUTHORIZED_FETCH', false );
-\defined( 'ACTIVITYPUB_DISABLE_REWRITES' ) || \define( 'ACTIVITYPUB_DISABLE_REWRITES', false );
-\defined( 'ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS' ) || \define( 'ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS', false );
-\defined( 'ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS' ) || \define( 'ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS', false );
-\defined( 'ACTIVITYPUB_SHARED_INBOX_FEATURE' ) || \define( 'ACTIVITYPUB_SHARED_INBOX_FEATURE', false );
-\defined( 'ACTIVITYPUB_SEND_VARY_HEADER' ) || \define( 'ACTIVITYPUB_SEND_VARY_HEADER', false );
-\defined( 'ACTIVITYPUB_DEFAULT_OBJECT_TYPE' ) || \define( 'ACTIVITYPUB_DEFAULT_OBJECT_TYPE', 'note' );
-
-\define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
-\define( 'ACTIVITYPUB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
-\define( 'ACTIVITYPUB_PLUGIN_FILE', plugin_dir_path( __FILE__ ) . '/' . basename( __FILE__ ) );
-\define( 'ACTIVITYPUB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
-
-/**
- * Initialize REST routes.
- */
-function rest_init() {
- Rest\Actors::init();
- Rest\Outbox::init();
- Rest\Inbox::init();
- Rest\Followers::init();
- Rest\Following::init();
- Rest\Webfinger::init();
- Rest\Comment::init();
- Rest\Server::init();
- Rest\Collection::init();
-
- // load NodeInfo endpoints only if blog is public
- if ( is_blog_public() ) {
- Rest\NodeInfo::init();
- }
-}
-\add_action( 'rest_api_init', __NAMESPACE__ . '\rest_init' );
-
-/**
- * Initialize plugin.
- */
-function plugin_init() {
- \add_action( 'init', array( __NAMESPACE__ . '\Migration', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Activitypub', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Activity_Dispatcher', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Handler', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Admin', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Hashtag', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Mention', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Health_Check', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Scheduler', 'init' ) );
- \add_action( 'init', array( __NAMESPACE__ . '\Comment', 'init' ) );
-
- if ( site_supports_blocks() ) {
- \add_action( 'init', array( __NAMESPACE__ . '\Blocks', 'init' ) );
- }
-
- $debug_file = __DIR__ . '/includes/debug.php';
- if ( \WP_DEBUG && file_exists( $debug_file ) && is_readable( $debug_file ) ) {
- require_once $debug_file;
- Debug::init();
- }
-
- require_once __DIR__ . '/integration/class-webfinger.php';
- Integration\Webfinger::init();
-
- require_once __DIR__ . '/integration/class-nodeinfo.php';
- Integration\Nodeinfo::init();
-
- require_once __DIR__ . '/integration/class-enable-mastodon-apps.php';
- Integration\Enable_Mastodon_Apps::init();
-
- require_once __DIR__ . '/integration/class-opengraph.php';
- Integration\Opengraph::init();
-
- if ( \defined( 'JETPACK__VERSION' ) && ! \defined( 'IS_WPCOM' ) ) {
- require_once __DIR__ . '/integration/class-jetpack.php';
- Integration\Jetpack::init();
- }
-}
-\add_action( 'plugins_loaded', __NAMESPACE__ . '\plugin_init' );
-
-
-/**
- * Class Autoloader
- */
-\spl_autoload_register(
- function ( $full_class ) {
- $base_dir = __DIR__ . '/includes/';
- $base = 'Activitypub\\';
-
- if ( strncmp( $full_class, $base, strlen( $base ) ) === 0 ) {
- $maybe_uppercase = str_replace( $base, '', $full_class );
- $class = strtolower( $maybe_uppercase );
- // All classes should be capitalized. If this is instead looking for a lowercase method, we ignore that.
- if ( $maybe_uppercase === $class ) {
- return;
- }
-
- if ( false !== strpos( $class, '\\' ) ) {
- $parts = explode( '\\', $class );
- $class = array_pop( $parts );
- $sub_dir = strtr( implode( '/', $parts ), '_', '-' );
- $base_dir = $base_dir . $sub_dir . '/';
- }
-
- $filename = 'class-' . strtr( $class, '_', '-' );
- $file = $base_dir . $filename . '.php';
-
- if ( file_exists( $file ) && is_readable( $file ) ) {
- require_once $file;
- } else {
- // translators: %s is the class name
- \wp_die( sprintf( esc_html__( 'Required class not found or not readable: %s', 'activitypub' ), esc_html( $full_class ) ) );
- }
- }
- }
-);
-
-/**
- * Add plugin settings link
- */
-function plugin_settings_link( $actions ) {
- $settings_link = array();
- $settings_link[] = \sprintf(
- '%2s ',
- \menu_page_url( 'activitypub', false ),
- \__( 'Settings', 'activitypub' )
- );
-
- return \array_merge( $settings_link, $actions );
-}
-\add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), __NAMESPACE__ . '\plugin_settings_link' );
-
-\register_activation_hook(
- __FILE__,
- array(
- __NAMESPACE__ . '\Activitypub',
- 'activate',
- )
-);
-
-\register_deactivation_hook(
- __FILE__,
- array(
- __NAMESPACE__ . '\Activitypub',
- 'deactivate',
- )
-);
-
-\register_uninstall_hook(
- __FILE__,
- array(
- __NAMESPACE__ . '\Activitypub',
- 'uninstall',
- )
-);
-
-/**
- * Only load code that needs BuddyPress to run once BP is loaded and initialized.
- */
-add_action(
- 'bp_include',
- function () {
- require_once __DIR__ . '/integration/class-buddypress.php';
- Integration\Buddypress::init();
- },
- 0
-);
-
-/**
- * `get_plugin_data` wrapper
- *
- * @return array The plugin metadata array
- */
-function get_plugin_meta( $default_headers = array() ) {
- if ( ! $default_headers ) {
- $default_headers = array(
- 'Name' => 'Plugin Name',
- 'PluginURI' => 'Plugin URI',
- 'Version' => 'Version',
- 'Description' => 'Description',
- 'Author' => 'Author',
- 'AuthorURI' => 'Author URI',
- 'TextDomain' => 'Text Domain',
- 'DomainPath' => 'Domain Path',
- 'Network' => 'Network',
- 'RequiresWP' => 'Requires at least',
- 'RequiresPHP' => 'Requires PHP',
- 'UpdateURI' => 'Update URI',
- );
- }
-
- return \get_file_data( __FILE__, $default_headers, 'plugin' );
-}
-
-/**
- * Plugin Version Number used for caching.
- */
-function get_plugin_version() {
- if ( \defined( 'ACTIVITYPUB_PLUGIN_VERSION' ) ) {
- return ACTIVITYPUB_PLUGIN_VERSION;
- }
-
- $meta = get_plugin_meta( array( 'Version' => 'Version' ) );
-
- return $meta['Version'];
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/assets/css/activitypub-admin.css b/wp-content/upgrade-temp-backup/plugins/activitypub/assets/css/activitypub-admin.css
deleted file mode 100644
index 7c7589e4..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/assets/css/activitypub-admin.css
+++ /dev/null
@@ -1,204 +0,0 @@
-.activitypub-settings {
- max-width: 800px;
- margin: 0 auto;
-}
-
-.settings_page_activitypub .notice {
- max-width: 800px;
- margin: auto;
- margin: 0px auto 30px;
-}
-
-.settings_page_activitypub .wrap {
- padding-left: 22px;
-}
-
-.activitypub-settings-header {
- text-align: center;
- margin: 0 0 1rem;
- background: #fff;
- border-bottom: 1px solid #dcdcde;
-}
-
-.activitypub-settings-title-section {
- display: flex;
- align-items: center;
- justify-content: center;
- clear: both;
- padding-top: 8px;
-}
-
-.settings_page_activitypub #wpcontent {
- padding-left: 0;
-}
-
-.activitypub-settings-tabs-wrapper {
- display: -ms-inline-grid;
- -ms-grid-columns: auto auto auto;
- vertical-align: top;
- display: inline-grid;
- grid-template-columns: auto auto auto;
-}
-
-.activitypub-settings-tab.active {
- box-shadow: inset 0 -3px #3582c4;
- font-weight: 600;
-}
-
-.activitypub-settings-tab {
- display: block;
- text-decoration: none;
- color: inherit;
- padding: .5rem 1rem 1rem;
- margin: 0 1rem;
- transition: box-shadow .5s ease-in-out;
-}
-
-.wp-header-end {
- visibility: hidden;
- margin: -2px 0 0;
-}
-
-summary {
- cursor: pointer;
- text-decoration: underline;
- color: #2271b1;
-}
-
-.activitypub-settings-accordion {
- border: 1px solid #c3c4c7;
-}
-
-.activitypub-settings-accordion-heading {
- margin: 0;
- border-top: 1px solid #c3c4c7;
- font-size: inherit;
- line-height: inherit;
- font-weight: 600;
- color: inherit;
-}
-
-.activitypub-settings-accordion-heading:first-child {
- border-top: none;
-}
-
-.activitypub-settings-accordion-panel {
- margin: 0;
- padding: 1em 1.5em;
- background: #fff;
-}
-
-.activitypub-settings-accordion-trigger {
- background: #fff;
- border: 0;
- color: #2c3338;
- cursor: pointer;
- display: flex;
- font-weight: 400;
- margin: 0;
- padding: 1em 3.5em 1em 1.5em;
- min-height: 46px;
- position: relative;
- text-align: left;
- width: 100%;
- align-items: center;
- justify-content: space-between;
- -webkit-user-select: auto;
- user-select: auto;
-}
-
-.activitypub-settings-accordion-trigger {
- color: #2c3338;
- cursor: pointer;
- font-weight: 400;
- text-align: left;
-}
-
-.activitypub-settings-accordion-trigger .title {
- pointer-events: none;
- font-weight: 600;
- flex-grow: 1;
-}
-
-.activitypub-settings-accordion-trigger .icon,
-.activitypub-settings-accordion-viewed .icon {
- border: solid #50575e medium;
- border-width: 0 2px 2px 0;
- height: .5rem;
- pointer-events: none;
- position: absolute;
- right: 1.5em;
- top: 50%;
- transform: translateY(-70%) rotate(45deg);
- width: .5rem;
-}
-
-.activitypub-settings-accordion-trigger[aria-expanded="true"] .icon {
- transform: translateY(-30%) rotate(-135deg);
-}
-
-.activitypub-settings-accordion-trigger:active,
-.activitypub-settings-accordion-trigger:hover {
- background: #f6f7f7;
-}
-
-.activitypub-settings-accordion-trigger:focus {
- color: #1d2327;
- border: none;
- box-shadow: none;
- outline-offset: -1px;
- outline: 2px solid #2271b1;
- background-color: #f6f7f7;
-}
-
-.activitypub-settings
-input.blog-user-identifier {
- text-align: right;
-}
-
-.activitypub-settings
-.header-image {
- width: 100%;
- height: 80px;
- position: relative;
- display: block;
- margin-bottom: 40px;
- background-image: rgb(168,165,175);
- background-image: linear-gradient(180deg, red, yellow);
- background-size: cover;
-}
-
-.activitypub-settings
-.logo {
- height: 80px;
- width: 80px;
- position: relative;
- top: 40px;
- left: 40px;
-}
-
-.settings_page_activitypub .box {
- border: 1px solid #c3c4c7;
- background-color: #fff;
- padding: 1em 1.5em;
- margin-bottom: 1.5em;
-}
-
-.settings_page_activitypub .activitypub-welcome-page .box label {
- font-weight: bold;
-}
-
-.settings_page_activitypub .activitypub-welcome-page input {
- font-size: 20px;
- width: 95%;
-}
-
-.settings_page_activitypub .plugin-recommendations {
- border-bottom: none;
- margin-bottom: 0;
-}
-
-#dashboard_right_now li a.activitypub-followers::before {
- content: "\f307";
- font-family: dashicons;
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/assets/img/mp.jpg b/wp-content/upgrade-temp-backup/plugins/activitypub/assets/img/mp.jpg
deleted file mode 100644
index 05964b499d8e34c2bff132bc97a1fbc80bbff93b..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 3337
zcmd6pdpy)x8^C`*Gh@cM4l^j%s92Iq?zaicMBBRL(h`=J!Yo4W%#=1;BaxI_QBq_>
zF-4`+%up#i?h}Q^CHK}um@#JFvG2BT+wRux``7#Y&ht6v_xYXYe4g)fp7Wd^|2h8^
zAm!xX=m3Bq2z)De06q_}uyeDwad&nzSKS|^6LuhYziOQRRy|eC*qG3W{i=>mI8`SX
zdz@;VvB4KxRHI@8z6(8=sA{EZribLe0PFyWkkDEa2vpEu2p9|sg(2Z^VT2e`OiUCh
zDk?4^EhR32k`NV@l9fWqpfMPXn53M%ELvU~jX|$10zw2fP?!h|CW00h6-WPL;XeRS
z2oL}P2&e`Kp+E=<b=?(fe!ZNM_aJ4A3!QoRE5$d)#9%9@&<~D8%j7}3l%F4;FTfb?uhUOPqhDOFF
zre@}LU)nq1b~rlicK7h~+VhR~zk-7I?GFhJi#Zq@7oU)rbmaS^=|3DhPRco*d**Cj
zenDaBrLxOc$}6r`*4B}4-l}i7eTPD&HMcx^{G_$BtGlO{@w~5}IXp5t_Ii9`a*FkK
ze&OBX(lVQ~#7MH07#@5srskW@%vc
zW%*b!y%3P>Y7e0QiMoIqkkfueuS(Kw&RWdw+eU9wDvDZeS|$*3!Nl&m3=gxUVUMGq)s?F&Mq*2j7Fw5H>uu$vJi2&nY}=c1
zPGI9Wtr*hHHTK43%^DvmA=`=oM6v}@H))Av3lTyl!j~L;gRf;)s!qj!^S<_%pJXGYdk+&Yi@Ek8OQnaqfu(_JpmMTLwxN;Ye%&7vIve^SZ~nzyq*U^(%c_&zHaOzG6&W-=aUGzg;$@lmux0
ziH`C%hfqD{o^@8f#ybyfSX40KQ>A2g+6PKd=?HNB6D`ndaiyPQ=Y%Ps^(wr*y`*?k5
zpRzJy+E{{_sOiXv
zeDHqGjk`Nnw3BmJPCL}Sv)tT4y>raGDga6+UWNZG)%?R66ARNeJeG}nox&cLAI
zK?iICF=oob>yis-kN!w84^tdjm6LJw%YBZ#BCTPs-Mp*LkylsY%CbB$c##!_adY$n>#stu37FYv&;@2C=QBWE+nJX+NvG&UPX0p7ndd3ft$;ATEGd$;+J8BvtGrLN0%Z&+|-L=tRZPOXeS5Rw78%)O
z8C{Qn?xZ6xlY6{5Dl}!qTGpn5`o^q{sZZq6?WV*N@<^82@l5>C=2wwNZDT(*J>;VB2#U|n
z23mFl*L_jFopjqCNLd}O5q-Jr<7zw~%!~-gmrx?o;xQTib_u7cy}V7GqvUhIqx{j9
zufm^`=B%7|mF#FL{AtX1mrQuT^aSq41>~P!d%lu~Q!My^i1IzO!58>FP01#AP7WP^
zz@31!TgxrGhbF}@o}mQ3nIvqd=4RE8Gu~EDWdj!g0CEVX^V!6~P`EC06+MO{SADKT
z%zBL@%@S64zC`mkR}o?eRjCBkUy8lmNR0#^pqSO{6btk0^&h0pl-IwC#%hgMygy*S
z^)+G3{ulW`a6)W^Qj`^Q-dXW`9*RpJ@xxsV&Ac`(8@H1W=#(LM%-o}o6>_vRbL4YO
zyR}r2mF9ps5=i|p%AXi3#y5*gu6R+a4rCO}&vc9$7QR(XmB9X?7Vi6y3R(PC!AYgW2vzs`@mdE&bxgxKjG
zDp&o+3O0STLH%{Z`D50V0OZ|(@8>VL_kS*!QLNm;P~CJKgQQolA0D}s#|N%?y{+-9
zRv8}4>bEpedZ1#|IOVwDhQL<$1FTlf(nH7(R8V{#$~Fbf73V4I=R-@D7;UTg=*r0h
zt3_XtGkA%V47MgF>~|I)TK{28W!U-RsUbOl7b`>0xkjo06>zK5>o*HAU-c40C13>r&$z1mjCV?RU}0K)f4!~006^-
zw3x7}+sb*Cd#270_u)gPKUM3EjTV1?q5tt~37p3~fm{ioTcKU}VNG@FLV7moy?F#K}zGn>wb5{twnApX^O1enej
z2Zmw(uS+VdH9a0X>s^K$WScg)9_LR>s@wODCqBI0o?|bxZ?ZfweQzhkb=#}X2Qo16
z1x>*4h6lda2QXBd3lCN8nBKNluZooPI5$fX)ko^4~wz%rgXkes^b}xS>QIdVrVU2&+Wg8+H8+W?N~W%WxGvjcc0!ttBxOZHQ5|>fuWD>jM*42HJa6n$Y~A(#tl4j+?tflw#!YHx^LR~P;e`K
z_nlmFnvzL38{7Ya&)fBH*s`$r|D2pj6Lh;f4KfjFJ?z5EcKLX&c5A(kDW^=juLiSi
zFq5BRxy`oDy7$*Pay|@T)9?zlRb4JSo+mk533OMvEL|NiZPs6@BQp@a@8BYES6MdM
zuBSOqc0R0FdQ}|LHKQ&?xfOr?$g>DCbo1&I+Bu@rUgg%Kw|rZ5Xz;PJG3wBA71Qh
zXWo|V+1*h<^%20?ys-5+6{g%@ZxNQqBG>r-!MD4BVI3(9-rrvgSc<3l$C#^gGD#P`
zlrs9KOsMxXXr&LSbCX~-d&c=76Z+?L96@7<17IwP_}IOX>OIc3RS)*Z+Zoa?Dk%DY
zU+>Z=G^H77=={^WcAn=83%NEo2AA!IDrOODRS-`$KL3;X5*_PTny-fNVt@5K(6
znl@s(%73%?-RAt1o)f4t%(&~FZ*}G}ixK3byC!j%kw>)qeFUIjwS$P#pm^6~_o&He
zvsv7@;-`-w|F&YA-USZbT@`d2%#89}_fhWeZ5Nv3ug{I#72ip=Ia==5`!$0BK?gZX
zWiML*#ceB08c}#n7x5zKtA|q%4j~wCF#Y!jKQzNPIAk7M51hD3)r&H#00%=ksz`&i>%ku$lJn4QG9Vy7?7
zv|dj+W7_B@k}N$18>ZwL76GwsM!kV1+CngpP4r0E1@KCE1Py288KfbNshN!9Wj80B
zuCW!V;A`Zrl6JJT*)4K_LO|SI8>*r>Q#yt`^v9Gb`${UK#g2^~3A+9M&*lAnwrqyG
z6kBH8`-G?i#0q;^hr})guV0HY6v>kULU4oOT8is=KD)*Z_pmLC@MNmy5HGf3j;5)N
zn=E8C^f#CFVA1%8lVX$=u;(REXoitvum$kN9_)O$0YrCS$?Qgok
z`E+aY;lF5;^JlwO#UXRADHXzvw*QOJSen;%B3%I#bZs?(r}@iV$DpV;q8)me5JgMO
z4CmDjkBDPG9~~bH37sLWweK-YQ;`cG`+{Q{Ny7rP8ZB
z3PE{*3H6cx2o|q6_MgnXl2(>5Z%qpqaOpaZz^eIgF-J?d0MeB>ro)87_&1Q?`uR?y
zmukP9rdIqqta4=hdcM~FLD$S!$z$JUG&^wwFxg!$aCN7d+~oG|l!Qcz1iRO|em|MIp{Tl6mAi^{PxJK=Wq
zx{R4%PuVa7U0tbp+eE>%?X-X6fXMzRP-Yvzj_$lhG3AnLu5cOXq6D?YHQu3z=@_lA
zm+^{dEt8SiLhhWmL*S
zS?8W2U@azSypI`bDu}cj8*LG-$uF(lnZh3w9ei!srn4K80OF{1$-!_`k%0<>9#Tlr@)LT@g
zEEj@_$#9)OLN$Acxa)u)#8mh^>Cv{>Xs-Ibhzt59!X4@F{*ZOEgWP}y#}{otmhA@!
zMSSp|`iMw9o<22zval%^EsfgY_gVEa6=OtjGXMw}t<)8Cyuf*W;-T?Kmi4v6+7wUb0-t5;Rd6>8fiBcaedaMB^3d7Oh*~^0iCXwG2P+Kp<
z7AZ&)n}qI>BQ|R>&+4A!Zh5^5r?*gXcwYu3J};ox>g
zv9N6Vzr5jZg^O$6)yH~6K=9nR5Zn?aB&kUoB&$&U9!WH1qyqlzbZ)Mmftd~W9%Qo_
z&cvEs;-NO!(tDBPw|B6C)^z6vVBIn;cIBs_)8{ajZgdGOyxwZ-Asp7M#!q5GqvXb(
z2|rJBgM>0fb9nziFLY@kQsbuF@v?0ip>x+}f047uSkQol=_QdW?h)@rrJgH$lwR
z#);Lf<~&C4IgbPG4+d(=WRY@y)bc7ry(wL74LSsX%1YK`1^T(BUKx8ACx#_Gt!E)`
z1oW^_Pwi)cxv-OY2qkJ|Mp*LPe~9|DvCNbCn3dDsgE(C!mUe)S3PGSAxAyYDmbBH$
znAr-2Inm(ne#rVw^-|%$+%x=#z|1b|#5f`-E0qiSeXoo~QaN;2eSbvhj;{Q3C!|Yi
z^<)ftKTY6R9>vd2Q?QW$(Gz}?TKd=^--+5!d3^PcxI&kQjYT$rit&zU+nHrEQJVZ6
z(x!At%umY9fw=^s$EQLla;15`q0So~l>XhF1B*6k^%~$%eQ9e1Erx>I;+&o0Wjvp>Zg{E
z-&rT~gGCi|%g3h;5oWqsc>&Yi4x9E1kQpa5Lu6vM-^r^sJ3E@X@Bu#2QNg+Q{1gdn
zq?Jlj14&Pi7ZrLSyNg{qaej`Z`?Hn9IZLt_43n~a0$=9Zq}{%
zesapwjh>rf2Ynm{$0dFgg{0Et53e+qG{Q5no(1Y|fSACoR9<>B281N$Ur^fLl-6L-
zQhW1f*Oo>9h2~$?mZ)9d_te3dbAR?8KH11_yPH>Jv^w4*EwuZXW+FEg%tvyj5y;|+5_dDDLo@I%{}qeR&gIv&kr1lt#;~@AXOS+U*OOfZ
z`n#HoR!oslSB1WpS0*r>jU{0#ALhX~#f?%AO3M`PI*0^qUOub<5GN4SDYcKcgJx_G
z=)6@?-5D`6F94~a+U$=)B2yNbsuP}IWOzRQf{g33_sj@Tw4b+3aPX^HUnrJSMgPJ3
z*FEJ(9%{Pr@Xm{e#1UJv5?ceOkYq>@s<6rbAnb0VI$nonv~Rd-#SN0~uMO=&sH;SLPUd&ww79d)^ylaa?!)h
zZ|QVQ-%RY{LZU@
zBIOoCqdwJLvs(#3tX5!0yZ=$kmI($44T_rc?;sDU|0pH3^O)9lFv~N%&zGSRbx{(+?Fqa!fVJ~@;dOi$gyYu$c`Ui+-!VV2T*N#>=!4S4;Y+}
zp${OT&T}hIg+9}R=C|Hp#hhM%IL3Wu6f{ik3;FT*GZ4AO_A6srC4`AvE%{`J!Dk6x
zNja7$Rfn|_p_B?nezP@s)wSJj--n;M0qh(y%xnwnZ$)Hjw1^=5R&9rcffz`FtqfPj
zg!abdpjVns>Kz=}dj;4vsSor3Qp4^05-3aNztRVX0EAP)2|egyknEJ(+Z$3qzoa9=
z3dOsZoBpGW^h9&5-mr|Js_szS!Do*>Ci~V%;f=pF_X_0R6x88gd`d7Zx9CJz2{QNi
z^asQ*j6c|FN$u?3aD2@PW<5DkLesXSp(}!w@(TJ=%s@TnnwP*ymO3z0nnG(H8AS&D
zp&TtMLcM>hCthW^xOR&C_~y)={;$`VRFU)T$Er*Mz0(QrYMyolOzloPs#fiMQAr0K
zI!?rZ{`h!0+BQTOQ@P`1yuo;M)sfH|tI>W4Cl%r1l^NX|g2a`SBlh#{lz)s<5cJ{x
z?`LmRYM9R2hrlsty(@(mxUg?Cx{*6U36UP;+7lqVjh+n9>u<|J8Qt#W%wqnU7VSRX
zwH<2YY~h1iy!A(Dtrett9sHfA7n
zXYHKP%Afj~4xDP7-CRwbFP9(hF`OE}sZ~sgxy4wjpDfqDnhxnrJ=%RDXF4$y(mBZtWwEiVZ)3(z4qD-KV3&D4TqfB
zP8fPrK2Wi-Cogh#1c(o=raA>WJGNz1G|R}(GOkT&TA{O>q!S-?Wt={HuH^#S`~B(f;`
zyu4D^Dj7cZY(lu4^KbFOJj`pZi@A3SS5a(I2wPC@f7|SU7oeZ6l$aJU=KTwsetZmg
zVP>V~>K9$)zfa02p6~XZkWI3A=!Y6Ma?})J^;|DWPqtbye+HMNAK_rw3DEc_K~0&e
z9Z}B|r9Y`7Z#yhmrznbkd3pvik_0V)@9g-dr2BpPn_lRAQydn0_VP)lf
zfy$QuhT(IN#&VcJH%$@d@p^$me|~%^k(-Bd*S*!Zf3yXN5DKh=&qc1%U|baIVsw!<
zCUDreTQ{f;L!Cr->}n0jn&NZx@HLbwXoSq1D;HAf*3W4nHg?(8lpW
zC*rjL#v|oFC|7;0mxkGG@gHMRSSJSpp9bckB$#Vhl?RNb8_}|g`CrNxAPE5Lj&8<5
zj128^9qeQsmT!h+y!JOjzj>*`Wr09qq8e~&yWA~`M5XS_uU2u3beBCx7)fDt2)tu2
zzM&$lVq&ZSvzWJ|4Tv~Ta7h>xb>VBZ&v6?yFZ?-L1_{TsF*J`!ouPx^rcj5b4;OVY
z|HemKS;*la6YxZoPa2Mo8-U?K^=arY+kei5Myqk#3s
zV@DoQ3}5KD8K?bax&I3;zQc)XPKSxj?w}yXcS_@;MI}DCE>aq!?kEG16kY@LZv;a6
zL7WD8fkuYNk@B-KW3DNCUq8?ty0iu7wdNo<@00!Cf4w?~lvS2FWeU*k0T3E*pNm3J
z!hZRrm6$76nvXn{803sydo|=WrWK+h!0r`vnQe8Pc5iU&4nUyC+mIou{~=9%%(ra$
z5oM&MuWlXn`2e-Xo{KVPeXT~iNJ=`w4g$=LdQgI%IL1<`UqT)7RJRREMserKAV)OT
z$DUVLuZPha>t8fl5k39!+_Al?ul&h@P}Jx-5=vNF>J&M}#;}5>K<1q`$n-uv;zk8*
z!x*k5S`C4|B{)87J+d>wU|ju(r2+opaJM31ZH0vEvp*|nLxLFXpL1Fstt2EwsMtMv
zB7O2Gm4h8$?k??5vtzi(a>cL5=`B;2*v~my&k{0sbG}V-?cSkXDc(WXdkwgKy&dyi
zs~hnwU+9HE*D>2I{!%)z)B9{@etg1lkN2T^#{GP2EnAZ(whi&2x-fel;z1VdYa3$*
z1acee$=S{YG!c0$6ob3u&S)N{Z|@;S~zWUWbH0gAejO+6JPeDHh4Mjfd`Y`18NEvI!CsD@LiP-6Vpl;PEi
z|Gtxx{-&is(UCvV%$38(-%0gVrs;2KSKeXKWZFR^E03QFyz#F=DPu4M1nOi;va9SF
z+L-AG|L683XZe}6-DjaT_v{h@58XpUuooCb0vmX&VUarls;!iLUq(5U_8q11FNQ2%
z{M1%ZS16JUZo+*TrIl!NE4n{~mM6K$zI`V_P0HXTWMgjJy=dLQMHKHtsFEf4I{#&ZC`wc5E?2D7gAM9>aS|Cv#3q@_b
zsF;RuYjiF1NIdd#!+;pw3O;t&h*tCW-=BpG>5CQPn1{ynY1vxm5ax-WO@
zM*msfu*5nLtDH#t!p~7Ui?RB=RwB(@PrgcGi|p~Gb4h9aQV*l|mA7cV5Z8TaUTmdf
z>XkpbTkqrc+vs9hFbV>MOTcIdLgnB?_otwLECr1W$HsqF&8g>JY%V(t`!&`Jl|T3u
z#NBZr3AqYKcR4P*oRaqostrU~Cx)M7*zx4e8AGCdtwfCC5Wks`GoCkDbw1y1rl&t?
zdLM5li7#1I*3u1p_i0Uxg#t`DQUHC1g)Hus5UrKMwH-`vCGwtz1;jAZbE(EB9lDCt
zJ25DZ=}%vaL4d+KgvBXrCNMP-P${D3?;GAMz}8^yZg8!0fYE;D+9|>p4vS%PJ1|9d
zl+5eeWRm)*lM;aMU7^%nsqBeuqOeafx8UFa=p-;P3iXm0R}Y{MU?KTApl+j0jr#G{
zM3i&>O_=C_Hn0MA?|P>y1d_~KsA18!~WcPb~SForw?^(6A}UXecwU$
z&_8oAA#@Or{$ckO-D5P0>~P~SLl-?s!19yn
zos(%D4UxARB?4rc*i=0@~?4Ea&0Mgjdr!ZOi8rkZ`=UA^f>RX?>cD>gN
zn%;5WkgD`Jbyw*mXB4M-QzW-vKzOacL}+@V5+)V#9RgbW-f0YROwyC2dG-<$;2TSd;Q;s7^f@#K@KIqnM|AedI1>xL8&bT~PJ^4r)Qwh+7Lk@y-JwE&W=
zSvP0Yt}ArxW)`o9E3`ij4~FEP!Kg+Be+lAlAZMlYnqupo9KT1Wa&1)0vAyt#YWIih
z$Ozez>{H=mssbFBee6hG9k_s5ONilnD%8;!k%S&TffdQmp!njU$+JNMm7Sa@x1R-4
z$vM#te48`ECJ;R8Rt`MI2{ExDFV)PzEhF{4-EOXhzxHKuXCc1``%ySeKCToZzBU=F
zg>mn&qPjzm(+hTvtlR(nk+H7?uSlA%Xi
zvQJuu1eY;Lf3nFh=?OOQq-V35IiUnSSk@qd)yR8N55}GUE&Sy1A0I{K@BV3|5=9@_*{Z3j+cH@(oavY%
z?`b0Y4@%?rC8D37;U)>=2PGsm#vUz(kU8O+LT)8D)CmwH_?7wDw)c8sNN?
zLL{8*=cNd*U)@HjN&_^GBJB@^)LBq>^E;Vo#?xJ`RQO3+Nk*9&)%XL)*OMbc6e7k*
zo)*7@JWn+QcE_cC<(}-#OkTLs^EeI9+9Cp!*~^%LxthmgHtKb|>m;zm(Hpe-<}Nx=B}RO#(geTT~TRS4XQo+#dWRKBEN
z`OJjQQ_#pQvO!Wq6_MIB*OQ+jeY_*UB$8qewY=diiG>}Y{`|&XV!=*|W>vdQkZUbk
zqq0s#yljHnjH&_qC5U^#zI;m^C?CiIo<=n2U4**r8z)mWeWvL|N47x>z8CcFXfaTN
zqsxHMU+^0w5(buPtP8%Q(#4cC1T?{rOAVQ?JjM!<)3}{jk8h3Fw{4~Dmk=jbFm2i{
zZw&y32nuN61StDa$aVmFM;Hh{aT{s0f1kYKiRm=dE5woDghtTugGu@mT>ukHj1cZY
zGRca&G{?w<8gb#^^F!pH{%tk0LmR>PI%5#b6J}W&J;mP9IY#8gRoN+;3_`35-f>(+
z@k-GPmc1g82;oY}iWFqW$X!{&Hz+&!cnEBEwqqos>~!oH3`YR(KaC+#Nv;@(aCz~>
zIKUJ|+;sF0l(YR^fJ7C7Am8J)m<}x7Pd9|#c;#yaCN|ZDFjL-rm$F=_sYZ1P1)OdF
zoQ<0Oz4y8Jmd3&|t^jqjh+BIA9~NsxDp>&>?FHaN7qp1d
zAe3vZGopc0o=7XqnvFi*iK0LK4}UsUhIywQPHZ7FAC=Vud`7lhk>vN6(IARvZokkGPMih`de`~nb%cX7m|Z2%;_px>rMiXb
zh6lfYXH&P|_Y_s4q_}*6TP!rwMDwzV)sie6W(5=KAEVN#g|P^GU)MSIZ{GktrHT3)
z4-YM9H?K0{JCB8q&PLX1)89!5x42V$^Gxq#9NOS%dPlar
zpX>=|NnaRd&I*16Q9Gn8l)*a$(@xw>cpNdUJkZX31`vlfW%}2tE;QG>AK-rw<1>k&
z%eSEj4DgwD-N&Ng8**)9Wj>V;Vxms`&3!fypea|B+e#{^-74{}DMa3dM|^C?2eZ)`
zQl$ErCOy(y&eu?oHOlLGg)HT)ShKLqV)JMAAx(l_HJh{?-(66Q_b+an!pQQ{)T{&P
z6)5hTJ~U*Rwoc8S%25S@TkqKsTmXbq~C@NrR&)SaKGP9MS6
zCx(M2xG?C_kfo5@pYByALP~7x?*?~TxloraU({0DvgPY>8#e5YD7BDJcBWM!mxSAZ^vg{8nbq)t?7
zM}^T|SzRt`$TI8v_wyJ<1v1jDVTgVRe)f-{t$#+X6tL$LX_{_k>f2N}_fDYlT%-2?
z-g7BvveK4t<^%5@)SqC=m$vMj-XscE#*!@DwOod`{s}yio!Tj?-WjkOe1Fd+_zEw1
zwP3e$DpEhZVR@FRcLO)8PC3)tQ*c%v(hH4V(&-R^8hSAfuefd6-U`0FI-_?wNd{#y;~;0Nnder1VEwOEhZUL
zVKiJKtA4R_@CarPei@oUX`|o1K&FUQs?rg+@lI*K!JThPe@Rpixtbhu@{2&8`vyFU
zUw#aKMS@)*kD+zqVe|RnhB|%>NRC>gQQP(|>zK!~NxiiH#VS~aJazREG}eW?0HJaN
zku6HdyOab&W3p(4-V)Lf;Z2SosC~t;S0{G^hY=-!oaNbJA;U2kNHS7KA|3^bQ^PVK
z+C1fW7o#mUl=8jy6QqZP+?u%npWVQ1;;n)|K`?rp%yOh8^?xIY8m%IJHqK{&-(aDC
zR9t`C3F(pFIMKt(hnb!(H=<>-^a8z#D8H2G`?3xEyq%37Izctr!KMc(g)=G22oaD;FmRn|-ukEPMH_1-
zpIB{3=wuXL|IKt2u<{BVgrMb%o$>rvkeu)QGtM!hNN8ZJDQFM%1q4Zfy;c6KiIScS
zJeX1fDY3MjUdn6{eJp#+^3%FjKYZ$|i;+;Z5(pz?%wCy6{zVIGtgQ+^CcYj^HmVkiZ9Y|ioWk7H(Ni#&e%J7dh)h=@ZNXQ
z$ziCFp%Cwij6k5;{fbkDGjkN+5#I=37Av%9^v=fAK;4`XiSW~cb|gCLtpOG?WDCw^
zb|;G!rq~m-mD+S`xkRzn)!vxL7f;+_2-*;<0s(t(m~e%QVGu@^jj0z9!p
zqMaYDr-!K9C~0tIQd6ddu^D$TF+^T(jy~lfSDW3+bqAgW^&_wKXCkr|7*oowAa^>>b!Na086ovYrDIR)L!J6
z8(6)k!Fss{{$pLXV!uK&V%m!~l%4!`qDv@CkDdA|6}9-Wene)Dwv3z9X2cB@3Nn>C
zY_J-77i^Rk!-AbhXDmQC$VxL^UZC>DPc9XysY=oQwu4G7LAy{^mSkUz-ci%ZuTsLs
zB1xUp)8q@SqH#84LDuU**I1$L3ld2n72c?D5j(Gt0;l7TSfogXL`FGJ2CFbg-9HdJ
zfR0i0Am!22D&+F=hHOvGX$Ul=uz^n?ay9PQ=O_Xb5F5$$u<+Vdq6-?
z8PWPGri^7u{59UfLO$4vSb-e2cv_IsNN_9$r#;;&R#-=UV)O_QZFN@is_XvSr80Dj
zCh1fUI8`E~oWzO0zFC{gZgFL$mhTRUH)Sq`A6My#^8Nc=A)Y+vw~=7g=-Jw(n9@sE=Fg)f&
zh3>D&g}X_jpFOM)z9vXkY89k75KGahtydvX<2>kxlOaovZ9}ZS9bW!<(
zALY^8$uA1_@5M{msarBpdIT=DmvX0g6|PF>kjghzWj`u~&FBIh4~xpfAMW8io0PaGT|Ev_I|Eut6jKi!|^*#H0l
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/assets/js/activitypub-admin.js b/wp-content/upgrade-temp-backup/plugins/activitypub/assets/js/activitypub-admin.js
deleted file mode 100644
index 37117cab..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/assets/js/activitypub-admin.js
+++ /dev/null
@@ -1,21 +0,0 @@
-jQuery( function( $ ) {
- // Accordion handling in various areas.
- $( '.activitypub-settings-accordion' ).on( 'click', '.activitypub-settings-accordion-trigger', function() {
- var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) );
-
- if ( isExpanded ) {
- $( this ).attr( 'aria-expanded', 'false' );
- $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', true );
- } else {
- $( this ).attr( 'aria-expanded', 'true' );
- $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false );
- }
- } );
-
- $(document).on( 'wp-plugin-install-success', function( event, response ) {
- setTimeout( function() {
- $( '.activate-now' ).removeClass( 'thickbox open-plugin-details-modal' );
- }, 1200 );
- } );
-
-} );
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/block.json b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/block.json
deleted file mode 100644
index 6e685671..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/block.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "$schema": "https://schemas.wp.org/trunk/block.json",
- "name": "activitypub/follow-me",
- "apiVersion": 3,
- "version": "1.0.0",
- "title": "Follow me on the Fediverse",
- "category": "widgets",
- "description": "Display your Fediverse profile so that visitors can follow you.",
- "textdomain": "activitypub",
- "icon": "groups",
- "supports": {
- "html": false,
- "color": {
- "gradients": true,
- "link": true,
- "__experimentalDefaultControls": {
- "background": true,
- "text": true,
- "link": true
- }
- },
- "__experimentalBorder": {
- "radius": true,
- "width": true,
- "color": true,
- "style": true
- },
- "typography": {
- "fontSize": true,
- "__experimentalDefaultControls": {
- "fontSize": true
- }
- }
- },
- "attributes": {
- "selectedUser": {
- "type": "string",
- "default": "site"
- }
- },
- "editorScript": "file:./index.js",
- "viewScript": "file:./view.js",
- "style": [
- "file:./style-view.css",
- "wp-components"
- ]
-}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.asset.php b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.asset.php
deleted file mode 100644
index dd3f4529..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '7be9f9b97d08a20bde26');
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.js b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.js
deleted file mode 100644
index 873ed24f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/index.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t={17:(e,t,r)=>{const o=window.wp.blocks,n=window.wp.primitives;var l=r(848);const a=(0,l.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,l.jsx)(n.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})});var i=r(609);const c=window.wp.blockEditor,s=window.wp.i18n,u=window.wp.components,p=window.wp.data,m=window.wp.element,v=window._activityPubOptions?.enabled,d=window.wp.apiFetch;var f=r.n(d);function y(e){return`var(--wp--preset--color--${e})`}function b(e){if("string"!=typeof e)return null;if(e.match(/^#/))return e.substring(0,7);const[,,t]=e.split("|");return y(t)}function _(e,t,r=null,o=""){return r?`${e}${o} { ${t}: ${r}; }\n`:""}function w(e,t,r,o){return _(e,"background-color",t)+_(e,"color",r)+_(e,"background-color",o,":hover")+_(e,"background-color",o,":focus")}function h({selector:e,style:t,backgroundColor:r}){const o=function(e,t,r){const o=`${e} .components-button`,n=("string"==typeof(l=r)?y(l):l?.color?.background||null)||t?.color?.background;var l;return w(o,b(t?.elements?.link?.color?.text),n,b(t?.elements?.link?.[":hover"]?.color?.text))}(e,t,r);return(0,i.createElement)("style",null,o)}const g=(0,l.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,l.jsx)(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})}),E=(0,l.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,l.jsx)(n.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),k=(0,m.forwardRef)((function({icon:e,size:t=24,...r},o){return(0,m.cloneElement)(e,{width:t,height:t,...r,ref:o})})),x=window.wp.compose,S="fediverse-remote-user";function O(e){try{return new URL(e),!0}catch(e){return!1}}function C({actionText:e,copyDescription:t,handle:r,resourceUrl:o,myProfile:n=!1,rememberProfile:l=!1}){const c=(0,s.__)("Loading...","activitypub"),p=(0,s.__)("Opening...","activitypub"),v=(0,s.__)("Error","activitypub"),d=(0,s.__)("Invalid","activitypub"),y=n||(0,s.__)("My Profile","activitypub"),[b,_]=(0,m.useState)(e),[w,h]=(0,m.useState)(g),C=(0,x.useCopyToClipboard)(r,(()=>{h(E),setTimeout((()=>h(g)),1e3)})),[N,R]=(0,m.useState)(""),[U,P]=(0,m.useState)(!0),{setRemoteUser:I}=function(){const[e,t]=(0,m.useState)(function(){const e=localStorage.getItem(S);return e?JSON.parse(e):{}}()),r=(0,m.useCallback)((e=>{!function(e){localStorage.setItem(S,JSON.stringify(e))}(e),t(e)}),[]),o=(0,m.useCallback)((()=>{localStorage.removeItem(S),t({})}),[]);return{template:e?.template||!1,profileURL:e?.profileURL||!1,setRemoteUser:r,deleteRemoteUser:o}}(),$=(0,m.useCallback)((()=>{let t;if(!O(N)&&!function(e){const t=e.replace(/^@/,"").split("@");return 2===t.length&&O(`https://${t[1]}`)}(N))return _(d),t=setTimeout((()=>_(e)),2e3),()=>clearTimeout(t);const r=o+N;_(c),f()({path:r}).then((({url:t,template:r})=>{U&&I({profileURL:N,template:r}),_(p),setTimeout((()=>{window.open(t,"_blank"),_(e)}),200)})).catch((()=>{_(v),setTimeout((()=>_(e)),2e3)}))}),[N]);return(0,i.createElement)("div",{className:"activitypub__dialog"},(0,i.createElement)("div",{className:"activitypub-dialog__section"},(0,i.createElement)("h4",null,y),(0,i.createElement)("div",{className:"activitypub-dialog__description"},t),(0,i.createElement)("div",{className:"activitypub-dialog__button-group"},(0,i.createElement)("input",{type:"text",value:r,readOnly:!0}),(0,i.createElement)(u.Button,{ref:C},(0,i.createElement)(k,{icon:w}),(0,s.__)("Copy","activitypub")))),(0,i.createElement)("div",{className:"activitypub-dialog__section"},(0,i.createElement)("h4",null,(0,s.__)("Your Profile","activitypub")),(0,i.createElement)("div",{className:"activitypub-dialog__description"},(0,m.createInterpolateElement)((0,s.__)("Or, if you know your own profile, we can start things that way! (eg yourusername@example.com
)","activitypub"),{code:(0,i.createElement)("code",null)})),(0,i.createElement)("div",{className:"activitypub-dialog__button-group"},(0,i.createElement)("input",{type:"text",value:N,onKeyDown:e=>{"Enter"===e?.code&&$()},onChange:e=>R(e.target.value)}),(0,i.createElement)(u.Button,{onClick:$},(0,i.createElement)(k,{icon:a}),b)),l&&(0,i.createElement)("div",{className:"activitypub-dialog__remember"},(0,i.createElement)(u.CheckboxControl,{checked:U,label:(0,s.__)("Remember me for easier comments","activitypub"),onChange:()=>{P(!U)}}))))}const{namespace:N}=window._activityPubOptions,R={avatar:"",webfinger:"@well@hello.dolly",name:(0,s.__)("Hello Dolly Fan Account","activitypub"),url:"#"};function U(e){if(!e)return R;const t={...R,...e};return t.avatar=t?.icon?.url,t}function P({profile:e,popupStyles:t,userId:r}){const{avatar:o,name:n,webfinger:l}=e;return(0,i.createElement)("div",{className:"activitypub-profile"},(0,i.createElement)("img",{className:"activitypub-profile__avatar",src:o,alt:n}),(0,i.createElement)("div",{className:"activitypub-profile__content"},(0,i.createElement)("div",{className:"activitypub-profile__name"},n),(0,i.createElement)("div",{className:"activitypub-profile__handle",title:l},l)),(0,i.createElement)(I,{profile:e,popupStyles:t,userId:r}))}function I({profile:e,popupStyles:t,userId:r}){const[o,n]=(0,m.useState)(!1),l=(0,s.sprintf)((0,s.__)("Follow %s","activitypub"),e?.name);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(u.Button,{className:"activitypub-profile__follow",onClick:()=>n(!0)},(0,s.__)("Follow","activitypub")),o&&(0,i.createElement)(u.Modal,{className:"activitypub-profile__confirm activitypub__modal",onRequestClose:()=>n(!1),title:l},(0,i.createElement)($,{profile:e,userId:r}),(0,i.createElement)("style",null,t)))}function $({profile:e,userId:t}){const{webfinger:r}=e,o=(0,s.__)("Follow","activitypub"),n=`/${N}/actors/${t}/remote-follow?resource=`,l=(0,s.__)("Copy and paste my profile into the search field of your favorite fediverse app or server.","activitypub");return(0,i.createElement)(C,{actionText:o,copyDescription:l,handle:r,resourceUrl:n})}function T({selectedUser:e,style:t,backgroundColor:r,id:o,useId:n=!1,profileData:l=!1}){const[a,c]=(0,m.useState)(U()),s="site"===e?0:e,u=function(e){return w(".apfmd__button-group .components-button",b(e?.elements?.link?.color?.text)||"#111","#fff",b(e?.elements?.link?.[":hover"]?.color?.text)||"#333")}(t),p=n?{id:o}:{};function v(e){c(U(e))}return(0,m.useEffect)((()=>{if(l)return v(l);(function(e){const t={headers:{Accept:"application/activity+json"},path:`/${N}/actors/${e}`};return f()(t)})(s).then(v)}),[s,l]),(0,i.createElement)("div",{...p},(0,i.createElement)(h,{selector:`#${o}`,style:t,backgroundColor:r}),(0,i.createElement)(P,{profile:a,userId:s,popupStyles:u}))}(0,o.registerBlockType)("activitypub/follow-me",{edit:function({attributes:e,setAttributes:t}){const r=(0,c.useBlockProps)({className:"activitypub-follow-me-block-wrapper"}),o=function(){const e=v?.users?(0,p.useSelect)((e=>e("core").getUsers({who:"authors"}))):[];return(0,m.useMemo)((()=>{if(!e)return[];const t=v?.site?[{label:(0,s.__)("Whole Site","activitypub"),value:"site"}]:[];return e.reduce(((e,t)=>(e.push({label:t.name,value:`${t.id}`}),e)),t)}),[e])}(),{selectedUser:n}=e;return(0,m.useEffect)((()=>{o.length&&(o.find((({value:e})=>e===n))||t({selectedUser:o[0].value}))}),[n,o]),(0,i.createElement)("div",{...r},o.length>1&&(0,i.createElement)(c.InspectorControls,{key:"setting"},(0,i.createElement)(u.PanelBody,{title:(0,s.__)("Followers Options","activitypub")},(0,i.createElement)(u.SelectControl,{label:(0,s.__)("Select User","activitypub"),value:e.selectedUser,options:o,onChange:e=>t({selectedUser:e})}))),(0,i.createElement)(T,{...e,id:r.id}))},save:()=>null,icon:a})},20:(e,t,r)=>{var o=r(609),n=Symbol.for("react.element"),l=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var o,c={},s=null,u=null;for(o in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)l.call(t,o)&&!i.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:s,ref:u,props:c,_owner:a.current}}},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=(t,r,n,l)=>{if(!r){var a=1/0;for(u=0;u=l)&&Object.keys(o.O).every((e=>o.O[e](r[c])))?r.splice(c--,1):(i=!1,l0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[r,n,l]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={338:0,301:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var n,l,[a,i,c]=r,s=0;if(a.some((t=>0!==e[t]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(c)var u=c(o)}for(t&&t(r);s o(17)));n=o.O(n)})();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view-rtl.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view-rtl.css
deleted file mode 100644
index 782f5765..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view-rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub__modal.components-modal__frame{background-color:#f7f7f7;color:#333}.activitypub__modal.components-modal__frame .components-modal__header-heading,.activitypub__modal.components-modal__frame h4{color:#333;letter-spacing:inherit;word-spacing:inherit}.activitypub__modal.components-modal__frame .components-modal__header .components-button:hover{color:var(--wp--preset--color--white)}.activitypub__dialog{max-width:40em}.activitypub__dialog h4{line-height:1;margin:0}.activitypub__dialog .activitypub-dialog__section{margin-bottom:2em}.activitypub__dialog .activitypub-dialog__remember{margin-top:1em}.activitypub__dialog .activitypub-dialog__description{font-size:var(--wp--preset--font-size--normal,.75rem);margin:.33em 0 1em}.activitypub__dialog .activitypub-dialog__button-group{align-items:flex-end;display:flex;justify-content:flex-end}.activitypub__dialog .activitypub-dialog__button-group svg{height:21px;margin-left:.5em;width:21px}.activitypub__dialog .activitypub-dialog__button-group input{background-color:var(--wp--preset--color--white);border-radius:0 50px 50px 0;border-width:1px;border:1px solid var(--wp--preset--color--black);color:var(--wp--preset--color--black);flex:1;font-size:16px;height:inherit;line-height:1;margin-left:0;padding:15px 23px}.activitypub__dialog .activitypub-dialog__button-group button{align-self:center;background-color:var(--wp--preset--color--black);border-radius:50px 0 0 50px;border-width:1px;color:var(--wp--preset--color--white);font-size:16px;height:inherit;line-height:1;margin-right:0;padding:15px 23px;text-decoration:none}.activitypub__dialog .activitypub-dialog__button-group button:hover{border:inherit}.activitypub-follow-me-block-wrapper{width:100%}.activitypub-follow-me-block-wrapper.has-background .activitypub-profile,.activitypub-follow-me-block-wrapper.has-border-color .activitypub-profile{padding-right:1rem;padding-left:1rem}.activitypub-follow-me-block-wrapper .activitypub-profile{align-items:center;display:flex;padding:1rem 0}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__avatar{border-radius:50%;height:75px;margin-left:1rem;width:75px}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__content{flex:1;min-width:0}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__handle,.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__name{line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__name{font-size:1.25em}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__follow{align-self:center;background-color:var(--wp--preset--color--black);color:var(--wp--preset--color--white);margin-right:1rem}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view.css
deleted file mode 100644
index fdc7405a..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/style-view.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub__modal.components-modal__frame{background-color:#f7f7f7;color:#333}.activitypub__modal.components-modal__frame .components-modal__header-heading,.activitypub__modal.components-modal__frame h4{color:#333;letter-spacing:inherit;word-spacing:inherit}.activitypub__modal.components-modal__frame .components-modal__header .components-button:hover{color:var(--wp--preset--color--white)}.activitypub__dialog{max-width:40em}.activitypub__dialog h4{line-height:1;margin:0}.activitypub__dialog .activitypub-dialog__section{margin-bottom:2em}.activitypub__dialog .activitypub-dialog__remember{margin-top:1em}.activitypub__dialog .activitypub-dialog__description{font-size:var(--wp--preset--font-size--normal,.75rem);margin:.33em 0 1em}.activitypub__dialog .activitypub-dialog__button-group{align-items:flex-end;display:flex;justify-content:flex-end}.activitypub__dialog .activitypub-dialog__button-group svg{height:21px;margin-right:.5em;width:21px}.activitypub__dialog .activitypub-dialog__button-group input{background-color:var(--wp--preset--color--white);border-radius:50px 0 0 50px;border-width:1px;border:1px solid var(--wp--preset--color--black);color:var(--wp--preset--color--black);flex:1;font-size:16px;height:inherit;line-height:1;margin-right:0;padding:15px 23px}.activitypub__dialog .activitypub-dialog__button-group button{align-self:center;background-color:var(--wp--preset--color--black);border-radius:0 50px 50px 0;border-width:1px;color:var(--wp--preset--color--white);font-size:16px;height:inherit;line-height:1;margin-left:0;padding:15px 23px;text-decoration:none}.activitypub__dialog .activitypub-dialog__button-group button:hover{border:inherit}.activitypub-follow-me-block-wrapper{width:100%}.activitypub-follow-me-block-wrapper.has-background .activitypub-profile,.activitypub-follow-me-block-wrapper.has-border-color .activitypub-profile{padding-left:1rem;padding-right:1rem}.activitypub-follow-me-block-wrapper .activitypub-profile{align-items:center;display:flex;padding:1rem 0}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__avatar{border-radius:50%;height:75px;margin-right:1rem;width:75px}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__content{flex:1;min-width:0}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__handle,.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__name{line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__name{font-size:1.25em}.activitypub-follow-me-block-wrapper .activitypub-profile .activitypub-profile__follow{align-self:center;background-color:var(--wp--preset--color--black);color:var(--wp--preset--color--white);margin-left:1rem}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.asset.php b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.asset.php
deleted file mode 100644
index da6b09c1..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'ab8c0dad126bb0a61ed6');
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.js b/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.js
deleted file mode 100644
index 7fd3cb16..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/follow-me/view.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t={729:(e,t,r)=>{var o=r(609);const n=window.wp.element,a=window.wp.domReady;var l=r.n(a);const i=window.wp.apiFetch;var c=r.n(i);const s=window.wp.components,u=window.wp.i18n;function p(e){return`var(--wp--preset--color--${e})`}function m(e){if("string"!=typeof e)return null;if(e.match(/^#/))return e.substring(0,7);const[,,t]=e.split("|");return p(t)}function v(e,t,r=null,o=""){return r?`${e}${o} { ${t}: ${r}; }\n`:""}function d(e,t,r,o){return v(e,"background-color",t)+v(e,"color",r)+v(e,"background-color",o,":hover")+v(e,"background-color",o,":focus")}function f({selector:e,style:t,backgroundColor:r}){const n=function(e,t,r){const o=`${e} .components-button`,n=("string"==typeof(a=r)?p(a):a?.color?.background||null)||t?.color?.background;var a;return d(o,m(t?.elements?.link?.color?.text),n,m(t?.elements?.link?.[":hover"]?.color?.text))}(e,t,r);return(0,o.createElement)("style",null,n)}const y=window.wp.primitives;var _=r(848);const b=(0,_.jsx)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_.jsx)(y.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})}),w=(0,_.jsx)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_.jsx)(y.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),h=(0,n.forwardRef)((function({icon:e,size:t=24,...r},o){return(0,n.cloneElement)(e,{width:t,height:t,...r,ref:o})})),g=(0,_.jsx)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_.jsx)(y.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),E=window.wp.compose,k="fediverse-remote-user";function x(e){try{return new URL(e),!0}catch(e){return!1}}function O({actionText:e,copyDescription:t,handle:r,resourceUrl:a,myProfile:l=!1,rememberProfile:i=!1}){const p=(0,u.__)("Loading...","activitypub"),m=(0,u.__)("Opening...","activitypub"),v=(0,u.__)("Error","activitypub"),d=(0,u.__)("Invalid","activitypub"),f=l||(0,u.__)("My Profile","activitypub"),[y,_]=(0,n.useState)(e),[O,S]=(0,n.useState)(b),C=(0,E.useCopyToClipboard)(r,(()=>{S(w),setTimeout((()=>S(b)),1e3)})),[N,R]=(0,n.useState)(""),[I,P]=(0,n.useState)(!0),{setRemoteUser:$}=function(){const[e,t]=(0,n.useState)(function(){const e=localStorage.getItem(k);return e?JSON.parse(e):{}}()),r=(0,n.useCallback)((e=>{!function(e){localStorage.setItem(k,JSON.stringify(e))}(e),t(e)}),[]),o=(0,n.useCallback)((()=>{localStorage.removeItem(k),t({})}),[]);return{template:e?.template||!1,profileURL:e?.profileURL||!1,setRemoteUser:r,deleteRemoteUser:o}}(),j=(0,n.useCallback)((()=>{let t;if(!x(N)&&!function(e){const t=e.replace(/^@/,"").split("@");return 2===t.length&&x(`https://${t[1]}`)}(N))return _(d),t=setTimeout((()=>_(e)),2e3),()=>clearTimeout(t);const r=a+N;_(p),c()({path:r}).then((({url:t,template:r})=>{I&&$({profileURL:N,template:r}),_(m),setTimeout((()=>{window.open(t,"_blank"),_(e)}),200)})).catch((()=>{_(v),setTimeout((()=>_(e)),2e3)}))}),[N]);return(0,o.createElement)("div",{className:"activitypub__dialog"},(0,o.createElement)("div",{className:"activitypub-dialog__section"},(0,o.createElement)("h4",null,f),(0,o.createElement)("div",{className:"activitypub-dialog__description"},t),(0,o.createElement)("div",{className:"activitypub-dialog__button-group"},(0,o.createElement)("input",{type:"text",value:r,readOnly:!0}),(0,o.createElement)(s.Button,{ref:C},(0,o.createElement)(h,{icon:O}),(0,u.__)("Copy","activitypub")))),(0,o.createElement)("div",{className:"activitypub-dialog__section"},(0,o.createElement)("h4",null,(0,u.__)("Your Profile","activitypub")),(0,o.createElement)("div",{className:"activitypub-dialog__description"},(0,n.createInterpolateElement)((0,u.__)("Or, if you know your own profile, we can start things that way! (eg yourusername@example.com
)","activitypub"),{code:(0,o.createElement)("code",null)})),(0,o.createElement)("div",{className:"activitypub-dialog__button-group"},(0,o.createElement)("input",{type:"text",value:N,onKeyDown:e=>{"Enter"===e?.code&&j()},onChange:e=>R(e.target.value)}),(0,o.createElement)(s.Button,{onClick:j},(0,o.createElement)(h,{icon:g}),y)),i&&(0,o.createElement)("div",{className:"activitypub-dialog__remember"},(0,o.createElement)(s.CheckboxControl,{checked:I,label:(0,u.__)("Remember me for easier comments","activitypub"),onChange:()=>{P(!I)}}))))}const{namespace:S}=window._activityPubOptions,C={avatar:"",webfinger:"@well@hello.dolly",name:(0,u.__)("Hello Dolly Fan Account","activitypub"),url:"#"};function N(e){if(!e)return C;const t={...C,...e};return t.avatar=t?.icon?.url,t}function R({profile:e,popupStyles:t,userId:r}){const{avatar:n,name:a,webfinger:l}=e;return(0,o.createElement)("div",{className:"activitypub-profile"},(0,o.createElement)("img",{className:"activitypub-profile__avatar",src:n,alt:a}),(0,o.createElement)("div",{className:"activitypub-profile__content"},(0,o.createElement)("div",{className:"activitypub-profile__name"},a),(0,o.createElement)("div",{className:"activitypub-profile__handle",title:l},l)),(0,o.createElement)(I,{profile:e,popupStyles:t,userId:r}))}function I({profile:e,popupStyles:t,userId:r}){const[a,l]=(0,n.useState)(!1),i=(0,u.sprintf)((0,u.__)("Follow %s","activitypub"),e?.name);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.Button,{className:"activitypub-profile__follow",onClick:()=>l(!0)},(0,u.__)("Follow","activitypub")),a&&(0,o.createElement)(s.Modal,{className:"activitypub-profile__confirm activitypub__modal",onRequestClose:()=>l(!1),title:i},(0,o.createElement)(P,{profile:e,userId:r}),(0,o.createElement)("style",null,t)))}function P({profile:e,userId:t}){const{webfinger:r}=e,n=(0,u.__)("Follow","activitypub"),a=`/${S}/actors/${t}/remote-follow?resource=`,l=(0,u.__)("Copy and paste my profile into the search field of your favorite fediverse app or server.","activitypub");return(0,o.createElement)(O,{actionText:n,copyDescription:l,handle:r,resourceUrl:a})}function $({selectedUser:e,style:t,backgroundColor:r,id:a,useId:l=!1,profileData:i=!1}){const[s,u]=(0,n.useState)(N()),p="site"===e?0:e,v=function(e){return d(".apfmd__button-group .components-button",m(e?.elements?.link?.color?.text)||"#111","#fff",m(e?.elements?.link?.[":hover"]?.color?.text)||"#333")}(t),y=l?{id:a}:{};function _(e){u(N(e))}return(0,n.useEffect)((()=>{if(i)return _(i);(function(e){const t={headers:{Accept:"application/activity+json"},path:`/${S}/actors/${e}`};return c()(t)})(p).then(_)}),[p,i]),(0,o.createElement)("div",{...y},(0,o.createElement)(f,{selector:`#${a}`,style:t,backgroundColor:r}),(0,o.createElement)(R,{profile:s,userId:p,popupStyles:v}))}let j=1;l()((()=>{[].forEach.call(document.querySelectorAll(".activitypub-follow-me-block-wrapper"),(e=>{const t=JSON.parse(e.dataset.attrs);(0,n.createRoot)(e).render((0,o.createElement)($,{...t,id:"activitypub-follow-me-block-"+j++,useId:!0}))}))}))},20:(e,t,r)=>{var o=r(609),n=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var o,c={},s=null,u=null;for(o in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,o)&&!i.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:s,ref:u,props:c,_owner:l.current}}},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,r,n,a)=>{if(!r){var l=1/0;for(u=0;u=a)&&Object.keys(o.O).every((e=>o.O[e](r[c])))?r.splice(c--,1):(i=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,n,a]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={41:0,301:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[l,i,c]=r,s=0;if(l.some((t=>0!==e[t]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(c)var u=c(o)}for(t&&t(r);so(729)));n=o.O(n)})();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/block.json b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/block.json
deleted file mode 100644
index c7015d33..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/block.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "$schema": "https://schemas.wp.org/trunk/block.json",
- "name": "activitypub/followers",
- "apiVersion": 3,
- "version": "1.0.0",
- "title": "Fediverse Followers",
- "category": "widgets",
- "description": "Display your followers from the Fediverse on your website.",
- "textdomain": "activitypub",
- "icon": "groups",
- "supports": {
- "html": false
- },
- "attributes": {
- "title": {
- "type": "string",
- "default": "Fediverse Followers"
- },
- "selectedUser": {
- "type": "string",
- "default": "site"
- },
- "per_page": {
- "type": "number",
- "default": 10
- },
- "order": {
- "type": "string",
- "default": "desc",
- "enum": [
- "asc",
- "desc"
- ]
- }
- },
- "styles": [
- {
- "name": "default",
- "label": "No Lines",
- "isDefault": true
- },
- {
- "name": "with-lines",
- "label": "Lines"
- },
- {
- "name": "compact",
- "label": "Compact"
- }
- ],
- "editorScript": "file:./index.js",
- "viewScript": "file:./view.js",
- "style": [
- "file:./style-view.css",
- "wp-block-query-pagination"
- ]
-}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.asset.php b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.asset.php
deleted file mode 100644
index fb5c1d96..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '3d39b46b3415c2d57654');
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.js b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.js
deleted file mode 100644
index a47e3cac..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-(()=>{var e={20:(e,t,a)=>{"use strict";var r=a(609),n=Symbol.for("react.element"),l=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,a){var r,c={},s=null,p=null;for(r in void 0!==a&&(s=""+a),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(p=t.ref),t)l.call(t,r)&&!i.hasOwnProperty(r)&&(c[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===c[r]&&(c[r]=t[r]);return{$$typeof:n,type:e,key:s,ref:p,props:c,_owner:o.current}}},848:(e,t,a)=>{"use strict";e.exports=a(20)},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.blocks,t=window.wp.primitives;var r=a(848);const n=(0,r.jsx)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(t.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})});var l=a(609);const o=window.wp.components,i=window.wp.element,c=window.wp.blockEditor,s=window.wp.i18n,p=window.wp.apiFetch;var u=a.n(p);const v=window.wp.url;var m=a(942),w=a.n(m);function d({active:e,children:t,page:a,pageClick:r,className:n}){const o=w()("wp-block activitypub-pager",n,{current:e});return(0,l.createElement)("a",{className:o,onClick:t=>{t.preventDefault(),!e&&r(a)}},t)}const f={outlined:"outlined",minimal:"minimal"};function b({compact:e,nextLabel:t,page:a,pageClick:r,perPage:n,prevLabel:o,total:i,variant:c=f.outlined}){const s=((e,t)=>{let a=[1,e-2,e-1,e,e+1,e+2,t];a.sort(((e,t)=>e-t)),a=a.filter(((e,a,r)=>e>=1&&e<=t&&r.lastIndexOf(e)===a));for(let e=a.length-2;e>=0;e--)a[e]===a[e+1]&&a.splice(e+1,1);return a})(a,Math.ceil(i/n)),p=w()("alignwide wp-block-query-pagination is-content-justification-space-between is-layout-flex wp-block-query-pagination-is-layout-flex",`is-${c}`,{"is-compact":e});return(0,l.createElement)("nav",{className:p},o&&(0,l.createElement)(d,{key:"prev",page:a-1,pageClick:r,active:1===a,"aria-label":o,className:"wp-block-query-pagination-previous block-editor-block-list__block"},o),!e&&(0,l.createElement)("div",{className:"block-editor-block-list__block wp-block wp-block-query-pagination-numbers"},s.map((e=>(0,l.createElement)(d,{key:e,page:e,pageClick:r,active:e===a,className:"page-numbers"},e)))),t&&(0,l.createElement)(d,{key:"next",page:a+1,pageClick:r,active:a===Math.ceil(i/n),"aria-label":t,className:"wp-block-query-pagination-next block-editor-block-list__block"},t))}const{namespace:y}=window._activityPubOptions;function g({selectedUser:e,per_page:t,order:a,title:r,page:n,setPage:o,className:c="",followLinks:p=!0,followerData:m=!1}){const w="site"===e?0:e,[d,f]=(0,l.useState)([]),[g,k]=(0,l.useState)(0),[h,E]=(0,l.useState)(0),[x,N]=function(){const[e,t]=(0,l.useState)(1);return[e,t]}(),S=n||x,C=o||N,O=(0,i.createInterpolateElement)(/* translators: arrow for previous followers link */ /* translators: arrow for previous followers link */
-(0,s.__)("← Less","activitypub"),{span:(0,l.createElement)("span",{className:"wp-block-query-pagination-previous-arrow is-arrow-arrow","aria-hidden":"true"})}),P=(0,i.createInterpolateElement)(/* translators: arrow for next followers link */ /* translators: arrow for next followers link */
-(0,s.__)("More → ","activitypub"),{span:(0,l.createElement)("span",{className:"wp-block-query-pagination-next-arrow is-arrow-arrow","aria-hidden":"true"})}),L=(e,a)=>{f(e),E(a),k(Math.ceil(a/t))};return(0,l.useEffect)((()=>{if(m&&1===S)return L(m.followers,m.total);const e=function(e,t,a,r){const n=`/${y}/actors/${e}/followers`,l={per_page:t,order:a,page:r,context:"full"};return(0,v.addQueryArgs)(n,l)}(w,t,a,S);u()({path:e}).then((e=>L(e.orderedItems,e.totalItems))).catch((()=>{}))}),[w,t,a,S,m]),(0,l.createElement)("div",{className:"activitypub-follower-block "+c},(0,l.createElement)("h3",null,r),(0,l.createElement)("ul",null,d&&d.map((e=>(0,l.createElement)("li",{key:e.url},(0,l.createElement)(_,{...e,followLinks:p}))))),g>1&&(0,l.createElement)(b,{page:S,perPage:t,total:h,pageClick:C,nextLabel:P,prevLabel:O,compact:"is-style-compact"===c}))}function _({name:e,icon:t,url:a,preferredUsername:r,followLinks:n=!0}){const i=`@${r}`,c={};return n||(c.onClick=e=>e.preventDefault()),(0,l.createElement)(o.ExternalLink,{className:"activitypub-link",href:a,title:i,...c},(0,l.createElement)("img",{width:"40",height:"40",src:t.url,className:"avatar activitypub-avatar",alt:e}),(0,l.createElement)("span",{className:"activitypub-actor"},(0,l.createElement)("strong",{className:"activitypub-name"},e),(0,l.createElement)("span",{className:"sep"},"/"),(0,l.createElement)("span",{className:"activitypub-handle"},i)))}const k=window.wp.data,h=window._activityPubOptions?.enabled;(0,e.registerBlockType)("activitypub/followers",{edit:function({attributes:e,setAttributes:t}){const{order:a,per_page:r,selectedUser:n,title:p}=e,u=(0,c.useBlockProps)(),[v,m]=(0,i.useState)(1),w=[{label:(0,s.__)("New to old","activitypub"),value:"desc"},{label:(0,s.__)("Old to new","activitypub"),value:"asc"}],d=function(){const e=h?.users?(0,k.useSelect)((e=>e("core").getUsers({who:"authors"}))):[];return(0,i.useMemo)((()=>{if(!e)return[];const t=h?.site?[{label:(0,s.__)("Whole Site","activitypub"),value:"site"}]:[];return e.reduce(((e,t)=>(e.push({label:t.name,value:`${t.id}`}),e)),t)}),[e])}(),f=e=>a=>{m(1),t({[e]:a})};return(0,i.useEffect)((()=>{d.length&&(d.find((({value:e})=>e===n))||t({selectedUser:d[0].value}))}),[n,d]),(0,l.createElement)("div",{...u},(0,l.createElement)(c.InspectorControls,{key:"setting"},(0,l.createElement)(o.PanelBody,{title:(0,s.__)("Followers Options","activitypub")},(0,l.createElement)(o.TextControl,{label:(0,s.__)("Title","activitypub"),help:(0,s.__)("Title to display above the list of followers. Blank for none.","activitypub"),value:p,onChange:e=>t({title:e})}),d.length>1&&(0,l.createElement)(o.SelectControl,{label:(0,s.__)("Select User","activitypub"),value:n,options:d,onChange:f("selectedUser")}),(0,l.createElement)(o.SelectControl,{label:(0,s.__)("Sort","activitypub"),value:a,options:w,onChange:f("order")}),(0,l.createElement)(o.RangeControl,{label:(0,s.__)("Number of Followers","activitypub"),value:r,onChange:f("per_page"),min:1,max:10}))),(0,l.createElement)(g,{...e,page:v,setPage:m,followLinks:!1}))},save:()=>null,icon:n})})()})();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view-rtl.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view-rtl.css
deleted file mode 100644
index d6e565ff..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view-rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub-follower-block.is-style-compact .activitypub-handle,.activitypub-follower-block.is-style-compact .sep{display:none}.activitypub-follower-block.is-style-with-lines ul li{border-bottom:.5px solid;margin-bottom:.5rem;padding-bottom:.5rem}.activitypub-follower-block.is-style-with-lines ul li:last-child{border-bottom:none}.activitypub-follower-block.is-style-with-lines .activitypub-handle,.activitypub-follower-block.is-style-with-lines .activitypub-name{text-decoration:none}.activitypub-follower-block.is-style-with-lines .activitypub-handle:hover,.activitypub-follower-block.is-style-with-lines .activitypub-name:hover{text-decoration:underline}.activitypub-follower-block ul{margin:0!important;padding:0!important}.activitypub-follower-block li{display:flex;margin-bottom:1rem}.activitypub-follower-block img{border-radius:50%;height:40px;margin-left:var(--wp--preset--spacing--20,.5rem);width:40px}.activitypub-follower-block .activitypub-link{align-items:center;color:inherit!important;display:flex;flex-flow:row nowrap;max-width:100%;text-decoration:none!important}.activitypub-follower-block .activitypub-handle,.activitypub-follower-block .activitypub-name{text-decoration:underline;text-decoration-thickness:.8px;text-underline-position:under}.activitypub-follower-block .activitypub-handle:hover,.activitypub-follower-block .activitypub-name:hover{text-decoration:none}.activitypub-follower-block .activitypub-name{font-size:var(--wp--preset--font-size--normal,16px)}.activitypub-follower-block .activitypub-actor{font-size:var(--wp--preset--font-size--small,13px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activitypub-follower-block .sep{padding:0 .2rem}.activitypub-follower-block .wp-block-query-pagination{margin-top:1.5rem}.activitypub-follower-block .activitypub-pager{cursor:default}.activitypub-follower-block .activitypub-pager.current{opacity:.33}.activitypub-follower-block .page-numbers{padding:0 .2rem}.activitypub-follower-block .page-numbers.current{font-weight:700;opacity:1}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view.css
deleted file mode 100644
index 824879e9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/style-view.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub-follower-block.is-style-compact .activitypub-handle,.activitypub-follower-block.is-style-compact .sep{display:none}.activitypub-follower-block.is-style-with-lines ul li{border-bottom:.5px solid;margin-bottom:.5rem;padding-bottom:.5rem}.activitypub-follower-block.is-style-with-lines ul li:last-child{border-bottom:none}.activitypub-follower-block.is-style-with-lines .activitypub-handle,.activitypub-follower-block.is-style-with-lines .activitypub-name{text-decoration:none}.activitypub-follower-block.is-style-with-lines .activitypub-handle:hover,.activitypub-follower-block.is-style-with-lines .activitypub-name:hover{text-decoration:underline}.activitypub-follower-block ul{margin:0!important;padding:0!important}.activitypub-follower-block li{display:flex;margin-bottom:1rem}.activitypub-follower-block img{border-radius:50%;height:40px;margin-right:var(--wp--preset--spacing--20,.5rem);width:40px}.activitypub-follower-block .activitypub-link{align-items:center;color:inherit!important;display:flex;flex-flow:row nowrap;max-width:100%;text-decoration:none!important}.activitypub-follower-block .activitypub-handle,.activitypub-follower-block .activitypub-name{text-decoration:underline;text-decoration-thickness:.8px;text-underline-position:under}.activitypub-follower-block .activitypub-handle:hover,.activitypub-follower-block .activitypub-name:hover{text-decoration:none}.activitypub-follower-block .activitypub-name{font-size:var(--wp--preset--font-size--normal,16px)}.activitypub-follower-block .activitypub-actor{font-size:var(--wp--preset--font-size--small,13px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activitypub-follower-block .sep{padding:0 .2rem}.activitypub-follower-block .wp-block-query-pagination{margin-top:1.5rem}.activitypub-follower-block .activitypub-pager{cursor:default}.activitypub-follower-block .activitypub-pager.current{opacity:.33}.activitypub-follower-block .page-numbers{padding:0 .2rem}.activitypub-follower-block .page-numbers.current{font-weight:700;opacity:1}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.asset.php b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.asset.php
deleted file mode 100644
index 4e64279d..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('react', 'wp-api-fetch', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '111b88843c05346aadbf');
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.js b/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.js
deleted file mode 100644
index e9a5792a..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/followers/view.js
+++ /dev/null
@@ -1,3 +0,0 @@
-(()=>{var e,t={250:(e,t,a)=>{"use strict";const r=window.React,n=window.wp.apiFetch;var l=a.n(n);const o=window.wp.url,i=window.wp.element,c=window.wp.i18n;var s=a(942),p=a.n(s);function u({active:e,children:t,page:a,pageClick:n,className:l}){const o=p()("wp-block activitypub-pager",l,{current:e});return(0,r.createElement)("a",{className:o,onClick:t=>{t.preventDefault(),!e&&n(a)}},t)}const m={outlined:"outlined",minimal:"minimal"};function f({compact:e,nextLabel:t,page:a,pageClick:n,perPage:l,prevLabel:o,total:i,variant:c=m.outlined}){const s=((e,t)=>{let a=[1,e-2,e-1,e,e+1,e+2,t];a.sort(((e,t)=>e-t)),a=a.filter(((e,a,r)=>e>=1&&e<=t&&r.lastIndexOf(e)===a));for(let e=a.length-2;e>=0;e--)a[e]===a[e+1]&&a.splice(e+1,1);return a})(a,Math.ceil(i/l)),f=p()("alignwide wp-block-query-pagination is-content-justification-space-between is-layout-flex wp-block-query-pagination-is-layout-flex",`is-${c}`,{"is-compact":e});return(0,r.createElement)("nav",{className:f},o&&(0,r.createElement)(u,{key:"prev",page:a-1,pageClick:n,active:1===a,"aria-label":o,className:"wp-block-query-pagination-previous block-editor-block-list__block"},o),!e&&(0,r.createElement)("div",{className:"block-editor-block-list__block wp-block wp-block-query-pagination-numbers"},s.map((e=>(0,r.createElement)(u,{key:e,page:e,pageClick:n,active:e===a,className:"page-numbers"},e)))),t&&(0,r.createElement)(u,{key:"next",page:a+1,pageClick:n,active:a===Math.ceil(i/l),"aria-label":t,className:"wp-block-query-pagination-next block-editor-block-list__block"},t))}const v=window.wp.components,{namespace:b}=window._activityPubOptions;function d({selectedUser:e,per_page:t,order:a,title:n,page:s,setPage:p,className:u="",followLinks:m=!0,followerData:v=!1}){const d="site"===e?0:e,[g,y]=(0,r.useState)([]),[k,h]=(0,r.useState)(0),[E,N]=(0,r.useState)(0),[x,_]=function(){const[e,t]=(0,r.useState)(1);return[e,t]}(),O=s||x,S=p||_,C=(0,i.createInterpolateElement)(/* translators: arrow for previous followers link */ /* translators: arrow for previous followers link */
-(0,c.__)("← Less","activitypub"),{span:(0,r.createElement)("span",{className:"wp-block-query-pagination-previous-arrow is-arrow-arrow","aria-hidden":"true"})}),L=(0,i.createInterpolateElement)(/* translators: arrow for next followers link */ /* translators: arrow for next followers link */
-(0,c.__)("More → ","activitypub"),{span:(0,r.createElement)("span",{className:"wp-block-query-pagination-next-arrow is-arrow-arrow","aria-hidden":"true"})}),q=(e,a)=>{y(e),N(a),h(Math.ceil(a/t))};return(0,r.useEffect)((()=>{if(v&&1===O)return q(v.followers,v.total);const e=function(e,t,a,r){const n=`/${b}/actors/${e}/followers`,l={per_page:t,order:a,page:r,context:"full"};return(0,o.addQueryArgs)(n,l)}(d,t,a,O);l()({path:e}).then((e=>q(e.orderedItems,e.totalItems))).catch((()=>{}))}),[d,t,a,O,v]),(0,r.createElement)("div",{className:"activitypub-follower-block "+u},(0,r.createElement)("h3",null,n),(0,r.createElement)("ul",null,g&&g.map((e=>(0,r.createElement)("li",{key:e.url},(0,r.createElement)(w,{...e,followLinks:m}))))),k>1&&(0,r.createElement)(f,{page:O,perPage:t,total:E,pageClick:S,nextLabel:L,prevLabel:C,compact:"is-style-compact"===u}))}function w({name:e,icon:t,url:a,preferredUsername:n,followLinks:l=!0}){const o=`@${n}`,i={};return l||(i.onClick=e=>e.preventDefault()),(0,r.createElement)(v.ExternalLink,{className:"activitypub-link",href:a,title:o,...i},(0,r.createElement)("img",{width:"40",height:"40",src:t.url,className:"avatar activitypub-avatar",alt:e}),(0,r.createElement)("span",{className:"activitypub-actor"},(0,r.createElement)("strong",{className:"activitypub-name"},e),(0,r.createElement)("span",{className:"sep"},"/"),(0,r.createElement)("span",{className:"activitypub-handle"},o)))}const g=window.wp.domReady;a.n(g)()((()=>{[].forEach.call(document.querySelectorAll(".activitypub-follower-block"),(e=>{const t=JSON.parse(e.dataset.attrs);(0,i.createRoot)(e).render((0,r.createElement)(d,{...t}))}))}))},942:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t{if(!a){var o=1/0;for(p=0;p=l)&&Object.keys(r.O).every((e=>r.O[e](a[c])))?a.splice(c--,1):(i=!1,l0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[a,n,l]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={996:0,528:0};r.O.j=t=>0===e[t];var t=(t,a)=>{var n,l,[o,i,c]=a,s=0;if(o.some((t=>0!==e[t]))){for(n in i)r.o(i,n)&&(r.m[n]=i[n]);if(c)var p=c(r)}for(t&&t(a);sr(250)));n=r.O(n)})();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/block.json b/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/block.json
deleted file mode 100644
index b7d0b495..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/block.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "$schema": "https://schemas.wp.org/trunk/block.json",
- "name": "activitypub/remote-reply",
- "apiVersion": 3,
- "version": "1.0.0",
- "title": "Reply on the Fediverse",
- "category": "widgets",
- "description": "",
- "textdomain": "activitypub",
- "viewScript": "file:./index.js"
-}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.asset.php b/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.asset.php
deleted file mode 100644
index 6afb3060..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'ab787305c7ed07812b96');
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.js b/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.js
deleted file mode 100644
index a0584f57..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/index.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t={456:(e,t,r)=>{var o=r(609);const a=window.wp.element,n=window.wp.domReady;var i=r.n(n);const l=window.wp.components,c=window.wp.i18n,s=(0,a.forwardRef)((function({icon:e,size:t=24,...r},o){return(0,a.cloneElement)(e,{width:t,height:t,...r,ref:o})})),m=window.wp.primitives;var p=r(848);const u=(0,p.jsx)(m.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)(m.Path,{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM15.5303 8.46967C15.8232 8.76256 15.8232 9.23744 15.5303 9.53033L13.0607 12L15.5303 14.4697C15.8232 14.7626 15.8232 15.2374 15.5303 15.5303C15.2374 15.8232 14.7626 15.8232 14.4697 15.5303L12 13.0607L9.53033 15.5303C9.23744 15.8232 8.76256 15.8232 8.46967 15.5303C8.17678 15.2374 8.17678 14.7626 8.46967 14.4697L10.9393 12L8.46967 9.53033C8.17678 9.23744 8.17678 8.76256 8.46967 8.46967C8.76256 8.17678 9.23744 8.17678 9.53033 8.46967L12 10.9393L14.4697 8.46967C14.7626 8.17678 15.2374 8.17678 15.5303 8.46967Z"})}),v=window.wp.apiFetch;var d=r.n(v);const y=(0,p.jsx)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,p.jsx)(m.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})}),_=(0,p.jsx)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,p.jsx)(m.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),f=(0,p.jsx)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,p.jsx)(m.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),w=window.wp.compose,b="fediverse-remote-user";function h(){const[e,t]=(0,a.useState)(function(){const e=localStorage.getItem(b);return e?JSON.parse(e):{}}()),r=(0,a.useCallback)((e=>{!function(e){localStorage.setItem(b,JSON.stringify(e))}(e),t(e)}),[]),o=(0,a.useCallback)((()=>{localStorage.removeItem(b),t({})}),[]);return{template:e?.template||!1,profileURL:e?.profileURL||!1,setRemoteUser:r,deleteRemoteUser:o}}function g(e){try{return new URL(e),!0}catch(e){return!1}}function E({actionText:e,copyDescription:t,handle:r,resourceUrl:n,myProfile:i=!1,rememberProfile:m=!1}){const p=(0,c.__)("Loading...","activitypub"),u=(0,c.__)("Opening...","activitypub"),v=(0,c.__)("Error","activitypub"),b=(0,c.__)("Invalid","activitypub"),E=i||(0,c.__)("My Profile","activitypub"),[C,R]=(0,a.useState)(e),[x,O]=(0,a.useState)(y),k=(0,w.useCopyToClipboard)(r,(()=>{O(_),setTimeout((()=>O(y)),1e3)})),[L,S]=(0,a.useState)(""),[U,N]=(0,a.useState)(!0),{setRemoteUser:P}=h(),j=(0,a.useCallback)((()=>{let t;if(!g(L)&&!function(e){const t=e.replace(/^@/,"").split("@");return 2===t.length&&g(`https://${t[1]}`)}(L))return R(b),t=setTimeout((()=>R(e)),2e3),()=>clearTimeout(t);const r=n+L;R(p),d()({path:r}).then((({url:t,template:r})=>{U&&P({profileURL:L,template:r}),R(u),setTimeout((()=>{window.open(t,"_blank"),R(e)}),200)})).catch((()=>{R(v),setTimeout((()=>R(e)),2e3)}))}),[L]);return(0,o.createElement)("div",{className:"activitypub__dialog"},(0,o.createElement)("div",{className:"activitypub-dialog__section"},(0,o.createElement)("h4",null,E),(0,o.createElement)("div",{className:"activitypub-dialog__description"},t),(0,o.createElement)("div",{className:"activitypub-dialog__button-group"},(0,o.createElement)("input",{type:"text",value:r,readOnly:!0}),(0,o.createElement)(l.Button,{ref:k},(0,o.createElement)(s,{icon:x}),(0,c.__)("Copy","activitypub")))),(0,o.createElement)("div",{className:"activitypub-dialog__section"},(0,o.createElement)("h4",null,(0,c.__)("Your Profile","activitypub")),(0,o.createElement)("div",{className:"activitypub-dialog__description"},(0,a.createInterpolateElement)((0,c.__)("Or, if you know your own profile, we can start things that way! (eg yourusername@example.com
)","activitypub"),{code:(0,o.createElement)("code",null)})),(0,o.createElement)("div",{className:"activitypub-dialog__button-group"},(0,o.createElement)("input",{type:"text",value:L,onKeyDown:e=>{"Enter"===e?.code&&j()},onChange:e=>S(e.target.value)}),(0,o.createElement)(l.Button,{onClick:j},(0,o.createElement)(s,{icon:f}),C)),m&&(0,o.createElement)("div",{className:"activitypub-dialog__remember"},(0,o.createElement)(l.CheckboxControl,{checked:U,label:(0,c.__)("Remember me for easier comments","activitypub"),onChange:()=>{N(!U)}}))))}const{namespace:C}=window._activityPubOptions;function R({selectedComment:e,commentId:t}){const r=(0,c.__)("Reply","activitypub"),a=`/${C}/comments/${t}/remote-reply?resource=`,n=(0,c.__)("Copy and paste the Comment URL into the search field of your favorite fediverse app or server.","activitypub");return(0,o.createElement)(E,{actionText:r,copyDescription:n,handle:e,resourceUrl:a,myProfile:(0,c.__)("Original Comment URL","activitypub"),rememberProfile:!0})}function x({profileURL:e,template:t,commentURL:r,deleteRemoteUser:a}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.Button,{variant:"link",className:"comment-reply-link activitypub-remote-reply__button",onClick:()=>{const e=t.replace("{uri}",r);window.open(e,"_blank")}},(0,c.sprintf)((0,c.__)("Reply as %s","activitypub"),e)),(0,o.createElement)(l.Button,{className:"activitypub-remote-profile-delete",onClick:a,title:(0,c.__)("Delete Remote Profile","activitypub")},(0,o.createElement)(s,{icon:u,size:18})))}function O({selectedComment:e,commentId:t}){const[r,n]=(0,a.useState)(!1),i=(0,c.__)("Remote Reply","activitypub"),{profileURL:s,template:m,deleteRemoteUser:p}=h(),u=s&&m;return(0,o.createElement)(o.Fragment,null,u?(0,o.createElement)(x,{profileURL:s,template:m,commentURL:e,deleteRemoteUser:p}):(0,o.createElement)(l.Button,{variant:"link",className:"comment-reply-link activitypub-remote-reply__button",onClick:()=>n(!0)},(0,c.__)("Reply on the Fediverse","activitypub")),r&&(0,o.createElement)(l.Modal,{className:"activitypub-remote-reply__modal activitypub__modal",onRequestClose:()=>n(!1),title:i},(0,o.createElement)(R,{selectedComment:e,commentId:t})))}let k=1;i()((()=>{[].forEach.call(document.querySelectorAll(".activitypub-remote-reply"),(e=>{const t=JSON.parse(e.dataset.attrs);(0,a.createRoot)(e).render((0,o.createElement)(O,{...t,id:"activitypub-remote-reply-link-"+k++,useId:!0}))}))}))},20:(e,t,r)=>{var o=r(609),a=Symbol.for("react.element"),n=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var o,c={},s=null,m=null;for(o in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(m=t.ref),t)n.call(t,o)&&!l.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:a,type:e,key:s,ref:m,props:c,_owner:i.current}}},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},r={};function o(e){var a=r[e];if(void 0!==a)return a.exports;var n=r[e]={exports:{}};return t[e](n,n.exports,o),n.exports}o.m=t,e=[],o.O=(t,r,a,n)=>{if(!r){var i=1/0;for(m=0;m=n)&&Object.keys(o.O).every((e=>o.O[e](r[c])))?r.splice(c--,1):(l=!1,n0&&e[m-1][2]>n;m--)e[m]=e[m-1];e[m]=[r,a,n]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={227:0,739:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var a,n,[i,l,c]=r,s=0;if(i.some((t=>0!==e[t]))){for(a in l)o.o(l,a)&&(o.m[a]=l[a]);if(c)var m=c(o)}for(t&&t(r);so(456)));a=o.O(a)})();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index-rtl.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index-rtl.css
deleted file mode 100644
index ae34ff03..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index-rtl.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub__modal.components-modal__frame{background-color:#f7f7f7;color:#333}.activitypub__modal.components-modal__frame .components-modal__header-heading,.activitypub__modal.components-modal__frame h4{color:#333;letter-spacing:inherit;word-spacing:inherit}.activitypub__modal.components-modal__frame .components-modal__header .components-button:hover{color:var(--wp--preset--color--white)}.activitypub__dialog{max-width:40em}.activitypub__dialog h4{line-height:1;margin:0}.activitypub__dialog .activitypub-dialog__section{margin-bottom:2em}.activitypub__dialog .activitypub-dialog__remember{margin-top:1em}.activitypub__dialog .activitypub-dialog__description{font-size:var(--wp--preset--font-size--normal,.75rem);margin:.33em 0 1em}.activitypub__dialog .activitypub-dialog__button-group{align-items:flex-end;display:flex;justify-content:flex-end}.activitypub__dialog .activitypub-dialog__button-group svg{height:21px;margin-left:.5em;width:21px}.activitypub__dialog .activitypub-dialog__button-group input{background-color:var(--wp--preset--color--white);border-radius:0 50px 50px 0;border-width:1px;border:1px solid var(--wp--preset--color--black);color:var(--wp--preset--color--black);flex:1;font-size:16px;height:inherit;line-height:1;margin-left:0;padding:15px 23px}.activitypub__dialog .activitypub-dialog__button-group button{align-self:center;background-color:var(--wp--preset--color--black);border-radius:50px 0 0 50px;border-width:1px;color:var(--wp--preset--color--white);font-size:16px;height:inherit;line-height:1;margin-right:0;padding:15px 23px;text-decoration:none}.activitypub__dialog .activitypub-dialog__button-group button:hover{border:inherit}.activitypub-remote-profile-delete{align-self:center;color:inherit;font-size:inherit;height:inherit;padding:0 5px}.activitypub-remote-profile-delete:hover{background:inherit;border:inherit}.activitypub-remote-reply{display:flex}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index.css b/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index.css
deleted file mode 100644
index a8a0f412..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/build/remote-reply/style-index.css
+++ /dev/null
@@ -1 +0,0 @@
-.activitypub__modal.components-modal__frame{background-color:#f7f7f7;color:#333}.activitypub__modal.components-modal__frame .components-modal__header-heading,.activitypub__modal.components-modal__frame h4{color:#333;letter-spacing:inherit;word-spacing:inherit}.activitypub__modal.components-modal__frame .components-modal__header .components-button:hover{color:var(--wp--preset--color--white)}.activitypub__dialog{max-width:40em}.activitypub__dialog h4{line-height:1;margin:0}.activitypub__dialog .activitypub-dialog__section{margin-bottom:2em}.activitypub__dialog .activitypub-dialog__remember{margin-top:1em}.activitypub__dialog .activitypub-dialog__description{font-size:var(--wp--preset--font-size--normal,.75rem);margin:.33em 0 1em}.activitypub__dialog .activitypub-dialog__button-group{align-items:flex-end;display:flex;justify-content:flex-end}.activitypub__dialog .activitypub-dialog__button-group svg{height:21px;margin-right:.5em;width:21px}.activitypub__dialog .activitypub-dialog__button-group input{background-color:var(--wp--preset--color--white);border-radius:50px 0 0 50px;border-width:1px;border:1px solid var(--wp--preset--color--black);color:var(--wp--preset--color--black);flex:1;font-size:16px;height:inherit;line-height:1;margin-right:0;padding:15px 23px}.activitypub__dialog .activitypub-dialog__button-group button{align-self:center;background-color:var(--wp--preset--color--black);border-radius:0 50px 50px 0;border-width:1px;color:var(--wp--preset--color--white);font-size:16px;height:inherit;line-height:1;margin-left:0;padding:15px 23px;text-decoration:none}.activitypub__dialog .activitypub-dialog__button-group button:hover{border:inherit}.activitypub-remote-profile-delete{align-self:center;color:inherit;font-size:inherit;height:inherit;padding:0 5px}.activitypub-remote-profile-delete:hover{background:inherit;border:inherit}.activitypub-remote-reply{display:flex}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-activity.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-activity.php
deleted file mode 100644
index fcc35e46..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-activity.php
+++ /dev/null
@@ -1,191 +0,0 @@
-
- * | array
- * | Link
- */
- protected $actor;
-
- /**
- * The indirect object, or target, of the activity.
- * The precise meaning of the target is largely dependent on the
- * type of action being described but will often be the object of
- * the English preposition "to".
- * For instance, in the activity "John added a movie to his
- * wishlist", the target of the activity is John's wishlist.
- * An activity can have more than one target.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-target
- *
- * @var string
- * | ObjectType
- * | array
- * | Link
- * | array
- */
- protected $target;
-
- /**
- * Describes the result of the activity.
- * For instance, if a particular action results in the creation of
- * a new resource, the result property can be used to describe
- * that new resource.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-result
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $result;
-
- /**
- * An indirect object of the activity from which the
- * activity is directed.
- * The precise meaning of the origin is the object of the English
- * preposition "from".
- * For instance, in the activity "John moved an item to List B
- * from List A", the origin of the activity is "List A".
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-origin
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $origin;
-
- /**
- * One or more objects used (or to be used) in the completion of an
- * Activity.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-instrument
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $instrument;
-
- /**
- * Set the object and copy Object properties to the Activity.
- *
- * Any to, bto, cc, bcc, and audience properties specified on the object
- * MUST be copied over to the new Create activity by the server.
- *
- * @see https://www.w3.org/TR/activitypub/#object-without-create
- *
- * @param string|Base_Objectr|Link|null $object
- *
- * @return void
- */
- public function set_object( $object ) {
- // convert array to object
- if ( is_array( $object ) ) {
- $object = self::init_from_array( $object );
- }
-
- // set object
- $this->set( 'object', $object );
-
- if ( ! is_object( $object ) ) {
- return;
- }
-
- foreach ( array( 'to', 'bto', 'cc', 'bcc', 'audience' ) as $i ) {
- $this->set( $i, $object->get( $i ) );
- }
-
- if ( $object->get_published() && ! $this->get_published() ) {
- $this->set( 'published', $object->get_published() );
- }
-
- if ( $object->get_updated() && ! $this->get_updated() ) {
- $this->set( 'updated', $object->get_updated() );
- }
-
- if ( $object->get_attributed_to() && ! $this->get_actor() ) {
- $this->set( 'actor', $object->get_attributed_to() );
- }
-
- if ( $object->get_id() && ! $this->get_id() ) {
- $id = strtok( $object->get_id(), '#' );
- if ( $object->get_updated() ) {
- $updated = $object->get_updated();
- } else {
- $updated = $object->get_published();
- }
- $this->set( 'id', $id . '#activity-' . strtolower( $this->get_type() ) . '-' . $updated );
- }
- }
-
- /**
- * The context of an Activity is usually just the context of the object it contains.
- *
- * @return array $context A compacted JSON-LD context.
- */
- public function get_json_ld_context() {
- if ( $this->object instanceof Base_Object ) {
- $class = get_class( $this->object );
- if ( $class && $class::JSON_LD_CONTEXT ) {
- // Without php 5.6 support this could be just: 'return $this->object::JSON_LD_CONTEXT;'
- return $class::JSON_LD_CONTEXT;
- }
- }
-
- return static::JSON_LD_CONTEXT;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-actor.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-actor.php
deleted file mode 100644
index 64631888..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-actor.php
+++ /dev/null
@@ -1,174 +0,0 @@
- 'http://schema.org#',
- 'toot' => 'http://joinmastodon.org/ns#',
- 'webfinger' => 'https://webfinger.net/#',
- 'lemmy' => 'https://join-lemmy.org/ns#',
- 'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
- 'PropertyValue' => 'schema:PropertyValue',
- 'value' => 'schema:value',
- 'Hashtag' => 'as:Hashtag',
- 'featured' => array(
- '@id' => 'toot:featured',
- '@type' => '@id',
- ),
- 'featuredTags' => array(
- '@id' => 'toot:featuredTags',
- '@type' => '@id',
- ),
- 'moderators' => array(
- '@id' => 'lemmy:moderators',
- '@type' => '@id',
- ),
- 'postingRestrictedToMods' => 'lemmy:postingRestrictedToMods',
- 'discoverable' => 'toot:discoverable',
- 'indexable' => 'toot:indexable',
- 'resource' => 'webfinger:resource',
- ),
- );
-
- /**
- * @var string
- */
- protected $type;
-
- /**
- * A reference to an ActivityStreams OrderedCollection comprised of
- * all the messages received by the actor.
- *
- * @see https://www.w3.org/TR/activitypub/#inbox
- *
- * @var string
- * | null
- */
- protected $inbox;
-
- /**
- * A reference to an ActivityStreams OrderedCollection comprised of
- * all the messages produced by the actor.
- *
- * @see https://www.w3.org/TR/activitypub/#outbox
- *
- * @var string
- * | null
- */
- protected $outbox;
-
- /**
- * A link to an ActivityStreams collection of the actors that this
- * actor is following.
- *
- * @see https://www.w3.org/TR/activitypub/#following
- *
- * @var string
- */
- protected $following;
-
- /**
- * A link to an ActivityStreams collection of the actors that
- * follow this actor.
- *
- * @see https://www.w3.org/TR/activitypub/#followers
- *
- * @var string
- */
- protected $followers;
-
- /**
- * A link to an ActivityStreams collection of objects this actor has
- * liked.
- *
- * @see https://www.w3.org/TR/activitypub/#liked
- *
- * @var string
- */
- protected $liked;
-
- /**
- * A list of supplementary Collections which may be of interest.
- *
- * @see https://www.w3.org/TR/activitypub/#streams-property
- *
- * @var array
- */
- protected $streams = array();
-
- /**
- * A short username which may be used to refer to the actor, with no
- * uniqueness guarantees.
- *
- * @see https://www.w3.org/TR/activitypub/#preferredUsername
- *
- * @var string|null
- */
- protected $preferred_username;
-
- /**
- * A JSON object which maps additional typically server/domain-wide
- * endpoints which may be useful either for this actor or someone
- * referencing this actor. This mapping may be nested inside the
- * actor document as the value or may be a link to a JSON-LD
- * document with these properties.
- *
- * @see https://www.w3.org/TR/activitypub/#endpoints
- *
- * @var string|array|null
- */
- protected $endpoints;
-
- /**
- * It's not part of the ActivityPub protocol but it's a quite common
- * practice to handle an actor public key with a publicKey array:
- * [
- * 'id' => 'https://my-example.com/actor#main-key'
- * 'owner' => 'https://my-example.com/actor',
- * 'publicKeyPem' => '-----BEGIN PUBLIC KEY-----
- * MIIBI [...]
- * DQIDAQAB
- * -----END PUBLIC KEY-----'
- * ]
- *
- * @see https://www.w3.org/wiki/SocialCG/ActivityPub/Authentication_Authorization#Signing_requests_using_HTTP_Signatures
- *
- * @var string|array|null
- */
- protected $public_key;
-
- /**
- * It's not part of the ActivityPub protocol but it's a quite common
- * practice to lock an account. If anabled, new followers will not be
- * automatically accepted, but will instead require you to manually
- * approve them.
- *
- * WordPress does only support 'false' at the moment.
- *
- * @see https://docs.joinmastodon.org/spec/activitypub/#as
- *
- * @context as:manuallyApprovesFollowers
- *
- * @var boolean
- */
- protected $manually_approves_followers = false;
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-base-object.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-base-object.php
deleted file mode 100644
index 9a5cd3f8..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/class-base-object.php
+++ /dev/null
@@ -1,714 +0,0 @@
- 'as:Hashtag',
- ),
- );
-
- /**
- * The object's unique global identifier
- *
- * @see https://www.w3.org/TR/activitypub/#obj-id
- *
- * @var string
- */
- protected $id;
-
- /**
- * @var string
- */
- protected $type = 'Object';
-
- /**
- * A resource attached or related to an object that potentially
- * requires special handling.
- * The intent is to provide a model that is at least semantically
- * similar to attachments in email.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attachment
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $attachment;
-
- /**
- * One or more entities to which this object is attributed.
- * The attributed entities might not be Actors. For instance, an
- * object might be attributed to the completion of another activity.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $attributed_to;
-
- /**
- * One or more entities that represent the total population of
- * entities for which the object can considered to be relevant.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audience
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $audience;
-
- /**
- * The content or textual representation of the Object encoded as a
- * JSON string. By default, the value of content is HTML.
- * The mediaType property can be used in the object to indicate a
- * different content type.
- *
- * The content MAY be expressed using multiple language-tagged
- * values.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content
- *
- * @var string|null
- */
- protected $content;
-
- /**
- * The context within which the object exists or an activity was
- * performed.
- * The notion of "context" used is intentionally vague.
- * The intended function is to serve as a means of grouping objects
- * and activities that share a common originating context or
- * purpose. An example could be all activities relating to a common
- * project or event.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-context
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $context;
-
- /**
- * The content MAY be expressed using multiple language-tagged
- * values.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content
- *
- * @var array|null
- */
- protected $content_map;
-
- /**
- * A simple, human-readable, plain-text name for the object.
- * HTML markup MUST NOT be included.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name
- *
- * @var string|null xsd:string
- */
- protected $name;
-
- /**
- * The name MAY be expressed using multiple language-tagged values.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name
- *
- * @var array|null rdf:langString
- */
- protected $name_map;
-
- /**
- * The date and time describing the actual or expected ending time
- * of the object.
- * When used with an Activity object, for instance, the endTime
- * property specifies the moment the activity concluded or
- * is expected to conclude.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-endtime
- *
- * @var string|null
- */
- protected $end_time;
-
- /**
- * The entity (e.g. an application) that generated the object.
- *
- * @var string|null
- */
- protected $generator;
-
- /**
- * An entity that describes an icon for this object.
- * The image should have an aspect ratio of one (horizontal)
- * to one (vertical) and should be suitable for presentation
- * at a small size.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-icon
- *
- * @var string
- * | Image
- * | Link
- * | array
- * | array
- * | null
- */
- protected $icon;
-
- /**
- * An entity that describes an image for this object.
- * Unlike the icon property, there are no aspect ratio
- * or display size limitations assumed.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image-term
- *
- * @var string
- * | Image
- * | Link
- * | array
- * | array
- * | null
- */
- protected $image;
-
- /**
- * One or more entities for which this object is considered a
- * response.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $in_reply_to;
-
- /**
- * One or more physical or logical locations associated with the
- * object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $location;
-
- /**
- * An entity that provides a preview of this object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-preview
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $preview;
-
- /**
- * The date and time at which the object was published
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published
- *
- * @var string|null xsd:dateTime
- */
- protected $published;
-
- /**
- * The date and time describing the actual or expected starting time
- * of the object.
- * When used with an Activity object, for instance, the startTime
- * property specifies the moment the activity began
- * or is scheduled to begin.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-starttime
- *
- * @var string|null xsd:dateTime
- */
- protected $start_time;
-
- /**
- * A natural language summarization of the object encoded as HTML.
- * Multiple language tagged summaries MAY be provided.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
- *
- * @var string
- * | ObjectType
- * | Link
- * | null
- */
- protected $summary;
-
- /**
- * The content MAY be expressed using multiple language-tagged
- * values.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
- *
- * @var array|null
- */
- protected $summary_map;
-
- /**
- * One or more "tags" that have been associated with an objects.
- * A tag can be any kind of Object.
- * The key difference between attachment and tag is that the former
- * implies association by inclusion, while the latter implies
- * associated by reference.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $tag;
-
- /**
- * The date and time at which the object was updated
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-updated
- *
- * @var string|null xsd:dateTime
- */
- protected $updated;
-
- /**
- * One or more links to representations of the object.
- *
- * @var string
- * | array
- * | Link
- * | array
- * | null
- */
- protected $url;
-
- /**
- * An entity considered to be part of the public primary audience
- * of an Object
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-to
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $to;
-
- /**
- * An Object that is part of the private primary audience of this
- * Object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bto
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $bto;
-
- /**
- * An Object that is part of the public secondary audience of this
- * Object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-cc
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $cc;
-
- /**
- * One or more Objects that are part of the private secondary
- * audience of this Object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-bcc
- *
- * @var string
- * | ObjectType
- * | Link
- * | array
- * | array
- * | null
- */
- protected $bcc;
-
- /**
- * The MIME media type of the value of the content property.
- * If not specified, the content property is assumed to contain
- * text/html content.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype
- *
- * @var string|null
- */
- protected $media_type;
-
- /**
- * When the object describes a time-bound resource, such as an audio
- * or video, a meeting, etc, the duration property indicates the
- * object's approximate duration.
- * The value MUST be expressed as an xsd:duration as defined by
- * xmlschema11-2, section 3.3.6 (e.g. a period of 5 seconds is
- * represented as "PT5S").
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-duration
- *
- * @var string|null
- */
- protected $duration;
-
- /**
- * Intended to convey some sort of source from which the content
- * markup was derived, as a form of provenance, or to support
- * future editing by clients.
- *
- * @see https://www.w3.org/TR/activitypub/#source-property
- *
- * @var ObjectType
- */
- protected $source;
-
- /**
- * A Collection containing objects considered to be responses to
- * this object.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies
- *
- * @var string
- * | Collection
- * | Link
- * | null
- */
- protected $replies;
-
- /**
- * Magic function to implement getter and setter
- *
- * @param string $method The method name.
- * @param string $params The method params.
- *
- * @return void
- */
- public function __call( $method, $params ) {
- $var = \strtolower( \substr( $method, 4 ) );
-
- if ( \strncasecmp( $method, 'get', 3 ) === 0 ) {
- if ( ! $this->has( $var ) ) {
- return new WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- return $this->$var;
- }
-
- if ( \strncasecmp( $method, 'set', 3 ) === 0 ) {
- return $this->set( $var, $params[0] );
- }
-
- if ( \strncasecmp( $method, 'add', 3 ) === 0 ) {
- $this->add( $var, $params[0] );
- }
- }
-
- /**
- * Magic function, to transform the object to string.
- *
- * @return string The object id.
- */
- public function __toString() {
- return $this->to_string();
- }
-
- /**
- * Function to transform the object to string.
- *
- * @return string The object id.
- */
- public function to_string() {
- return $this->get_id();
- }
-
- /**
- * Generic getter.
- *
- * @param string $key The key to get.
- *
- * @return mixed The value.
- */
- public function get( $key ) {
- if ( ! $this->has( $key ) ) {
- return new WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- return call_user_func( array( $this, 'get_' . $key ) );
- }
-
- /**
- * Check if the object has a key
- *
- * @param string $key The key to check.
- *
- * @return boolean True if the object has the key.
- */
- public function has( $key ) {
- return property_exists( $this, $key );
- }
-
- /**
- * Generic setter.
- *
- * @param string $key The key to set.
- * @param string $value The value to set.
- *
- * @return mixed The value.
- */
- public function set( $key, $value ) {
- if ( ! $this->has( $key ) ) {
- return new WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- $this->$key = $value;
-
- return $this;
- }
-
- /**
- * Generic adder.
- *
- * @param string $key The key to set.
- * @param mixed $value The value to add.
- *
- * @return mixed The value.
- */
- public function add( $key, $value ) {
- if ( ! $this->has( $key ) ) {
- return new WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- if ( ! isset( $this->$key ) ) {
- $this->$key = array();
- }
-
- $attributes = $this->$key;
- $attributes[] = $value;
-
- $this->$key = $attributes;
-
- return $this->$key;
- }
-
- /**
- * Convert JSON input to an array.
- *
- * @return string The JSON string.
- *
- * @return \Activitypub\Activity\Base_Object An Object built from the JSON string.
- */
- public static function init_from_json( $json ) {
- $array = \json_decode( $json, true );
-
- if ( ! is_array( $array ) ) {
- $array = array();
- }
-
- return self::init_from_array( $array );
- }
-
- /**
- * Convert JSON input to an array.
- *
- * @return string The object array.
- *
- * @return \Activitypub\Activity\Base_Object An Object built from the JSON string.
- */
- public static function init_from_array( $array ) {
- if ( ! is_array( $array ) ) {
- return new WP_Error( 'invalid_array', __( 'Invalid array', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- $object = new static();
-
- foreach ( $array as $key => $value ) {
- $key = camel_to_snake_case( $key );
- call_user_func( array( $object, 'set_' . $key ), $value );
- }
-
- return $object;
- }
-
- /**
- * Convert JSON input to an array and pre-fill the object.
- *
- * @param string $json The JSON string.
- */
- public function from_json( $json ) {
- $array = \json_decode( $json, true );
-
- $this->from_array( $array );
- }
-
- /**
- * Convert JSON input to an array and pre-fill the object.
- *
- * @param array $array The array.
- */
- public function from_array( $array ) {
- foreach ( $array as $key => $value ) {
- if ( $value ) {
- $key = camel_to_snake_case( $key );
- call_user_func( array( $this, 'set_' . $key ), $value );
- }
- }
- }
-
- /**
- * Convert Object to an array.
- *
- * It tries to get the object attributes if they exist
- * and falls back to the getters. Empty values are ignored.
- *
- * @param bool $include_json_ld_context Whether to include the JSON-LD context. Default true.
- *
- * @return array An array built from the Object.
- */
- public function to_array( $include_json_ld_context = true ) {
- $array = array();
- $vars = get_object_vars( $this );
-
- foreach ( $vars as $key => $value ) {
- // ignotre all _prefixed keys.
- if ( '_' === substr( $key, 0, 1 ) ) {
- continue;
- }
-
- // if value is empty, try to get it from a getter.
- if ( ! $value ) {
- $value = call_user_func( array( $this, 'get_' . $key ) );
- }
-
- if ( is_object( $value ) ) {
- $value = $value->to_array( false );
- }
-
- // if value is still empty, ignore it for the array and continue.
- if ( isset( $value ) ) {
- $array[ snake_to_camel_case( $key ) ] = $value;
- }
- }
-
- if ( $include_json_ld_context ) {
- // Get JsonLD context and move it to '@context' at the top.
- $array = array_merge( array( '@context' => $this->get_json_ld_context() ), $array );
- }
-
- $class = new ReflectionClass( $this );
- $class = strtolower( $class->getShortName() );
-
- $array = \apply_filters( 'activitypub_activity_object_array', $array, $class, $this->id, $this );
- $array = \apply_filters( "activitypub_activity_{$class}_object_array", $array, $this->id, $this );
-
- return $array;
- }
-
- /**
- * Convert Object to JSON.
- *
- * @param bool $include_json_ld_context Whether to include the JSON-LD context. Default true.
- *
- * @return string The JSON string.
- */
- public function to_json( $include_json_ld_context = true ) {
- $array = $this->to_array( $include_json_ld_context );
- $options = \JSON_HEX_TAG | \JSON_HEX_AMP | \JSON_HEX_QUOT;
-
- /*
- * Options to be passed to json_encode()
- *
- * @param int $options The current options flags
- */
- $options = \apply_filters( 'activitypub_json_encode_options', $options );
-
- return \wp_json_encode( $array, $options );
- }
-
- /**
- * Returns the keys of the object vars.
- *
- * @return array The keys of the object vars.
- */
- public function get_object_var_keys() {
- return \array_keys( \get_object_vars( $this ) );
- }
-
- /**
- * Returns the JSON-LD context of this object.
- *
- * @return array $context A compacted JSON-LD context for the ActivityPub object.
- */
- public function get_json_ld_context() {
- return static::JSON_LD_CONTEXT;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-event.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-event.php
deleted file mode 100644
index b0adb84f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-event.php
+++ /dev/null
@@ -1,340 +0,0 @@
- 'https://joinpeertube.org/ns#',
- 'mz' => 'https://joinmobilizon.org/ns#',
- 'status' => 'http://www.w3.org/2002/12/cal/ical#status',
- 'commentsEnabled' => 'pt:commentsEnabled',
- 'isOnline' => 'mz:isOnline',
- 'timezone' => 'mz:timezone',
- 'participantCount' => 'mz:participantCount',
- 'anonymousParticipationEnabled' => 'mz:anonymousParticipationEnabled',
- 'joinMode' => array(
- '@id' => 'mz:joinMode',
- '@type' => 'mz:joinModeType',
- ),
- 'externalParticipationUrl' => array(
- '@id' => 'mz:externalParticipationUrl',
- '@type' => 'schema:URL',
- ),
- 'repliesModerationOption' => array(
- '@id' => 'mz:repliesModerationOption',
- '@type' => '@vocab',
- ),
- 'contacts' => array(
- '@id' => 'mz:contacts',
- '@type' => '@id',
- ),
- ),
- );
-
- /**
- * Mobilizon compatible values for repliesModertaionOption.
- * @var array
- */
- const REPLIES_MODERATION_OPTION_TYPES = array( 'allow_all', 'closed' );
-
- /**
- * Mobilizon compatible values for joinModeTypes.
- */
- const JOIN_MODE_TYPES = array( 'free', 'restricted', 'external' ); // and 'invite', but not used by mobilizon atm
-
- /**
- * Allowed values for ical VEVENT STATUS.
- * @var array
- */
- const ICAL_EVENT_STATUS_TYPES = array( 'TENTATIVE', 'CONFIRMED', 'CANCELLED' );
-
- /**
- * Default event categories.
- *
- * These values currently reflect the default set as proposed by Mobilizon to maximize interoperability.
- * @var array
- */
- const DEFAULT_EVENT_CATEGORIES = array(
- 'ARTS',
- 'BOOK_CLUBS',
- 'BUSINESS',
- 'CAUSES',
- 'COMEDY',
- 'CRAFTS',
- 'FOOD_DRINK',
- 'HEALTH',
- 'MUSIC',
- 'AUTO_BOAT_AIR',
- 'COMMUNITY',
- 'FAMILY_EDUCATION',
- 'FASHION_BEAUTY',
- 'FILM_MEDIA',
- 'GAMES',
- 'LANGUAGE_CULTURE',
- 'LEARNING',
- 'LGBTQ',
- 'MOVEMENTS_POLITICS',
- 'NETWORKING',
- 'PARTY',
- 'PERFORMING_VISUAL_ARTS',
- 'PETS',
- 'PHOTOGRAPHY',
- 'OUTDOORS_ADVENTURE',
- 'SPIRITUALITY_RELIGION_BELIEFS',
- 'SCIENCE_TECH',
- 'SPORTS',
- 'THEATRE',
- 'MEETING', // Default value.
- );
-
- /**
- * Event is an implementation of one of the
- * Activity Streams
- *
- * @var string
- */
- protected $type = 'Event';
-
- /**
- * The Title of the event.
- */
- protected $name;
-
- /**
- * The events contacts
- *
- * @context {
- * '@id' => 'mz:contacts',
- * '@type' => '@id',
- * }
- *
- * @var array Array of contacts (ActivityPub actor IDs).
- */
- protected $contacts;
-
- /**
- * Extension invented by PeerTube whether comments/replies are
- * Mobilizon also implemented this as a fallback to their own
- * repliesModerationOption.
- *
- * @see https://docs.joinpeertube.org/api/activitypub#video
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/
- * @var bool|null
- */
- protected $comments_enabled;
-
- /**
- * @context https://joinmobilizon.org/ns#timezone
- * @var string
- */
- protected $timezone;
-
- /**
- * @context https://joinmobilizon.org/ns#repliesModerationOption
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/#repliesmoderation
- * @var string
- */
- protected $replies_moderation_option;
-
- /**
- * @context https://joinmobilizon.org/ns#anonymousParticipationEnabled
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/#anonymousparticipationenabled
- * @var bool
- */
- protected $anonymous_participation_enabled;
-
- /**
- * @context https://schema.org/category
- * @var enum
- */
- protected $category;
-
- /**
- * @context https://schema.org/inLanguage
- * @var
- */
- protected $in_language;
-
- /**
- * @context https://joinmobilizon.org/ns#isOnline
- * @var bool
- */
- protected $is_online;
-
- /**
- * @context https://www.w3.org/2002/12/cal/ical#status
- * @var enum
- */
- protected $status;
-
- /**
- * Which actor created the event.
- *
- * This field is needed due to the current group structure of Mobilizon.
- *
- * @todo this seems to not be a default property of an Object but needed by mobilizon.
- * @var string
- */
- protected $actor;
-
- /**
- * @context https://joinmobilizon.org/ns#externalParticipationUrl
- * @var string
- */
- protected $external_participation_url;
-
- /**
- * @context https://joinmobilizon.org/ns#joinMode
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/#joinmode
- * @var
- */
- protected $join_mode;
-
- /**
- * @context https://joinmobilizon.org/ns#participantCount
- * @var int
- */
- protected $participant_count;
-
- /**
- * @context https://schema.org/maximumAttendeeCapacity
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/#maximumattendeecapacity
- * @var int
- */
- protected $maximum_attendee_capacity;
-
- /**
- * @context https://schema.org/remainingAttendeeCapacity
- * @see https://docs.joinmobilizon.org/contribute/activity_pub/#remainignattendeecapacity
- * @var int
- */
- protected $remaining_attendee_capacity;
-
- /**
- * Setter for the timezone.
- *
- * The passed timezone is only set when it is a valid one, otherwise the site's timezone is used.
- *
- * @param string $timezone The timezone string to be set, e.g. 'Europe/Berlin'.
- */
- public function set_timezone( $timezone ) {
- if ( in_array( $timezone, timezone_identifiers_list(), true ) ) {
- $this->timezone = $timezone;
- } else {
- $this->timezone = wp_timezone_string();
- }
-
- return $this;
- }
-
- /**
- * Custom setter for repliesModerationOption which also directy sets commentsEnabled accordingly.
- *
- * @param string $type
- */
- public function set_replies_moderation_option( $type ) {
- if ( in_array( $type, self::REPLIES_MODERATION_OPTION_TYPES, true ) ) {
- $this->replies_moderation_option = $type;
- $this->comments_enabled = ( 'allow_all' === $type ) ? true : false;
- } else {
- _doing_it_wrong(
- __METHOD__,
- 'The replies moderation option must be either allow_all or closed.',
- ''
- );
- }
-
- return $this;
- }
-
- /**
- * Custom setter for commentsEnabled which also directly sets repliesModerationOption accordingly.
- *
- * @param bool $comments_enabled
- */
- public function set_comments_enabled( $comments_enabled ) {
- if ( is_bool( $comments_enabled ) ) {
- $this->comments_enabled = $comments_enabled;
- $this->replies_moderation_option = $comments_enabled ? 'allow_all' : 'closed';
- } else {
- _doing_it_wrong(
- __METHOD__,
- 'The commentsEnabled must be boolean.',
- ''
- );
- }
-
- return $this;
- }
-
- /**
- * Custom setter for the ical status that checks whether the status is an ical event status.
- *
- * @param string $status
- */
- public function set_status( $status ) {
- if ( in_array( $status, self::ICAL_EVENT_STATUS_TYPES, true ) ) {
- $this->status = $status;
- } else {
- _doing_it_wrong(
- __METHOD__,
- 'The status of the event must be a VEVENT iCal status.',
- ''
- );
- }
-
- return $this;
- }
-
- /**
- * Custom setter for the event category.
- *
- * Falls back to Mobilizons default category.
- *
- * @param string $category
- * @param bool $mobilizon_compatibilty Whether the category must be compatibly with Mobilizon.
- */
- public function set_category( $category, $mobilizon_compatibilty = true ) {
- if ( $mobilizon_compatibilty ) {
- $this->category = in_array( $category, self::DEFAULT_EVENT_CATEGORIES, true ) ? $category : 'MEETING';
- } else {
- $this->category = $category;
- }
-
- return $this;
- }
-
- /**
- * Custom setter for an external participation url.
- *
- * Automatically sets the joinMode to true if called.
- *
- * @param string $url
- */
- public function set_external_participation_url( $url ) {
- if ( preg_match( '/^https?:\/\/.*/i', $url ) ) {
- $this->external_participation_url = $url;
- $this->join_mode = 'external';
- }
-
- return $this;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-place.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-place.php
deleted file mode 100644
index f84013df..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/activity/extended-object/class-place.php
+++ /dev/null
@@ -1,93 +0,0 @@
-= 0.0f, <= 100.0f]
- */
- protected $accuracy;
-
- /**
- * Indicates the altitude of a place. The measurement units is indicated using the units property.
- * If units is not specified, the default is assumed to be "m" indicating meters.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-altitude
- * @var float xsd:float
- */
- protected $altitude;
-
- /**
- * The latitude of a place.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-latitude
- * @var float xsd:float
- */
- protected $latitude;
-
- /**
- * The longitude of a place.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-longitude
- * @var float xsd:float
- */
- protected $longitude;
-
- /**
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-radius
- * @var float
- */
- protected $radius;
-
- /**
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-units
- * @var string
- */
- protected $units;
-
- /**
- * @var Postal_Address|string
- */
- protected $address;
-
- public function set_address( $address ) {
- if ( is_string( $address ) || is_array( $address ) ) {
- $this->address = $address;
- } else {
- _doing_it_wrong(
- __METHOD__,
- 'The address must be either a string or an array like schema.org/PostalAddress.',
- ''
- );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activity-dispatcher.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activity-dispatcher.php
deleted file mode 100644
index 32c91a7b..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activity-dispatcher.php
+++ /dev/null
@@ -1,238 +0,0 @@
-change_wp_user_id( $user_id );
- }
-
- $user_id = $transformer->get_wp_user_id();
-
- if ( is_user_disabled( $user_id ) ) {
- return;
- }
-
- $activity = $transformer->to_activity( $type );
-
- self::send_activity_to_followers( $activity, $user_id, $wp_object );
- }
-
- /**
- * Send Announces to followers and mentioned users.
- *
- * @param mixed $wp_object The ActivityPub Post.
- * @param string $type The Activity-Type.
- *
- * @return void
- */
- public static function send_announce( $wp_object, $type ) {
- if ( ! in_array( $type, array( 'Create', 'Update', 'Delete' ), true ) ) {
- return;
- }
-
- if ( is_user_disabled( Users::BLOG_USER_ID ) ) {
- return;
- }
-
- $transformer = Factory::get_transformer( $wp_object );
-
- if ( \is_wp_error( $transformer ) ) {
- return;
- }
-
- $user_id = Users::BLOG_USER_ID;
- $activity = $transformer->to_activity( $type );
- $user = Users::get_by_id( Users::BLOG_USER_ID );
-
- $announce = new Activity();
- $announce->set_type( 'Announce' );
- $announce->set_object( $activity );
- $announce->set_actor( $user->get_id() );
-
- self::send_activity_to_followers( $announce, $user_id, $wp_object );
- }
-
- /**
- * Send a "Update" Activity when a user updates their profile.
- *
- * @param int $user_id The user ID to send an update for.
- *
- * @return void
- */
- public static function send_profile_update( $user_id ) {
- $user = Users::get_by_various( $user_id );
-
- // bail if that's not a good user
- if ( is_wp_error( $user ) ) {
- return;
- }
-
- // build the update
- $activity = new Activity();
- $activity->set_id( $user->get_url() . '#update' );
- $activity->set_type( 'Update' );
- $activity->set_actor( $user->get_url() );
- $activity->set_object( $user->get_url() );
- $activity->set_to( 'https://www.w3.org/ns/activitystreams#Public' );
-
- // send the update
- self::send_activity_to_followers( $activity, $user_id, $user );
- }
-
- /**
- * Send an Activity to all followers and mentioned users.
- *
- * @param Activity $activity The ActivityPub Activity.
- * @param int $user_id The user ID.
- * @param WP_User|WP_Post|WP_Comment $wp_object The WordPress object.
- *
- * @return void
- */
- private static function send_activity_to_followers( $activity, $user_id, $wp_object ) {
- // check if the Activity should be send to the followers
- if ( ! apply_filters( 'activitypub_send_activity_to_followers', true, $activity, $user_id, $wp_object ) ) {
- return;
- }
-
- $follower_inboxes = Followers::get_inboxes( $user_id );
-
- $mentioned_inboxes = array();
- $cc = $activity->get_cc();
- if ( $cc ) {
- $mentioned_inboxes = Mention::get_inboxes( $cc );
- }
-
- $inboxes = array_merge( $follower_inboxes, $mentioned_inboxes );
- $inboxes = array_unique( $inboxes );
-
- if ( empty( $inboxes ) ) {
- return;
- }
-
- $json = $activity->to_json();
-
- foreach ( $inboxes as $inbox ) {
- safe_remote_post( $inbox, $json, $user_id );
- }
-
- set_wp_object_state( $wp_object, 'federated' );
- }
-
- /**
- * Send a "Create" or "Update" Activity for a WordPress Post.
- *
- * @param int $id The WordPress Post ID.
- * @param string $type The Activity-Type.
- *
- * @return void
- */
- public static function send_post( $id, $type ) {
- $post = get_post( $id );
-
- if ( ! $post ) {
- return;
- }
-
- do_action( 'activitypub_send_activity', $post, $type );
- do_action(
- sprintf(
- 'activitypub_send_%s_activity',
- \strtolower( $type )
- ),
- $post
- );
- }
-
- /**
- * Send a "Create" or "Update" Activity for a WordPress Comment.
- *
- * @param int $id The WordPress Comment ID.
- * @param string $type The Activity-Type.
- *
- * @return void
- */
- public static function send_comment( $id, $type ) {
- $comment = get_comment( $id );
-
- if ( ! $comment ) {
- return;
- }
-
- do_action( 'activitypub_send_activity', $comment, $type );
- do_action(
- sprintf(
- 'activitypub_send_%s_activity',
- \strtolower( $type )
- ),
- $comment
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activitypub.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activitypub.php
deleted file mode 100644
index 9e5796e9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-activitypub.php
+++ /dev/null
@@ -1,561 +0,0 @@
-set_404();
- return;
- }
-
- // stop if it's not an ActivityPub comment
- if ( is_activitypub_request() && ! is_local_comment( $comment ) ) {
- return;
- }
-
- wp_safe_redirect( get_comment_link( $comment ) );
- exit;
- }
-
- /**
- * Add the 'activitypub' query variable so WordPress won't mangle it.
- */
- public static function add_query_vars( $vars ) {
- $vars[] = 'activitypub';
- $vars[] = 'c';
- $vars[] = 'p';
-
- return $vars;
- }
-
- /**
- * Replaces the default avatar.
- *
- * @param array $args Arguments passed to get_avatar_data(), after processing.
- * @param int|string|object $id_or_email A user ID, email address, or comment object.
- *
- * @return array $args
- */
- public static function pre_get_avatar_data( $args, $id_or_email ) {
- if (
- ! $id_or_email instanceof \WP_Comment ||
- ! isset( $id_or_email->comment_type ) ||
- $id_or_email->user_id
- ) {
- return $args;
- }
-
- $allowed_comment_types = \apply_filters( 'get_avatar_comment_types', array( 'comment' ) );
- if (
- ! empty( $id_or_email->comment_type ) &&
- ! \in_array(
- $id_or_email->comment_type,
- (array) $allowed_comment_types,
- true
- )
- ) {
- $args['url'] = false;
- /** This filter is documented in wp-includes/link-template.php */
- return \apply_filters( 'get_avatar_data', $args, $id_or_email );
- }
-
- // Check if comment has an avatar.
- $avatar = self::get_avatar_url( $id_or_email->comment_ID );
-
- if ( $avatar ) {
- if ( empty( $args['class'] ) ) {
- $args['class'] = array();
- } elseif ( \is_string( $args['class'] ) ) {
- $args['class'] = \explode( ' ', $args['class'] );
- }
-
- $args['url'] = $avatar;
- $args['class'][] = 'avatar-activitypub';
- $args['class'][] = 'u-photo';
- $args['class'] = \array_unique( $args['class'] );
- }
-
- return $args;
- }
-
- /**
- * Function to retrieve Avatar URL if stored in meta.
- *
- * @param int|WP_Comment $comment
- *
- * @return string $url
- */
- public static function get_avatar_url( $comment ) {
- if ( \is_numeric( $comment ) ) {
- $comment = \get_comment( $comment );
- }
- return \get_comment_meta( $comment->comment_ID, 'avatar_url', true );
- }
-
- /**
- * Store permalink in meta, to send delete Activity.
- *
- * @param string $post_id The Post ID.
- *
- * @return void
- */
- public static function trash_post( $post_id ) {
- \add_post_meta(
- $post_id,
- 'activitypub_canonical_url',
- \get_permalink( $post_id ),
- true
- );
- }
-
- /**
- * Delete permalink from meta
- *
- * @param string $post_id The Post ID
- *
- * @return void
- */
- public static function untrash_post( $post_id ) {
- \delete_post_meta( $post_id, 'activitypub_canonical_url' );
- }
-
- /**
- * Add rewrite rules
- */
- public static function add_rewrite_rules() {
- // If another system needs to take precedence over the ActivityPub rewrite rules,
- // they can define their own and will manually call the appropriate functions as required.
- if ( ACTIVITYPUB_DISABLE_REWRITES ) {
- return;
- }
-
- if ( ! \class_exists( 'Webfinger' ) ) {
- \add_rewrite_rule(
- '^.well-known/webfinger',
- 'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/webfinger',
- 'top'
- );
- }
-
- if ( ! \class_exists( 'Nodeinfo_Endpoint' ) && true === (bool) \get_option( 'blog_public', 1 ) ) {
- \add_rewrite_rule(
- '^.well-known/nodeinfo',
- 'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/nodeinfo/discovery',
- 'top'
- );
- \add_rewrite_rule(
- '^.well-known/x-nodeinfo2',
- 'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/nodeinfo2',
- 'top'
- );
- }
-
- \add_rewrite_rule(
- '^@([\w\-\.]+)',
- 'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/actors/$matches[1]',
- 'top'
- );
-
- \add_rewrite_endpoint( 'activitypub', EP_AUTHORS | EP_PERMALINK | EP_PAGES );
- }
-
- /**
- * Flush rewrite rules;
- */
- public static function flush_rewrite_rules() {
- self::add_rewrite_rules();
- \flush_rewrite_rules();
- }
-
- /**
- * Theme compatibility stuff
- *
- * @return void
- */
- public static function theme_compat() {
- $site_icon = get_theme_support( 'custom-logo' );
-
- if ( ! $site_icon ) {
- // custom logo support
- add_theme_support(
- 'custom-logo',
- array(
- 'height' => 80,
- 'width' => 80,
- )
- );
- }
-
- $custom_header = get_theme_support( 'custom-header' );
-
- if ( ! $custom_header ) {
- // This theme supports a custom header
- $custom_header_args = array(
- 'width' => 1250,
- 'height' => 600,
- 'header-text' => true,
- );
- add_theme_support( 'custom-header', $custom_header_args );
- }
-
- // We assume that you want to use Post-Formats when enabling the setting
- if ( 'wordpress-post-format' === \get_option( 'activitypub_object_type', ACTIVITYPUB_DEFAULT_OBJECT_TYPE ) ) {
- if ( ! get_theme_support( 'post-formats' ) ) {
- // Add support for the Aside, Gallery Post Formats...
- add_theme_support(
- 'post-formats',
- array(
- 'gallery',
- 'status',
- 'image',
- 'video',
- 'audio',
- )
- );
- }
- }
- }
-
- /**
- * Display plugin upgrade notice to users
- *
- * @param array $data The plugin data
- *
- * @return void
- */
- public static function plugin_update_message( $data ) {
- if ( ! isset( $data['upgrade_notice'] ) ) {
- return;
- }
-
- printf(
- '%s
',
- wp_kses(
- wpautop( $data['upgrade_notice '] ),
- array(
- 'p' => array(),
- 'a' => array( 'href', 'title' ),
- 'strong' => array(),
- 'em' => array(),
- )
- )
- );
- }
-
- /**
- * Register the "Followers" Taxonomy
- *
- * @return void
- */
- private static function register_post_types() {
- \register_post_type(
- Followers::POST_TYPE,
- array(
- 'labels' => array(
- 'name' => _x( 'Followers', 'post_type plural name', 'activitypub' ),
- 'singular_name' => _x( 'Follower', 'post_type single name', 'activitypub' ),
- ),
- 'public' => false,
- 'hierarchical' => false,
- 'rewrite' => false,
- 'query_var' => false,
- 'delete_with_user' => false,
- 'can_export' => true,
- 'supports' => array(),
- )
- );
-
- \register_post_meta(
- Followers::POST_TYPE,
- 'activitypub_inbox',
- array(
- 'type' => 'string',
- 'single' => true,
- 'sanitize_callback' => 'sanitize_url',
- )
- );
-
- \register_post_meta(
- Followers::POST_TYPE,
- 'activitypub_errors',
- array(
- 'type' => 'string',
- 'single' => false,
- 'sanitize_callback' => function ( $value ) {
- if ( ! is_string( $value ) ) {
- throw new Exception( 'Error message is no valid string' );
- }
-
- return esc_sql( $value );
- },
- )
- );
-
- \register_post_meta(
- Followers::POST_TYPE,
- 'activitypub_user_id',
- array(
- 'type' => 'string',
- 'single' => false,
- 'sanitize_callback' => function ( $value ) {
- return esc_sql( $value );
- },
- )
- );
-
- \register_post_meta(
- Followers::POST_TYPE,
- 'activitypub_actor_json',
- array(
- 'type' => 'string',
- 'single' => true,
- 'sanitize_callback' => function ( $value ) {
- return sanitize_text_field( $value );
- },
- )
- );
-
- \register_post_type(
- 'ap_extrafield',
- array(
- 'labels' => array(
- 'name' => _x( 'Extra fields', 'post_type plural name', 'activitypub' ),
- 'singular_name' => _x( 'Extra field', 'post_type single name', 'activitypub' ),
- 'add_new' => __( 'Add new', 'activitypub' ),
- 'add_new_item' => __( 'Add new extra field', 'activitypub' ),
- 'new_item' => __( 'New extra field', 'activitypub' ),
- 'edit_item' => __( 'Edit extra field', 'activitypub' ),
- 'view_item' => __( 'View extra field', 'activitypub' ),
- 'all_items' => __( 'All extra fields', 'activitypub' ),
- ),
- 'public' => false,
- 'hierarchical' => false,
- 'query_var' => false,
- 'has_archive' => false,
- 'publicly_queryable' => false,
- 'show_in_menu' => false,
- 'delete_with_user' => true,
- 'can_export' => true,
- 'exclude_from_search' => true,
- 'show_in_rest' => true,
- 'map_meta_cap' => true,
- 'show_ui' => true,
- 'supports' => array( 'title', 'editor' ),
- )
- );
-
- \do_action( 'activitypub_after_register_post_type' );
- }
-
- /**
- * Add the 'activitypub' capability to users who can publish posts.
- *
- * @param int $user_id User ID.
- *
- * @param array $userdata The raw array of data passed to wp_insert_user().
- */
- public static function user_register( $user_id ) {
- if ( \user_can( $user_id, 'publish_posts' ) ) {
- $user = \get_user_by( 'id', $user_id );
- $user->add_cap( 'activitypub' );
- }
- }
-
- /**
- * Add default extra fields to an actor.
- *
- * @param array $extra_fields The extra fields.
- * @param int $user_id The User-ID.
- *
- * @return array The extra fields.
- */
- public static function default_actor_extra_fields( $extra_fields, $user_id ) {
- if ( $extra_fields || ! $user_id ) {
- return $extra_fields;
- }
-
- $already_migrated = \get_user_meta( $user_id, 'activitypub_default_extra_fields', true );
-
- if ( $already_migrated ) {
- return $extra_fields;
- }
-
- $defaults = array(
- \__( 'Blog', 'activitypub' ) => \home_url( '/' ),
- \__( 'Profile', 'activitypub' ) => \get_author_posts_url( $user_id ),
- \__( 'Homepage', 'activitypub' ) => \get_the_author_meta( 'user_url', $user_id ),
- );
-
- foreach ( $defaults as $title => $url ) {
- if ( ! $url ) {
- continue;
- }
-
- $extra_field = array(
- 'post_type' => 'ap_extrafield',
- 'post_title' => $title,
- 'post_status' => 'publish',
- 'post_author' => $user_id,
- 'post_content' => sprintf(
- '%s
',
- \esc_attr( $url ),
- $url,
- \wp_parse_url( $url, \PHP_URL_HOST )
- ),
- 'comment_status' => 'closed',
- );
-
- $extra_field_id = wp_insert_post( $extra_field );
- $extra_fields[] = get_post( $extra_field_id );
- }
-
- \update_user_meta( $user_id, 'activitypub_default_extra_fields', true );
-
- return $extra_fields;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-admin.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-admin.php
deleted file mode 100644
index de24daf3..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-admin.php
+++ /dev/null
@@ -1,649 +0,0 @@
-id ) && 'edit-ap_extrafield' === $current_screen->id ) {
- ?>
-
-
-
-
-
-
-
- 'string',
- 'description' => \__( 'Use title and link, summary, full or custom content', 'activitypub' ),
- 'show_in_rest' => array(
- 'schema' => array(
- 'enum' => array(
- 'title',
- 'excerpt',
- 'content',
- ),
- ),
- ),
- 'default' => 'content',
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_custom_post_content',
- array(
- 'type' => 'string',
- 'description' => \__( 'Define your own custom post template', 'activitypub' ),
- 'show_in_rest' => true,
- 'default' => ACTIVITYPUB_CUSTOM_POST_CONTENT,
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_max_image_attachments',
- array(
- 'type' => 'integer',
- 'description' => \__( 'Number of images to attach to posts.', 'activitypub' ),
- 'default' => ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS,
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_object_type',
- array(
- 'type' => 'string',
- 'description' => \__( 'The Activity-Object-Type', 'activitypub' ),
- 'show_in_rest' => array(
- 'schema' => array(
- 'enum' => array(
- 'note',
- 'wordpress-post-format',
- ),
- ),
- ),
- 'default' => 'note',
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_use_hashtags',
- array(
- 'type' => 'boolean',
- 'description' => \__( 'Add hashtags in the content as native tags and replace the #tag with the tag-link', 'activitypub' ),
- 'default' => '0',
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_support_post_types',
- array(
- 'type' => 'string',
- 'description' => \esc_html__( 'Enable ActivityPub support for post types', 'activitypub' ),
- 'show_in_rest' => true,
- 'default' => array( 'post' ),
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_blog_user_identifier',
- array(
- 'type' => 'string',
- 'description' => \esc_html__( 'The Identifier of the Blog-User', 'activitypub' ),
- 'show_in_rest' => true,
- 'default' => Blog::get_default_username(),
- 'sanitize_callback' => function ( $value ) {
- // hack to allow dots in the username
- $parts = explode( '.', $value );
- $sanitized = array();
-
- foreach ( $parts as $part ) {
- $sanitized[] = \sanitize_title( $part );
- }
-
- $sanitized = implode( '.', $sanitized );
-
- // check for login or nicename.
- $user = new WP_User_Query(
- array(
- 'search' => $sanitized,
- 'search_columns' => array( 'user_login', 'user_nicename' ),
- 'number' => 1,
- 'hide_empty' => true,
- 'fields' => 'ID',
- )
- );
-
- if ( $user->results ) {
- add_settings_error(
- 'activitypub_blog_user_identifier',
- 'activitypub_blog_user_identifier',
- \esc_html__( 'You cannot use an existing author\'s name for the blog profile ID.', 'activitypub' ),
- 'error'
- );
-
- return Blog::get_default_username();
- }
-
- return $sanitized;
- },
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_enable_users',
- array(
- 'type' => 'boolean',
- 'description' => \__( 'Every Author on this Blog (with the publish_posts capability) gets his own ActivityPub enabled Profile.', 'activitypub' ),
- 'default' => '1',
- )
- );
- \register_setting(
- 'activitypub',
- 'activitypub_enable_blog_user',
- array(
- 'type' => 'boolean',
- 'description' => \__( 'Your Blog becomes an ActivityPub compatible Profile.', 'activitypub' ),
- 'default' => '0',
- )
- );
- }
-
- public static function add_settings_help_tab() {
- require_once ACTIVITYPUB_PLUGIN_DIR . 'includes/help.php';
- }
-
- public static function add_followers_list_help_tab() {
- // todo
- }
-
- public static function add_profile( $user ) {
- $description = get_user_meta( $user->ID, 'activitypub_user_description', true );
-
- \load_template(
- ACTIVITYPUB_PLUGIN_DIR . 'templates/user-settings.php',
- true,
- array(
- 'description' => $description,
- )
- );
- }
-
- public static function save_user_description( $user_id ) {
- if ( ! isset( $_REQUEST['_apnonce'] ) ) {
- return false;
- }
- $nonce = sanitize_text_field( wp_unslash( $_REQUEST['_apnonce'] ) );
- if (
- ! wp_verify_nonce( $nonce, 'activitypub-user-description' ) ||
- ! current_user_can( 'edit_user', $user_id )
- ) {
- return false;
- }
- $description = ! empty( $_POST['activitypub-user-description'] ) ? sanitize_text_field( wp_unslash( $_POST['activitypub-user-description'] ) ) : false;
- if ( $description ) {
- update_user_meta( $user_id, 'activitypub_user_description', $description );
- }
- }
-
- public static function enqueue_scripts( $hook_suffix ) {
- if ( false !== strpos( $hook_suffix, 'activitypub' ) ) {
- wp_enqueue_style( 'activitypub-admin-styles', plugins_url( 'assets/css/activitypub-admin.css', ACTIVITYPUB_PLUGIN_FILE ), array(), get_plugin_version() );
- wp_enqueue_script( 'activitypub-admin-script', plugins_url( 'assets/js/activitypub-admin.js', ACTIVITYPUB_PLUGIN_FILE ), array( 'jquery' ), get_plugin_version(), false );
- }
-
- if ( 'index.php' === $hook_suffix ) {
- wp_enqueue_style( 'activitypub-admin-styles', plugins_url( 'assets/css/activitypub-admin.css', ACTIVITYPUB_PLUGIN_FILE ), array(), get_plugin_version() );
- }
- }
-
- /**
- * Hook into the edit_comment functionality
- *
- * * Disable the edit_comment capability for federated comments.
- *
- * @return void
- */
- public static function edit_comment() {
- // Disable the edit_comment capability for federated comments.
- \add_filter(
- 'user_has_cap',
- function ( $allcaps, $caps, $arg ) {
- if ( 'edit_comment' !== $arg[0] ) {
- return $allcaps;
- }
-
- if ( was_comment_received( $arg[2] ) ) {
- return false;
- }
-
- return $allcaps;
- },
- 1,
- 3
- );
- }
-
- public static function edit_post() {
- // Disable the edit_post capability for federated posts.
- \add_filter(
- 'user_has_cap',
- function ( $allcaps, $caps, $arg ) {
- if ( 'edit_post' !== $arg[0] ) {
- return $allcaps;
- }
-
- $post = get_post( $arg[2] );
-
- if ( 'ap_extrafield' !== $post->post_type ) {
- return $allcaps;
- }
-
- if ( (int) get_current_user_id() !== (int) $post->post_author ) {
- return false;
- }
-
- return $allcaps;
- },
- 1,
- 3
- );
- }
-
- /**
- * Add ActivityPub specific actions/filters to the post list view
- *
- * @return void
- */
- public static function list_posts() {
- // Show only the user's extra fields.
- \add_action(
- 'pre_get_posts',
- function ( $query ) {
- if ( $query->get( 'post_type' ) === 'ap_extrafield' ) {
- $query->set( 'author', get_current_user_id() );
- }
- }
- );
-
- // Remove all views for the extra fields.
- $screen_id = get_current_screen()->id;
-
- add_filter(
- "views_{$screen_id}",
- function ( $views ) {
- if ( 'ap_extrafield' === get_post_type() ) {
- return array();
- }
-
- return $views;
- }
- );
-
- // Set defaults for new extra fields.
- if ( 'edit-ap_extrafield' === $screen_id ) {
- Activitypub::default_actor_extra_fields( array(), get_current_user_id() );
- }
- }
-
- public static function comment_row_actions( $actions, $comment ) {
- if ( was_comment_received( $comment ) ) {
- unset( $actions['edit'] );
- unset( $actions['quickedit'] );
- }
-
- return $actions;
- }
-
- /**
- * Add a column "activitypub"
- *
- * This column shows if the user has the capability to use ActivityPub.
- *
- * @param array $columns The columns.
- *
- * @return array The columns extended by the activitypub.
- */
- public static function manage_users_columns( $columns ) {
- $columns['activitypub'] = __( 'ActivityPub', 'activitypub' );
- return $columns;
- }
-
- /**
- * Add "comment-type" and "protocol" as column in WP-Admin
- *
- * @param array $columns the list of column names
- */
- public static function manage_comment_columns( $columns ) {
- $columns['comment_type'] = esc_attr__( 'Comment-Type', 'activitypub' );
- $columns['comment_protocol'] = esc_attr__( 'Protocol', 'activitypub' );
-
- return $columns;
- }
-
- /**
- * Add "post_content" as column for Extra-Fields in WP-Admin
- *
- * @param array $columns Tthe list of column names.
- * @param string $post_type The post type.
- */
- public static function manage_post_columns( $columns, $post_type ) {
- if ( 'ap_extrafield' === $post_type ) {
- $after_key = 'title';
- $index = array_search( $after_key, array_keys( $columns ), true );
- $columns = array_slice( $columns, 0, $index + 1 ) + array( 'extra_field_content' => esc_attr__( 'Content', 'activitypub' ) ) + $columns;
- }
-
- return $columns;
- }
-
- /**
- * Add "comment-type" and "protocol" as column in WP-Admin
- *
- * @param array $column The column to implement
- * @param int $comment_id The comment id
- */
- public static function manage_comments_custom_column( $column, $comment_id ) {
- if ( 'comment_type' === $column && ! defined( 'WEBMENTION_PLUGIN_DIR' ) ) {
- echo esc_attr( ucfirst( get_comment_type( $comment_id ) ) );
- } elseif ( 'comment_protocol' === $column ) {
- $protocol = get_comment_meta( $comment_id, 'protocol', true );
-
- if ( $protocol ) {
- echo esc_attr( ucfirst( str_replace( 'activitypub', 'ActivityPub', $protocol ) ) );
- } else {
- esc_attr_e( 'Local', 'activitypub' );
- }
- }
- }
-
- /**
- * Return the results for the activitypub column.
- *
- * @param string $output Custom column output. Default empty.
- * @param string $column_name Column name.
- * @param int $user_id ID of the currently-listed user.
- *
- * @return string The column contents.
- */
- public static function manage_users_custom_column( $output, $column_name, $user_id ) {
- if ( 'activitypub' !== $column_name ) {
- return $output;
- }
-
- if ( \user_can( $user_id, 'activitypub' ) ) {
- return '✓ ' . esc_html__( 'ActivityPub enabled for this author', 'activitypub' ) . ' ';
- } else {
- return '✗ ' . esc_html__( 'ActivityPub disabled for this author', 'activitypub' ) . ' ';
- }
- }
-
- /**
- * Add a column "extra_field_content" to the post list view
- *
- * @param string $column_name The column name.
- * @param int $post_id The post ID.
- *
- * @return void
- */
- public static function manage_posts_custom_column( $column_name, $post_id ) {
- $post = get_post( $post_id );
-
- if ( 'extra_field_content' === $column_name ) {
- $post = get_post( $post_id );
- if ( 'ap_extrafield' === $post->post_type ) {
- echo esc_attr( wp_strip_all_tags( $post->post_content ) );
- }
- }
- }
-
- /**
- * Add options to the Bulk dropdown on the users page
- *
- * @param array $actions The existing bulk options.
- *
- * @return array The extended bulk options.
- */
- public static function user_bulk_options( $actions ) {
- $actions['add_activitypub_cap'] = __( 'Enable for ActivityPub', 'activitypub' );
- $actions['remove_activitypub_cap'] = __( 'Disable for ActivityPub', 'activitypub' );
-
- return $actions;
- }
-
- /**
- * Handle bulk activitypub requests
- *
- * * `add_activitypub_cap` - Add the activitypub capability to the selected users.
- * * `remove_activitypub_cap` - Remove the activitypub capability from the selected users.
- *
- * @param string $sendback The URL to send the user back to.
- * @param string $action The requested action.
- * @param array $users The selected users.
- *
- * @return string The URL to send the user back to.
- */
- public static function handle_bulk_request( $sendback, $action, $users ) {
- if (
- 'remove_activitypub_cap' !== $action &&
- 'add_activitypub_cap' !== $action
- ) {
- return $sendback;
- }
-
- foreach ( $users as $user_id ) {
- $user = new \WP_User( $user_id );
- if (
- 'add_activitypub_cap' === $action &&
- user_can( $user_id, 'publish_posts' )
- ) {
- $user->add_cap( 'activitypub' );
- } elseif ( 'remove_activitypub_cap' === $action ) {
- $user->remove_cap( 'activitypub' );
- }
- }
-
- return $sendback;
- }
-
- /**
- * Add ActivityPub infos to the dashboard glance items
- *
- * @param array $items The existing glance items.
- *
- * @return array The extended glance items.
- */
- public static function dashboard_glance_items( $items ) {
- \add_filter( 'number_format_i18n', '\Activitypub\custom_large_numbers', 10, 3 );
-
- if ( ! is_user_disabled( get_current_user_id() ) ) {
- $follower_count = sprintf(
- // translators: %s: number of followers
- _n(
- '%s Follower',
- '%s Followers',
- count_followers( \get_current_user_id() ),
- 'activitypub'
- ),
- \number_format_i18n( count_followers( \get_current_user_id() ) )
- );
- $items['activitypub-followers-user'] = sprintf(
- '%3$s ',
- \esc_url( \admin_url( 'users.php?page=activitypub-followers-list' ) ),
- \esc_attr__( 'Your followers', 'activitypub' ),
- \esc_html( $follower_count )
- );
- }
-
- if ( ! is_user_type_disabled( 'blog' ) && current_user_can( 'manage_options' ) ) {
- $follower_count = sprintf(
- // translators: %s: number of followers
- _n(
- '%s Follower (Blog)',
- '%s Followers (Blog)',
- count_followers( Users::BLOG_USER_ID ),
- 'activitypub'
- ),
- \number_format_i18n( count_followers( Users::BLOG_USER_ID ) )
- );
- $items['activitypub-followers-blog'] = sprintf(
- '%3$s ',
- \esc_url( \admin_url( 'options-general.php?page=activitypub&tab=followers' ) ),
- \esc_attr__( 'The Blog\'s followers', 'activitypub' ),
- \esc_html( $follower_count )
- );
- }
-
- \remove_filter( 'number_format_i18n', '\Activitypub\custom_large_numbers', 10, 3 );
-
- return $items;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-blocks.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-blocks.php
deleted file mode 100644
index 660dcce0..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-blocks.php
+++ /dev/null
@@ -1,159 +0,0 @@
- ACTIVITYPUB_REST_NAMESPACE,
- 'enabled' => array(
- 'site' => ! is_user_type_disabled( 'blog' ),
- 'users' => ! is_user_type_disabled( 'user' ),
- ),
- );
- $js = sprintf( 'var _activityPubOptions = %s;', wp_json_encode( $data ) );
- \wp_add_inline_script( $followers_handle, $js, 'before' );
- \wp_add_inline_script( $follow_me_handle, $js, 'before' );
- }
-
- public static function register_blocks() {
- \register_block_type_from_metadata(
- ACTIVITYPUB_PLUGIN_DIR . '/build/followers',
- array(
- 'render_callback' => array( self::class, 'render_follower_block' ),
- )
- );
- \register_block_type_from_metadata(
- ACTIVITYPUB_PLUGIN_DIR . '/build/follow-me',
- array(
- 'render_callback' => array( self::class, 'render_follow_me_block' ),
- )
- );
- }
-
- private static function get_user_id( $user_string ) {
- if ( is_numeric( $user_string ) ) {
- return absint( $user_string );
- }
- // any other non-numeric falls back to 0, including the `site` string used in the UI
- return 0;
- }
-
- /**
- * Filter an array by a list of keys.
- * @param array $array The array to filter.
- * @param array $keys The keys to keep.
- * @return array The filtered array.
- */
- protected static function filter_array_by_keys( $array, $keys ) {
- return array_intersect_key( $array, array_flip( $keys ) );
- }
-
- /**
- * Render the follow me block.
- * @param array $attrs The block attributes.
- * @return string The HTML to render.
- */
- public static function render_follow_me_block( $attrs ) {
- $user_id = self::get_user_id( $attrs['selectedUser'] );
- $user = User_Collection::get_by_id( $user_id );
- if ( ! is_wp_error( $user ) ) {
- $attrs['profileData'] = self::filter_array_by_keys(
- $user->to_array(),
- array( 'icon', 'name', 'webfinger' )
- );
- }
-
- // add `@` prefix if it's missing
- if ( '@' !== substr( $attrs['profileData']['webfinger'], 0, 1 ) ) {
- $attrs['profileData']['webfinger'] = '@' . $attrs['profileData']['webfinger'];
- }
-
- $wrapper_attributes = get_block_wrapper_attributes(
- array(
- 'aria-label' => __( 'Follow me on the Fediverse', 'activitypub' ),
- 'class' => 'activitypub-follow-me-block-wrapper',
- 'data-attrs' => wp_json_encode( $attrs ),
- )
- );
- // todo: render more than an empty div?
- return '
';
- }
-
- public static function render_follower_block( $attrs ) {
- $followee_user_id = self::get_user_id( $attrs['selectedUser'] );
- $per_page = absint( $attrs['per_page'] );
- $follower_data = Followers::get_followers_with_count( $followee_user_id, $per_page );
-
- $attrs['followerData']['total'] = $follower_data['total'];
- $attrs['followerData']['followers'] = array_map(
- function ( $follower ) {
- return self::filter_array_by_keys(
- $follower->to_array(),
- array( 'icon', 'name', 'preferredUsername', 'url' )
- );
- },
- $follower_data['followers']
- );
- $wrapper_attributes = get_block_wrapper_attributes(
- array(
- 'aria-label' => __( 'Fediverse Followers', 'activitypub' ),
- 'class' => 'activitypub-follower-block',
- 'data-attrs' => wp_json_encode( $attrs ),
- )
- );
-
- $html = '';
- if ( $attrs['title'] ) {
- $html .= '
' . esc_html( $attrs['title'] ) . ' ';
- }
- $html .= '
';
- foreach ( $follower_data['followers'] as $follower ) {
- $html .= '' . self::render_follower( $follower ) . ' ';
- }
- // We are only pagination on the JS side. Could be revisited but we gotta ship!
- $html .= ' ';
- return $html;
- }
-
- public static function render_follower( $follower ) {
- $external_svg = ' ';
- $template =
- '
-
-
- %s
- /
- @%s
-
- %s
- ';
-
- $data = $follower->to_array();
-
- return sprintf(
- $template,
- esc_url( object_to_uri( $data['url'] ) ),
- esc_attr( $data['name'] ),
- esc_attr( $data['icon']['url'] ),
- esc_html( $data['name'] ),
- esc_html( $data['preferredUsername'] ),
- $external_svg
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-comment.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-comment.php
deleted file mode 100644
index bda7d0e5..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-comment.php
+++ /dev/null
@@ -1,465 +0,0 @@
- self::generate_id( $comment ),
- 'commentId' => $comment->comment_ID,
- );
-
- $div = sprintf(
- '
',
- esc_attr( wp_json_encode( $attrs ) )
- );
-
- return apply_filters( 'activitypub_comment_reply_link', $div );
- }
-
- /**
- * Create a link to reply to a federated comment.
- * This function adds a title attribute to the reply link to inform the user
- * that the comment was received from the fediverse and the reply will be sent
- * to the original author.
- *
- * @param string $link The HTML markup for the comment reply link.
- * @param array $args The args provided by the `comment_reply_link` filter.
- *
- * @return string The modified HTML markup for the comment reply link.
- */
- private static function create_fediverse_reply_link( $link, $args ) {
- $str_to_replace = sprintf( '>%s<', $args['reply_text'] );
- $replace_with = sprintf(
- ' title="%s">%s<',
- esc_attr__( 'This comment was received from the fediverse and your reply will be sent to the original author', 'activitypub' ),
- esc_html__( 'Reply with federation', 'activitypub' )
- );
- return str_replace( $str_to_replace, $replace_with, $link );
- }
-
- /**
- * Check if it is allowed to comment to a comment.
- *
- * Checks if the comment is local only or if the user can comment federated comments.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the user can comment, false otherwise.
- */
- public static function are_comments_allowed( $comment ) {
- $comment = \get_comment( $comment );
-
- if ( ! self::was_received( $comment ) ) {
- return true;
- }
-
- $current_user = get_current_user_id();
-
- if ( ! $current_user ) {
- return false;
- }
-
- if ( is_single_user() && \user_can( $current_user, 'publish_posts' ) ) {
- // On a single user site, comments by users with the `publish_posts` capability will be federated as the blog user
- $current_user = Users::BLOG_USER_ID;
- }
-
- $is_user_disabled = is_user_disabled( $current_user );
-
- if ( $is_user_disabled ) {
- return false;
- }
-
- return true;
- }
-
- /**
- * Check if a comment is federated.
- *
- * We consider a comment federated if comment was received via ActivityPub.
- *
- * Use this function to check if it is comment that was received via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment is federated, false otherwise.
- */
- public static function was_received( $comment ) {
- $comment = \get_comment( $comment );
-
- if ( ! $comment ) {
- return false;
- }
-
- $protocol = \get_comment_meta( $comment->comment_ID, 'protocol', true );
-
- if ( 'activitypub' === $protocol ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Check if a comment was federated.
- *
- * This function checks if a comment was federated via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment was federated, false otherwise.
- */
- public static function was_sent( $comment ) {
- $comment = \get_comment( $comment );
-
- if ( ! $comment ) {
- return false;
- }
-
- $status = \get_comment_meta( $comment->comment_ID, 'activitypub_status', true );
-
- if ( $status ) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Check if a comment is local only.
- *
- * This function checks if a comment is local only and was not sent or received via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment is local only, false otherwise.
- */
- public static function is_local( $comment ) {
- if ( self::was_sent( $comment ) || self::was_received( $comment ) ) {
- return false;
- }
-
- return true;
- }
-
- /**
- * Check if a comment should be federated.
- *
- * We consider a comment should be federated if it is authored by a user that is
- * not disabled for federation and if it is a reply directly to the post or to a
- * federated comment.
- *
- * Use this function to check if a comment should be federated.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment should be federated, false otherwise.
- */
- public static function should_be_federated( $comment ) {
- // we should not federate federated comments
- if ( self::was_received( $comment ) ) {
- return false;
- }
-
- $comment = \get_comment( $comment );
- $user_id = $comment->user_id;
-
- // comments without user can't be federated
- if ( ! $user_id ) {
- return false;
- }
-
- if ( is_single_user() && \user_can( $user_id, 'publish_posts' ) ) {
- // On a single user site, comments by users with the `publish_posts` capability will be federated as the blog user
- $user_id = Users::BLOG_USER_ID;
- }
-
- $is_user_disabled = is_user_disabled( $user_id );
-
- // user is disabled for federation
- if ( $is_user_disabled ) {
- return false;
- }
-
- // it is a comment to the post and can be federated
- if ( empty( $comment->comment_parent ) ) {
- return true;
- }
-
- // check if parent comment is federated
- $parent_comment = \get_comment( $comment->comment_parent );
-
- return ! self::is_local( $parent_comment );
- }
-
- /**
- * Examine a comment ID and look up an existing comment it represents.
- *
- * @param string $id ActivityPub object ID (usually a URL) to check.
- *
- * @return \WP_Comment|false Comment object, or false on failure.
- */
- public static function object_id_to_comment( $id ) {
- $comment_query = new WP_Comment_Query(
- array(
- 'meta_key' => 'source_id', // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
- 'meta_value' => $id, // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_value
- )
- );
-
- if ( ! $comment_query->comments ) {
- return false;
- }
-
- if ( count( $comment_query->comments ) > 1 ) {
- return false;
- }
-
- return $comment_query->comments[0];
- }
-
- /**
- * Verify if URL is a local comment, or if it is a previously received
- * remote comment (For threading comments locally)
- *
- * @param string $url The URL to check.
- *
- * @return int comment_ID or null if not found
- */
- public static function url_to_commentid( $url ) {
- if ( ! $url || ! filter_var( $url, \FILTER_VALIDATE_URL ) ) {
- return null;
- }
-
- // check for local comment
- if ( \wp_parse_url( \home_url(), \PHP_URL_HOST ) === \wp_parse_url( $url, \PHP_URL_HOST ) ) {
- $query = \wp_parse_url( $url, \PHP_URL_QUERY );
-
- if ( $query ) {
- parse_str( $query, $params );
-
- if ( ! empty( $params['c'] ) ) {
- $comment = \get_comment( $params['c'] );
-
- if ( $comment ) {
- return $comment->comment_ID;
- }
- }
- }
- }
-
- $args = array(
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'OR',
- array(
- 'key' => 'source_url',
- 'value' => $url,
- ),
- array(
- 'key' => 'source_id',
- 'value' => $url,
- ),
- ),
- );
-
- $query = new WP_Comment_Query();
- $comments = $query->query( $args );
-
- if ( $comments && is_array( $comments ) ) {
- return $comments[0]->comment_ID;
- }
-
- return null;
- }
-
- /**
- * Filters the CSS classes to add an ActivityPub class.
- *
- * @param string[] $classes An array of comment classes.
- * @param string[] $css_class An array of additional classes added to the list.
- * @param string $comment_id The comment ID as a numeric string.
- *
- * @return string[] An array of classes.
- */
- public static function comment_class( $classes, $css_class, $comment_id ) {
- // check if ActivityPub comment
- if ( 'activitypub' === get_comment_meta( $comment_id, 'protocol', true ) ) {
- $classes[] = 'activitypub-comment';
- }
-
- return $classes;
- }
-
- /**
- * Link remote comments to source url.
- *
- * @param string $comment_link
- * @param object|WP_Comment $comment
- *
- * @return string $url
- */
- public static function remote_comment_link( $comment_link, $comment ) {
- if ( ! $comment || is_admin() ) {
- return $comment_link;
- }
-
- $comment_meta = \get_comment_meta( $comment->comment_ID );
-
- if ( ! empty( $comment_meta['source_url'][0] ) ) {
- return $comment_meta['source_url'][0];
- } elseif ( ! empty( $comment_meta['source_id'][0] ) ) {
- return $comment_meta['source_id'][0];
- }
-
- return $comment_link;
- }
-
-
- /**
- * Generates an ActivityPub URI for a comment
- *
- * @param WP_Comment|int $comment A comment object or comment ID
- *
- * @return string ActivityPub URI for comment
- */
- public static function generate_id( $comment ) {
- $comment = \get_comment( $comment );
- $comment_meta = \get_comment_meta( $comment->comment_ID );
-
- // show external comment ID if it exists
- if ( ! empty( $comment_meta['source_id'][0] ) ) {
- return $comment_meta['source_id'][0];
- } elseif ( ! empty( $comment_meta['source_url'][0] ) ) {
- return $comment_meta['source_url'][0];
- }
-
- // generate URI based on comment ID
- return \add_query_arg( 'c', $comment->comment_ID, \trailingslashit( \home_url() ) );
- }
-
- /**
- * Check if a post has remote comments
- *
- * @param int $post_id The post ID.
- *
- * @return bool True if the post has remote comments, false otherwise.
- */
- private static function post_has_remote_comments( $post_id ) {
- $comments = \get_comments(
- array(
- 'post_id' => $post_id,
- 'meta_query' => array(
- 'relation' => 'AND',
- array(
- 'key' => 'protocol',
- 'value' => 'activitypub',
- 'compare' => '=',
- ),
- array(
- 'key' => 'source_id',
- 'compare' => 'EXISTS',
- ),
- ),
- )
- );
-
- return ! empty( $comments );
- }
-
- /**
- * Enqueue scripts for remote comments
- */
- public static function enqueue_scripts() {
- if ( ! \is_singular() || \is_user_logged_in() ) {
- // only on single pages, only for logged out users
- return;
- }
-
- if ( ! \post_type_supports( \get_post_type(), 'activitypub' ) ) {
- // post type does not support ActivityPub
- return;
- }
-
- if ( ! \comments_open() || ! \get_comments_number() ) {
- // no comments, no need to load the script
- return;
- }
-
- if ( ! self::post_has_remote_comments( \get_the_ID() ) ) {
- // no remote comments, no need to load the script
- return;
- }
-
- $handle = 'activitypub-remote-reply';
- $data = array(
- 'namespace' => ACTIVITYPUB_REST_NAMESPACE,
- );
- $js = sprintf( 'var _activityPubOptions = %s;', wp_json_encode( $data ) );
- $asset_file = ACTIVITYPUB_PLUGIN_DIR . 'build/remote-reply/index.asset.php';
-
- if ( \file_exists( $asset_file ) ) {
- $assets = require_once $asset_file;
-
- \wp_enqueue_script(
- $handle,
- \plugins_url( 'build/remote-reply/index.js', __DIR__ ),
- $assets['dependencies'],
- $assets['version'],
- true
- );
- \wp_add_inline_script( $handle, $js, 'before' );
-
- \wp_enqueue_style(
- $handle,
- \plugins_url( 'build/remote-reply/style-index.css', __DIR__ ),
- [ 'wp-components' ],
- $assets['version']
- );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-debug.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-debug.php
deleted file mode 100644
index bdb84c68..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-debug.php
+++ /dev/null
@@ -1,37 +0,0 @@
-post_content, $match ) ) {
- $tags = \implode( ', ', $match[1] );
-
- \wp_add_post_tags( $post->post_parent, $tags );
- }
-
- return $id;
- }
-
- /**
- * Filter to replace the #tags in the content with links
- *
- * @param string $the_content the post-content
- *
- * @return string the filtered post-content
- */
- public static function the_content( $the_content ) {
- // small protection against execution timeouts: limit to 1 MB
- if ( mb_strlen( $the_content ) > MB_IN_BYTES ) {
- return $the_content;
- }
- $tag_stack = array();
- $protected_tags = array(
- 'pre',
- 'code',
- 'textarea',
- 'style',
- 'a',
- );
- $content_with_links = '';
- $in_protected_tag = false;
- foreach ( wp_html_split( $the_content ) as $chunk ) {
- if ( preg_match( '#^$#i', $chunk, $m ) ) {
- $content_with_links .= $chunk;
- continue;
- }
-
- if ( preg_match( '#^<(/)?([a-z-]+)\b[^>]*>$#i', $chunk, $m ) ) {
- $tag = strtolower( $m[2] );
- if ( '/' === $m[1] ) {
- // Closing tag.
- $i = array_search( $tag, $tag_stack, true );
- // We can only remove the tag from the stack if it is in the stack.
- if ( false !== $i ) {
- $tag_stack = array_slice( $tag_stack, 0, $i );
- }
- } else {
- // Opening tag, add it to the stack.
- $tag_stack[] = $tag;
- }
-
- // If we're in a protected tag, the tag_stack contains at least one protected tag string.
- // The protected tag state can only change when we encounter a start or end tag.
- $in_protected_tag = array_intersect( $tag_stack, $protected_tags );
-
- // Never inspect tags.
- $content_with_links .= $chunk;
- continue;
- }
-
- if ( $in_protected_tag ) {
- // Don't inspect a chunk inside an inspected tag.
- $content_with_links .= $chunk;
- continue;
- }
-
- // Only reachable when there is no protected tag in the stack.
- $content_with_links .= \preg_replace_callback( '/' . ACTIVITYPUB_HASHTAGS_REGEXP . '/i', array( '\Activitypub\Hashtag', 'replace_with_links' ), $chunk );
- }
-
- return $content_with_links;
- }
-
- /**
- * A callback for preg_replace to build the term links
- *
- * @param array $result the preg_match results
- * @return string the final string
- */
- public static function replace_with_links( $result ) {
- $tag = $result[1];
- $tag_object = \get_term_by( 'name', $tag, 'post_tag' );
-
- if ( $tag_object ) {
- $link = \get_term_link( $tag_object, 'post_tag' );
- return \sprintf( '#%s ', $link, $tag );
- }
-
- return '#' . $tag;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-health-check.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-health-check.php
deleted file mode 100644
index 878ee85d..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-health-check.php
+++ /dev/null
@@ -1,365 +0,0 @@
- \__( 'Author URL test', 'activitypub' ),
- 'test' => array( self::class, 'test_author_url' ),
- );
- }
-
- $tests['direct']['activitypub_test_webfinger'] = array(
- 'label' => __( 'WebFinger Test', 'activitypub' ),
- 'test' => array( self::class, 'test_webfinger' ),
- );
-
- return $tests;
- }
-
- /**
- * Author URL tests
- *
- * @return array
- */
- public static function test_author_url() {
- $result = array(
- 'label' => \__( 'Author URL accessible', 'activitypub' ),
- 'status' => 'good',
- 'badge' => array(
- 'label' => \__( 'ActivityPub', 'activitypub' ),
- 'color' => 'green',
- ),
- 'description' => \sprintf(
- '%s
',
- \__( 'Your author URL is accessible and supports the required "Accept" header.', 'activitypub' )
- ),
- 'actions' => '',
- 'test' => 'test_author_url',
- );
-
- $check = self::is_author_url_accessible();
-
- if ( true === $check ) {
- return $result;
- }
-
- $result['status'] = 'critical';
- $result['label'] = \__( 'Author URL is not accessible', 'activitypub' );
- $result['badge']['color'] = 'red';
- $result['description'] = \sprintf(
- '%s
',
- $check->get_error_message()
- );
-
- return $result;
- }
-
- /**
- * System Cron tests
- *
- * @return array
- */
- public static function test_system_cron() {
- $result = array(
- 'label' => \__( 'System Task Scheduler configured', 'activitypub' ),
- 'status' => 'good',
- 'badge' => array(
- 'label' => \__( 'ActivityPub', 'activitypub' ),
- 'color' => 'green',
- ),
- 'description' => \sprintf(
- '%s
',
- \esc_html__( 'You seem to use the System Task Scheduler to process WP_Cron tasks.', 'activitypub' )
- ),
- 'actions' => '',
- 'test' => 'test_system_cron',
- );
-
- if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) {
- return $result;
- }
-
- $result['status'] = 'recommended';
- $result['label'] = \__( 'System Task Scheduler not configured', 'activitypub' );
- $result['badge']['color'] = 'orange';
- $result['description'] = \sprintf(
- '%s
',
- \__( 'Enhance your WordPress site’s performance and mitigate potential heavy loads caused by plugins like ActivityPub by setting up a system cron job to run WP Cron. This ensures scheduled tasks are executed consistently and reduces the reliance on website traffic for trigger events.', 'activitypub' )
- );
- $result['actions'] .= sprintf(
- '%s %s
',
- __( 'https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/', 'activitypub' ),
- __( 'Learn how to hook the WP-Cron into the System Task Scheduler.', 'activitypub' ),
- /* translators: Hidden accessibility text. */
- __( '(opens in a new tab)', 'activitypub' )
- );
-
- return $result;
- }
-
- /**
- * WebFinger tests
- *
- * @return array
- */
- public static function test_webfinger() {
- $result = array(
- 'label' => \__( 'WebFinger endpoint', 'activitypub' ),
- 'status' => 'good',
- 'badge' => array(
- 'label' => \__( 'ActivityPub', 'activitypub' ),
- 'color' => 'green',
- ),
- 'description' => \sprintf(
- '%s
',
- \__( 'Your WebFinger endpoint is accessible and returns the correct information.', 'activitypub' )
- ),
- 'actions' => '',
- 'test' => 'test_webfinger',
- );
-
- $check = self::is_webfinger_endpoint_accessible();
-
- if ( true === $check ) {
- return $result;
- }
-
- $result['status'] = 'critical';
- $result['label'] = \__( 'WebFinger endpoint is not accessible', 'activitypub' );
- $result['badge']['color'] = 'red';
- $result['description'] = \sprintf(
- '%s
',
- $check->get_error_message()
- );
-
- return $result;
- }
-
- /**
- * Check if `author_posts_url` is accessible and that request returns correct JSON
- *
- * @return boolean|WP_Error
- */
- public static function is_author_url_accessible() {
- $user = \wp_get_current_user();
- $author_url = \get_author_posts_url( $user->ID );
- $reference_author_url = self::get_author_posts_url( $user->ID, $user->user_nicename );
-
- // check for "author" in URL
- if ( $author_url !== $reference_author_url ) {
- return new WP_Error(
- 'author_url_not_accessible',
- \sprintf(
- // translators: %s: Author URL
- \__(
- 'Your author URL %s
was replaced, this is often done by plugins.',
- 'activitypub'
- ),
- $author_url
- )
- );
- }
-
- // try to access author URL
- $response = \wp_remote_get(
- $author_url,
- array(
- 'headers' => array( 'Accept' => 'application/activity+json' ),
- 'redirection' => 0,
- )
- );
-
- if ( \is_wp_error( $response ) ) {
- return new WP_Error(
- 'author_url_not_accessible',
- \sprintf(
- // translators: %s: Author URL
- \__(
- 'Your author URL %s
is not accessible. Please check your WordPress setup or permalink structure. If the setup seems fine, maybe check if a plugin might restrict the access.',
- 'activitypub'
- ),
- $author_url
- )
- );
- }
-
- $response_code = \wp_remote_retrieve_response_code( $response );
-
- // check for redirects
- if ( \in_array( $response_code, array( 301, 302, 307, 308 ), true ) ) {
- return new WP_Error(
- 'author_url_not_accessible',
- \sprintf(
- // translators: %s: Author URL
- \__(
- 'Your author URL %s
is redirecting to another page, this is often done by SEO plugins like "Yoast SEO".',
- 'activitypub'
- ),
- $author_url
- )
- );
- }
-
- // check if response is JSON
- $body = \wp_remote_retrieve_body( $response );
-
- if ( ! \is_string( $body ) || ! \is_array( \json_decode( $body, true ) ) ) {
- return new WP_Error(
- 'author_url_not_accessible',
- \sprintf(
- // translators: %s: Author URL
- \__(
- 'Your author URL %s
does not return valid JSON for application/activity+json
. Please check if your hosting supports alternate Accept
headers.',
- 'activitypub'
- ),
- $author_url
- )
- );
- }
-
- return true;
- }
-
- /**
- * Check if WebFinger endpoint is accessible and profile request returns correct JSON
- *
- * @return boolean|WP_Error
- */
- public static function is_webfinger_endpoint_accessible() {
- $user = Users::get_by_id( Users::APPLICATION_USER_ID );
- $resource = $user->get_webfinger();
-
- $url = Webfinger::resolve( $resource );
- if ( \is_wp_error( $url ) ) {
- $allowed = array( 'code' => array() );
- $not_accessible = wp_kses(
- // translators: %s: Author URL
- \__(
- 'Your WebFinger endpoint %s
is not accessible. Please check your WordPress setup or permalink structure.',
- 'activitypub'
- ),
- $allowed
- );
- $invalid_response = wp_kses(
- // translators: %s: Author URL
- \__(
- 'Your WebFinger endpoint %s
does not return valid JSON for application/jrd+json
.',
- 'activitypub'
- ),
- $allowed
- );
-
- $health_messages = array(
- 'webfinger_url_not_accessible' => \sprintf(
- $not_accessible,
- $url->get_error_data()
- ),
- 'webfinger_url_invalid_response' => \sprintf(
- // translators: %s: Author URL
- $invalid_response,
- $url->get_error_data()
- ),
- );
- $message = null;
- if ( isset( $health_messages[ $url->get_error_code() ] ) ) {
- $message = $health_messages[ $url->get_error_code() ];
- }
- return new WP_Error(
- $url->get_error_code(),
- $message,
- $url->get_error_data()
- );
- }
-
- return true;
- }
-
- /**
- * Retrieve the URL to the author page for the user with the ID provided.
- *
- * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
- *
- * @param int $author_id Author ID.
- * @param string $author_nicename Optional. The author's nicename (slug). Default empty.
- *
- * @return string The URL to the author's page.
- */
- public static function get_author_posts_url( $author_id, $author_nicename = '' ) {
- global $wp_rewrite;
- $auth_id = (int) $author_id;
- $link = $wp_rewrite->get_author_permastruct();
-
- if ( empty( $link ) ) {
- $file = home_url( '/' );
- $link = $file . '?author=' . $auth_id;
- } else {
- if ( '' === $author_nicename ) {
- $user = get_userdata( $author_id );
- if ( ! empty( $user->user_nicename ) ) {
- $author_nicename = $user->user_nicename;
- }
- }
- $link = str_replace( '%author%', $author_nicename, $link );
- $link = home_url( user_trailingslashit( $link ) );
- }
-
- return $link;
- }
-
- /**
- * Static function for generating site debug data when required.
- *
- * @param array $info The debug information to be added to the core information page.
- * @return array The filtered information
- */
- public static function debug_information( $info ) {
- $info['activitypub'] = array(
- 'label' => __( 'ActivityPub', 'activitypub' ),
- 'fields' => array(
- 'webfinger' => array(
- 'label' => __( 'WebFinger Resource', 'activitypub' ),
- 'value' => Webfinger::get_user_resource( wp_get_current_user()->ID ),
- 'private' => true,
- ),
- 'author_url' => array(
- 'label' => __( 'Author URL', 'activitypub' ),
- 'value' => get_author_posts_url( wp_get_current_user()->ID ),
- 'private' => true,
- ),
- 'plugin_version' => array(
- 'label' => __( 'Plugin Version', 'activitypub' ),
- 'value' => get_plugin_version(),
- 'private' => true,
- ),
- ),
- );
-
- return $info;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-http.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-http.php
deleted file mode 100644
index 2a8ce7d0..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-http.php
+++ /dev/null
@@ -1,251 +0,0 @@
- 100,
- 'limit_response_size' => 1048576,
- 'redirection' => 3,
- 'user-agent' => "$user_agent; ActivityPub",
- 'headers' => array(
- 'Accept' => 'application/activity+json',
- 'Content-Type' => 'application/activity+json',
- 'Digest' => $digest,
- 'Signature' => $signature,
- 'Date' => $date,
- ),
- 'body' => $body,
- );
-
- $response = \wp_safe_remote_post( $url, $args );
- $code = \wp_remote_retrieve_response_code( $response );
-
- if ( $code >= 400 ) {
- $response = new WP_Error( $code, __( 'Failed HTTP Request', 'activitypub' ), array( 'status' => $code ) );
- }
-
- \do_action( 'activitypub_safe_remote_post_response', $response, $url, $body, $user_id );
-
- return $response;
- }
-
- /**
- * Send a GET Request with the needed HTTP Headers
- *
- * @param string $url The URL endpoint
- * @param bool|int $cached If the result should be cached, or its duration. Default: 1hr.
- *
- * @return array|WP_Error The GET Response or an WP_ERROR
- */
- public static function get( $url, $cached = false ) {
- \do_action( 'activitypub_pre_http_get', $url );
-
- if ( $cached ) {
- $transient_key = self::generate_cache_key( $url );
-
- $response = \get_transient( $transient_key );
-
- if ( $response ) {
- \do_action( 'activitypub_safe_remote_get_response', $response, $url );
-
- return $response;
- }
- }
-
- $date = \gmdate( 'D, d M Y H:i:s T' );
- $signature = Signature::generate_signature( Users::APPLICATION_USER_ID, 'get', $url, $date );
-
- $wp_version = get_masked_wp_version();
-
- /**
- * Filter the HTTP headers user agent.
- *
- * @param string $user_agent The user agent string.
- */
- $user_agent = \apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . \get_bloginfo( 'url' ) );
-
- $args = array(
- 'timeout' => apply_filters( 'activitypub_remote_get_timeout', 100 ),
- 'limit_response_size' => 1048576,
- 'redirection' => 3,
- 'user-agent' => "$user_agent; ActivityPub",
- 'headers' => array(
- 'Accept' => 'application/activity+json',
- 'Content-Type' => 'application/activity+json',
- 'Signature' => $signature,
- 'Date' => $date,
- ),
- );
-
- $response = \wp_safe_remote_get( $url, $args );
- $code = \wp_remote_retrieve_response_code( $response );
-
- if ( $code >= 400 ) {
- $response = new WP_Error( $code, __( 'Failed HTTP Request', 'activitypub' ), array( 'status' => $code ) );
- }
-
- \do_action( 'activitypub_safe_remote_get_response', $response, $url );
-
- if ( $cached ) {
- $cache_duration = $cached;
- if ( ! is_int( $cache_duration ) ) {
- $cache_duration = HOUR_IN_SECONDS;
- }
- \set_transient( $transient_key, $response, $cache_duration );
- }
-
- return $response;
- }
-
- /**
- * Check for URL for Tombstone.
- *
- * @param string $url The URL to check.
- *
- * @return bool True if the URL is a tombstone.
- */
- public static function is_tombstone( $url ) {
- \do_action( 'activitypub_pre_http_is_tombstone', $url );
-
- $response = \wp_safe_remote_get( $url );
- $code = \wp_remote_retrieve_response_code( $response );
-
- if ( in_array( (int) $code, array( 404, 410 ), true ) ) {
- return true;
- }
-
- return false;
- }
-
- public static function generate_cache_key( $url ) {
- return 'activitypub_http_' . \md5( $url );
- }
-
- /**
- * Requests the Data from the Object-URL or Object-Array
- *
- * @param array|string $url_or_object The Object or the Object URL.
- * @param bool $cached If the result should be cached.
- *
- * @return array|WP_Error The Object data as array or WP_Error on failure.
- */
- public static function get_remote_object( $url_or_object, $cached = true ) {
- if ( is_array( $url_or_object ) ) {
- if ( array_key_exists( 'id', $url_or_object ) ) {
- $url = $url_or_object['id'];
- } elseif ( array_key_exists( 'url', $url_or_object ) ) {
- $url = $url_or_object['url'];
- } else {
- return new WP_Error(
- 'activitypub_no_valid_actor_identifier',
- \__( 'The "actor" identifier is not valid', 'activitypub' ),
- array(
- 'status' => 404,
- 'object' => $url_or_object,
- )
- );
- }
- } else {
- $url = $url_or_object;
- }
-
- if ( preg_match( '/^@?' . ACTIVITYPUB_USERNAME_REGEXP . '$/i', $url ) ) {
- $url = Webfinger::resolve( $url );
- }
-
- if ( ! $url ) {
- return new WP_Error(
- 'activitypub_no_valid_actor_identifier',
- \__( 'The "actor" identifier is not valid', 'activitypub' ),
- array(
- 'status' => 404,
- 'object' => $url,
- )
- );
- }
-
- if ( is_wp_error( $url ) ) {
- return $url;
- }
-
- $transient_key = self::generate_cache_key( $url );
-
- // only check the cache if needed.
- if ( $cached ) {
- $data = \get_transient( $transient_key );
-
- if ( $data ) {
- return $data;
- }
- }
-
- if ( ! \wp_http_validate_url( $url ) ) {
- return new WP_Error(
- 'activitypub_no_valid_object_url',
- \__( 'The "object" is/has no valid URL', 'activitypub' ),
- array(
- 'status' => 400,
- 'object' => $url,
- )
- );
- }
-
- $response = self::get( $url );
-
- if ( \is_wp_error( $response ) ) {
- return $response;
- }
-
- $data = \wp_remote_retrieve_body( $response );
- $data = \json_decode( $data, true );
-
- if ( ! $data ) {
- return new WP_Error(
- 'activitypub_invalid_json',
- \__( 'No valid JSON data', 'activitypub' ),
- array(
- 'status' => 400,
- 'object' => $url,
- )
- );
- }
-
- \set_transient( $transient_key, $data, WEEK_IN_SECONDS );
-
- return $data;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-mention.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-mention.php
deleted file mode 100644
index c2e8792d..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-mention.php
+++ /dev/null
@@ -1,183 +0,0 @@
- MB_IN_BYTES ) {
- return $the_content;
- }
- $tag_stack = array();
- $protected_tags = array(
- 'pre',
- 'code',
- 'textarea',
- 'style',
- 'a',
- );
- $content_with_links = '';
- $in_protected_tag = false;
- foreach ( wp_html_split( $the_content ) as $chunk ) {
- if ( preg_match( '#^$#i', $chunk, $m ) ) {
- $content_with_links .= $chunk;
- continue;
- }
-
- if ( preg_match( '#^<(/)?([a-z-]+)\b[^>]*>$#i', $chunk, $m ) ) {
- $tag = strtolower( $m[2] );
- if ( '/' === $m[1] ) {
- // Closing tag.
- $i = array_search( $tag, $tag_stack );
- // We can only remove the tag from the stack if it is in the stack.
- if ( false !== $i ) {
- $tag_stack = array_slice( $tag_stack, 0, $i );
- }
- } else {
- // Opening tag, add it to the stack.
- $tag_stack[] = $tag;
- }
-
- // If we're in a protected tag, the tag_stack contains at least one protected tag string.
- // The protected tag state can only change when we encounter a start or end tag.
- $in_protected_tag = array_intersect( $tag_stack, $protected_tags );
-
- // Never inspect tags.
- $content_with_links .= $chunk;
- continue;
- }
-
- if ( $in_protected_tag ) {
- // Don't inspect a chunk inside an inspected tag.
- $content_with_links .= $chunk;
- continue;
- }
-
- // Only reachable when there is no protected tag in the stack.
- $content_with_links .= \preg_replace_callback( '/@' . ACTIVITYPUB_USERNAME_REGEXP . '/', array( self::class, 'replace_with_links' ), $chunk );
- }
-
- return $content_with_links;
- }
-
- /**
- * A callback for preg_replace to build the user links
- *
- * @param array $result the preg_match results
- *
- * @return string the final string
- */
- public static function replace_with_links( $result ) {
- $metadata = get_remote_metadata_by_actor( $result[0] );
-
- if (
- ! empty( $metadata ) &&
- ! is_wp_error( $metadata ) &&
- ( ! empty( $metadata['id'] ) || ! empty( $metadata['url'] ) )
- ) {
- $username = ltrim( $result[0], '@' );
- if ( ! empty( $metadata['name'] ) ) {
- $username = $metadata['name'];
- }
- if ( ! empty( $metadata['preferredUsername'] ) ) {
- $username = $metadata['preferredUsername'];
- }
-
- $url = isset( $metadata['url'] ) ? object_to_uri( $metadata['url'] ) : object_to_uri( $metadata['id'] );
-
- return \sprintf( '@%s ', esc_url( $url ), esc_html( $username ) );
- }
-
- return $result[0];
- }
-
- /**
- * Get the Inboxes for the mentioned Actors
- *
- * @param array $mentioned The list of Actors that were mentioned
- *
- * @return array The list of Inboxes
- */
- public static function get_inboxes( $mentioned ) {
- $inboxes = array();
-
- foreach ( $mentioned as $actor ) {
- $inbox = self::get_inbox_by_mentioned_actor( $actor );
-
- if ( ! is_wp_error( $inbox ) && $inbox ) {
- $inboxes[] = $inbox;
- }
- }
-
- return $inboxes;
- }
-
- /**
- * Get the inbox from the Remote-Profile of a mentioned Actor
- *
- * @param string $actor The Actor-URL
- *
- * @return string The Inbox-URL
- */
- public static function get_inbox_by_mentioned_actor( $actor ) {
- $metadata = get_remote_metadata_by_actor( $actor );
-
- if ( \is_wp_error( $metadata ) ) {
- return $metadata;
- }
-
- if ( isset( $metadata['endpoints'] ) && isset( $metadata['endpoints']['sharedInbox'] ) ) {
- return $metadata['endpoints']['sharedInbox'];
- }
-
- if ( \array_key_exists( 'inbox', $metadata ) ) {
- return $metadata['inbox'];
- }
-
- return new WP_Error( 'activitypub_no_inbox', \__( 'No "Inbox" found', 'activitypub' ), $metadata );
- }
-
- /**
- * Extract the mentions from the post_content.
- *
- * @param array $mentions The already found mentions.
- * @param string $post_content The post content.
- *
- * @return mixed The discovered mentions.
- */
- public static function extract_mentions( $mentions, $post_content ) {
- \preg_match_all( '/@' . ACTIVITYPUB_USERNAME_REGEXP . '/i', $post_content, $matches );
- foreach ( $matches[0] as $match ) {
- $link = Webfinger::resolve( $match );
- if ( ! is_wp_error( $link ) ) {
- $mentions[ $match ] = $link;
- }
- }
- return $mentions;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-migration.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-migration.php
deleted file mode 100644
index 0e12ac11..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-migration.php
+++ /dev/null
@@ -1,287 +0,0 @@
- 'ID' ) ) as $user_id ) {
- $followers = get_user_meta( $user_id, 'activitypub_followers', true );
-
- if ( $followers ) {
- foreach ( $followers as $actor ) {
- Followers::add_follower( $user_id, $actor );
- }
- }
- }
-
- Activitypub::flush_rewrite_rules();
- }
-
- /**
- * Clear the cache after updating to 1.3.0
- *
- * @return void
- */
- private static function migrate_from_1_2_0() {
- $user_ids = \get_users(
- array(
- 'fields' => 'ID',
- 'capability__in' => array( 'publish_posts' ),
- )
- );
-
- foreach ( $user_ids as $user_id ) {
- wp_cache_delete( sprintf( Followers::CACHE_KEY_INBOXES, $user_id ), 'activitypub' );
- }
- }
-
- /**
- * Unschedule Hooks after updating to 2.0.0
- *
- * @return void
- */
- private static function migrate_from_2_0_0() {
- wp_clear_scheduled_hook( 'activitypub_send_post_activity' );
- wp_clear_scheduled_hook( 'activitypub_send_update_activity' );
- wp_clear_scheduled_hook( 'activitypub_send_delete_activity' );
-
- wp_unschedule_hook( 'activitypub_send_post_activity' );
- wp_unschedule_hook( 'activitypub_send_update_activity' );
- wp_unschedule_hook( 'activitypub_send_delete_activity' );
-
- $object_type = \get_option( 'activitypub_object_type', ACTIVITYPUB_DEFAULT_OBJECT_TYPE );
- if ( 'article' === $object_type ) {
- \update_option( 'activitypub_object_type', 'wordpress-post-format' );
- }
- }
-
- /**
- * Add the ActivityPub capability to all users that can publish posts
- * Delete old meta to store followers
- *
- * @return void
- */
- private static function migrate_from_2_2_0() {
- // add the ActivityPub capability to all users that can publish posts
- self::add_activitypub_capability();
- }
-
- /**
- * Set the defaults needed for the plugin to work
- *
- * * Add the ActivityPub capability to all users that can publish posts
- *
- * @return void
- */
- public static function add_default_settings() {
- self::add_activitypub_capability();
- }
-
- /**
- * Add the ActivityPub capability to all users that can publish posts
- *
- * @return void
- */
- private static function add_activitypub_capability() {
- // get all WP_User objects that can publish posts
- $users = \get_users(
- array(
- 'capability__in' => array( 'publish_posts' ),
- )
- );
-
- // add ActivityPub capability to all users that can publish posts
- foreach ( $users as $user ) {
- $user->add_cap( 'activitypub' );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-notification.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-notification.php
deleted file mode 100644
index 72747021..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-notification.php
+++ /dev/null
@@ -1,58 +0,0 @@
-type = $type;
- $this->actor = $actor;
- $this->object = $object;
- $this->target = $target;
- }
-
- /**
- * Send the notification.
- */
- public function send() {
- do_action( 'activitypub_notification', $this );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-scheduler.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-scheduler.php
deleted file mode 100644
index 4faf51a7..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-scheduler.php
+++ /dev/null
@@ -1,348 +0,0 @@
-post_type ) {
- self::schedule_profile_update( $post->post_author );
- return;
- }
-
- // Do not send activities if post is password protected.
- if ( \post_password_required( $post ) ) {
- return;
- }
-
- // Check if post-type supports ActivityPub.
- $post_types = \get_post_types_by_support( 'activitypub' );
- if ( ! \in_array( $post->post_type, $post_types, true ) ) {
- return;
- }
-
- $type = false;
-
- if (
- 'publish' === $new_status &&
- 'publish' !== $old_status
- ) {
- $type = 'Create';
- } elseif (
- 'publish' === $new_status ||
- ( 'draft' === $new_status &&
- 'draft' !== $old_status )
- ) {
- $type = 'Update';
- } elseif ( 'trash' === $new_status ) {
- $type = 'Delete';
- }
-
- if ( empty( $type ) ) {
- return;
- }
-
- $hook = 'activitypub_send_post';
- $args = array( $post->ID, $type );
-
- if ( false === wp_next_scheduled( $hook, $args ) ) {
- set_wp_object_state( $post, 'federate' );
- \wp_schedule_single_event( \time(), $hook, $args );
- }
- }
-
- /**
- * Schedule Comment Activities
- *
- * transition_comment_status()
- *
- * @param string $new_status New comment status.
- * @param string $old_status Old comment status.
- * @param WP_Comment $comment Comment object.
- */
- public static function schedule_comment_activity( $new_status, $old_status, $comment ) {
- $comment = get_comment( $comment );
-
- // federate only comments that are written by a registered user.
- if ( ! $comment->user_id ) {
- return;
- }
-
- $type = false;
-
- if (
- 'approved' === $new_status &&
- 'approved' !== $old_status
- ) {
- $type = 'Create';
- } elseif ( 'approved' === $new_status ) {
- $type = 'Update';
- \update_comment_meta( $comment->comment_ID, 'activitypub_comment_modified', time(), true );
- } elseif (
- 'trash' === $new_status ||
- 'spam' === $new_status
- ) {
- $type = 'Delete';
- }
-
- if ( empty( $type ) ) {
- return;
- }
-
- // check if comment should be federated or not
- if ( ! should_comment_be_federated( $comment ) ) {
- return;
- }
-
- $hook = 'activitypub_send_comment';
- $args = array( $comment->comment_ID, $type );
-
- if ( false === wp_next_scheduled( $hook, $args ) ) {
- set_wp_object_state( $comment, 'federate' );
- \wp_schedule_single_event( \time(), $hook, $args );
- }
- }
-
- /**
- * Update followers
- *
- * @return void
- */
- public static function update_followers() {
- $number = 5;
-
- if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) {
- $number = 50;
- }
-
- $number = apply_filters( 'activitypub_update_followers_number', $number );
- $followers = Followers::get_outdated_followers( $number );
-
- foreach ( $followers as $follower ) {
- $meta = get_remote_metadata_by_actor( $follower->get_id(), false );
-
- if ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
- Followers::add_error( $follower->get__id(), $meta );
- } else {
- $follower->from_array( $meta );
- $follower->update();
- }
- }
- }
-
- /**
- * Cleanup followers
- *
- * @return void
- */
- public static function cleanup_followers() {
- $number = 5;
-
- if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) {
- $number = 50;
- }
-
- $number = apply_filters( 'activitypub_update_followers_number', $number );
- $followers = Followers::get_faulty_followers( $number );
-
- foreach ( $followers as $follower ) {
- $meta = get_remote_metadata_by_actor( $follower->get_url(), false );
-
- if ( is_tombstone( $meta ) ) {
- $follower->delete();
- } elseif ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
- if ( $follower->count_errors() >= 5 ) {
- $follower->delete();
- \wp_schedule_single_event(
- \time(),
- 'activitypub_delete_actor_interactions',
- array( $follower->get_id() )
- );
- } else {
- Followers::add_error( $follower->get__id(), $meta );
- }
- } else {
- $follower->reset_errors();
- }
- }
- }
-
- /**
- * Send a profile update when relevant user meta is updated.
- *
- * @param int $meta_id Meta ID being updated.
- * @param int $user_id User ID being updated.
- * @param string $meta_key Meta key being updated.
- *
- * @return void
- */
- public static function user_meta_update( $meta_id, $user_id, $meta_key ) {
- // don't bother if the user can't publish
- if ( ! \user_can( $user_id, 'activitypub' ) ) {
- return;
- }
- // the user meta fields that affect a profile.
- $fields = array(
- 'activitypub_user_description',
- 'description',
- 'user_url',
- 'display_name',
- );
- if ( in_array( $meta_key, $fields, true ) ) {
- self::schedule_profile_update( $user_id );
- }
- }
-
- /**
- * Send a profile update when a user is updated.
- *
- * @param int $user_id User ID being updated.
- *
- * @return void
- */
- public static function user_update( $user_id ) {
- // don't bother if the user can't publish
- if ( ! \user_can( $user_id, 'activitypub' ) ) {
- return;
- }
-
- self::schedule_profile_update( $user_id );
- }
-
- /**
- * Theme mods only have a dynamic filter so we fudge it like this.
- *
- * @param mixed $value
- *
- * @return mixed
- */
- public static function blog_user_update( $value = null ) {
- self::schedule_profile_update( 0 );
- return $value;
- }
-
- /**
- * Send a profile update to all followers. Gets hooked into all relevant options/meta etc.
- *
- * @param int $user_id The user ID to update (Could be 0 for Blog-User).
- */
- public static function schedule_profile_update( $user_id ) {
- \wp_schedule_single_event(
- \time(),
- 'activitypub_send_update_profile_activity',
- array( $user_id )
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-shortcodes.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-shortcodes.php
deleted file mode 100644
index b32b91dd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-shortcodes.php
+++ /dev/null
@@ -1,598 +0,0 @@
-ID );
-
- if ( ! $tags ) {
- return '';
- }
-
- $hash_tags = array();
-
- foreach ( $tags as $tag ) {
- $hash_tags[] = \sprintf(
- '%s ',
- \esc_url( \get_tag_link( $tag ) ),
- esc_hashtag( $tag->name )
- );
- }
-
- return \implode( ' ', $hash_tags );
- }
-
- /**
- * Generates output for the 'ap_title' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post title.
- */
- public static function title( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- return \wp_strip_all_tags( \get_the_title( $item->ID ), true );
- }
-
- /**
- * Generates output for the 'ap_excerpt' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post excerpt.
- */
- public static function excerpt( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $atts = shortcode_atts(
- array( 'length' => ACTIVITYPUB_EXCERPT_LENGTH ),
- $atts,
- $tag
- );
-
- $excerpt_length = intval( $atts['length'] );
-
- if ( 0 === $excerpt_length ) {
- $excerpt_length = ACTIVITYPUB_EXCERPT_LENGTH;
- }
-
- $excerpt = \get_post_field( 'post_excerpt', $item );
-
- if ( 'attachment' === $item->post_type ) {
- // get title of attachment with fallback to alt text.
- $content = wp_get_attachment_caption( $item->ID );
- if ( empty( $content ) ) {
- $content = get_post_meta( $item->ID, '_wp_attachment_image_alt', true );
- }
- } elseif ( '' === $excerpt ) {
- $content = \get_post_field( 'post_content', $item );
-
- // An empty string will make wp_trim_excerpt do stuff we do not want.
- if ( '' !== $content ) {
- $excerpt = \strip_shortcodes( $content );
-
- /** This filter is documented in wp-includes/post-template.php */
- $excerpt = \apply_filters( 'the_content', $excerpt );
- $excerpt = \str_replace( ']]>', ']]>', $excerpt );
- }
- }
-
- // Strip out any remaining tags.
- $excerpt = \wp_strip_all_tags( $excerpt );
-
- $excerpt_more = \apply_filters( 'activitypub_excerpt_more', ' […]' );
- $excerpt_more_len = strlen( $excerpt_more );
-
- // We now have a excerpt, but we need to check it's length, it may be longer than we want for two reasons:
- //
- // * The user has entered a manual excerpt which is longer that what we want.
- // * No manual excerpt exists so we've used the content which might be longer than we want.
- //
- // Either way, let's trim it up if we need too. Also, don't forget to take into account the more indicator
- // as part of the total length.
- //
-
- // Setup a variable to hold the current excerpts length.
- $current_excerpt_length = strlen( $excerpt );
-
- // Setup a variable to keep track of our target length.
- $target_excerpt_length = $excerpt_length - $excerpt_more_len;
-
- // Setup a variable to keep track of the current max length.
- $current_excerpt_max = $target_excerpt_length;
-
- // This is a loop since we can't calculate word break the string after 'the_excpert' filter has run (we would break
- // all kinds of html tags), so we have to cut the excerpt down a bit at a time until we hit our target length.
- while ( $current_excerpt_length > $target_excerpt_length && $current_excerpt_max > 0 ) {
- // Trim the excerpt based on wordwrap() positioning.
- // Note: we're using as the linebreak just in case there are any newlines existing in the excerpt from the user.
- // There won't be any left after we've run wp_strip_all_tags() in the code above, so they're
- // safe to use here. It won't be included in the final excerpt as the substr() will trim it off.
- $excerpt = substr( $excerpt, 0, strpos( wordwrap( $excerpt, $current_excerpt_max, ' ' ), ' ' ) );
-
- // If something went wrong, or we're in a language that wordwrap() doesn't understand,
- // just chop it off and don't worry about breaking in the middle of a word.
- if ( strlen( $excerpt ) > $excerpt_length - $excerpt_more_len ) {
- $excerpt = substr( $excerpt, 0, $current_excerpt_max );
- }
-
- // Add in the more indicator.
- $excerpt = $excerpt . $excerpt_more;
-
- // Run it through the excerpt filter which will add some html tags back in.
- $excerpt_filtered = apply_filters( 'the_excerpt', $excerpt );
-
- // Now set the current excerpt length to this new filtered length.
- $current_excerpt_length = strlen( $excerpt_filtered );
-
- // Check to see if we're over the target length.
- if ( $current_excerpt_length > $target_excerpt_length ) {
- // If so, remove 20 characters from the current max and run the loop again.
- $current_excerpt_max = $current_excerpt_max - 20;
- }
- }
-
- return \apply_filters( 'the_excerpt', $excerpt );
- }
-
- /**
- * Generates output for the 'ap_content' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post content.
- */
- public static function content( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- // prevent inception
- remove_shortcode( 'ap_content' );
-
- $atts = shortcode_atts(
- array( 'apply_filters' => 'yes' ),
- $atts,
- $tag
- );
-
- $content = '';
-
- if ( 'attachment' === $item->post_type ) {
- // get title of attachment with fallback to alt text.
- $content = wp_get_attachment_caption( $item->ID );
- if ( empty( $content ) ) {
- $content = get_post_meta( $item->ID, '_wp_attachment_image_alt', true );
- }
- } else {
- $content = \get_post_field( 'post_content', $item );
-
- if ( 'yes' === $atts['apply_filters'] ) {
- $content = \apply_filters( 'the_content', $content );
- } else {
- $content = do_blocks( $content );
- $content = wptexturize( $content );
- $content = wp_filter_content_tags( $content );
- }
-
- // replace script and style elements
- $content = \preg_replace( '@<(script|style)[^>]*?>.*?\\1>@si', '', $content );
- $content = strip_shortcodes( $content );
- $content = \trim( \preg_replace( '/[\n\r\t]/', '', $content ) );
- }
-
- add_shortcode( 'ap_content', array( 'Activitypub\Shortcodes', 'content' ) );
-
- return $content;
- }
-
- /**
- * Generates output for the 'ap_permalink' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post permalink.
- */
- public static function permalink( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $atts = shortcode_atts(
- array(
- 'type' => 'url',
- ),
- $atts,
- $tag
- );
-
- if ( 'url' === $atts['type'] ) {
- return \esc_url( \get_permalink( $item->ID ) );
- }
-
- return \sprintf(
- '%1$s ',
- \esc_url( \get_permalink( $item->ID ) )
- );
- }
-
- /**
- * Generates output for the 'ap_shortlink' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post shortlink.
- */
- public static function shortlink( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $atts = shortcode_atts(
- array(
- 'type' => 'url',
- ),
- $atts,
- $tag
- );
-
- if ( 'url' === $atts['type'] ) {
- return \esc_url( \wp_get_shortlink( $item->ID ) );
- }
-
- return \sprintf(
- '%1$s ',
- \esc_url( \wp_get_shortlink( $item->ID ) )
- );
- }
-
- /**
- * Generates output for the 'ap_image' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string
- */
- public static function image( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $atts = shortcode_atts(
- array(
- 'type' => 'full',
- ),
- $atts,
- $tag
- );
-
- $size = 'full';
-
- if ( in_array(
- $atts['type'],
- array( 'thumbnail', 'medium', 'large', 'full' ),
- true
- ) ) {
- $size = $atts['type'];
- }
-
- $image = \get_the_post_thumbnail_url( $item->ID, $size );
-
- if ( ! $image ) {
- return '';
- }
-
- return \esc_url( $image );
- }
-
- /**
- * Generates output for the 'ap_hashcats' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post categories as hashtags.
- */
- public static function hashcats( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $categories = \get_the_category( $item->ID );
-
- if ( ! $categories ) {
- return '';
- }
-
- $hash_tags = array();
-
- foreach ( $categories as $category ) {
- $hash_tags[] = \sprintf(
- '%s ',
- \esc_url( \get_category_link( $category ) ),
- esc_hashtag( $category->name )
- );
- }
-
- return \implode( ' ', $hash_tags );
- }
-
- /**
- * Generates output for the 'ap_author' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The author name.
- */
- public static function author( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $author_id = \get_post_field( 'post_author', $item->ID );
- $name = \get_the_author_meta( 'display_name', $author_id );
-
- if ( ! $name ) {
- return '';
- }
-
- return wp_strip_all_tags( $name );
- }
-
- /**
- * Generates output for the 'ap_authorurl' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The author URL.
- */
- public static function authorurl( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $author_id = \get_post_field( 'post_author', $item->ID );
- $url = \get_the_author_meta( 'user_url', $author_id );
-
- if ( ! $url ) {
- return '';
- }
-
- return \esc_url( $url );
- }
-
- /**
- * Generates output for the 'ap_blogurl' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The site URL.
- */
- public static function blogurl( $atts, $content, $tag ) {
- return \esc_url( \get_bloginfo( 'url' ) );
- }
-
- /**
- * Generates output for the 'ap_blogname' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string
- */
- public static function blogname( $atts, $content, $tag ) {
- return \wp_strip_all_tags( \get_bloginfo( 'name' ) );
- }
-
- /**
- * Generates output for the 'ap_blogdesc' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The site description.
- */
- public static function blogdesc( $atts, $content, $tag ) {
- return \wp_strip_all_tags( \get_bloginfo( 'description' ) );
- }
-
- /**
- * Generates output for the 'ap_date' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post date.
- */
- public static function date( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $datetime = \get_post_datetime( $item );
- $dateformat = \get_option( 'date_format' );
- $timeformat = \get_option( 'time_format' );
-
- $date = $datetime->format( $dateformat );
-
- if ( ! $date ) {
- return '';
- }
-
- return $date;
- }
-
- /**
- * Generates output for the 'ap_time' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post time.
- */
- public static function time( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $datetime = \get_post_datetime( $item );
- $dateformat = \get_option( 'date_format' );
- $timeformat = \get_option( 'time_format' );
-
- $date = $datetime->format( $timeformat );
-
- if ( ! $date ) {
- return '';
- }
-
- return $date;
- }
-
- /**
- * Generates output for the 'ap_datetime' Shortcode
- *
- * @param array $atts The Shortcode attributes.
- * @param string $content The ActivityPub post-content.
- * @param string $tag The tag/name of the Shortcode.
- *
- * @return string The post date/time.
- */
- public static function datetime( $atts, $content, $tag ) {
- $item = self::get_item();
-
- if ( ! $item ) {
- return '';
- }
-
- $datetime = \get_post_datetime( $item );
- $dateformat = \get_option( 'date_format' );
- $timeformat = \get_option( 'time_format' );
-
- $date = $datetime->format( $dateformat . ' @ ' . $timeformat );
-
- if ( ! $date ) {
- return '';
- }
-
- return $date;
- }
-
- /**
- * Get a WordPress item to federate.
- *
- * Checks if item (WP_Post) is "public", a supported post type
- * and not password protected.
- *
- * @return null|WP_Post The WordPress item.
- */
- protected static function get_item() {
- $post = \get_post();
-
- if ( ! $post ) {
- return null;
- }
-
- if ( 'publish' !== \get_post_status( $post ) ) {
- return null;
- }
-
- if ( \post_password_required( $post ) ) {
- return null;
- }
-
- if ( ! \in_array( \get_post_type( $post ), \get_post_types_by_support( 'activitypub' ), true ) ) {
- return null;
- }
-
- return $post;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-signature.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-signature.php
deleted file mode 100644
index e7087595..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-signature.php
+++ /dev/null
@@ -1,510 +0,0 @@
- 'sha512',
- 'private_key_bits' => 2048,
- 'private_key_type' => \OPENSSL_KEYTYPE_RSA,
- );
-
- $key = \openssl_pkey_new( $config );
- $priv_key = null;
-
- \openssl_pkey_export( $key, $priv_key );
-
- $detail = \openssl_pkey_get_details( $key );
-
- // check if keys are valid
- if (
- empty( $priv_key ) || ! is_string( $priv_key ) ||
- ! isset( $detail['key'] ) || ! is_string( $detail['key'] )
- ) {
- return array(
- 'private_key' => null,
- 'public_key' => null,
- );
- }
-
- $key_pair = array(
- 'private_key' => $priv_key,
- 'public_key' => $detail['key'],
- );
-
- // persist keys
- \add_option( $option_key, $key_pair );
-
- return $key_pair;
- }
-
- /**
- * Return the option key for a given user.
- *
- * @param int $user_id The WordPress User ID.
- *
- * @return string The option key.
- */
- protected static function get_signature_options_key_for( $user_id ) {
- $id = $user_id;
-
- if ( $user_id > 0 ) {
- $user = \get_userdata( $user_id );
- // sanatize username because it could include spaces and special chars
- $id = sanitize_title( $user->user_login );
- }
-
- return 'activitypub_keypair_for_' . $id;
- }
-
- /**
- * Check if there is a legacy key pair
- *
- * @param int $user_id The WordPress User ID.
- *
- * @return array|bool The key pair or false.
- */
- protected static function check_legacy_key_pair_for( $user_id ) {
- switch ( $user_id ) {
- case 0:
- $public_key = \get_option( 'activitypub_blog_user_public_key' );
- $private_key = \get_option( 'activitypub_blog_user_private_key' );
- break;
- case -1:
- $public_key = \get_option( 'activitypub_application_user_public_key' );
- $private_key = \get_option( 'activitypub_application_user_private_key' );
- break;
- default:
- $public_key = \get_user_meta( $user_id, 'magic_sig_public_key', true );
- $private_key = \get_user_meta( $user_id, 'magic_sig_private_key', true );
- break;
- }
-
- if ( ! empty( $public_key ) && is_string( $public_key ) && ! empty( $private_key ) && is_string( $private_key ) ) {
- return array(
- 'private_key' => $private_key,
- 'public_key' => $public_key,
- );
- }
-
- return false;
- }
-
- /**
- * Generates the Signature for a HTTP Request
- *
- * @param int $user_id The WordPress User ID.
- * @param string $http_method The HTTP method.
- * @param string $url The URL to send the request to.
- * @param string $date The date the request is sent.
- * @param string $digest The digest of the request body.
- *
- * @return string The signature.
- */
- public static function generate_signature( $user_id, $http_method, $url, $date, $digest = null ) {
- $user = Users::get_by_id( $user_id );
- $key = self::get_private_key_for( $user->get__id() );
-
- $url_parts = \wp_parse_url( $url );
-
- $host = $url_parts['host'];
- $path = '/';
-
- // add path
- if ( ! empty( $url_parts['path'] ) ) {
- $path = $url_parts['path'];
- }
-
- // add query
- if ( ! empty( $url_parts['query'] ) ) {
- $path .= '?' . $url_parts['query'];
- }
-
- $http_method = \strtolower( $http_method );
-
- if ( ! empty( $digest ) ) {
- $signed_string = "(request-target): $http_method $path\nhost: $host\ndate: $date\ndigest: $digest";
- } else {
- $signed_string = "(request-target): $http_method $path\nhost: $host\ndate: $date";
- }
-
- $signature = null;
- \openssl_sign( $signed_string, $signature, $key, \OPENSSL_ALGO_SHA256 );
- $signature = \base64_encode( $signature ); // phpcs:ignore
-
- $key_id = $user->get_url() . '#main-key';
-
- if ( ! empty( $digest ) ) {
- return \sprintf( 'keyId="%s",algorithm="rsa-sha256",headers="(request-target) host date digest",signature="%s"', $key_id, $signature );
- } else {
- return \sprintf( 'keyId="%s",algorithm="rsa-sha256",headers="(request-target) host date",signature="%s"', $key_id, $signature );
- }
- }
-
- /**
- * Verifies the http signatures
- *
- * @param WP_REST_Request|array $request The request object or $_SERVER array.
- *
- * @return mixed A boolean or WP_Error.
- */
- public static function verify_http_signature( $request ) {
- if ( is_object( $request ) ) { // REST Request object
- // check if route starts with "index.php"
- if ( str_starts_with( $request->get_route(), '/index.php' ) || ! rest_get_url_prefix() ) {
- $route = $request->get_route();
- } else {
- $route = '/' . rest_get_url_prefix() . '/' . ltrim( $request->get_route(), '/' );
- }
-
- // fix route for subdirectory installs
- $path = \wp_parse_url( \get_home_url(), PHP_URL_PATH );
-
- if ( \is_string( $path ) ) {
- $path = trim( $path, '/' );
- }
-
- if ( $path ) {
- $route = '/' . $path . $route;
- }
-
- $headers = $request->get_headers();
- $headers['(request-target)'][0] = strtolower( $request->get_method() ) . ' ' . $route;
- } else {
- $request = self::format_server_request( $request );
- $headers = $request['headers']; // $_SERVER array
- $headers['(request-target)'][0] = strtolower( $headers['request_method'][0] ) . ' ' . $headers['request_uri'][0];
- }
-
- if ( ! isset( $headers['signature'] ) ) {
- return new WP_Error( 'activitypub_signature', __( 'Request not signed', 'activitypub' ), array( 'status' => 401 ) );
- }
-
- if ( array_key_exists( 'signature', $headers ) ) {
- $signature_block = self::parse_signature_header( $headers['signature'][0] );
- } elseif ( array_key_exists( 'authorization', $headers ) ) {
- $signature_block = self::parse_signature_header( $headers['authorization'][0] );
- }
-
- if ( ! isset( $signature_block ) || ! $signature_block ) {
- return new WP_Error( 'activitypub_signature', __( 'Incompatible request signature. keyId and signature are required', 'activitypub' ), array( 'status' => 401 ) );
- }
-
- $signed_headers = $signature_block['headers'];
- if ( ! $signed_headers ) {
- $signed_headers = array( 'date' );
- }
-
- $signed_data = self::get_signed_data( $signed_headers, $signature_block, $headers );
- if ( ! $signed_data ) {
- return new WP_Error( 'activitypub_signature', __( 'Signed request date outside acceptable time window', 'activitypub' ), array( 'status' => 401 ) );
- }
-
- $algorithm = self::get_signature_algorithm( $signature_block );
- if ( ! $algorithm ) {
- return new WP_Error( 'activitypub_signature', __( 'Unsupported signature algorithm (only rsa-sha256 and hs2019 are supported)', 'activitypub' ), array( 'status' => 401 ) );
- }
-
- if ( \in_array( 'digest', $signed_headers, true ) && isset( $body ) ) {
- if ( is_array( $headers['digest'] ) ) {
- $headers['digest'] = $headers['digest'][0];
- }
- $hashalg = 'sha256';
- $digest = explode( '=', $headers['digest'], 2 );
- if ( 'SHA-256' === $digest[0] ) {
- $hashalg = 'sha256';
- }
- if ( 'SHA-512' === $digest[0] ) {
- $hashalg = 'sha512';
- }
-
- if ( \base64_encode( \hash( $hashalg, $body, true ) ) !== $digest[1] ) { // phpcs:ignore
- return new WP_Error( 'activitypub_signature', __( 'Invalid Digest header', 'activitypub' ), array( 'status' => 401 ) );
- }
- }
-
- $public_key = self::get_remote_key( $signature_block['keyId'] );
-
- if ( \is_wp_error( $public_key ) ) {
- return $public_key;
- }
-
- $verified = \openssl_verify( $signed_data, $signature_block['signature'], $public_key, $algorithm ) > 0;
-
- if ( ! $verified ) {
- return new WP_Error( 'activitypub_signature', __( 'Invalid signature', 'activitypub' ), array( 'status' => 401 ) );
- }
- return $verified;
- }
-
- /**
- * Get public key from key_id
- *
- * @param string $key_id The URL to the public key.
- *
- * @return WP_Error|string The public key or WP_Error.
- */
- public static function get_remote_key( $key_id ) { // phpcs:ignore
- $actor = get_remote_metadata_by_actor( strip_fragment_from_url( $key_id ) ); // phpcs:ignore
- if ( \is_wp_error( $actor ) ) {
- return new WP_Error(
- 'activitypub_no_remote_profile_found',
- __( 'No Profile found or Profile not accessible', 'activitypub' ),
- array( 'status' => 401 )
- );
- }
- if ( isset( $actor['publicKey']['publicKeyPem'] ) ) {
- return \rtrim( $actor['publicKey']['publicKeyPem'] ); // phpcs:ignore
- }
- return new WP_Error(
- 'activitypub_no_remote_key_found',
- __( 'No Public-Key found', 'activitypub' ),
- array( 'status' => 401 )
- );
- }
-
- /**
- * Gets the signature algorithm from the signature header
- *
- * @param array $signature_block
- *
- * @return string The signature algorithm.
- */
- public static function get_signature_algorithm( $signature_block ) {
- if ( $signature_block['algorithm'] ) {
- switch ( $signature_block['algorithm'] ) {
- case 'rsa-sha-512':
- return 'sha512'; //hs2019 https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-12
- default:
- return 'sha256';
- }
- }
- return false;
- }
-
- /**
- * Parses the Signature header
- *
- * @param string $signature The signature header.
- *
- * @return array signature parts
- */
- public static function parse_signature_header( $signature ) {
- $parsed_header = array();
- $matches = array();
-
- if ( \preg_match( '/keyId="(.*?)"/ism', $signature, $matches ) ) {
- $parsed_header['keyId'] = trim( $matches[1] );
- }
- if ( \preg_match( '/created=["|\']*([0-9]*)["|\']*/ism', $signature, $matches ) ) {
- $parsed_header['(created)'] = trim( $matches[1] );
- }
- if ( \preg_match( '/expires=["|\']*([0-9]*)["|\']*/ism', $signature, $matches ) ) {
- $parsed_header['(expires)'] = trim( $matches[1] );
- }
- if ( \preg_match( '/algorithm="(.*?)"/ism', $signature, $matches ) ) {
- $parsed_header['algorithm'] = trim( $matches[1] );
- }
- if ( \preg_match( '/headers="(.*?)"/ism', $signature, $matches ) ) {
- $parsed_header['headers'] = \explode( ' ', trim( $matches[1] ) );
- }
- if ( \preg_match( '/signature="(.*?)"/ism', $signature, $matches ) ) {
- $parsed_header['signature'] = \base64_decode( preg_replace( '/\s+/', '', trim( $matches[1] ) ) ); // phpcs:ignore
- }
-
- if ( ( $parsed_header['signature'] ) && ( $parsed_header['algorithm'] ) && ( ! $parsed_header['headers'] ) ) {
- $parsed_header['headers'] = array( 'date' );
- }
-
- return $parsed_header;
- }
-
- /**
- * Gets the header data from the included pseudo headers
- *
- * @param array $signed_headers The signed headers.
- * @param array $signature_block (pseudo-headers)
- * @param array $headers (http headers)
- *
- * @return string signed headers for comparison
- */
- public static function get_signed_data( $signed_headers, $signature_block, $headers ) {
- $signed_data = '';
- // This also verifies time-based values by returning false if any of these are out of range.
- foreach ( $signed_headers as $header ) {
- if ( 'host' === $header ) {
- if ( isset( $headers['x_original_host'] ) ) {
- $signed_data .= $header . ': ' . $headers['x_original_host'][0] . "\n";
- continue;
- }
- }
- if ( '(request-target)' === $header ) {
- $signed_data .= $header . ': ' . $headers[ $header ][0] . "\n";
- continue;
- }
- if ( str_contains( $header, '-' ) ) {
- $signed_data .= $header . ': ' . $headers[ str_replace( '-', '_', $header ) ][0] . "\n";
- continue;
- }
- if ( '(created)' === $header ) {
- if ( ! empty( $signature_block['(created)'] ) && \intval( $signature_block['(created)'] ) > \time() ) {
- // created in future
- return false;
- }
-
- if ( ! array_key_exists( '(created)', $headers ) ) {
- $signed_data .= $header . ': ' . $signature_block['(created)'] . "\n";
- continue;
- }
- }
- if ( '(expires)' === $header ) {
- if ( ! empty( $signature_block['(expires)'] ) && \intval( $signature_block['(expires)'] ) < \time() ) {
- // expired in past
- return false;
- }
-
- if ( ! array_key_exists( '(expires)', $headers ) ) {
- $signed_data .= $header . ': ' . $signature_block['(expires)'] . "\n";
- continue;
- }
- }
- if ( 'date' === $header ) {
- // allow a bit of leeway for misconfigured clocks.
- $d = new DateTime( $headers[ $header ][0] );
- $d->setTimeZone( new DateTimeZone( 'UTC' ) );
- $c = $d->format( 'U' );
-
- $dplus = time() + ( 3 * HOUR_IN_SECONDS );
- $dminus = time() - ( 3 * HOUR_IN_SECONDS );
-
- if ( $c > $dplus || $c < $dminus ) {
- // time out of range
- return false;
- }
- }
- $signed_data .= $header . ': ' . $headers[ $header ][0] . "\n";
- }
- return \rtrim( $signed_data, "\n" );
- }
-
- /**
- * Generates the digest for a HTTP Request
- *
- * @param string $body The body of the request.
- *
- * @return string The digest.
- */
- public static function generate_digest( $body ) {
- $digest = \base64_encode( \hash( 'sha256', $body, true ) ); // phpcs:ignore
- return "SHA-256=$digest";
- }
-
- /**
- * Formats the $_SERVER to resemble the WP_REST_REQUEST array,
- * for use with verify_http_signature()
- *
- * @param array $_SERVER The $_SERVER array.
- *
- * @return array $request The formatted request array.
- */
- public static function format_server_request( $server ) {
- $request = array();
- foreach ( $server as $param_key => $param_val ) {
- $req_param = strtolower( $param_key );
- if ( 'REQUEST_URI' === $req_param ) {
- $request['headers']['route'][] = $param_val;
- } else {
- $header_key = str_replace(
- 'http_',
- '',
- $req_param
- );
- $request['headers'][ $header_key ][] = \wp_unslash( $param_val );
- }
- }
- return $request;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-webfinger.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-webfinger.php
deleted file mode 100644
index d1357c98..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/class-webfinger.php
+++ /dev/null
@@ -1,287 +0,0 @@
-get_webfinger();
- }
-
- /**
- * Resolve a WebFinger resource
- *
- * @param string $uri The WebFinger Resource
- *
- * @return string|WP_Error The URL or WP_Error
- */
- public static function resolve( $uri ) {
- $data = self::get_data( $uri );
-
- if ( \is_wp_error( $data ) ) {
- return $data;
- }
-
- if ( ! is_array( $data ) || empty( $data['links'] ) ) {
- return new WP_Error(
- 'webfinger_missing_links',
- __( 'No valid Link elements found.', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $data,
- )
- );
- }
-
- foreach ( $data['links'] as $link ) {
- if (
- 'self' === $link['rel'] &&
- (
- 'application/activity+json' === $link['type'] ||
- 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"' === $link['type']
- )
- ) {
- return $link['href'];
- }
- }
-
- return new WP_Error(
- 'webfinger_url_no_activitypub',
- __( 'The Site supports WebFinger but not ActivityPub', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $data,
- )
- );
- }
-
- /**
- * Transform a URI to an acct @
- *
- * @param string $uri The URI (acct:, mailto:, http:, https:)
- *
- * @return string|WP_Error Error or acct URI
- */
- public static function uri_to_acct( $uri ) {
- $data = self::get_data( $uri );
-
- if ( is_wp_error( $data ) ) {
- return $data;
- }
-
- // check if subject is an acct URI
- if (
- isset( $data['subject'] ) &&
- \str_starts_with( $data['subject'], 'acct:' )
- ) {
- return $data['subject'];
- }
-
- // search for an acct URI in the aliases
- if ( isset( $data['aliases'] ) ) {
- foreach ( $data['aliases'] as $alias ) {
- if ( \str_starts_with( $alias, 'acct:' ) ) {
- return $alias;
- }
- }
- }
-
- return new WP_Error(
- 'webfinger_url_no_acct',
- __( 'No acct URI found.', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $data,
- )
- );
- }
-
- /**
- * Convert a URI string to an identifier and its host.
- * Automatically adds acct: if it's missing.
- *
- * @param string $url The URI (acct:, mailto:, http:, https:)
- *
- * @return WP_Error|array Error reaction or array with
- * identifier and host as values
- */
- public static function get_identifier_and_host( $url ) {
- if ( ! $url ) {
- return new WP_Error(
- 'webfinger_invalid_identifier',
- __( 'Invalid Identifier', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $url,
- )
- );
- }
-
- // remove leading @
- $url = ltrim( $url, '@' );
-
- if ( ! preg_match( '/^([a-zA-Z+]+):/', $url, $match ) ) {
- $identifier = 'acct:' . $url;
- $scheme = 'acct';
- } else {
- $identifier = $url;
- $scheme = $match[1];
- }
-
- $host = null;
-
- switch ( $scheme ) {
- case 'acct':
- case 'mailto':
- case 'xmpp':
- if ( strpos( $identifier, '@' ) !== false ) {
- $host = substr( $identifier, strpos( $identifier, '@' ) + 1 );
- }
- break;
- default:
- $host = wp_parse_url( $identifier, PHP_URL_HOST );
- break;
- }
-
- if ( empty( $host ) ) {
- return new WP_Error(
- 'webfinger_invalid_identifier',
- __( 'Invalid Identifier', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $url,
- )
- );
- }
-
- return array( $identifier, $host );
- }
-
- /**
- * Get the WebFinger data for a given URI
- *
- * @param string $uri The Identifier: @ or URI
- *
- * @return WP_Error|array Error reaction or array with
- * identifier and host as values
- */
- public static function get_data( $uri ) {
- $identifier_and_host = self::get_identifier_and_host( $uri );
-
- if ( is_wp_error( $identifier_and_host ) ) {
- return $identifier_and_host;
- }
-
- $transient_key = self::generate_cache_key( $uri );
-
- list( $identifier, $host ) = $identifier_and_host;
-
- $data = \get_transient( $transient_key );
- if ( $data ) {
- return $data;
- }
-
- $webfinger_url = sprintf( 'https://%s/.well-known/webfinger?resource=%s', $host, rawurlencode( $identifier ) );
-
- $response = wp_safe_remote_get(
- $webfinger_url,
- array(
- 'headers' => array( 'Accept' => 'application/jrd+json' ),
- )
- );
-
- if ( is_wp_error( $response ) ) {
- return new WP_Error(
- 'webfinger_url_not_accessible',
- __( 'The WebFinger Resource is not accessible.', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $webfinger_url,
- )
- );
- }
-
- $body = wp_remote_retrieve_body( $response );
- $data = json_decode( $body, true );
-
- \set_transient( $transient_key, $data, WEEK_IN_SECONDS );
-
- return $data;
- }
-
- /**
- * Get the Remote-Follow endpoint for a given URI
- *
- * @return string|WP_Error Error or the Remote-Follow endpoint URI.
- */
- public static function get_remote_follow_endpoint( $uri ) {
- $data = self::get_data( $uri );
-
- if ( is_wp_error( $data ) ) {
- return $data;
- }
-
- if ( empty( $data['links'] ) ) {
- return new WP_Error(
- 'webfinger_missing_links',
- __( 'No valid Link elements found.', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $data,
- )
- );
- }
-
- foreach ( $data['links'] as $link ) {
- if ( 'http://ostatus.org/schema/1.0/subscribe' === $link['rel'] ) {
- return $link['template'];
- }
- }
-
- return new WP_Error(
- 'webfinger_missing_remote_follow_endpoint',
- __( 'No valid Remote-Follow endpoint found.', 'activitypub' ),
- array(
- 'status' => 400,
- 'data' => $data,
- )
- );
- }
-
- /**
- * Generate a cache key for a given URI
- *
- * @param string $uri A WebFinger Resource URI
- *
- * @return string The cache key
- */
- public static function generate_cache_key( $uri ) {
- $uri = ltrim( $uri, '@' );
-
- if ( filter_var( $uri, FILTER_VALIDATE_EMAIL ) ) {
- $uri = 'acct:' . $uri;
- }
-
- return 'webfinger_' . md5( $uri );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-followers.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-followers.php
deleted file mode 100644
index b51224fd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-followers.php
+++ /dev/null
@@ -1,432 +0,0 @@
- 400 ) );
- }
-
- $follower = new Follower();
- $follower->from_array( $meta );
-
- $id = $follower->upsert();
-
- if ( is_wp_error( $id ) ) {
- return $id;
- }
-
- $post_meta = get_post_meta( $id, 'activitypub_user_id' );
-
- // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
- if ( is_array( $post_meta ) && ! in_array( $user_id, $post_meta ) ) {
- add_post_meta( $id, 'activitypub_user_id', $user_id );
- wp_cache_delete( sprintf( self::CACHE_KEY_INBOXES, $user_id ), 'activitypub' );
- }
-
- return $follower;
- }
-
- /**
- * Remove a Follower
- *
- * @param int $user_id The ID of the WordPress User
- * @param string $actor The Actor URL
- *
- * @return bool|WP_Error True on success, false or WP_Error on failure.
- */
- public static function remove_follower( $user_id, $actor ) {
- wp_cache_delete( sprintf( self::CACHE_KEY_INBOXES, $user_id ), 'activitypub' );
-
- $follower = self::get_follower( $user_id, $actor );
-
- if ( ! $follower ) {
- return false;
- }
-
- return delete_post_meta( $follower->get__id(), 'activitypub_user_id', $user_id );
- }
-
- /**
- * Get a Follower.
- *
- * @param int $user_id The ID of the WordPress User
- * @param string $actor The Actor URL
- *
- * @return \Activitypub\Model\Follower|null The Follower object or null
- */
- public static function get_follower( $user_id, $actor ) {
- global $wpdb;
-
- // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
- $post_id = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT DISTINCT p.ID FROM $wpdb->posts p INNER JOIN $wpdb->postmeta pm ON p.ID = pm.post_id WHERE p.post_type = %s AND pm.meta_key = 'activitypub_user_id' AND pm.meta_value = %d AND p.guid = %s",
- array(
- esc_sql( self::POST_TYPE ),
- esc_sql( $user_id ),
- esc_sql( $actor ),
- )
- )
- );
-
- if ( $post_id ) {
- $post = get_post( $post_id );
- return Follower::init_from_cpt( $post );
- }
-
- return null;
- }
-
- /**
- * Get a Follower by Actor indepenent from the User.
- *
- * @param string $actor The Actor URL.
- *
- * @return \Activitypub\Model\Follower|null The Follower object or null
- */
- public static function get_follower_by_actor( $actor ) {
- global $wpdb;
-
- // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
- $post_id = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT ID FROM $wpdb->posts WHERE guid=%s",
- esc_sql( $actor )
- )
- );
-
- if ( $post_id ) {
- $post = get_post( $post_id );
- return Follower::init_from_cpt( $post );
- }
-
- return null;
- }
-
- /**
- * Get the Followers of a given user
- *
- * @param int $user_id The ID of the WordPress User.
- * @param int $number Maximum number of results to return.
- * @param int $page Page number.
- * @param array $args The WP_Query arguments.
- * @return array List of `Follower` objects.
- */
- public static function get_followers( $user_id, $number = -1, $page = null, $args = array() ) {
- $data = self::get_followers_with_count( $user_id, $number, $page, $args );
- return $data['followers'];
- }
-
- /**
- * Get the Followers of a given user, along with a total count for pagination purposes.
- *
- * @param int $user_id The ID of the WordPress User.
- * @param int $number Maximum number of results to return.
- * @param int $page Page number.
- * @param array $args The WP_Query arguments.
- *
- * @return array
- * followers List of `Follower` objects.
- * total Total number of followers.
- */
- public static function get_followers_with_count( $user_id, $number = -1, $page = null, $args = array() ) {
- $defaults = array(
- 'post_type' => self::POST_TYPE,
- 'posts_per_page' => $number,
- 'paged' => $page,
- 'orderby' => 'ID',
- 'order' => 'DESC',
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- array(
- 'key' => 'activitypub_user_id',
- 'value' => $user_id,
- ),
- ),
- );
-
- $args = wp_parse_args( $args, $defaults );
- $query = new WP_Query( $args );
- $total = $query->found_posts;
- $followers = array_map(
- function ( $post ) {
- return Follower::init_from_cpt( $post );
- },
- $query->get_posts()
- );
- return compact( 'followers', 'total' );
- }
-
- /**
- * Get all Followers
- *
- * @param array $args The WP_Query arguments.
- *
- * @return array The Term list of Followers.
- */
- public static function get_all_followers() {
- $args = array(
- 'nopaging' => true,
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'AND',
- array(
- 'key' => 'activitypub_inbox',
- 'compare' => 'EXISTS',
- ),
- array(
- 'key' => 'activitypub_actor_json',
- 'compare' => 'EXISTS',
- ),
- ),
- );
- return self::get_followers( null, null, null, $args );
- }
-
- /**
- * Count the total number of followers
- *
- * @param int $user_id The ID of the WordPress User
- *
- * @return int The number of Followers
- */
- public static function count_followers( $user_id ) {
- $query = new WP_Query(
- array(
- 'post_type' => self::POST_TYPE,
- 'fields' => 'ids',
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'AND',
- array(
- 'key' => 'activitypub_user_id',
- 'value' => $user_id,
- ),
- array(
- 'key' => 'activitypub_inbox',
- 'compare' => 'EXISTS',
- ),
- array(
- 'key' => 'activitypub_actor_json',
- 'compare' => 'EXISTS',
- ),
- ),
- )
- );
-
- return $query->found_posts;
- }
-
- /**
- * Returns all Inboxes fo a Users Followers
- *
- * @param int $user_id The ID of the WordPress User
- *
- * @return array The list of Inboxes
- */
- public static function get_inboxes( $user_id ) {
- $cache_key = sprintf( self::CACHE_KEY_INBOXES, $user_id );
- $inboxes = wp_cache_get( $cache_key, 'activitypub' );
-
- if ( $inboxes ) {
- return $inboxes;
- }
-
- // get all Followers of a ID of the WordPress User
- $posts = new WP_Query(
- array(
- 'nopaging' => true,
- 'post_type' => self::POST_TYPE,
- 'fields' => 'ids',
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'AND',
- array(
- 'key' => 'activitypub_inbox',
- 'compare' => 'EXISTS',
- ),
- array(
- 'key' => 'activitypub_user_id',
- 'value' => $user_id,
- ),
- array(
- 'key' => 'activitypub_inbox',
- 'value' => '',
- 'compare' => '!=',
- ),
- ),
- )
- );
-
- $posts = $posts->get_posts();
-
- if ( ! $posts ) {
- return array();
- }
-
- global $wpdb;
- // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
- $results = $wpdb->get_col(
- $wpdb->prepare(
- "SELECT DISTINCT meta_value FROM {$wpdb->postmeta}
- WHERE post_id IN (" . implode( ', ', array_fill( 0, count( $posts ), '%d' ) ) . ")
- AND meta_key = 'activitypub_inbox'
- AND meta_value IS NOT NULL",
- $posts
- )
- );
-
- $inboxes = array_filter( $results );
- wp_cache_set( $cache_key, $inboxes, 'activitypub' );
-
- return $inboxes;
- }
-
- /**
- * Get all Followers that have not been updated for a given time
- *
- * @param enum $output The output format, supported ARRAY_N, OBJECT and ACTIVITYPUB_OBJECT.
- * @param int $number Limits the result.
- * @param int $older_than The time in seconds.
- *
- * @return mixed The Term list of Followers, the format depends on $output.
- */
- public static function get_outdated_followers( $number = 50, $older_than = 86400 ) {
- $args = array(
- 'post_type' => self::POST_TYPE,
- 'posts_per_page' => $number,
- 'orderby' => 'modified',
- 'order' => 'ASC',
- 'post_status' => 'any', // 'any' includes 'trash
- 'date_query' => array(
- array(
- 'column' => 'post_modified_gmt',
- 'before' => gmdate( 'Y-m-d', \time() - $older_than ),
- ),
- ),
- );
-
- $posts = new WP_Query( $args );
- $items = array();
-
- foreach ( $posts->get_posts() as $follower ) {
- $items[] = Follower::init_from_cpt( $follower ); // phpcs:ignore
- }
-
- return $items;
- }
-
- /**
- * Get all Followers that had errors
- *
- * @param enum $output The output format, supported ARRAY_N, OBJECT and ACTIVITYPUB_OBJECT
- * @param integer $number The number of Followers to return.
- *
- * @return mixed The Term list of Followers, the format depends on $output.
- */
- public static function get_faulty_followers( $number = 20 ) {
- $args = array(
- 'post_type' => self::POST_TYPE,
- 'posts_per_page' => $number,
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'OR',
- array(
- 'key' => 'activitypub_errors',
- 'compare' => 'EXISTS',
- ),
- array(
- 'key' => 'activitypub_inbox',
- 'compare' => 'NOT EXISTS',
- ),
- array(
- 'key' => 'activitypub_actor_json',
- 'compare' => 'NOT EXISTS',
- ),
- array(
- 'key' => 'activitypub_inbox',
- 'value' => '',
- 'compare' => '=',
- ),
- array(
- 'key' => 'activitypub_actor_json',
- 'value' => '',
- 'compare' => '=',
- ),
- ),
- );
-
- $posts = new WP_Query( $args );
- $items = array();
-
- foreach ( $posts->get_posts() as $follower ) {
- $items[] = Follower::init_from_cpt( $follower ); // phpcs:ignore
- }
-
- return $items;
- }
-
- /**
- * This function is used to store errors that occur when
- * sending an ActivityPub message to a Follower.
- *
- * The error will be stored in the
- * post meta.
- *
- * @param int $post_id The ID of the WordPress Custom-Post-Type.
- * @param mixed $error The error message. Can be a string or a WP_Error.
- *
- * @return int|false The meta ID on success, false on failure.
- */
- public static function add_error( $post_id, $error ) {
- if ( is_string( $error ) ) {
- $error_message = $error;
- } elseif ( is_wp_error( $error ) ) {
- $error_message = $error->get_error_message();
- } else {
- $error_message = __(
- 'Unknown Error or misconfigured Error-Message',
- 'activitypub'
- );
- }
-
- return add_post_meta(
- $post_id,
- 'activitypub_errors',
- $error_message
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-interactions.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-interactions.php
deleted file mode 100644
index c29cf259..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-interactions.php
+++ /dev/null
@@ -1,247 +0,0 @@
-comment_post_ID;
- }
-
- // not a reply to a post or comment
- if ( ! $comment_post_id ) {
- return false;
- }
-
- $actor = object_to_uri( $activity['actor'] );
- $meta = get_remote_metadata_by_actor( $actor );
-
- if ( ! $meta || \is_wp_error( $meta ) ) {
- return false;
- }
-
- $url = object_to_uri( $meta['url'] );
-
- $commentdata = array(
- 'comment_post_ID' => $comment_post_id,
- 'comment_author' => isset( $meta['name'] ) ? \esc_attr( $meta['name'] ) : \esc_attr( $meta['preferredUsername'] ),
- 'comment_author_url' => \esc_url_raw( $url ),
- 'comment_content' => \addslashes( $activity['object']['content'] ),
- 'comment_type' => 'comment',
- 'comment_author_email' => '',
- 'comment_parent' => $parent_comment_id ? $parent_comment_id : 0,
- 'comment_meta' => array(
- 'source_id' => \esc_url_raw( $activity['object']['id'] ),
- 'protocol' => 'activitypub',
- ),
- );
-
- if ( isset( $meta['icon']['url'] ) ) {
- $commentdata['comment_meta']['avatar_url'] = \esc_url_raw( $meta['icon']['url'] );
- }
-
- if ( isset( $activity['object']['url'] ) ) {
- $commentdata['comment_meta']['source_url'] = \esc_url_raw( object_to_uri( $activity['object']['url'] ) );
- }
-
- // disable flood control
- \remove_action( 'check_comment_flood', 'check_comment_flood_db', 10 );
- // do not require email for AP entries
- \add_filter( 'pre_option_require_name_email', '__return_false' );
- // No nonce possible for this submission route
- \add_filter(
- 'akismet_comment_nonce',
- function () {
- return 'inactive';
- }
- );
- \add_filter( 'wp_kses_allowed_html', array( self::class, 'allowed_comment_html' ), 10, 2 );
-
- $comment = \wp_new_comment( $commentdata, true );
-
- \remove_filter( 'wp_kses_allowed_html', array( self::class, 'allowed_comment_html' ), 10 );
- \remove_filter( 'pre_option_require_name_email', '__return_false' );
- // re-add flood control
- \add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
-
- return $comment;
- }
-
- /**
- * Update a comment
- *
- * @param array $activity The activity-object
- *
- * @return array|string|int|\WP_Error|false The commentdata or false on failure
- */
- public static function update_comment( $activity ) {
- $meta = get_remote_metadata_by_actor( $activity['actor'] );
-
- //Determine comment_ID
- $comment = object_id_to_comment( \esc_url_raw( $activity['object']['id'] ) );
- $commentdata = \get_comment( $comment, ARRAY_A );
-
- if ( ! $commentdata ) {
- return false;
- }
-
- //found a local comment id
- $commentdata['comment_author'] = \esc_attr( $meta['name'] ? $meta['name'] : $meta['preferredUsername'] );
- $commentdata['comment_content'] = \addslashes( $activity['object']['content'] );
- if ( isset( $meta['icon']['url'] ) ) {
- $commentdata['comment_meta']['avatar_url'] = \esc_url_raw( $meta['icon']['url'] );
- }
-
- // disable flood control
- \remove_action( 'check_comment_flood', 'check_comment_flood_db', 10 );
- // do not require email for AP entries
- \add_filter( 'pre_option_require_name_email', '__return_false' );
- // No nonce possible for this submission route
- \add_filter(
- 'akismet_comment_nonce',
- function () {
- return 'inactive';
- }
- );
- \add_filter( 'wp_kses_allowed_html', array( self::class, 'allowed_comment_html' ), 10, 2 );
-
- $state = \wp_update_comment( $commentdata, true );
-
- \remove_filter( 'wp_kses_allowed_html', array( self::class, 'allowed_comment_html' ), 10 );
- \remove_filter( 'pre_option_require_name_email', '__return_false' );
- // re-add flood control
- \add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
-
- if ( 1 === $state ) {
- return $commentdata;
- } else {
- return $state; // Either `false` or a `WP_Error` instance or `0` or `1`!
- }
- }
-
- /**
- * Get interaction(s) for a given URL/ID.
- *
- * @param strin $url The URL/ID to get interactions for.
- *
- * @return array The interactions as WP_Comment objects.
- */
- public static function get_interaction_by_id( $url ) {
- $args = array(
- 'nopaging' => true,
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'AND',
- array(
- 'key' => 'protocol',
- 'value' => 'activitypub',
- ),
- array(
- 'relation' => 'OR',
- array(
- 'key' => 'source_url',
- 'value' => $url,
- ),
- array(
- 'key' => 'source_id',
- 'value' => $url,
- ),
- ),
- ),
- );
-
- $query = new WP_Comment_Query( $args );
- return $query->comments;
- }
-
- /**
- * Get interaction(s) for a given actor.
- *
- * @param string $actor The Actor-URL.
- *
- * @return array The interactions as WP_Comment objects.
- */
- public static function get_interactions_by_actor( $actor ) {
- $meta = get_remote_metadata_by_actor( $actor );
-
- // get URL, because $actor seems to be the ID
- if ( $meta && ! is_wp_error( $meta ) && isset( $meta['url'] ) ) {
- $actor = object_to_uri( $meta['url'] );
- }
-
- $args = array(
- 'nopaging' => true,
- 'author_url' => $actor,
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- array(
- 'key' => 'protocol',
- 'value' => 'activitypub',
- 'compare' => '=',
- ),
- ),
- );
- $comment_query = new WP_Comment_Query( $args );
- return $comment_query->comments;
- }
-
- /**
- * Adds line breaks to the list of allowed comment tags.
- *
- * @param array $allowed_tags Allowed HTML tags.
- * @param string $context Context.
- *
- * @return array Filtered tag list.
- */
- public static function allowed_comment_html( $allowed_tags, $context = '' ) {
- if ( 'pre_comment_content' !== $context ) {
- // Do nothing.
- return $allowed_tags;
- }
-
- // Add `p` and `br` to the list of allowed tags.
- if ( ! array_key_exists( 'br', $allowed_tags ) ) {
- $allowed_tags['br'] = array();
- }
-
- if ( ! array_key_exists( 'p', $allowed_tags ) ) {
- $allowed_tags['p'] = array();
- }
-
- return $allowed_tags;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-users.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-users.php
deleted file mode 100644
index e4596b87..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/collection/class-users.php
+++ /dev/null
@@ -1,278 +0,0 @@
- 404 )
- );
- }
-
- if ( self::BLOG_USER_ID === $user_id ) {
- return new Blog();
- } elseif ( self::APPLICATION_USER_ID === $user_id ) {
- return new Application();
- } elseif ( $user_id > 0 ) {
- return User::from_wp_user( $user_id );
- }
-
- return new WP_Error(
- 'activitypub_user_not_found',
- \__( 'User not found', 'activitypub' ),
- array( 'status' => 404 )
- );
- }
-
- /**
- * Get the User by username.
- *
- * @param string $username The User-Name.
- *
- * @return \Acitvitypub\Model\User The User.
- */
- public static function get_by_username( $username ) {
- // check for blog user.
- if ( Blog::get_default_username() === $username ) {
- return new Blog();
- }
-
- if ( get_option( 'activitypub_blog_user_identifier' ) === $username ) {
- return new Blog();
- }
-
- // check for application user.
- if ( 'application' === $username ) {
- return new Application();
- }
-
- // check for 'activitypub_username' meta
- $user = new WP_User_Query(
- array(
- 'count_total' => false,
- 'number' => 1,
- 'hide_empty' => true,
- 'fields' => 'ID',
- // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
- 'meta_query' => array(
- 'relation' => 'OR',
- array(
- 'key' => 'activitypub_user_identifier',
- 'value' => $username,
- 'compare' => 'LIKE',
- ),
- ),
- )
- );
-
- if ( $user->results ) {
- return self::get_by_id( $user->results[0] );
- }
-
- $username = str_replace( array( '*', '%' ), '', $username );
-
- // check for login or nicename.
- $user = new WP_User_Query(
- array(
- 'count_total' => false,
- 'search' => $username,
- 'search_columns' => array( 'user_login', 'user_nicename' ),
- 'number' => 1,
- 'hide_empty' => true,
- 'fields' => 'ID',
- )
- );
-
- if ( $user->results ) {
- return self::get_by_id( $user->results[0] );
- }
-
- return new WP_Error(
- 'activitypub_user_not_found',
- \__( 'User not found', 'activitypub' ),
- array( 'status' => 404 )
- );
- }
-
- /**
- * Get the User by resource.
- *
- * @param string $resource The User-Resource.
- *
- * @return \Acitvitypub\Model\User The User.
- */
- public static function get_by_resource( $resource ) {
- $resource = object_to_uri( $resource );
-
- $scheme = 'acct';
- $match = array();
- // try to extract the scheme and the host
- if ( preg_match( '/^([a-zA-Z^:]+):(.*)$/i', $resource, $match ) ) {
- // extract the scheme
- $scheme = \esc_attr( $match[1] );
- }
-
- switch ( $scheme ) {
- // check for http(s) URIs
- case 'http':
- case 'https':
- $resource_path = \wp_parse_url( $resource, PHP_URL_PATH );
-
- if ( $resource_path ) {
- $blog_path = \wp_parse_url( \home_url(), PHP_URL_PATH );
-
- if ( $blog_path ) {
- $resource_path = \str_replace( $blog_path, '', $resource_path );
- }
-
- $resource_path = \trim( $resource_path, '/' );
-
- // check for http(s)://blog.example.com/@username
- if ( str_starts_with( $resource_path, '@' ) ) {
- $identifier = \str_replace( '@', '', $resource_path );
- $identifier = \trim( $identifier, '/' );
-
- return self::get_by_username( $identifier );
- }
- }
-
- // check for http(s)://blog.example.com/author/username
- $user_id = url_to_authorid( $resource );
-
- if ( $user_id ) {
- return self::get_by_id( $user_id );
- }
-
- // check for http(s)://blog.example.com/
- if (
- normalize_url( site_url() ) === normalize_url( $resource ) ||
- normalize_url( home_url() ) === normalize_url( $resource )
- ) {
- return self::get_by_id( self::BLOG_USER_ID );
- }
-
- return new WP_Error(
- 'activitypub_no_user_found',
- \__( 'User not found', 'activitypub' ),
- array( 'status' => 404 )
- );
- // check for acct URIs
- case 'acct':
- $resource = \str_replace( 'acct:', '', $resource );
- $identifier = \substr( $resource, 0, \strrpos( $resource, '@' ) );
- $host = normalize_host( \substr( \strrchr( $resource, '@' ), 1 ) );
- $blog_host = normalize_host( \wp_parse_url( \home_url( '/' ), \PHP_URL_HOST ) );
-
- if ( $blog_host !== $host ) {
- return new WP_Error(
- 'activitypub_wrong_host',
- \__( 'Resource host does not match blog host', 'activitypub' ),
- array( 'status' => 404 )
- );
- }
-
- // prepare wildcards https://github.com/mastodon/mastodon/issues/22213
- if ( in_array( $identifier, array( '_', '*', '' ), true ) ) {
- return self::get_by_id( self::BLOG_USER_ID );
- }
-
- return self::get_by_username( $identifier );
- default:
- return new WP_Error(
- 'activitypub_wrong_scheme',
- \__( 'Wrong scheme', 'activitypub' ),
- array( 'status' => 404 )
- );
- }
- }
-
- /**
- * Get the User by resource.
- *
- * @param string $resource The User-Resource.
- *
- * @return \Acitvitypub\Model\User The User.
- */
- public static function get_by_various( $id ) {
- $user = null;
-
- if ( is_numeric( $id ) ) {
- $user = self::get_by_id( $id );
- } elseif (
- // is URL
- filter_var( $id, FILTER_VALIDATE_URL ) ||
- // is acct
- str_starts_with( $id, 'acct:' ) ||
- // is email
- filter_var( $id, FILTER_VALIDATE_EMAIL )
- ) {
- $user = self::get_by_resource( $id );
- }
-
- if ( $user && ! is_wp_error( $user ) ) {
- return $user;
- }
-
- return self::get_by_username( $id );
- }
-
- /**
- * Get the User collection.
- *
- * @return array The User collection.
- */
- public static function get_collection() {
- $users = \get_users(
- array(
- 'capability__in' => array( 'activitypub' ),
- )
- );
-
- $return = array();
-
- foreach ( $users as $user ) {
- $return[] = User::from_wp_user( $user->ID );
- }
-
- return $return;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/compat.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/compat.php
deleted file mode 100644
index 8c274c88..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/compat.php
+++ /dev/null
@@ -1,99 +0,0 @@
- $v ) {
- if ( ++$next_key !== $k ) {
- return false;
- }
- }
-
- return true;
- }
-}
-
-if ( ! function_exists( 'str_contains' ) ) {
- /**
- * Polyfill for `str_contains()` function added in PHP 8.0.
- *
- * Performs a case-sensitive check indicating if needle is
- * contained in haystack.
- *
- * @param string $haystack The string to search in.
- * @param string $needle The substring to search for in the `$haystack`.
- *
- * @return bool True if `$needle` is in `$haystack`, otherwise false.
- */
- function str_contains( $haystack, $needle ) {
- if ( '' === $needle ) {
- return true;
- }
-
- return false !== strpos( $haystack, $needle );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/debug.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/debug.php
deleted file mode 100644
index d42b2a9a..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/debug.php
+++ /dev/null
@@ -1,17 +0,0 @@
- 404, 'actor' => $actor ) );
- }
- }
-
- if ( preg_match( '/^@?' . ACTIVITYPUB_USERNAME_REGEXP . '$/i', $actor ) ) {
- $actor = Webfinger::resolve( $actor );
- }
-
- if ( ! $actor ) {
- return new WP_Error( 'activitypub_no_valid_actor_identifier', \__( 'The "actor" identifier is not valid', 'activitypub' ), array( 'status' => 404, 'actor' => $actor ) );
- }
-
- if ( is_wp_error( $actor ) ) {
- return $actor;
- }
-
- $transient_key = 'activitypub_' . $actor;
-
- // only check the cache if needed.
- if ( $cached ) {
- $metadata = \get_transient( $transient_key );
-
- if ( $metadata ) {
- return $metadata;
- }
- }
-
- if ( ! \wp_http_validate_url( $actor ) ) {
- $metadata = new WP_Error( 'activitypub_no_valid_actor_url', \__( 'The "actor" is no valid URL', 'activitypub' ), array( 'status' => 400, 'actor' => $actor ) );
- return $metadata;
- }
-
- $response = Http::get( $actor );
-
- if ( \is_wp_error( $response ) ) {
- return $response;
- }
-
- $metadata = \wp_remote_retrieve_body( $response );
- $metadata = \json_decode( $metadata, true );
-
- if ( ! $metadata ) {
- $metadata = new WP_Error( 'activitypub_invalid_json', \__( 'No valid JSON data', 'activitypub' ), array( 'status' => 400, 'actor' => $actor ) );
- return $metadata;
- }
-
- \set_transient( $transient_key, $metadata, WEEK_IN_SECONDS );
-
- return $metadata;
-}
-
-/**
- * Returns the followers of a given user.
- *
- * @param int $user_id The User-ID.
- *
- * @return array The followers.
- */
-function get_followers( $user_id ) {
- return Followers::get_followers( $user_id );
-}
-
-/**
- * Count the number of followers for a given user.
- *
- * @param int $user_id The User-ID.
- *
- * @return int The number of followers.
- */
-function count_followers( $user_id ) {
- return Followers::count_followers( $user_id );
-}
-
-/**
- * Examine a url and try to determine the author ID it represents.
- *
- * Checks are supposedly from the hosted site blog.
- *
- * @param string $url Permalink to check.
- *
- * @return int User ID, or 0 on failure.
- */
-function url_to_authorid( $url ) {
- global $wp_rewrite;
-
- // check if url hase the same host
- if ( \wp_parse_url( \home_url(), \PHP_URL_HOST ) !== \wp_parse_url( $url, \PHP_URL_HOST ) ) {
- return 0;
- }
-
- // first, check to see if there is a 'author=N' to match against
- if ( \preg_match( '/[?&]author=(\d+)/i', $url, $values ) ) {
- $id = \absint( $values[1] );
- if ( $id ) {
- return $id;
- }
- }
-
- // check to see if we are using rewrite rules
- $rewrite = $wp_rewrite->wp_rewrite_rules();
-
- // not using rewrite rules, and 'author=N' method failed, so we're out of options
- if ( empty( $rewrite ) ) {
- return 0;
- }
-
- // generate rewrite rule for the author url
- $author_rewrite = $wp_rewrite->get_author_permastruct();
- $author_regexp = \str_replace( '%author%', '', $author_rewrite );
-
- // match the rewrite rule with the passed url
- if ( \preg_match( '/https?:\/\/(.+)' . \preg_quote( $author_regexp, '/' ) . '([^\/]+)/i', $url, $match ) ) {
- $user = \get_user_by( 'slug', $match[2] );
- if ( $user ) {
- return $user->ID;
- }
- }
-
- return 0;
-}
-
-/**
- * Verify if url is a wp_ap_comment,
- * Or if it is a previously received remote comment
- *
- * @return int comment_id
- */
-function is_comment() {
- $comment_id = get_query_var( 'c', null );
-
- if ( ! is_null( $comment_id ) ) {
- $comment = \get_comment( $comment_id );
-
- // Only return local origin comments
- if ( $comment && $comment->user_id ) {
- return $comment_id;
- }
- }
-
- return false;
-}
-
-/**
- * Check for Tombstone Objects
- *
- * @see https://www.w3.org/TR/activitypub/#delete-activity-outbox
- *
- * @param WP_Error $wp_error A WP_Error-Response of an HTTP-Request
- *
- * @return boolean true if HTTP-Code is 410 or 404
- */
-function is_tombstone( $wp_error ) {
- if ( ! is_wp_error( $wp_error ) ) {
- return false;
- }
-
- if ( in_array( (int) $wp_error->get_error_code(), array( 404, 410 ), true ) ) {
- return true;
- }
-
- return false;
-}
-
-/**
- * Get the REST URL relative to this plugin's namespace.
- *
- * @param string $path Optional. REST route path. Otherwise this plugin's namespaced root.
- *
- * @return string REST URL relative to this plugin's namespace.
- */
-function get_rest_url_by_path( $path = '' ) {
- // we'll handle the leading slash.
- $path = ltrim( $path, '/' );
- $namespaced_path = sprintf( '/%s/%s', ACTIVITYPUB_REST_NAMESPACE, $path );
- return \get_rest_url( null, $namespaced_path );
-}
-
-/**
- * Convert a string from camelCase to snake_case.
- *
- * @param string $string The string to convert.
- *
- * @return string The converted string.
- */
-// phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.stringFound
-function camel_to_snake_case( $string ) {
- return strtolower( preg_replace( '/(?query_vars['activitypub'] ) ) {
- return true;
- }
-
- /*
- * The other (more common) option to make an ActivityPub request
- * is to send an Accept header.
- */
- if ( isset( $_SERVER['HTTP_ACCEPT'] ) ) {
- $accept = sanitize_text_field( wp_unslash( $_SERVER['HTTP_ACCEPT'] ) );
-
- /*
- * $accept can be a single value, or a comma separated list of values.
- * We want to support both scenarios,
- * and return true when the header includes at least one of the following:
- * - application/activity+json
- * - application/ld+json
- * - application/json
- */
- if ( preg_match( '/(application\/(ld\+json|activity\+json|json))/i', $accept ) ) {
- return true;
- }
- }
-
- return false;
-}
-
-/**
- * This function checks if a user is disabled for ActivityPub.
- *
- * @param int $user_id The User-ID.
- *
- * @return boolean True if the user is disabled, false otherwise.
- */
-function is_user_disabled( $user_id ) {
- $return = false;
-
- switch ( $user_id ) {
- // if the user is the application user, it's always enabled.
- case \Activitypub\Collection\Users::APPLICATION_USER_ID:
- $return = false;
- break;
- // if the user is the blog user, it's only enabled in single-user mode.
- case \Activitypub\Collection\Users::BLOG_USER_ID:
- if ( is_user_type_disabled( 'blog' ) ) {
- $return = true;
- break;
- }
-
- $return = false;
- break;
- // if the user is any other user, it's enabled if it can publish posts.
- default:
- if ( ! \get_user_by( 'id', $user_id ) ) {
- $return = true;
- break;
- }
-
- if ( is_user_type_disabled( 'user' ) ) {
- $return = true;
- break;
- }
-
- if ( ! \user_can( $user_id, 'activitypub' ) ) {
- $return = true;
- break;
- }
-
- $return = false;
- break;
- }
-
- return apply_filters( 'activitypub_is_user_disabled', $return, $user_id );
-}
-
-/**
- * Checks if a User-Type is disabled for ActivityPub.
- *
- * This function is used to check if the 'blog' or 'user'
- * type is disabled for ActivityPub.
- *
- * @param enum $type Can be 'blog' or 'user'.
- *
- * @return boolean True if the user type is disabled, false otherwise.
- */
-function is_user_type_disabled( $type ) {
- switch ( $type ) {
- case 'blog':
- if ( \defined( 'ACTIVITYPUB_SINGLE_USER_MODE' ) ) {
- if ( ACTIVITYPUB_SINGLE_USER_MODE ) {
- $return = false;
- break;
- }
- }
-
- if ( \defined( 'ACTIVITYPUB_DISABLE_BLOG_USER' ) ) {
- $return = ACTIVITYPUB_DISABLE_BLOG_USER;
- break;
- }
-
- if ( '1' !== \get_option( 'activitypub_enable_blog_user', '0' ) ) {
- $return = true;
- break;
- }
-
- $return = false;
- break;
- case 'user':
- if ( \defined( 'ACTIVITYPUB_SINGLE_USER_MODE' ) ) {
- if ( ACTIVITYPUB_SINGLE_USER_MODE ) {
- $return = true;
- break;
- }
- }
-
- if ( \defined( 'ACTIVITYPUB_DISABLE_USER' ) ) {
- $return = ACTIVITYPUB_DISABLE_USER;
- break;
- }
-
- if ( '1' !== \get_option( 'activitypub_enable_users', '1' ) ) {
- $return = true;
- break;
- }
-
- $return = false;
- break;
- default:
- $return = new WP_Error( 'activitypub_wrong_user_type', __( 'Wrong user type', 'activitypub' ), array( 'status' => 400 ) );
- break;
- }
-
- return apply_filters( 'activitypub_is_user_type_disabled', $return, $type );
-}
-
-/**
- * Check if the blog is in single-user mode.
- *
- * @return boolean True if the blog is in single-user mode, false otherwise.
- */
-function is_single_user() {
- if (
- false === is_user_type_disabled( 'blog' ) &&
- true === is_user_type_disabled( 'user' )
- ) {
- return true;
- }
-
- return false;
-}
-
-/**
- * Check if a site supports the block editor.
- *
- * @return boolean True if the site supports the block editor, false otherwise.
- */
-function site_supports_blocks() {
- if ( \version_compare( \get_bloginfo( 'version' ), '5.9', '<' ) ) {
- return false;
- }
-
- if ( ! \function_exists( 'register_block_type_from_metadata' ) ) {
- return false;
- }
-
- /**
- * Allow plugins to disable block editor support,
- * thus disabling blocks registered by the ActivityPub plugin.
- *
- * @param boolean $supports_blocks True if the site supports the block editor, false otherwise.
- */
- return apply_filters( 'activitypub_site_supports_blocks', true );
-}
-
-/**
- * Check if data is valid JSON.
- *
- * @param string $data The data to check.
- *
- * @return boolean True if the data is JSON, false otherwise.
- */
-function is_json( $data ) {
- return \is_array( \json_decode( $data, true ) ) ? true : false;
-}
-
-/**
- * Check if a blog is public based on the `blog_public` option
- *
- * @return bollean True if public, false if not
- */
-function is_blog_public() {
- return (bool) apply_filters( 'activitypub_is_blog_public', \get_option( 'blog_public', 1 ) );
-}
-
-/**
- * Sanitize a URL
- *
- * @param string $value The URL to sanitize
- *
- * @return string|null The sanitized URL or null if invalid
- */
-function sanitize_url( $value ) {
- if ( filter_var( $value, FILTER_VALIDATE_URL ) === false ) {
- return null;
- }
-
- return esc_url_raw( $value );
-}
-
-/**
- * Extract recipient URLs from Activity object
- *
- * @param array $data
- *
- * @return array The list of user URLs
- */
-function extract_recipients_from_activity( $data ) {
- $recipient_items = array();
-
- foreach ( array( 'to', 'bto', 'cc', 'bcc', 'audience' ) as $i ) {
- if ( array_key_exists( $i, $data ) ) {
- if ( is_array( $data[ $i ] ) ) {
- $recipient = $data[ $i ];
- } else {
- $recipient = array( $data[ $i ] );
- }
- $recipient_items = array_merge( $recipient_items, $recipient );
- }
-
- if ( is_array( $data['object'] ) && array_key_exists( $i, $data['object'] ) ) {
- if ( is_array( $data['object'][ $i ] ) ) {
- $recipient = $data['object'][ $i ];
- } else {
- $recipient = array( $data['object'][ $i ] );
- }
- $recipient_items = array_merge( $recipient_items, $recipient );
- }
- }
-
- $recipients = array();
-
- // flatten array
- foreach ( $recipient_items as $recipient ) {
- if ( is_array( $recipient ) ) {
- // check if recipient is an object
- if ( array_key_exists( 'id', $recipient ) ) {
- $recipients[] = $recipient['id'];
- }
- } else {
- $recipients[] = $recipient;
- }
- }
-
- return array_unique( $recipients );
-}
-
-/**
- * Check if passed Activity is Public
- *
- * @param array $data The Activity object as array
- *
- * @return boolean True if public, false if not
- */
-function is_activity_public( $data ) {
- $recipients = extract_recipients_from_activity( $data );
-
- return in_array( 'https://www.w3.org/ns/activitystreams#Public', $recipients, true );
-}
-
-/**
- * Get active users based on a given duration
- *
- * @param int $duration The duration to check in month(s)
- *
- * @return int The number of active users
- */
-function get_active_users( $duration = 1 ) {
-
- $duration = intval( $duration );
- $transient_key = sprintf( 'monthly_active_users_%d', $duration );
- $count = get_transient( $transient_key );
-
- if ( false === $count ) {
- global $wpdb;
- $query = "SELECT COUNT( DISTINCT post_author ) FROM {$wpdb->posts} WHERE post_type = 'post' AND post_status = 'publish' AND post_date <= DATE_SUB( NOW(), INTERVAL %d MONTH )";
- $query = $wpdb->prepare( $query, $duration );
- $count = $wpdb->get_var( $query ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
-
- set_transient( $transient_key, $count, DAY_IN_SECONDS );
- }
-
- // if 0 authors where active
- if ( 0 === $count ) {
- return 0;
- }
-
- // if single user mode
- if ( is_single_user() ) {
- return 1;
- }
-
- // if blog user is disabled
- if ( is_user_disabled( Users::BLOG_USER_ID ) ) {
- return $count;
- }
-
- // also count blog user
- return $count + 1;
-}
-
-/**
- * Get the total number of users
- *
- * @return int The total number of users
- */
-function get_total_users() {
- // if single user mode
- if ( is_single_user() ) {
- return 1;
- }
-
- $users = \get_users(
- array(
- 'capability__in' => array( 'activitypub' ),
- )
- );
-
- if ( is_array( $users ) ) {
- $users = count( $users );
- } else {
- $users = 1;
- }
-
- // if blog user is disabled
- if ( is_user_disabled( Users::BLOG_USER_ID ) ) {
- return $users;
- }
-
- return $users + 1;
-}
-
-/**
- * Examine a comment ID and look up an existing comment it represents.
- *
- * @param string $id ActivityPub object ID (usually a URL) to check.
- *
- * @return int|boolean Comment ID, or false on failure.
- */
-function object_id_to_comment( $id ) {
- return Comment::object_id_to_comment( $id );
-}
-
-/**
- * Verify if URL is a local comment,
- * Or if it is a previously received remote comment
- * (For threading comments locally)
- *
- * @param string $url The URL to check.
- *
- * @return int comment_ID or null if not found
- */
-function url_to_commentid( $url ) {
- return Comment::url_to_commentid( $url );
-}
-
-/**
- * Get the URI of an ActivityPub object
- *
- * @param array $object The ActivityPub object
- *
- * @return string The URI of the ActivityPub object
- */
-function object_to_uri( $object ) {
- // check if it is already simple
- if ( ! $object || is_string( $object ) ) {
- return $object;
- }
-
- // check if it is a list, then take first item
- // this plugin does not support collections
- if ( array_is_list( $object ) ) {
- $object = $object[0];
- }
-
- // check if it is simplified now
- if ( is_string( $object ) ) {
- return $object;
- }
-
- // return part of Object that makes most sense
- switch ( $object['type'] ) {
- case 'Link':
- $object = $object['href'];
- break;
- default:
- $object = $object['id'];
- break;
- }
-
- return $object;
-}
-
-/**
- * Check if a comment should be federated.
- *
- * We consider a comment should be federated if it is authored by a user that is
- * not disabled for federation and if it is a reply directly to the post or to a
- * federated comment.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment should be federated, false otherwise.
- */
-function should_comment_be_federated( $comment ) {
- return Comment::should_be_federated( $comment );
-}
-
-/**
- * Check if a comment was federated.
- *
- * This function checks if a comment was federated via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment was federated, false otherwise.
- */
-function was_comment_sent( $comment ) {
- return Comment::was_sent( $comment );
-}
-
-/**
- * Check if a comment is federated.
- *
- * We consider a comment federated if comment was received via ActivityPub.
- *
- * Use this function to check if it is comment that was received via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment is federated, false otherwise.
- */
-function was_comment_received( $comment ) {
- return Comment::was_received( $comment );
-}
-
-/**
- * Check if a comment is local only.
- *
- * This function checks if a comment is local only and was not sent or received via ActivityPub.
- *
- * @param mixed $comment Comment object or ID.
- *
- * @return boolean True if the comment is local only, false otherwise.
- */
-function is_local_comment( $comment ) {
- return Comment::is_local( $comment );
-}
-
-/**
- * Mark a WordPress object as federated.
- *
- * @param WP_Comment|WP_Post|mixed $wp_object
- *
- * @return void
- */
-function set_wp_object_state( $wp_object, $state ) {
- $meta_key = 'activitypub_status';
-
- if ( $wp_object instanceof \WP_Post ) {
- \update_post_meta( $wp_object->ID, $meta_key, $state );
- } elseif ( $wp_object instanceof \WP_Comment ) {
- \update_comment_meta( $wp_object->comment_ID, $meta_key, $state );
- } else {
- \apply_filters( 'activitypub_mark_wp_object_as_federated', $wp_object );
- }
-}
-
-/**
- * Get the federation state of a WordPress object.
- *
- * @param WP_Comment|WP_Post|mixed $wp_object
- *
- * @return string|false The state of the object or false if not found.
- */
-function get_wp_object_state( $wp_object ) {
- $meta_key = 'activitypub_status';
-
- if ( $wp_object instanceof \WP_Post ) {
- return \get_post_meta( $wp_object->ID, $meta_key, true );
- } elseif ( $wp_object instanceof \WP_Comment ) {
- return \get_comment_meta( $wp_object->comment_ID, $meta_key, true );
- } else {
- return \apply_filters( 'activitypub_get_wp_object_state', false, $wp_object );
- }
-}
-
-/**
- * Get the description of a post type.
- *
- * Set some default descriptions for the default post types.
- *
- * @param WP_Post_Type $post_type The post type object.
- *
- * @return string The description of the post type.
- */
-function get_post_type_description( $post_type ) {
- $description = '';
-
- switch ( $post_type->name ) {
- case 'post':
- $description = '';
- break;
- case 'page':
- $description = '';
- break;
- case 'attachment':
- $description = ' - ' . __( 'The attachments that you have uploaded to a post (images, videos, documents or other files).', 'activitypub' );
- break;
- default:
- if ( ! empty( $post_type->description ) ) {
- $description = ' - ' . $post_type->description;
- }
- }
-
- return apply_filters( 'activitypub_post_type_description', $description, $post_type->name, $post_type );
-}
-
-/**
- * Get the masked WordPress version to only show the major and minor version.
- *
- * @return string The masked version.
- */
-function get_masked_wp_version() {
- // only show the major and minor version
- $version = get_bloginfo( 'version' );
- // strip the RC or beta part
- $version = preg_replace( '/-.*$/', '', $version );
- $version = explode( '.', $version );
- $version = array_slice( $version, 0, 2 );
-
- return implode( '.', $version );
-}
-
-/**
- * Get the enclosures of a post.
- *
- * @param int $post_id The post ID.
- *
- * @return array The enclosures.
- */
-function get_enclosures( $post_id ) {
- $enclosures = get_post_meta( $post_id, 'enclosure' );
-
- if ( ! $enclosures ) {
- return array();
- }
-
- $enclosures = array_map(
- function ( $enclosure ) {
- $attributes = explode( "\n", $enclosure );
-
- if ( ! isset( $attributes[0] ) || ! \wp_http_validate_url( $attributes[0] ) ) {
- return false;
- }
-
- return array(
- 'url' => $attributes[0],
- 'length' => isset( $attributes[1] ) ? trim( $attributes[1] ) : null,
- 'mediaType' => isset( $attributes[2] ) ? trim( $attributes[2] ) : null,
- );
- },
- $enclosures
- );
-
- return array_filter( $enclosures );
-}
-
-/**
- * Retrieves the IDs of the ancestors of a comment.
- *
- * Adaption of `get_post_ancestors` from WordPress core.
- *
- * @see https://developer.wordpress.org/reference/functions/get_post_ancestors/
- *
- * @param int|WP_Comment $comment Comment ID or comment object.
- *
- * @return WP_Comment[] Array of ancestor comments or empty array if there are none.
- */
-function get_comment_ancestors( $comment ) {
- $comment = \get_comment( $comment );
-
- // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
- if ( ! $comment || empty( $comment->comment_parent ) || $comment->comment_parent == $comment->comment_ID ) {
- return array();
- }
-
- $ancestors = array();
-
- $id = (int) $comment->comment_parent;
- $ancestors[] = $id;
-
- // phpcs:ignore Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
- while ( $id > 0 ) {
- $ancestor = \get_comment( $id );
- $parent_id = (int) $ancestor->comment_parent;
-
- // Loop detection: If the ancestor has been seen before, break.
- if ( empty( $parent_id ) || ( $parent_id === (int) $comment->comment_ID ) || in_array( $parent_id, $ancestors, true ) ) {
- break;
- }
-
- $id = $parent_id;
- $ancestors[] = $id;
- }
-
- return $ancestors;
-}
-
-/**
- * Change the display of large numbers on the site.
- *
- * @author Jeremy Herve
- *
- * @see https://wordpress.org/support/topic/abbreviate-numbers-with-k/
- *
- * @param string $formatted Converted number in string format.
- * @param float $number The number to convert based on locale.
- * @param int $decimals Precision of the number of decimal places.
- *
- * @return string Converted number in string format.
- */
-function custom_large_numbers( $formatted, $number, $decimals ) {
- global $wp_locale;
-
- $decimals = 0;
- $decimal_point = '.';
- $thousands_sep = ',';
-
- if ( isset( $wp_locale ) ) {
- $decimals = (int) $wp_locale->number_format['decimal_point'];
- $decimal_point = $wp_locale->number_format['decimal_point'];
- $thousands_sep = $wp_locale->number_format['thousands_sep'];
- }
-
- if ( $number < 1000 ) { // any number less than a Thousand.
- return \number_format( $number, $decimals, $decimal_point, $thousands_sep );
- } elseif ( $number < 1000000 ) { // any number less than a million
- return \number_format( $number / 1000, $decimals, $decimal_point, $thousands_sep ) . 'K';
- } elseif ( $number < 1000000000 ) { // any number less than a billion
- return \number_format( $number / 1000000, $decimals, $decimal_point, $thousands_sep ) . 'M';
- } else { // at least a billion
- return \number_format( $number / 1000000000, $decimals, $decimal_point, $thousands_sep ) . 'B';
- }
-
- // Default fallback. We should not get here.
- return $formatted;
-}
-
-/**
- * Normalize a URL.
- *
- * @param string $url The URL.
- *
- * @return string The normalized URL.
- */
-function normalize_url( $url ) {
- $url = \untrailingslashit( $url );
- $url = \str_replace( 'https://', '', $url );
- $url = \str_replace( 'http://', '', $url );
- $url = \str_replace( 'www.', '', $url );
-
- return $url;
-}
-
-/**
- * Normalize a host.
- *
- * @param string $host The host.
- *
- * @return string The normalized host.
- */
-function normalize_host( $host ) {
- return \str_replace( 'www.', '', $host );
-}
-
-/**
- * Get the Extra Fields of an Actor
- *
- * @param int $user_id The User-ID.
- *
- * @return array The extra fields.
- */
-function get_actor_extra_fields( $user_id ) {
- $extra_fields = new WP_Query(
- array(
- 'post_type' => 'ap_extrafield',
- 'nopaging' => true,
- 'status' => 'publish',
- 'author' => $user_id,
- )
- );
-
- if ( $extra_fields->have_posts() ) {
- $extra_fields = $extra_fields->posts;
- } else {
- $extra_fields = array();
- }
-
- return apply_filters( 'activitypub_get_actor_extra_fields', $extra_fields, $user_id );
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-announce.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-announce.php
deleted file mode 100644
index 46db2a3b..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-announce.php
+++ /dev/null
@@ -1,69 +0,0 @@
-delete();
- self::maybe_delete_interactions( $activity );
- }
- }
-
- /**
- * Delete Reactions if Actor-URL is a Tombstone.
- *
- * @param array $activity The delete activity.
- */
- public static function maybe_delete_interactions( $activity ) {
- // verify if Actor is deleted.
- if ( Http::is_tombstone( $activity['actor'] ) ) {
- \wp_schedule_single_event(
- \time(),
- 'activitypub_delete_actor_interactions',
- array( $activity['actor'] )
- );
- }
- }
-
- /**
- * Delete comments from an Actor.
- *
- * @param array $comments The comments to delete.
- */
- public static function delete_interactions( $actor ) {
- $comments = Interactions::get_interactions_by_actor( $actor );
-
- if ( is_array( $comments ) ) {
- foreach ( $comments as $comment ) {
- wp_delete_comment( $comment->comment_ID );
- }
- }
- }
-
- /**
- * Delete a Reaction if URL is a Tombstone.
- *
- * @param array $activity The delete activity.
- *
- * @return void
- */
- public static function maybe_delete_interaction( $activity ) {
- if ( is_array( $activity['object'] ) ) {
- $id = $activity['object']['id'];
- } else {
- $id = $activity['object'];
- }
-
- $comments = Interactions::get_interaction_by_id( $id );
-
- if ( $comments && Http::is_tombstone( $id ) ) {
- foreach ( $comments as $comment ) {
- wp_delete_comment( $comment->comment_ID, true );
- }
- }
- }
-
- /**
- * Defer signature verification for `Delete` requests.
- *
- * @param bool $defer Whether to defer signature verification.
- * @param WP_REST_Request $request The request object.
- *
- * @return bool Whether to defer signature verification.
- */
- public static function defer_signature_verification( $defer, $request ) {
- $json = $request->get_json_params();
-
- if ( isset( $json['type'] ) && 'Delete' === $json['type'] ) {
- return true;
- }
-
- return false;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-follow.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-follow.php
deleted file mode 100644
index ed29dadf..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-follow.php
+++ /dev/null
@@ -1,119 +0,0 @@
-get__id();
-
- // save follower
- $follower = Followers::add_follower(
- $user_id,
- $activity['actor']
- );
-
- do_action(
- 'activitypub_followers_post_follow',
- $activity['actor'],
- $activity,
- $user_id,
- $follower
- );
-
- // send notification
- $notification = new Notification(
- 'follow',
- $activity['actor'],
- $activity,
- $user_id
- );
- $notification->send();
- }
-
- /**
- * Send Accept response
- *
- * @param string $actor The Actor URL
- * @param array $object The Activity object
- * @param int $user_id The ID of the WordPress User
- * @param Activitypub\Model\Follower $follower The Follower object
- *
- * @return void
- */
- public static function send_follow_response( $actor, $object, $user_id, $follower ) {
- if ( \is_wp_error( $follower ) ) {
- // it is not even possible to send a "Reject" because
- // we can not get the Remote-Inbox
- return;
- }
-
- // only send minimal data
- $object = array_intersect_key(
- $object,
- array_flip(
- array(
- 'id',
- 'type',
- 'actor',
- 'object',
- )
- )
- );
-
- $user = Users::get_by_id( $user_id );
-
- // get inbox
- $inbox = $follower->get_shared_inbox();
-
- // send "Accept" activity
- $activity = new Activity();
- $activity->set_type( 'Accept' );
- $activity->set_object( $object );
- $activity->set_actor( $user->get_id() );
- $activity->set_to( $actor );
- $activity->set_id( $user->get_id() . '#follow-' . \preg_replace( '~^https?://~', '', $actor ) . '-' . \time() );
-
- $activity = $activity->to_json();
-
- Http::post( $inbox, $activity, $user_id );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-undo.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-undo.php
deleted file mode 100644
index 5e222daa..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-undo.php
+++ /dev/null
@@ -1,50 +0,0 @@
-get__id();
- $actor = object_to_uri( $activity['actor'] );
-
- Followers::remove_follower( $user_id, $actor );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-update.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-update.php
deleted file mode 100644
index 0542d560..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/handler/class-update.php
+++ /dev/null
@@ -1,95 +0,0 @@
-add_help_tab(
- array(
- 'id' => 'template-tags',
- 'title' => \__( 'Template Tags', 'activitypub' ),
- 'content' =>
- '' . __( 'The following Template Tags are available:', 'activitypub' ) . '
' .
- '' .
- '[ap_title]
' .
- '' . \wp_kses( __( 'The post\'s title.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_content apply_filters="yes"]
' .
- '' . \wp_kses( __( 'The post\'s content. With apply_filters
you can decide if filters (apply_filters( \'the_content\', $content )
) should be applied or not (default is yes
). The values can be yes
or no
. apply_filters
attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_excerpt length="400"]
' .
- '' . \wp_kses( __( 'The post\'s excerpt (uses the_excerpt
if that is set). If no excerpt is provided, will truncate at length
(optional, default = 400).', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_permalink type="url"]
' .
- '' . \wp_kses( __( 'The post\'s permalink. type
can be either: url
or html
(an <a /> tag). type
attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_shortlink type="url"]
' .
- '' . \wp_kses( __( 'The post\'s shortlink. type
can be either url
or html
(an <a /> tag). I can recommend Hum , to prettify the Shortlinks. type
attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_hashtags]
' .
- '' . \wp_kses( __( 'The post\'s tags as hashtags.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_hashcats]
' .
- '' . \wp_kses( __( 'The post\'s categories as hashtags.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_image type=full]
' .
- '' . \wp_kses( __( 'The URL for the post\'s featured image, defaults to full size. The type attribute can be any of the following: thumbnail
, medium
, large
, full
. type
attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_author]
' .
- '' . \wp_kses( __( 'The author\'s name.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_authorurl]
' .
- '' . \wp_kses( __( 'The URL to the author\'s profile page.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_date]
' .
- '' . \wp_kses( __( 'The post\'s date.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_time]
' .
- '' . \wp_kses( __( 'The post\'s time.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_datetime]
' .
- '' . \wp_kses( __( 'The post\'s date/time formated as "date @ time".', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_blogurl]
' .
- '' . \wp_kses( __( 'The URL to the site.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_blogname]
' .
- '' . \wp_kses( __( 'The name of the site.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- '[ap_blogdesc]
' .
- '' . \wp_kses( __( 'The description of the site.', 'activitypub' ), array( 'code' => array() ) ) . ' ' .
- ' ' .
- '' . __( 'You may also use any Shortcode normally available to you on your site, however be aware that Shortcodes may significantly increase the size of your content depending on what they do.', 'activitypub' ) . '
' .
- '' . __( 'Note: the old Template Tags are now deprecated and automatically converted to the new ones.', 'activitypub' ) . '
' .
- '' . \wp_kses( \__( 'Let me know if you miss a Template Tag.', 'activitypub' ), 'activitypub' ) . '
',
- )
-);
-
-\get_current_screen()->add_help_tab(
- array(
- 'id' => 'glossary',
- 'title' => \__( 'Glossary', 'activitypub' ),
- 'content' =>
- '
' . \__( 'Fediverse', 'activitypub' ) . '
' .
- '' . \__( 'The Fediverse is a new word made of two words: "federation" + "universe"', 'activitypub' ) . '
' .
- '' . \__( 'It is a federated social network running on free open software on a myriad of computers across the globe. Many independent servers are interconnected and allow people to interact with one another. There\'s no one central site: you choose a server to register. This ensures some decentralization and sovereignty of data. Fediverse (also called Fedi) has no built-in advertisements, no tricky algorithms, no one big corporation dictating the rules. Instead we have small cozy communities of like-minded people. Welcome!', 'activitypub' ) . '
' .
- '' . \__( 'For more informations please visit fediverse.party ', 'activitypub' ) . '
' .
- '
' . \__( 'ActivityPub', 'activitypub' ) . ' ' .
- '' . \__( 'ActivityPub is a decentralized social networking protocol based on the ActivityStreams 2.0 data format. ActivityPub is an official W3C recommended standard published by the W3C Social Web Working Group. It provides a client to server API for creating, updating and deleting content, as well as a federated server to server API for delivering notifications and subscribing to content.', 'activitypub' ) . '
' .
- '
' . \__( 'WebFinger', 'activitypub' ) . ' ' .
- '' . \__( 'WebFinger is used to discover information about people or other entities on the Internet that are identified by a URI using standard Hypertext Transfer Protocol (HTTP) methods over a secure transport. A WebFinger resource returns a JavaScript Object Notation (JSON) object describing the entity that is queried. The JSON object is referred to as the JSON Resource Descriptor (JRD).', 'activitypub' ) . '
' .
- '' . \__( 'For a person, the type of information that might be discoverable via WebFinger includes a personal profile address, identity service, telephone number, or preferred avatar. For other entities on the Internet, a WebFinger resource might return JRDs containing link relations that enable a client to discover, for example, that a printer can print in color on A4 paper, the physical location of a server, or other static information.', 'activitypub' ) . '
' .
- '' . \__( 'On Mastodon [and other Plattforms], user profiles can be hosted either locally on the same website as yours, or remotely on a completely different website. The same username may be used on a different domain. Therefore, a Mastodon user\'s full mention consists of both the username and the domain, in the form @username@domain
. In practical terms, @user@example.com
is not the same as @user@example.org
. If the domain is not included, Mastodon will try to find a local user named @username
. However, in order to deliver to someone over ActivityPub, the @username@domain
mention is not enough – mentions must be translated to an HTTPS URI first, so that the remote actor\'s inbox and outbox can be found. (This paragraph is copied from the Mastodon Documentation )', 'activitypub' ) . '
' .
- '' . \__( 'For more informations please visit webfinger.net ', 'activitypub' ) . '
' .
- '
' . \__( 'NodeInfo', 'activitypub' ) . ' ' .
- '' . \__( 'NodeInfo is an effort to create a standardized way of exposing metadata about a server running one of the distributed social networks. The two key goals are being able to get better insights into the user base of distributed social networking and the ability to build tools that allow users to choose the best fitting software and server for their needs.', 'activitypub' ) . '
' .
- '' . \__( 'For more informations please visit nodeinfo.diaspora.software ', 'activitypub' ) . '
',
- )
-);
-
-\get_current_screen()->set_help_sidebar(
- '' . \__( 'For more information:', 'activitypub' ) . '
' .
- '' . \__( 'Get support ', 'activitypub' ) . '
' .
- '' . \__( 'Report an issue ', 'activitypub' ) . '
'
-);
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-application.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-application.php
deleted file mode 100644
index 35c57d64..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-application.php
+++ /dev/null
@@ -1,204 +0,0 @@
-
- */
- protected $webfinger;
-
- public function get_type() {
- return 'Application';
- }
-
- public function get_manually_approves_followers() {
- return true;
- }
-
- public function get_id() {
- return get_rest_url_by_path( 'application' );
- }
-
- /**
- * Get the User-Url.
- *
- * @return string The User-Url.
- */
- public function get_url() {
- return $this->get_id();
- }
-
- /**
- * Returns the User-URL with @-Prefix for the username.
- *
- * @return string The User-URL with @-Prefix for the username.
- */
- public function get_alternate_url() {
- return $this->get_url();
- }
-
- public function get_name() {
- return 'application';
- }
-
- public function get_preferred_username() {
- return $this->get_name();
- }
-
- /**
- * Get the User-Icon.
- *
- * @return array The User-Icon.
- */
- public function get_icon() {
- // try site icon first
- $icon_id = get_option( 'site_icon' );
-
- // try custom logo second
- if ( ! $icon_id ) {
- $icon_id = get_theme_mod( 'custom_logo' );
- }
-
- $icon_url = false;
-
- if ( $icon_id ) {
- $icon = wp_get_attachment_image_src( $icon_id, 'full' );
- if ( $icon ) {
- $icon_url = $icon[0];
- }
- }
-
- if ( ! $icon_url ) {
- // fallback to default icon
- $icon_url = plugins_url( '/assets/img/wp-logo.png', ACTIVITYPUB_PLUGIN_FILE );
- }
-
- return array(
- 'type' => 'Image',
- 'url' => esc_url( $icon_url ),
- );
- }
-
- /**
- * Get the User-Header-Image.
- *
- * @return array|null The User-Header-Image.
- */
- public function get_header_image() {
- if ( \has_header_image() ) {
- return array(
- 'type' => 'Image',
- 'url' => esc_url( \get_header_image() ),
- );
- }
-
- return null;
- }
-
- public function get_published() {
- $first_post = new WP_Query(
- array(
- 'orderby' => 'date',
- 'order' => 'ASC',
- 'number' => 1,
- )
- );
-
- if ( ! empty( $first_post->posts[0] ) ) {
- $time = \strtotime( $first_post->posts[0]->post_date_gmt );
- } else {
- $time = \time();
- }
-
- return \gmdate( 'Y-m-d\TH:i:s\Z', $time );
- }
-
- /**
- * Returns the Inbox-API-Endpoint.
- *
- * @return string The Inbox-Endpoint.
- */
- public function get_inbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/inbox', $this->get__id() ) );
- }
-
- /**
- * Returns the Outbox-API-Endpoint.
- *
- * @return string The Outbox-Endpoint.
- */
- public function get_outbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/outbox', $this->get__id() ) );
- }
-
- /**
- * Returns a user@domain type of identifier for the user.
- *
- * @return string The Webfinger-Identifier.
- */
- public function get_webfinger() {
- return $this->get_preferred_username() . '@' . \wp_parse_url( \home_url(), \PHP_URL_HOST );
- }
-
- public function get_public_key() {
- return array(
- 'id' => $this->get_id() . '#main-key',
- 'owner' => $this->get_id(),
- 'publicKeyPem' => Signature::get_public_key_for( Users::APPLICATION_USER_ID ),
- );
- }
-
- /**
- * Get the User-Description.
- *
- * @return string The User-Description.
- */
- public function get_summary() {
- return \wpautop(
- \wp_kses(
- \get_bloginfo( 'description' ),
- 'default'
- )
- );
- }
-
- public function get_canonical_url() {
- return \home_url();
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-blog.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-blog.php
deleted file mode 100644
index 3c52abff..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-blog.php
+++ /dev/null
@@ -1,405 +0,0 @@
-
- */
- protected $webfinger;
-
- /**
- * If the User is discoverable.
- *
- * @see https://docs.joinmastodon.org/spec/activitypub/#discoverable
- *
- * @context http://joinmastodon.org/ns#discoverable
- *
- * @var boolean
- */
- protected $discoverable;
-
- /**
- * Restrict posting to mods
- *
- * @see https://join-lemmy.org/docs/contributors/05-federation.html
- *
- * @var boolean
- */
- protected $posting_restricted_to_mods;
-
- public function get_manually_approves_followers() {
- return false;
- }
-
- public function get_discoverable() {
- return true;
- }
-
- /**
- * Get the User-ID.
- *
- * @return string The User-ID.
- */
- public function get_id() {
- return $this->get_url();
- }
-
- /**
- * Get the type of the object.
- *
- * If the Blog is in "single user" mode, return "Person" insted of "Group".
- *
- * @return string The type of the object.
- */
- public function get_type() {
- if ( is_single_user() ) {
- return 'Person';
- } else {
- return 'Group';
- }
- }
-
- /**
- * Get the User-Name.
- *
- * @return string The User-Name.
- */
- public function get_name() {
- return \wp_strip_all_tags(
- \html_entity_decode(
- \get_bloginfo( 'name' ),
- \ENT_QUOTES,
- 'UTF-8'
- )
- );
- }
-
- /**
- * Get the User-Description.
- *
- * @return string The User-Description.
- */
- public function get_summary() {
- return \wpautop(
- \wp_kses(
- \get_bloginfo( 'description' ),
- 'default'
- )
- );
- }
-
- /**
- * Get the User-Url.
- *
- * @return string The User-Url.
- */
- public function get_url() {
- return \esc_url( \trailingslashit( get_home_url() ) . '@' . $this->get_preferred_username() );
- }
-
- /**
- * Get blog's homepage URL.
- *
- * @return string The User-Url.
- */
- public function get_alternate_url() {
- return \esc_url( \trailingslashit( get_home_url() ) );
- }
-
- /**
- * Generate a default Username.
- *
- * @return string The auto-generated Username.
- */
- public static function get_default_username() {
- // check if domain host has a subdomain
- $host = \wp_parse_url( \get_home_url(), \PHP_URL_HOST );
- $host = \preg_replace( '/^www\./i', '', $host );
-
- /**
- * Filter the default blog username.
- *
- * @param string $host The default username.
- */
- return apply_filters( 'activitypub_default_blog_username', $host );
- }
-
- /**
- * Get the preferred User-Name.
- *
- * @return string The User-Name.
- */
- public function get_preferred_username() {
- $username = \get_option( 'activitypub_blog_user_identifier' );
-
- if ( $username ) {
- return $username;
- }
-
- return self::get_default_username();
- }
-
- /**
- * Get the User-Icon.
- *
- * @return array The User-Icon.
- */
- public function get_icon() {
- // try site icon first
- $icon_id = get_option( 'site_icon' );
-
- // try custom logo second
- if ( ! $icon_id ) {
- $icon_id = get_theme_mod( 'custom_logo' );
- }
-
- $icon_url = false;
-
- if ( $icon_id ) {
- $icon = wp_get_attachment_image_src( $icon_id, 'full' );
- if ( $icon ) {
- $icon_url = $icon[0];
- }
- }
-
- if ( ! $icon_url ) {
- // fallback to default icon
- $icon_url = plugins_url( '/assets/img/wp-logo.png', ACTIVITYPUB_PLUGIN_FILE );
- }
-
- return array(
- 'type' => 'Image',
- 'url' => esc_url( $icon_url ),
- );
- }
-
- /**
- * Get the User-Header-Image.
- *
- * @return array|null The User-Header-Image.
- */
- public function get_image() {
- if ( \has_header_image() ) {
- return array(
- 'type' => 'Image',
- 'url' => esc_url( \get_header_image() ),
- );
- }
-
- return null;
- }
-
- public function get_published() {
- $first_post = new WP_Query(
- array(
- 'orderby' => 'date',
- 'order' => 'ASC',
- 'number' => 1,
- )
- );
-
- if ( ! empty( $first_post->posts[0] ) ) {
- $time = \strtotime( $first_post->posts[0]->post_date_gmt );
- } else {
- $time = \time();
- }
-
- return \gmdate( 'Y-m-d\TH:i:s\Z', $time );
- }
-
- public function get_canonical_url() {
- return \home_url();
- }
-
- public function get_moderators() {
- if ( is_single_user() || 'Group' !== $this->get_type() ) {
- return null;
- }
-
- return get_rest_url_by_path( 'collections/moderators' );
- }
-
- public function get_attributed_to() {
- if ( is_single_user() || 'Group' !== $this->get_type() ) {
- return null;
- }
-
- return get_rest_url_by_path( 'collections/moderators' );
- }
-
- public function get_public_key() {
- return array(
- 'id' => $this->get_id() . '#main-key',
- 'owner' => $this->get_id(),
- 'publicKeyPem' => Signature::get_public_key_for( $this->get__id() ),
- );
- }
-
- public function get_posting_restricted_to_mods() {
- if ( 'Group' === $this->get_type() ) {
- return true;
- }
-
- return null;
- }
-
- /**
- * Returns the Inbox-API-Endpoint.
- *
- * @return string The Inbox-Endpoint.
- */
- public function get_inbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/inbox', $this->get__id() ) );
- }
-
- /**
- * Returns the Outbox-API-Endpoint.
- *
- * @return string The Outbox-Endpoint.
- */
- public function get_outbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/outbox', $this->get__id() ) );
- }
-
- /**
- * Returns the Followers-API-Endpoint.
- *
- * @return string The Followers-Endpoint.
- */
- public function get_followers() {
- return get_rest_url_by_path( sprintf( 'actors/%d/followers', $this->get__id() ) );
- }
-
- /**
- * Returns the Following-API-Endpoint.
- *
- * @return string The Following-Endpoint.
- */
- public function get_following() {
- return get_rest_url_by_path( sprintf( 'actors/%d/following', $this->get__id() ) );
- }
-
- public function get_endpoints() {
- $endpoints = null;
-
- if ( ACTIVITYPUB_SHARED_INBOX_FEATURE ) {
- $endpoints = array(
- 'sharedInbox' => get_rest_url_by_path( 'inbox' ),
- );
- }
-
- return $endpoints;
- }
-
- /**
- * Returns a user@domain type of identifier for the user.
- *
- * @return string The Webfinger-Identifier.
- */
- public function get_webfinger() {
- return $this->get_preferred_username() . '@' . \wp_parse_url( \home_url(), \PHP_URL_HOST );
- }
-
- /**
- * Returns the Featured-API-Endpoint.
- *
- * @return string The Featured-Endpoint.
- */
- public function get_featured() {
- return get_rest_url_by_path( sprintf( 'actors/%d/collections/featured', $this->get__id() ) );
- }
-
- public function get_indexable() {
- if ( \get_option( 'blog_public', 1 ) ) {
- return true;
- } else {
- return false;
- }
- }
-
- /**
- * Extend the User-Output with Attachments.
- *
- * @return array The extended User-Output.
- */
- public function get_attachment() {
- $array = array();
-
- $array[] = array(
- 'type' => 'PropertyValue',
- 'name' => \__( 'Blog', 'activitypub' ),
- 'value' => \html_entity_decode(
- sprintf(
- '%s ',
- \esc_attr( \home_url( '/' ) ),
- \esc_url( \home_url( '/' ) ),
- \wp_parse_url( \home_url( '/' ), \PHP_URL_HOST )
- ),
- \ENT_QUOTES,
- 'UTF-8'
- ),
- );
-
- // Add support for FEP-fb2a, for more information see FEDERATION.md
- $array[] = array(
- 'type' => 'Link',
- 'name' => \__( 'Blog', 'activitypub' ),
- 'href' => \esc_url( \home_url( '/' ) ),
- 'rel' => array( 'me' ),
- );
-
- return $array;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-follower.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-follower.php
deleted file mode 100644
index 4590ea49..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-follower.php
+++ /dev/null
@@ -1,395 +0,0 @@
-_id, 'activitypub_errors' );
- }
-
- /**
- * Get the Summary.
- *
- * @return int The Summary.
- */
- public function get_summary() {
- if ( isset( $this->summary ) ) {
- return $this->summary;
- }
-
- return '';
- }
-
- /**
- * Getter for URL attribute.
- *
- * Falls back to ID, if no URL is set. This is relevant for
- * Plattforms like Lemmy, where the ID is the URL.
- *
- * @return string The URL.
- */
- public function get_url() {
- if ( $this->url ) {
- return $this->url;
- }
-
- return $this->id;
- }
-
- /**
- * Reset (delete) all errors.
- *
- * @return void
- */
- public function reset_errors() {
- delete_post_meta( $this->_id, 'activitypub_errors' );
- }
-
- /**
- * Count the errors.
- *
- * @return int The number of errors.
- */
- public function count_errors() {
- $errors = $this->get_errors();
-
- if ( is_array( $errors ) && ! empty( $errors ) ) {
- return count( $errors );
- }
-
- return 0;
- }
-
- /**
- * Return the latest error message.
- *
- * @return string The error message.
- */
- public function get_latest_error_message() {
- $errors = $this->get_errors();
-
- if ( is_array( $errors ) && ! empty( $errors ) ) {
- return reset( $errors );
- }
-
- return '';
- }
-
- /**
- * Update the current Follower-Object.
- *
- * @return void
- */
- public function update() {
- $this->save();
- }
-
- /**
- * Validate the current Follower-Object.
- *
- * @return boolean True if the verification was successful.
- */
- public function is_valid() {
- // the minimum required attributes
- $required_attributes = array(
- 'id',
- 'preferredUsername',
- 'inbox',
- 'publicKey',
- 'publicKeyPem',
- );
-
- foreach ( $required_attributes as $attribute ) {
- if ( ! $this->get( $attribute ) ) {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Save the current Follower-Object.
- *
- * @return int|WP_Error The Post-ID or an WP_Error.
- */
- public function save() {
- if ( ! $this->is_valid() ) {
- return new WP_Error( 'activitypub_invalid_follower', __( 'Invalid Follower', 'activitypub' ), array( 'status' => 400 ) );
- }
-
- if ( ! $this->get__id() ) {
- global $wpdb;
-
- // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
- $post_id = $wpdb->get_var(
- $wpdb->prepare(
- "SELECT ID FROM $wpdb->posts WHERE guid=%s",
- esc_sql( $this->get_id() )
- )
- );
-
- if ( $post_id ) {
- $post = get_post( $post_id );
- $this->set__id( $post->ID );
- }
- }
-
- $post_id = $this->get__id();
-
- $args = array(
- 'ID' => $post_id,
- 'guid' => esc_url_raw( $this->get_id() ),
- 'post_title' => wp_strip_all_tags( sanitize_text_field( $this->get_name() ) ),
- 'post_author' => 0,
- 'post_type' => Followers::POST_TYPE,
- 'post_name' => esc_url_raw( $this->get_id() ),
- 'post_excerpt' => sanitize_text_field( wp_kses( $this->get_summary(), 'user_description' ) ),
- 'post_status' => 'publish',
- 'meta_input' => $this->get_post_meta_input(),
- );
-
- if ( ! empty( $post_id ) ) {
- // If this is an update, prevent the "followed" date from being
- // overwritten by the current date.
- $post = get_post( $post_id );
- $args['post_date'] = $post->post_date;
- $args['post_date_gmt'] = $post->post_date_gmt;
- }
-
- $post_id = wp_insert_post( $args );
- $this->_id = $post_id;
-
- return $post_id;
- }
-
- /**
- * Upsert the current Follower-Object.
- *
- * @return int|WP_Error The Post-ID or an WP_Error.
- */
- public function upsert() {
- return $this->save();
- }
-
- /**
- * Delete the current Follower-Object.
- *
- * Beware that this os deleting a Follower for ALL users!!!
- *
- * To delete only the User connection (unfollow)
- * @see \Activitypub\Rest\Followers::remove_follower()
- *
- * @return void
- */
- public function delete() {
- wp_delete_post( $this->_id );
- }
-
- /**
- * Update the post meta.
- *
- * @return void
- */
- protected function get_post_meta_input() {
- $meta_input = array();
- $meta_input['activitypub_inbox'] = $this->get_shared_inbox();
- $meta_input['activitypub_actor_json'] = $this->to_json();
-
- return $meta_input;
- }
-
- /**
- * Get the icon.
- *
- * Sets a fallback to better handle API and HTML outputs.
- *
- * @return array The icon.
- */
- public function get_icon() {
- if ( isset( $this->icon['url'] ) ) {
- return $this->icon;
- }
-
- return array(
- 'type' => 'Image',
- 'mediaType' => 'image/jpeg',
- 'url' => ACTIVITYPUB_PLUGIN_URL . 'assets/img/mp.jpg',
- );
- }
-
- /**
- * Get Name.
- *
- * Tries to extract a name from the URL or ID if not set.
- *
- * @return string The name.
- */
- public function get_name() {
- if ( $this->name ) {
- return $this->name;
- } elseif ( $this->preferred_username ) {
- return $this->preferred_username;
- }
-
- return $this->extract_name_from_uri();
- }
-
- /**
- * The preferred Username.
- *
- * Tries to extract a name from the URL or ID if not set.
- *
- * @return string The preferred Username.
- */
- public function get_preferred_username() {
- if ( $this->preferred_username ) {
- return $this->preferred_username;
- }
-
- return $this->extract_name_from_uri();
- }
-
- /**
- * Get the Icon URL (Avatar)
- *
- * @return string The URL to the Avatar.
- */
- public function get_icon_url() {
- $icon = $this->get_icon();
-
- if ( ! $icon ) {
- return '';
- }
-
- if ( is_array( $icon ) ) {
- return $icon['url'];
- }
-
- return $icon;
- }
-
- /**
- * Get the Icon URL (Avatar)
- *
- * @return string The URL to the Avatar.
- */
- public function get_image_url() {
- $image = $this->get_image();
-
- if ( ! $image ) {
- return '';
- }
-
- if ( is_array( $image ) ) {
- return $image['url'];
- }
-
- return $image;
- }
-
- /**
- * Get the shared inbox, with a fallback to the inbox.
- *
- * @return string|null The URL to the shared inbox, the inbox or null.
- */
- public function get_shared_inbox() {
- if ( ! empty( $this->get_endpoints()['sharedInbox'] ) ) {
- return $this->get_endpoints()['sharedInbox'];
- } elseif ( ! empty( $this->get_inbox() ) ) {
- return $this->get_inbox();
- }
-
- return null;
- }
-
- /**
- * Convert a Custom-Post-Type input to an Activitypub\Model\Follower.
- *
- * @return string The JSON string.
- *
- * @return array Activitypub\Model\Follower
- */
- public static function init_from_cpt( $post ) {
- $actor_json = get_post_meta( $post->ID, 'activitypub_actor_json', true );
- $object = self::init_from_json( $actor_json );
- $object->set__id( $post->ID );
- $object->set_id( $post->guid );
- $object->set_name( $post->post_title );
- $object->set_summary( $post->post_excerpt );
- $object->set_published( gmdate( 'Y-m-d H:i:s', strtotime( $post->post_date ) ) );
- $object->set_updated( gmdate( 'Y-m-d H:i:s', strtotime( $post->post_modified ) ) );
-
- return $object;
- }
-
- /**
- * Infer a shortname from the Actor ID or URL. Used only for fallbacks,
- * we will try to use what's supplied.
- *
- * @return string Hopefully the name of the Follower.
- */
- protected function extract_name_from_uri() {
- // prefer the URL, but fall back to the ID.
- if ( $this->url ) {
- $name = $this->url;
- } else {
- $name = $this->id;
- }
-
- if ( \filter_var( $name, FILTER_VALIDATE_URL ) ) {
- $name = \rtrim( $name, '/' );
- $path = \wp_parse_url( $name, PHP_URL_PATH );
-
- if ( $path ) {
- if ( \strpos( $name, '@' ) !== false ) {
- // expected: https://example.com/@user (default URL pattern)
- $name = \preg_replace( '|^/@?|', '', $path );
- } else {
- // expected: https://example.com/users/user (default ID pattern)
- $parts = \explode( '/', $path );
- $name = \array_pop( $parts );
- }
- }
- } elseif (
- \is_email( $name ) ||
- \strpos( $name, 'acct' ) === 0 ||
- \strpos( $name, '@' ) === 0
- ) {
- // expected: user@example.com or acct:user@example (WebFinger)
- $name = \ltrim( $name, '@' );
- $name = \ltrim( $name, 'acct:' );
- $parts = \explode( '@', $name );
- $name = $parts[0];
- }
-
- return $name;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-post.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-post.php
deleted file mode 100644
index a4229539..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-post.php
+++ /dev/null
@@ -1,136 +0,0 @@
-post = $post;
- $this->object = $transformer->to_object();
- }
- }
-
- /**
- * Returns the User ID.
- *
- * @return int the User ID.
- */
- public function get_user_id() {
- return apply_filters( 'activitypub_post_user_id', $this->post->post_author, $this->post );
- }
-
- /**
- * Converts this Object into an Array.
- *
- * @return array the array representation of a Post.
- */
- public function to_array() {
- return \apply_filters( 'activitypub_post', $this->object->to_array(), $this->post );
- }
-
- /**
- * Returns the Actor of this Object.
- *
- * @return string The URL of the Actor.
- */
- public function get_actor() {
- $user = Users::get_by_id( $this->get_user_id() );
-
- return $user->get_url();
- }
-
- /**
- * Converts this Object into a JSON String
- *
- * @return string
- */
- public function to_json() {
- return \wp_json_encode( $this->to_array(), \JSON_HEX_TAG | \JSON_HEX_AMP | \JSON_HEX_QUOT );
- }
-
- /**
- * Returns the URL of an Activity Object
- *
- * @return string
- */
- public function get_url() {
- return $this->object->get_url();
- }
-
- /**
- * Returns the ID of an Activity Object
- *
- * @return string
- */
- public function get_id() {
- return $this->object->get_id();
- }
-
- /**
- * Returns a list of Image Attachments
- *
- * @return array
- */
- public function get_attachments() {
- return $this->object->get_attachment();
- }
-
- /**
- * Returns a list of Tags, used in the Post
- *
- * @return array
- */
- public function get_tags() {
- return $this->object->get_tag();
- }
-
- /**
- * Returns the as2 object-type for a given post
- *
- * @return string the object-type
- */
- public function get_object_type() {
- return $this->object->get_type();
- }
-
- /**
- * Returns the content for the ActivityPub Item.
- *
- * @return string the content
- */
- public function get_content() {
- return $this->object->get_content();
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-user.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-user.php
deleted file mode 100644
index dc6cb6c0..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/model/class-user.php
+++ /dev/null
@@ -1,336 +0,0 @@
-
- */
- protected $webfinger;
-
- public function get_type() {
- return 'Person';
- }
-
- public static function from_wp_user( $user_id ) {
- if ( is_user_disabled( $user_id ) ) {
- return new WP_Error(
- 'activitypub_user_not_found',
- \__( 'User not found', 'activitypub' ),
- array( 'status' => 404 )
- );
- }
-
- $object = new static();
- $object->_id = $user_id;
-
- return $object;
- }
-
- /**
- * Get the User-ID.
- *
- * @return string The User-ID.
- */
- public function get_id() {
- return $this->get_url();
- }
-
- /**
- * Get the User-Name.
- *
- * @return string The User-Name.
- */
- public function get_name() {
- return \esc_attr( \get_the_author_meta( 'display_name', $this->_id ) );
- }
-
- /**
- * Get the User-Description.
- *
- * @return string The User-Description.
- */
- public function get_summary() {
- $description = get_user_meta( $this->_id, 'activitypub_user_description', true );
- if ( empty( $description ) ) {
- $description = get_user_meta( $this->_id, 'description', true );
- }
- return \wpautop( \wp_kses( $description, 'default' ) );
- }
-
- /**
- * Get the User-Url.
- *
- * @return string The User-Url.
- */
- public function get_url() {
- return \esc_url( \get_author_posts_url( $this->_id ) );
- }
-
- /**
- * Returns the User-URL with @-Prefix for the username.
- *
- * @return string The User-URL with @-Prefix for the username.
- */
- public function get_alternate_url() {
- return \esc_url( \trailingslashit( get_home_url() ) . '@' . $this->get_preferred_username() );
- }
-
- public function get_preferred_username() {
- return \esc_attr( \get_the_author_meta( 'login', $this->_id ) );
- }
-
- public function get_icon() {
- $icon = \esc_url(
- \get_avatar_url(
- $this->_id,
- array( 'size' => 120 )
- )
- );
-
- return array(
- 'type' => 'Image',
- 'url' => $icon,
- );
- }
-
- public function get_image() {
- if ( \has_header_image() ) {
- $image = \esc_url( \get_header_image() );
- return array(
- 'type' => 'Image',
- 'url' => $image,
- );
- }
-
- return null;
- }
-
- public function get_published() {
- return \gmdate( 'Y-m-d\TH:i:s\Z', \strtotime( \get_the_author_meta( 'registered', $this->_id ) ) );
- }
-
- public function get_public_key() {
- return array(
- 'id' => $this->get_id() . '#main-key',
- 'owner' => $this->get_id(),
- 'publicKeyPem' => Signature::get_public_key_for( $this->get__id() ),
- );
- }
-
- /**
- * Returns the Inbox-API-Endpoint.
- *
- * @return string The Inbox-Endpoint.
- */
- public function get_inbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/inbox', $this->get__id() ) );
- }
-
- /**
- * Returns the Outbox-API-Endpoint.
- *
- * @return string The Outbox-Endpoint.
- */
- public function get_outbox() {
- return get_rest_url_by_path( sprintf( 'actors/%d/outbox', $this->get__id() ) );
- }
-
- /**
- * Returns the Followers-API-Endpoint.
- *
- * @return string The Followers-Endpoint.
- */
- public function get_followers() {
- return get_rest_url_by_path( sprintf( 'actors/%d/followers', $this->get__id() ) );
- }
-
- /**
- * Returns the Following-API-Endpoint.
- *
- * @return string The Following-Endpoint.
- */
- public function get_following() {
- return get_rest_url_by_path( sprintf( 'actors/%d/following', $this->get__id() ) );
- }
-
- /**
- * Returns the Featured-API-Endpoint.
- *
- * @return string The Featured-Endpoint.
- */
- public function get_featured() {
- return get_rest_url_by_path( sprintf( 'actors/%d/collections/featured', $this->get__id() ) );
- }
-
- public function get_endpoints() {
- $endpoints = null;
-
- if ( ACTIVITYPUB_SHARED_INBOX_FEATURE ) {
- $endpoints = array(
- 'sharedInbox' => get_rest_url_by_path( 'inbox' ),
- );
- }
-
- return $endpoints;
- }
-
- /**
- * Extend the User-Output with Attachments.
- *
- * @return array The extended User-Output.
- */
- public function get_attachment() {
- $extra_fields = get_actor_extra_fields( $this->_id );
-
- $attachments = array();
-
- foreach ( $extra_fields as $post ) {
- $content = \get_the_content( null, false, $post );
- $content = \make_clickable( $content );
- $content = \do_blocks( $content );
- $content = \wptexturize( $content );
- $content = \wp_filter_content_tags( $content );
- // replace script and style elements
- $content = \preg_replace( '@<(script|style)[^>]*?>.*?\\1>@si', '', $content );
- $content = \strip_shortcodes( $content );
- $content = \trim( \preg_replace( '/[\n\r\t]/', '', $content ) );
-
- $attachments[] = array(
- 'type' => 'PropertyValue',
- 'name' => \get_the_title( $post ),
- 'value' => \html_entity_decode(
- $content,
- \ENT_QUOTES,
- 'UTF-8'
- ),
- );
-
- $link_added = false;
-
- // Add support for FEP-fb2a, for more information see FEDERATION.md
- if ( \class_exists( '\WP_HTML_Tag_Processor' ) ) {
- $tags = new \WP_HTML_Tag_Processor( $content );
- $tags->next_tag();
-
- if ( 'P' === $tags->get_tag() ) {
- $tags->next_tag();
- }
-
- if ( 'A' === $tags->get_tag() ) {
- $tags->set_bookmark( 'link' );
- if ( ! $tags->next_tag() ) {
- $tags->seek( 'link' );
- $attachment = array(
- 'type' => 'Link',
- 'name' => \get_the_title( $post ),
- 'href' => \esc_url( $tags->get_attribute( 'href' ) ),
- 'rel' => explode( ' ', $tags->get_attribute( 'rel' ) ),
- );
-
- $link_added = true;
- }
- }
- }
-
- if ( ! $link_added ) {
- $attachment = array(
- 'type' => 'Note',
- 'name' => \get_the_title( $post ),
- 'content' => \html_entity_decode(
- $content,
- \ENT_QUOTES,
- 'UTF-8'
- ),
- );
- }
-
- $attachments[] = $attachment;
- }
-
- return $attachments;
- }
-
- /**
- * Returns a user@domain type of identifier for the user.
- *
- * @return string The Webfinger-Identifier.
- */
- public function get_webfinger() {
- return $this->get_preferred_username() . '@' . \wp_parse_url( \home_url(), \PHP_URL_HOST );
- }
-
- public function get_canonical_url() {
- return $this->get_url();
- }
-
- public function get_streams() {
- return null;
- }
-
- public function get_tag() {
- return array();
- }
-
- public function get_indexable() {
- if ( \get_option( 'blog_public', 1 ) ) {
- return true;
- } else {
- return false;
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-actors.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-actors.php
deleted file mode 100644
index f5854a68..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-actors.php
+++ /dev/null
@@ -1,150 +0,0 @@
-[\w\-\.]+)',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/(users|actors)/(?P[\w\-\.]+)/remote-follow',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'remote_follow_get' ),
- 'permission_callback' => '__return_true',
- 'args' => array(
- 'resource' => array(
- 'required' => true,
- 'sanitize_callback' => 'sanitize_text_field',
- ),
- ),
- ),
- )
- );
- }
-
- /**
- * Handle GET request
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- // redirect to canonical URL if it is not an ActivityPub request
- if ( ! is_activitypub_request() ) {
- header( 'Location: ' . $user->get_canonical_url(), true, 301 );
- exit;
- }
-
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_users_pre' );
-
- $json = $user->to_array();
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
-
- /**
- * Endpoint for remote follow UI/Block
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return void|string The URL to the remote follow page
- */
- public static function remote_follow_get( WP_REST_Request $request ) {
- $resource = $request->get_param( 'resource' );
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $template = Webfinger::get_remote_follow_endpoint( $resource );
-
- if ( is_wp_error( $template ) ) {
- return $template;
- }
-
- $resource = $user->get_webfinger();
- $url = str_replace( '{uri}', $resource, $template );
-
- return new WP_REST_Response(
- array( 'url' => $url, 'template' => $template ),
- 200
- );
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'string',
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- return $params;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-collection.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-collection.php
deleted file mode 100644
index 296789fb..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-collection.php
+++ /dev/null
@@ -1,228 +0,0 @@
-[\w\-\.]+)/collections/tags',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'tags_get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/(users|actors)/(?P[\w\-\.]+)/collections/featured',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'featured_get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/collections/moderators',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'moderators_get' ),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * The Featured Tags endpoint
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return WP_REST_Response The response object.
- */
- public static function tags_get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $number = 4;
-
- $tags = \get_terms(
- array(
- 'taxonomy' => 'post_tag',
- 'orderby' => 'count',
- 'order' => 'DESC',
- 'number' => $number,
- )
- );
-
- if ( is_wp_error( $tags ) ) {
- $tags = array();
- }
-
- $response = array(
- '@context' => Base_Object::JSON_LD_CONTEXT,
- 'id' => get_rest_url_by_path( sprintf( 'actors/%d/collections/tags', $user->get__id() ) ),
- 'type' => 'Collection',
- 'totalItems' => is_countable( $tags ) ? count( $tags ) : 0,
- 'items' => array(),
- );
-
- foreach ( $tags as $tag ) {
- $response['items'][] = array(
- 'type' => 'Hashtag',
- 'href' => \esc_url( \get_tag_link( $tag ) ),
- 'name' => esc_hashtag( $tag->name ),
- );
- }
-
- $rest_response = new WP_REST_Response( $response, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * Featured posts endpoint
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return WP_REST_Response The response object.
- */
- public static function featured_get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $sticky_posts = \get_option( 'sticky_posts' );
-
- if ( ! is_single_user() && User_Collection::BLOG_USER_ID === $user->get__id() ) {
- $posts = array();
- } elseif ( $sticky_posts ) {
- $args = array(
- 'post__in' => $sticky_posts,
- 'ignore_sticky_posts' => 1,
- 'orderby' => 'date',
- 'order' => 'DESC',
- );
-
- if ( $user->get__id() > 0 ) {
- $args['author'] = $user->get__id();
- }
-
- $posts = \get_posts( $args );
- } else {
- $posts = array();
- }
-
- $response = array(
- '@context' => Base_Object::JSON_LD_CONTEXT,
- 'id' => get_rest_url_by_path( sprintf( 'actors/%d/collections/featured', $user_id ) ),
- 'type' => 'OrderedCollection',
- 'totalItems' => is_countable( $posts ) ? count( $posts ) : 0,
- 'orderedItems' => array(),
- );
-
- foreach ( $posts as $post ) {
- $transformer = Factory::get_transformer( $post );
-
- if ( \is_wp_error( $transformer ) ) {
- continue;
- }
-
- $response['orderedItems'][] = $transformer->to_object()->to_array( false );
- }
-
- $rest_response = new WP_REST_Response( $response, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * Moderators endpoint
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return WP_REST_Response The response object.
- */
- public static function moderators_get( $request ) {
- $response = array(
- '@context' => Actor::JSON_LD_CONTEXT,
- 'id' => get_rest_url_by_path( 'collections/moderators' ),
- 'type' => 'OrderedCollection',
- 'orderedItems' => array(),
- );
-
- $users = User_Collection::get_collection();
-
- foreach ( $users as $user ) {
- $response['orderedItems'][] = $user->get_url();
- }
-
- $rest_response = new WP_REST_Response( $response, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- return $params;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-comment.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-comment.php
deleted file mode 100644
index a31b5978..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-comment.php
+++ /dev/null
@@ -1,95 +0,0 @@
-\d+)/remote-reply',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'remote_reply_get' ),
- 'permission_callback' => '__return_true',
- 'args' => array(
- 'resource' => array(
- 'required' => true,
- 'sanitize_callback' => 'sanitize_text_field',
- ),
- ),
- ),
- )
- );
- }
-
- /**
- * Endpoint for remote follow UI/Block
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return void|string The URL to the remote follow page
- */
- public static function remote_reply_get( WP_REST_Request $request ) {
- $resource = $request->get_param( 'resource' );
- $comment_id = $request->get_param( 'comment_id' );
-
- $comment = get_comment( $comment_id );
-
- if ( ! $comment ) {
- return new WP_Error( 'activitypub_comment_not_found', __( 'Comment not found', 'activitypub' ), array( 'status' => 404 ) );
- }
-
- $is_local = Comment_Utils::is_local( $comment );
-
- if ( $is_local ) {
- return new WP_Error( 'activitypub_local_only_comment', __( 'Comment is local only', 'activitypub' ), array( 'status' => 403 ) );
- }
-
- $template = Webfinger_Utils::get_remote_follow_endpoint( $resource );
-
- if ( is_wp_error( $template ) ) {
- return $template;
- }
-
- $comment_meta = \get_comment_meta( $comment_id );
-
- if ( ! empty( $comment_meta['source_id'][0] ) ) {
- $resource = $comment_meta['source_id'][0];
- } elseif ( ! empty( $comment_meta['source_url'][0] ) ) {
- $resource = $comment_meta['source_url'][0];
- } else {
- $resource = Comment_Utils::generate_id( $comment );
- }
-
- $url = str_replace( '{uri}', $resource, $template );
-
- return new WP_REST_Response(
- array( 'url' => $url, 'template' => $template ),
- 200
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-followers.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-followers.php
deleted file mode 100644
index ca882cf3..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-followers.php
+++ /dev/null
@@ -1,150 +0,0 @@
-[\w\-\.]+)/followers',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Handle GET request
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $order = $request->get_param( 'order' );
- $per_page = (int) $request->get_param( 'per_page' );
- $page = (int) $request->get_param( 'page' );
- $context = $request->get_param( 'context' );
-
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_followers_pre' );
-
- $data = Follower_Collection::get_followers_with_count( $user_id, $per_page, $page, array( 'order' => ucwords( $order ) ) );
- $json = new stdClass();
-
- $json->{'@context'} = \Activitypub\get_context();
-
- $json->id = get_rest_url_by_path( sprintf( 'actors/%d/followers', $user->get__id() ) );
- $json->generator = 'http://wordpress.org/?v=' . get_masked_wp_version();
- $json->actor = $user->get_id();
- $json->type = 'OrderedCollectionPage';
-
- $json->totalItems = $data['total']; // phpcs:ignore
- $json->partOf = get_rest_url_by_path( sprintf( 'actors/%d/followers', $user->get__id() ) ); // phpcs:ignore
-
- $json->first = \add_query_arg( 'page', 1, $json->partOf ); // phpcs:ignore
- $json->last = \add_query_arg( 'page', \ceil ( $json->totalItems / $per_page ), $json->partOf ); // phpcs:ignore
-
- if ( $page && ( ( \ceil ( $json->totalItems / $per_page ) ) > $page ) ) { // phpcs:ignore
- $json->next = \add_query_arg( 'page', $page + 1, $json->partOf ); // phpcs:ignore
- }
-
- if ( $page && ( $page > 1 ) ) { // phpcs:ignore
- $json->prev = \add_query_arg( 'page', $page - 1, $json->partOf ); // phpcs:ignore
- }
-
- // phpcs:ignore
- $json->orderedItems = array_map(
- function ( $item ) use ( $context ) {
- if ( 'full' === $context ) {
- return $item->to_array( false );
- }
- return $item->get_url();
- },
- $data['followers']
- );
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- 'default' => 1,
- );
-
- $params['per_page'] = array(
- 'type' => 'integer',
- 'default' => 20,
- );
-
- $params['order'] = array(
- 'type' => 'string',
- 'default' => 'desc',
- 'enum' => array( 'asc', 'desc' ),
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- $params['context'] = array(
- 'type' => 'string',
- 'default' => 'simple',
- 'enum' => array( 'simple', 'full' ),
- );
-
- return $params;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-following.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-following.php
deleted file mode 100644
index 4e077279..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-following.php
+++ /dev/null
@@ -1,132 +0,0 @@
-[\w\-\.]+)/following',
- array(
- array(
- 'methods' => \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Handle GET request
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_following_pre' );
-
- $json = new \stdClass();
-
- $json->{'@context'} = \Activitypub\get_context();
-
- $json->id = get_rest_url_by_path( sprintf( 'actors/%d/following', $user->get__id() ) );
- $json->generator = 'http://wordpress.org/?v=' . get_masked_wp_version();
- $json->actor = $user->get_id();
- $json->type = 'OrderedCollectionPage';
-
- $json->partOf = get_rest_url_by_path( sprintf( 'actors/%d/following', $user->get__id() ) ); // phpcs:ignore
-
- $items = apply_filters( 'activitypub_rest_following', array(), $user ); // phpcs:ignore
-
- $json->totalItems = is_countable( $items ) ? count( $items ) : 0; // phpcs:ignore
- $json->orderedItems = $items; // phpcs:ignore
-
- $json->first = $json->partOf; // phpcs:ignore
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- return $params;
- }
-
- /**
- * Add the Blog Authors to the following list of the Blog Actor
- * if Blog not in single mode.
- *
- * @param array $array The array of following urls.
- * @param User $user The user object.
- *
- * @return array The array of following urls.
- */
- public static function default_following( $array, $user ) {
- if ( 0 !== $user->get__id() || is_single_user() ) {
- return $array;
- }
-
- $users = User_Collection::get_collection();
-
- foreach ( $users as $user ) {
- $array[] = $user->get_url();
- }
-
- return $array;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-inbox.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-inbox.php
deleted file mode 100644
index 161fcf19..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-inbox.php
+++ /dev/null
@@ -1,328 +0,0 @@
- WP_REST_Server::CREATABLE,
- 'callback' => array( self::class, 'shared_inbox_post' ),
- 'args' => self::shared_inbox_post_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/(users|actors)/(?P[\w\-\.]+)/inbox',
- array(
- array(
- 'methods' => WP_REST_Server::CREATABLE,
- 'callback' => array( self::class, 'user_inbox_post' ),
- 'args' => self::user_inbox_post_parameters(),
- 'permission_callback' => '__return_true',
- ),
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'user_inbox_get' ),
- 'args' => self::user_inbox_get_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Renders the user-inbox
- *
- * @param WP_REST_Request $request
- * @return WP_REST_Response
- */
- public static function user_inbox_get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $page = $request->get_param( 'page', 0 );
-
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_inbox_pre' );
-
- $json = new \stdClass();
-
- $json->{'@context'} = get_context();
- $json->id = get_rest_url_by_path( sprintf( 'actors/%d/inbox', $user->get__id() ) );
- $json->generator = 'http://wordpress.org/?v=' . get_masked_wp_version();
- $json->type = 'OrderedCollectionPage';
- $json->partOf = get_rest_url_by_path( sprintf( 'actors/%d/inbox', $user->get__id() ) ); // phpcs:ignore
- $json->totalItems = 0; // phpcs:ignore
- $json->orderedItems = array(); // phpcs:ignore
- $json->first = $json->partOf; // phpcs:ignore
-
- // filter output
- $json = \apply_filters( 'activitypub_rest_inbox_array', $json );
-
- /*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
- \do_action( 'activitypub_inbox_post' );
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * Handles user-inbox requests
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function user_inbox_post( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $data = $request->get_json_params();
- $activity = Activity::init_from_array( $data );
- $type = $request->get_param( 'type' );
- $type = \strtolower( $type );
-
- \do_action( 'activitypub_inbox', $data, $user->get__id(), $type, $activity );
- \do_action( "activitypub_inbox_{$type}", $data, $user->get__id(), $activity );
-
- $rest_response = new WP_REST_Response( array(), 202 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The shared inbox
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function shared_inbox_post( $request ) {
- $data = $request->get_json_params();
- $activity = Activity::init_from_array( $data );
- $type = $request->get_param( 'type' );
- $type = \strtolower( $type );
-
- \do_action( 'activitypub_inbox', $data, null, $type, $activity );
- \do_action( "activitypub_inbox_{$type}", $data, null, $activity );
-
- $rest_response = new WP_REST_Response( array(), 202 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function user_inbox_get_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- return $params;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function user_inbox_post_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- $params['id'] = array(
- 'required' => true,
- 'sanitize_callback' => 'esc_url_raw',
- );
-
- $params['actor'] = array(
- 'required' => true,
- 'sanitize_callback' => function ( $param, $request, $key ) {
- return object_to_uri( $param );
- },
- );
-
- $params['type'] = array(
- 'required' => true,
- //'type' => 'enum',
- //'enum' => array( 'Create' ),
- //'sanitize_callback' => function ( $param, $request, $key ) {
- // return \strtolower( $param );
- //},
- );
-
- $params['object'] = array(
- 'required' => true,
- );
-
- return $params;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function shared_inbox_post_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- );
-
- $params['id'] = array(
- 'required' => true,
- 'type' => 'string',
- 'sanitize_callback' => 'esc_url_raw',
- );
-
- $params['actor'] = array(
- 'required' => true,
- //'type' => array( 'object', 'string' ),
- 'sanitize_callback' => function ( $param, $request, $key ) {
- return object_to_uri( $param );
- },
- );
-
- $params['type'] = array(
- 'required' => true,
- //'type' => 'enum',
- //'enum' => array( 'Create' ),
- //'sanitize_callback' => function ( $param, $request, $key ) {
- // return \strtolower( $param );
- //},
- );
-
- $params['object'] = array(
- 'required' => true,
- //'type' => 'object',
- );
-
- $params['to'] = array(
- 'required' => false,
- 'sanitize_callback' => function ( $param, $request, $key ) {
- if ( \is_string( $param ) ) {
- $param = array( $param );
- }
-
- return $param;
- },
- );
-
- $params['cc'] = array(
- 'sanitize_callback' => function ( $param, $request, $key ) {
- if ( \is_string( $param ) ) {
- $param = array( $param );
- }
-
- return $param;
- },
- );
-
- $params['bcc'] = array(
- 'sanitize_callback' => function ( $param, $request, $key ) {
- if ( \is_string( $param ) ) {
- $param = array( $param );
- }
-
- return $param;
- },
- );
-
- return $params;
- }
-
- /**
- * Get local user recipients
- *
- * @param array $data
- *
- * @return array The list of local users
- */
- public static function get_recipients( $data ) {
- $recipients = extract_recipients_from_activity( $data );
- $users = array();
-
- foreach ( $recipients as $recipient ) {
- $user_id = url_to_authorid( $recipient );
-
- $user = get_user_by( 'id', $user_id );
-
- if ( $user ) {
- $users[] = $user;
- }
- }
-
- return $users;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-nodeinfo.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-nodeinfo.php
deleted file mode 100644
index 02b89b6c..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-nodeinfo.php
+++ /dev/null
@@ -1,187 +0,0 @@
- \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'discovery' ),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/nodeinfo',
- array(
- array(
- 'methods' => \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'nodeinfo' ),
- 'permission_callback' => '__return_true',
- ),
- )
- );
-
- \register_rest_route(
- ACTIVITYPUB_REST_NAMESPACE,
- '/nodeinfo2',
- array(
- array(
- 'methods' => \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'nodeinfo2' ),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Render NodeInfo file
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function nodeinfo( $request ) {
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_nodeinfo_pre' );
-
- $nodeinfo = array();
-
- $nodeinfo['version'] = '2.0';
- $nodeinfo['software'] = array(
- 'name' => 'wordpress',
- 'version' => get_masked_wp_version(),
- );
-
- $posts = \wp_count_posts();
- $comments = \wp_count_comments();
-
- $nodeinfo['usage'] = array(
- 'users' => array(
- 'total' => get_total_users(),
- 'activeMonth' => get_active_users( '1 month ago' ),
- 'activeHalfyear' => get_active_users( '6 month ago' ),
- ),
- 'localPosts' => (int) $posts->publish,
- 'localComments' => (int) $comments->approved,
- );
-
- $nodeinfo['openRegistrations'] = false;
- $nodeinfo['protocols'] = array( 'activitypub' );
-
- $nodeinfo['services'] = array(
- 'inbound' => array(),
- 'outbound' => array(),
- );
-
- $nodeinfo['metadata'] = array(
- 'nodeName' => \get_bloginfo( 'name' ),
- 'nodeDescription' => \get_bloginfo( 'description' ),
- 'nodeIcon' => \get_site_icon_url(),
- );
-
- return new WP_REST_Response( $nodeinfo, 200 );
- }
-
- /**
- * Render NodeInfo file
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function nodeinfo2( $request ) {
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_nodeinfo2_pre' );
-
- $nodeinfo = array();
-
- $nodeinfo['version'] = '2.0';
- $nodeinfo['server'] = array(
- 'baseUrl' => \home_url( '/' ),
- 'name' => \get_bloginfo( 'name' ),
- 'software' => 'wordpress',
- 'version' => get_masked_wp_version(),
- );
-
- $posts = \wp_count_posts();
- $comments = \wp_count_comments();
-
- $nodeinfo['usage'] = array(
- 'users' => array(
- 'total' => get_total_users(),
- 'activeMonth' => get_active_users( 1 ),
- 'activeHalfyear' => get_active_users( 6 ),
- ),
- 'localPosts' => (int) $posts->publish,
- 'localComments' => (int) $comments->approved,
- );
-
- $nodeinfo['openRegistrations'] = false;
- $nodeinfo['protocols'] = array( 'activitypub' );
-
- $nodeinfo['services'] = array(
- 'inbound' => array(),
- 'outbound' => array(),
- );
-
- return new WP_REST_Response( $nodeinfo, 200 );
- }
-
- /**
- * Render NodeInfo discovery file
- *
- * @param WP_REST_Request $request
- *
- * @return WP_REST_Response
- */
- public static function discovery( $request ) {
- $discovery = array();
- $discovery['links'] = array(
- array(
- 'rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0',
- 'href' => get_rest_url_by_path( 'nodeinfo' ),
- ),
- array(
- 'rel' => 'https://www.w3.org/ns/activitystreams#Application',
- 'href' => get_rest_url_by_path( 'application' ),
- ),
- );
-
- return new \WP_REST_Response( $discovery, 200 );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-outbox.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-outbox.php
deleted file mode 100644
index e0670301..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-outbox.php
+++ /dev/null
@@ -1,162 +0,0 @@
-[\w\-\.]+)/outbox',
- array(
- array(
- 'methods' => WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'user_outbox_get' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Renders the user-outbox
- *
- * @param WP_REST_Request $request
- * @return WP_REST_Response
- */
- public static function user_outbox_get( $request ) {
- $user_id = $request->get_param( 'user_id' );
- $user = User_Collection::get_by_various( $user_id );
-
- if ( is_wp_error( $user ) ) {
- return $user;
- }
-
- $post_types = \get_option( 'activitypub_support_post_types', array( 'post' ) );
-
- $page = $request->get_param( 'page', 1 );
-
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_outbox_pre' );
-
- $json = new stdClass();
-
- $json->{'@context'} = get_context();
- $json->id = get_rest_url_by_path( sprintf( 'actors/%d/outbox', $user_id ) );
- $json->generator = 'http://wordpress.org/?v=' . get_masked_wp_version();
- $json->actor = $user->get_id();
- $json->type = 'OrderedCollectionPage';
- $json->partOf = get_rest_url_by_path( sprintf( 'actors/%d/outbox', $user_id ) ); // phpcs:ignore
- $json->totalItems = 0; // phpcs:ignore
-
- if ( $user_id > 0 ) {
- $count_posts = \count_user_posts( $user_id, $post_types, true );
- $json->totalItems = \intval( $count_posts ); // phpcs:ignore
- } else {
- foreach ( $post_types as $post_type ) {
- $count_posts = \wp_count_posts( $post_type );
- $json->totalItems += \intval( $count_posts->publish ); // phpcs:ignore
- }
- }
-
- $json->first = \add_query_arg( 'page', 1, $json->partOf ); // phpcs:ignore
- $json->last = \add_query_arg( 'page', \ceil ( $json->totalItems / 10 ), $json->partOf ); // phpcs:ignore
-
- if ( $page && ( ( \ceil ( $json->totalItems / 10 ) ) > $page ) ) { // phpcs:ignore
- $json->next = \add_query_arg( 'page', $page + 1, $json->partOf ); // phpcs:ignore
- }
-
- if ( $page && ( $page > 1 ) ) { // phpcs:ignore
- $json->prev = \add_query_arg( 'page', $page - 1, $json->partOf ); // phpcs:ignore
- }
-
- if ( $page ) {
- $posts = \get_posts(
- array(
- 'posts_per_page' => 10,
- 'author' => $user_id > 0 ? $user_id : null,
- 'paged' => $page,
- 'post_type' => $post_types,
- )
- );
-
- foreach ( $posts as $post ) {
- $transformer = Factory::get_transformer( $post );
-
- if ( \is_wp_error( $transformer ) ) {
- continue;
- }
-
- $post = $transformer->to_object();
- $activity = new Activity();
- $activity->set_type( 'Create' );
- $activity->set_object( $post );
- $json->orderedItems[] = $activity->to_array( false ); // phpcs:ignore
- }
- }
-
- // filter output
- $json = \apply_filters( 'activitypub_rest_outbox_array', $json );
-
- /*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
- \do_action( 'activitypub_outbox_post' );
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['page'] = array(
- 'type' => 'integer',
- 'default' => 1,
- );
-
- $params['user_id'] = array(
- 'required' => true,
- 'type' => 'string',
- );
-
- return $params;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-server.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-server.php
deleted file mode 100644
index d03f6c17..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-server.php
+++ /dev/null
@@ -1,127 +0,0 @@
- \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'application_actor' ),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * Render Application actor profile
- *
- * @return WP_REST_Response The JSON profile of the Application Actor.
- */
- public static function application_actor() {
- $user = new Application();
-
- $json = $user->to_array();
-
- $rest_response = new WP_REST_Response( $json, 200 );
- $rest_response->header( 'Content-Type', 'application/activity+json; charset=' . get_option( 'blog_charset' ) );
-
- return $rest_response;
- }
-
- /**
- * Callback function to authorize each api requests
- *
- * @see WP_REST_Request
- *
- * @see https://www.w3.org/wiki/SocialCG/ActivityPub/Primer/Authentication_Authorization#Authorized_fetch
- * @see https://swicg.github.io/activitypub-http-signature/#authorized-fetch
- *
- * @param WP_REST_Response|WP_HTTP_Response|WP_Error|mixed $response Result to send to the client.
- * Usually a WP_REST_Response or WP_Error.
- * @param array $handler Route handler used for the request.
- * @param WP_REST_Request $request Request used to generate the response.
- *
- * @return mixed|WP_Error The response, error, or modified response.
- */
- public static function authorize_activitypub_requests( $response, $handler, $request ) {
- if ( 'HEAD' === $request->get_method() ) {
- return $response;
- }
-
- $route = $request->get_route();
-
- // check if it is an activitypub request and exclude webfinger and nodeinfo endpoints
- if (
- ! \str_starts_with( $route, '/' . ACTIVITYPUB_REST_NAMESPACE ) ||
- \str_starts_with( $route, '/' . \trailingslashit( ACTIVITYPUB_REST_NAMESPACE ) . 'webfinger' ) ||
- \str_starts_with( $route, '/' . \trailingslashit( ACTIVITYPUB_REST_NAMESPACE ) . 'nodeinfo' ) ||
- \str_starts_with( $route, '/' . \trailingslashit( ACTIVITYPUB_REST_NAMESPACE ) . 'application' )
- ) {
- return $response;
- }
-
- /**
- * Filter to defer signature verification
- *
- * Skip signature verification for debugging purposes or to reduce load for
- * certain Activity-Types, like "Delete".
- *
- * @param bool $defer Whether to defer signature verification.
- * @param WP_REST_Request $request The request used to generate the response.
- *
- * @return bool Whether to defer signature verification.
- */
- $defer = \apply_filters( 'activitypub_defer_signature_verification', false, $request );
-
- if ( $defer ) {
- return $response;
- }
-
- if (
- // POST-Requests are always signed
- 'GET' !== $request->get_method() ||
- // GET-Requests only require a signature in secure mode
- ( 'GET' === $request->get_method() && ACTIVITYPUB_AUTHORIZED_FETCH )
- ) {
- $verified_request = Signature::verify_http_signature( $request );
- if ( \is_wp_error( $verified_request ) ) {
- return new WP_Error(
- 'activitypub_signature_verification',
- $verified_request->get_error_message(),
- array( 'status' => 401 )
- );
- }
- }
-
- return $response;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-webfinger.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-webfinger.php
deleted file mode 100644
index 48224e18..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/rest/class-webfinger.php
+++ /dev/null
@@ -1,145 +0,0 @@
- \WP_REST_Server::READABLE,
- 'callback' => array( self::class, 'webfinger' ),
- 'args' => self::request_parameters(),
- 'permission_callback' => '__return_true',
- ),
- )
- );
- }
-
- /**
- * WebFinger endpoint.
- *
- * @param WP_REST_Request $request The request object.
- *
- * @return WP_REST_Response The response object.
- */
- public static function webfinger( $request ) {
- /*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
- \do_action( 'activitypub_rest_webfinger_pre' );
-
- $code = 200;
-
- $resource = $request->get_param( 'resource' );
- $response = self::get_profile( $resource );
-
- if ( \is_wp_error( $response ) ) {
- $code = 400;
- $error_data = $response->get_error_data();
-
- if ( isset( $error_data['status'] ) ) {
- $code = $error_data['status'];
- }
- }
-
- return new WP_REST_Response(
- $response,
- $code,
- array(
- 'Access-Control-Allow-Origin' => '*',
- 'Content-Type' => 'application/jrd+json; charset=' . get_option( 'blog_charset' ),
- )
- );
- }
-
- /**
- * The supported parameters
- *
- * @return array list of parameters
- */
- public static function request_parameters() {
- $params = array();
-
- $params['resource'] = array(
- 'required' => true,
- 'type' => 'string',
- 'pattern' => '^(acct:)|^(https?://)(.+)$',
- );
-
- return $params;
- }
-
- /**
- * Get the WebFinger profile.
- *
- * @param string $resource the WebFinger resource.
- *
- * @return array the WebFinger profile.
- */
- public static function get_profile( $resource ) {
- $user = User_Collection::get_by_resource( $resource );
-
- if ( \is_wp_error( $user ) ) {
- return $user;
- }
-
- $aliases = array(
- $user->get_url(),
- $user->get_alternate_url(),
- );
-
- $aliases = array_unique( $aliases );
-
- $profile = array(
- 'subject' => sprintf( 'acct:%s', $user->get_webfinger() ),
- 'aliases' => array_values( array_unique( $aliases ) ),
- 'links' => array(
- array(
- 'rel' => 'self',
- 'type' => 'application/activity+json',
- 'href' => $user->get_url(),
- ),
- array(
- 'rel' => 'http://webfinger.net/rel/profile-page',
- 'type' => 'text/html',
- 'href' => $user->get_url(),
- ),
- ),
- );
-
- if ( 'Person' !== $user->get_type() ) {
- $profile['links'][0]['properties'] = array(
- 'https://www.w3.org/ns/activitystreams#type' => $user->get_type(),
- );
- }
-
- return $profile;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/table/class-followers.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/table/class-followers.php
deleted file mode 100644
index df9747bd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/table/class-followers.php
+++ /dev/null
@@ -1,178 +0,0 @@
-id === 'settings_page_activitypub' ) {
- $this->user_id = Users::BLOG_USER_ID;
- } else {
- $this->user_id = \get_current_user_id();
- }
-
- parent::__construct(
- array(
- 'singular' => \__( 'Follower', 'activitypub' ),
- 'plural' => \__( 'Followers', 'activitypub' ),
- 'ajax' => false,
- )
- );
- }
-
- public function get_columns() {
- return array(
- 'cb' => ' ',
- 'avatar' => \__( 'Avatar', 'activitypub' ),
- 'post_title' => \__( 'Name', 'activitypub' ),
- 'username' => \__( 'Username', 'activitypub' ),
- 'url' => \__( 'URL', 'activitypub' ),
- 'published' => \__( 'Followed', 'activitypub' ),
- 'modified' => \__( 'Last updated', 'activitypub' ),
- );
- }
-
- public function get_sortable_columns() {
- $sortable_columns = array(
- 'post_title' => array( 'post_title', true ),
- 'modified' => array( 'modified', false ),
- 'published' => array( 'published', false ),
- );
-
- return $sortable_columns;
- }
-
- public function prepare_items() {
- $columns = $this->get_columns();
- $hidden = array();
-
- $this->process_action();
- $this->_column_headers = array( $columns, $hidden, $this->get_sortable_columns() );
-
- $page_num = $this->get_pagenum();
- $per_page = 20;
-
- $args = array();
-
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( isset( $_GET['orderby'] ) ) {
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $args['orderby'] = sanitize_text_field( wp_unslash( $_GET['orderby'] ) );
- }
-
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( isset( $_GET['order'] ) ) {
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $args['order'] = sanitize_text_field( wp_unslash( $_GET['order'] ) );
- }
-
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- if ( isset( $_GET['s'] ) && isset( $_REQUEST['_wpnonce'] ) ) {
- $nonce = sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) );
- if ( wp_verify_nonce( $nonce, 'bulk-' . $this->_args['plural'] ) ) {
- // phpcs:ignore WordPress.Security.NonceVerification.Recommended
- $args['s'] = sanitize_text_field( wp_unslash( $_GET['s'] ) );
- }
- }
-
- $followers_with_count = FollowerCollection::get_followers_with_count( $this->user_id, $per_page, $page_num, $args );
- $followers = $followers_with_count['followers'];
- $counter = $followers_with_count['total'];
-
- $this->items = array();
- $this->set_pagination_args(
- array(
- 'total_items' => $counter,
- 'total_pages' => ceil( $counter / $per_page ),
- 'per_page' => $per_page,
- )
- );
-
- foreach ( $followers as $follower ) {
- $item = array(
- 'icon' => esc_attr( $follower->get_icon_url() ),
- 'post_title' => esc_attr( $follower->get_name() ),
- 'username' => esc_attr( $follower->get_preferred_username() ),
- 'url' => esc_attr( object_to_uri( $follower->get_url() ) ),
- 'identifier' => esc_attr( $follower->get_id() ),
- 'published' => esc_attr( $follower->get_published() ),
- 'modified' => esc_attr( $follower->get_updated() ),
- );
-
- $this->items[] = $item;
- }
- }
-
- public function get_bulk_actions() {
- return array(
- 'delete' => __( 'Delete', 'activitypub' ),
- );
- }
-
- public function column_default( $item, $column_name ) {
- if ( ! array_key_exists( $column_name, $item ) ) {
- return __( 'None', 'activitypub' );
- }
- return $item[ $column_name ];
- }
-
- public function column_avatar( $item ) {
- return sprintf(
- ' ',
- $item['icon']
- );
- }
-
- public function column_url( $item ) {
- return sprintf(
- '%s ',
- $item['url'],
- $item['url']
- );
- }
-
- public function column_cb( $item ) {
- return sprintf( ' ', esc_attr( $item['identifier'] ) );
- }
-
- public function process_action() {
- if ( ! isset( $_REQUEST['followers'] ) || ! isset( $_REQUEST['_wpnonce'] ) ) {
- return false;
- }
- $nonce = sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) );
- if ( ! wp_verify_nonce( $nonce, 'bulk-' . $this->_args['plural'] ) ) {
- return false;
- }
-
- if ( ! current_user_can( 'edit_user', $this->user_id ) ) {
- return false;
- }
-
- $followers = $_REQUEST['followers']; // phpcs:ignore
-
- switch ( $this->current_action() ) {
- case 'delete':
- if ( ! is_array( $followers ) ) {
- $followers = array( $followers );
- }
- foreach ( $followers as $follower ) {
- FollowerCollection::remove_follower( $this->user_id, $follower );
- }
- break;
- }
- }
-
- public function get_user_count() {
- return FollowerCollection::count_followers( $this->user_id );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-attachment.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-attachment.php
deleted file mode 100644
index 2fc46350..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-attachment.php
+++ /dev/null
@@ -1,61 +0,0 @@
-wp_object->ID );
- $media_type = preg_replace( '/(\/[a-zA-Z]+)/i', '', $mime_type );
-
- switch ( $media_type ) {
- case 'audio':
- case 'video':
- $type = 'Document';
- break;
- case 'image':
- $type = 'Image';
- break;
- }
-
- $attachment = array(
- 'type' => $type,
- 'url' => wp_get_attachment_url( $this->wp_object->ID ),
- 'mediaType' => $mime_type,
- );
-
- $alt = \get_post_meta( $this->wp_object->ID, '_wp_attachment_image_alt', true );
- if ( $alt ) {
- $attachment['name'] = $alt;
- }
-
- return $attachment;
- }
-
- /**
- * Returns the ActivityStreams 2.0 Object-Type for a Post based on the
- * settings and the Post-Type.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#activity-types
- *
- * @return string The Object-Type.
- */
- protected function get_type() {
- return 'Note';
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-base.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-base.php
deleted file mode 100644
index 5041fa96..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-base.php
+++ /dev/null
@@ -1,124 +0,0 @@
-wp_object = $wp_object;
- }
-
- /**
- * Transform all properties with available get(ter) functions.
- *
- * @param Base_Object|object $object
- *
- * @return Base_Object|object $object
- */
- protected function transform_object_properties( $activitypub_object ) {
- $vars = $activitypub_object->get_object_var_keys();
-
- foreach ( $vars as $var ) {
- $getter = 'get_' . $var;
-
- if ( method_exists( $this, $getter ) ) {
- $value = call_user_func( array( $this, $getter ) );
-
- if ( isset( $value ) ) {
- $setter = 'set_' . $var;
-
- call_user_func( array( $activitypub_object, $setter ), $value );
- }
- }
- }
- return $activitypub_object;
- }
-
- /**
- * Transform the WordPress Object into an ActivityPub Object.
- *
- * @return Activitypub\Activity\Base_Object
- */
- public function to_object() {
- $activitypub_object = new Base_Object();
- $activitypub_object = $this->transform_object_properties( $activitypub_object );
-
- return $activitypub_object;
- }
-
- /**
- * Transforms the ActivityPub Object to an Activity
- *
- * @param string $type The Activity-Type.
- *
- * @return \Activitypub\Activity\Activity The Activity.
- */
- public function to_activity( $type ) {
- $object = $this->to_object();
-
- $activity = new Activity();
- $activity->set_type( $type );
-
- // Pre-fill the Activity with data (for example cc and to).
- $activity->set_object( $object );
-
- // Use simple Object (only ID-URI) for Like and Announce
- if ( in_array( $type, array( 'Like', 'Announce' ), true ) ) {
- $activity->set_object( $object->get_id() );
- }
-
- return $activity;
- }
-
- /**
- * Returns the ID of the WordPress Object.
- *
- * @return int The ID of the WordPress Object
- */
- abstract public function get_wp_user_id();
-
- /**
- * Change the User-ID of the WordPress Post.
- *
- * @return int The User-ID of the WordPress Post
- */
- abstract public function change_wp_user_id( $user_id );
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-comment.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-comment.php
deleted file mode 100644
index 72cf11f6..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-comment.php
+++ /dev/null
@@ -1,292 +0,0 @@
-wp_object->user_id;
- }
-
- /**
- * Change the User-ID of the WordPress Comment.
- *
- * @return int The User-ID of the WordPress Comment
- */
- public function change_wp_user_id( $user_id ) {
- $this->wp_object->user_id = $user_id;
- }
-
- /**
- * Transforms the WP_Comment object to an ActivityPub Object
- *
- * @see \Activitypub\Activity\Base_Object
- *
- * @return \Activitypub\Activity\Base_Object The ActivityPub Object
- */
- public function to_object() {
- $comment = $this->wp_object;
- $object = parent::to_object();
-
- $object->set_url( $this->get_id() );
- $object->set_type( 'Note' );
-
- $published = \strtotime( $comment->comment_date_gmt );
- $object->set_published( \gmdate( 'Y-m-d\TH:i:s\Z', $published ) );
-
- $updated = \get_comment_meta( $comment->comment_ID, 'activitypub_comment_modified', true );
- if ( $updated > $published ) {
- $object->set_updated( \gmdate( 'Y-m-d\TH:i:s\Z', $updated ) );
- }
-
- $object->set_content_map(
- array(
- $this->get_locale() => $this->get_content(),
- )
- );
- $path = sprintf( 'actors/%d/followers', intval( $comment->comment_author ) );
-
- $object->set_to(
- array(
- 'https://www.w3.org/ns/activitystreams#Public',
- get_rest_url_by_path( $path ),
- )
- );
-
- return $object;
- }
-
- /**
- * Returns the User-URL of the Author of the Post.
- *
- * If `single_user` mode is enabled, the URL of the Blog-User is returned.
- *
- * @return string The User-URL.
- */
- protected function get_attributed_to() {
- if ( is_single_user() ) {
- $user = new Blog();
- return $user->get_url();
- }
-
- return Users::get_by_id( $this->wp_object->user_id )->get_url();
- }
-
- /**
- * Returns the content for the ActivityPub Item.
- *
- * The content will be generated based on the user settings.
- *
- * @return string The content.
- */
- protected function get_content() {
- // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
- $comment = $this->wp_object;
- $content = $comment->comment_content;
-
- $content = \apply_filters( 'comment_text', $content, $comment, array() );
- $content = \preg_replace( '/[\n\r\t]/', '', $content );
- $content = \trim( $content );
- $content = \apply_filters( 'activitypub_the_content', $content, $comment );
-
- return $content;
- }
-
- /**
- * Returns the in-reply-to for the ActivityPub Item.
- *
- * @return int The URL of the in-reply-to.
- */
- protected function get_in_reply_to() {
- $comment = $this->wp_object;
-
- $parent_comment = null;
- $in_reply_to = null;
-
- if ( $comment->comment_parent ) {
- $parent_comment = \get_comment( $comment->comment_parent );
- }
-
- if ( $parent_comment ) {
- $comment_meta = \get_comment_meta( $parent_comment->comment_ID );
-
- if ( ! empty( $comment_meta['source_id'][0] ) ) {
- $in_reply_to = $comment_meta['source_id'][0];
- } elseif ( ! empty( $comment_meta['source_url'][0] ) ) {
- $in_reply_to = $comment_meta['source_url'][0];
- } elseif ( ! empty( $parent_comment->user_id ) ) {
- $in_reply_to = Comment_Utils::generate_id( $parent_comment );
- }
- } else {
- $in_reply_to = \get_permalink( $comment->comment_post_ID );
- }
-
- return $in_reply_to;
- }
-
- /**
- * Returns the ID of the ActivityPub Object.
- *
- * @see https://www.w3.org/TR/activitypub/#obj-id
- * @see https://github.com/tootsuite/mastodon/issues/13879
- *
- * @return string ActivityPub URI for comment
- */
- protected function get_id() {
- $comment = $this->wp_object;
- return Comment_Utils::generate_id( $comment );
- }
-
- /**
- * Returns a list of Mentions, used in the Comment.
- *
- * @see https://docs.joinmastodon.org/spec/activitypub/#Mention
- *
- * @return array The list of Mentions.
- */
- protected function get_cc() {
- $cc = array();
-
- $mentions = $this->get_mentions();
- if ( $mentions ) {
- foreach ( $mentions as $url ) {
- $cc[] = $url;
- }
- }
-
- return array_unique( $cc );
- }
-
- /**
- * Returns a list of Tags, used in the Comment.
- *
- * This includes Hash-Tags and Mentions.
- *
- * @return array The list of Tags.
- */
- protected function get_tag() {
- $tags = array();
-
- $mentions = $this->get_mentions();
- if ( $mentions ) {
- foreach ( $mentions as $mention => $url ) {
- $tag = array(
- 'type' => 'Mention',
- 'href' => \esc_url( $url ),
- 'name' => \esc_html( $mention ),
- );
- $tags[] = $tag;
- }
- }
-
- return \array_unique( $tags, SORT_REGULAR );
- }
-
- /**
- * Helper function to get the @-Mentions from the comment content.
- *
- * @return array The list of @-Mentions.
- */
- protected function get_mentions() {
- \add_filter( 'activitypub_extract_mentions', array( $this, 'extract_reply_context' ) );
-
- return apply_filters( 'activitypub_extract_mentions', array(), $this->wp_object->comment_content, $this->wp_object );
- }
-
- /**
- * Gets the ancestors of the comment, but only the ones that are ActivityPub comments.
- *
- * @return array The list of ancestors.
- */
- protected function get_comment_ancestors() {
- $ancestors = get_comment_ancestors( $this->wp_object );
-
- // Now that we have the full tree of ancestors, only return the ones received from the fediverse
- return array_filter(
- $ancestors,
- function ( $comment_id ) {
- return \get_comment_meta( $comment_id, 'protocol', true ) === 'activitypub';
- }
- );
- }
-
- /**
- * Collect all other Users that participated in this comment-thread
- * to send them a notification about the new reply.
- *
- * @param array $mentions The already mentioned ActivityPub users
- *
- * @return array The list of all Repliers.
- */
- public function extract_reply_context( $mentions ) {
- // Check if `$this->wp_object` is a WP_Comment
- if ( 'WP_Comment' !== get_class( $this->wp_object ) ) {
- return $mentions;
- }
-
- $ancestors = $this->get_comment_ancestors();
- if ( ! $ancestors ) {
- return $mentions;
- }
-
- foreach ( $ancestors as $comment_id ) {
- $comment = \get_comment( $comment_id );
- if ( $comment && ! empty( $comment->comment_author_url ) ) {
- $acct = Webfinger::uri_to_acct( $comment->comment_author_url );
- if ( $acct && ! is_wp_error( $acct ) ) {
- $acct = str_replace( 'acct:', '@', $acct );
- $mentions[ $acct ] = $comment->comment_author_url;
- }
- }
- }
-
- return $mentions;
- }
-
- /**
- * Returns the locale of the post.
- *
- * @return string The locale of the post.
- */
- public function get_locale() {
- $comment_id = $this->wp_object->ID;
- $lang = \strtolower( \strtok( \get_locale(), '_-' ) );
-
- /**
- * Filter the locale of the comment.
- *
- * @param string $lang The locale of the comment.
- * @param int $comment_id The comment ID.
- * @param WP_Post $post The comment object.
- *
- * @return string The filtered locale of the comment.
- */
- return apply_filters( 'activitypub_comment_locale', $lang, $comment_id, $this->wp_object );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-factory.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-factory.php
deleted file mode 100644
index b21de7f9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-factory.php
+++ /dev/null
@@ -1,80 +0,0 @@
-post_type === 'event' ) {
- * return new My_Event_Transformer( $object );
- * }
- * return $transformer;
- * }, 10, 3 );
- *
- * @param Base $transformer The transformer to use.
- * @param mixed $object The object to transform.
- * @param string $object_class The class of the object to transform.
- *
- * @return mixed The transformer to use.
- */
- $transformer = \apply_filters( 'activitypub_transformer', null, $object, $class );
-
- if ( $transformer ) {
- if (
- ! \is_object( $transformer ) ||
- ! $transformer instanceof Base
- ) {
- return new WP_Error( 'invalid_transformer', __( 'Invalid transformer', 'activitypub' ) );
- }
-
- return $transformer;
- }
-
- // use default transformer
- switch ( $class ) {
- case 'WP_Post':
- if ( 'attachment' === $object->post_type ) {
- return new Attachment( $object );
- }
- return new Post( $object );
- case 'WP_Comment':
- return new Comment( $object );
- default:
- return null;
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-post.php b/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-post.php
deleted file mode 100644
index 82f69dcc..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/includes/transformer/class-post.php
+++ /dev/null
@@ -1,881 +0,0 @@
-wp_object->post_author;
- }
-
- /**
- * Change the User-ID of the WordPress Post.
- *
- * @return int The User-ID of the WordPress Post
- */
- public function change_wp_user_id( $user_id ) {
- $this->wp_object->post_author = $user_id;
-
- return $this;
- }
-
- /**
- * Transforms the WP_Post object to an ActivityPub Object
- *
- * @see \Activitypub\Activity\Base_Object
- *
- * @return \Activitypub\Activity\Base_Object The ActivityPub Object
- */
- public function to_object() {
- $post = $this->wp_object;
- $object = parent::to_object();
-
- $published = \strtotime( $post->post_date_gmt );
-
- $object->set_published( \gmdate( 'Y-m-d\TH:i:s\Z', $published ) );
-
- $updated = \strtotime( $post->post_modified_gmt );
-
- if ( $updated > $published ) {
- $object->set_updated( \gmdate( 'Y-m-d\TH:i:s\Z', $updated ) );
- }
-
- $object->set_content_map(
- array(
- $this->get_locale() => $this->get_content(),
- )
- );
- $path = sprintf( 'actors/%d/followers', intval( $post->post_author ) );
-
- $object->set_to(
- array(
- 'https://www.w3.org/ns/activitystreams#Public',
- get_rest_url_by_path( $path ),
- )
- );
-
- return $object;
- }
-
- /**
- * Returns the ID of the Post.
- *
- * @return string The Posts ID.
- */
- public function get_id() {
- return $this->get_url();
- }
-
- /**
- * Returns the URL of the Post.
- *
- * @return string The Posts URL.
- */
- public function get_url() {
- $post = $this->wp_object;
-
- if ( 'trash' === get_post_status( $post ) ) {
- $permalink = \get_post_meta( $post->ID, 'activitypub_canonical_url', true );
- } elseif ( 'draft' === get_post_status( $post ) && get_sample_permalink( $post->ID ) ) {
- $sample = get_sample_permalink( $post->ID );
- $permalink = str_replace( array( '%pagename%', '%postname%' ), $sample[1], $sample[0] );
- } else {
- $permalink = \get_permalink( $post );
- }
-
- return \esc_url( $permalink );
- }
-
- /**
- * Returns the User-URL of the Author of the Post.
- *
- * If `single_user` mode is enabled, the URL of the Blog-User is returned.
- *
- * @return string The User-URL.
- */
- protected function get_attributed_to() {
- $blog_user = new Blog();
-
- if ( is_single_user() ) {
- return $blog_user->get_url();
- }
-
- $user = Users::get_by_id( $this->wp_object->post_author );
-
- if ( $user && ! is_wp_error( $user ) ) {
- return $user->get_url();
- }
-
- return $blog_user->get_url();
- }
-
- /**
- * Generates all Media Attachments for a Post.
- *
- * @return array The Attachments.
- */
- protected function get_attachment() {
- // Remove attachments from drafts.
- if ( 'draft' === \get_post_status( $this->wp_object ) ) {
- return array();
- }
-
- // Once upon a time we only supported images, but we now support audio/video as well.
- // We maintain the image-centric naming for backwards compatibility.
- $max_media = \intval(
- \apply_filters(
- 'activitypub_max_image_attachments',
- \get_option( 'activitypub_max_image_attachments', ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS )
- )
- );
-
- $media = array(
- 'audio' => array(),
- 'video' => array(),
- 'image' => array(),
- );
- $id = $this->wp_object->ID;
-
- // list post thumbnail first if this post has one
- if ( \function_exists( 'has_post_thumbnail' ) && \has_post_thumbnail( $id ) ) {
- $media['image'][] = array( 'id' => \get_post_thumbnail_id( $id ) );
- }
-
- $media = $this->get_enclosures( $media );
-
- if ( site_supports_blocks() && \has_blocks( $this->wp_object->post_content ) ) {
- $media = $this->get_block_attachments( $media, $max_media );
- } else {
- $media = $this->get_classic_editor_images( $media, $max_media );
- }
-
- $media = self::filter_media_by_object_type( $media, \get_post_format( $this->wp_object ), $this->wp_object );
- $unique_ids = \array_unique( \array_column( $media, 'id' ) );
- $media = \array_intersect_key( $media, $unique_ids );
- $media = \array_slice( $media, 0, $max_media );
-
- return \array_filter( \array_map( array( self::class, 'wp_attachment_to_activity_attachment' ), $media ) );
- }
-
- /**
- * Get media attachments from blocks. They will be formatted as ActivityPub attachments, not as WP attachments.
- *
- * @param array $media The media array grouped by type.
- * @param int $max_media The maximum number of attachments to return.
- *
- * @return array The attachments.
- */
- protected function get_block_attachments( $media, $max_media ) {
- // max media can't be negative or zero
- if ( $max_media <= 0 ) {
- return array();
- }
-
- $blocks = \parse_blocks( $this->wp_object->post_content );
- $media = self::get_media_from_blocks( $blocks, $media );
-
- return $media;
- }
-
- /**
- * Get image attachments from the classic editor.
- * This is imperfect as the contained images aren't necessarily the
- * same as the attachments.
- *
- * @param int $max_images The maximum number of images to return.
- *
- * @return array The attachment IDs.
- */
- protected function get_classic_editor_image_attachments( $max_images ) {
- // max images can't be negative or zero
- if ( $max_images <= 0 ) {
- return array();
- }
-
- $images = array();
- $query = new \WP_Query(
- array(
- 'post_parent' => $this->wp_object->ID,
- 'post_status' => 'inherit',
- 'post_type' => 'attachment',
- 'post_mime_type' => 'image',
- 'order' => 'ASC',
- 'orderby' => 'menu_order ID',
- 'posts_per_page' => $max_images,
- )
- );
-
- foreach ( $query->get_posts() as $attachment ) {
- if ( ! \in_array( $attachment->ID, $images, true ) ) {
- $images[] = array( 'id' => $attachment->ID );
- }
- }
-
- return $images;
- }
-
- /**
- * Get image embeds from the classic editor by parsing HTML.
- *
- * @param int $max_images The maximum number of images to return.
- *
- * @return array The attachments.
- */
- protected function get_classic_editor_image_embeds( $max_images ) {
- // if someone calls that function directly, bail
- if ( ! \class_exists( '\WP_HTML_Tag_Processor' ) ) {
- return array();
- }
-
- // max images can't be negative or zero
- if ( $max_images <= 0 ) {
- return array();
- }
-
- $images = array();
- $base = \wp_get_upload_dir()['baseurl'];
- $content = \get_post_field( 'post_content', $this->wp_object );
- $tags = new \WP_HTML_Tag_Processor( $content );
-
- // This linter warning is a false positive - we have to
- // re-count each time here as we modify $images.
- // phpcs:ignore Squiz.PHP.DisallowSizeFunctionsInLoops.Found
- while ( $tags->next_tag( 'img' ) && ( \count( $images ) <= $max_images ) ) {
- $src = $tags->get_attribute( 'src' );
-
- // If the img source is in our uploads dir, get the
- // associated ID. Note: if there's a -500x500
- // type suffix, we remove it, but we try the original
- // first in case the original image is actually called
- // that. Likewise, we try adding the -scaled suffix for
- // the case that this is a small version of an image
- // that was big enough to get scaled down on upload:
- // https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/
- if ( null !== $src && \str_starts_with( $src, $base ) ) {
- $img_id = \attachment_url_to_postid( $src );
-
- if ( 0 === $img_id ) {
- $count = 0;
- $src = preg_replace( '/-(?:\d+x\d+)(\.[a-zA-Z]+)$/', '$1', $src, 1, $count );
- if ( $count > 0 ) {
- $img_id = \attachment_url_to_postid( $src );
- }
- }
-
- if ( 0 === $img_id ) {
- $src = preg_replace( '/(\.[a-zA-Z]+)$/', '-scaled$1', $src );
- $img_id = \attachment_url_to_postid( $src );
- }
-
- if ( 0 !== $img_id ) {
- $images[] = array(
- 'id' => $img_id,
- 'alt' => $tags->get_attribute( 'alt' ),
- );
- }
- }
- }
-
- return $images;
- }
-
- /**
- * Get post images from the classic editor.
- * Note that audio/video attachments are only supported in the block editor.
- *
- * @param array $media The media array grouped by type.
- * @param int $max_images The maximum number of images to return.
- *
- * @return array The attachments.
- */
- protected function get_classic_editor_images( $media, $max_images ) {
- // max images can't be negative or zero
- if ( $max_images <= 0 ) {
- return array();
- }
-
- if ( \count( $media['image'] ) <= $max_images ) {
- if ( \class_exists( '\WP_HTML_Tag_Processor' ) ) {
- $media['image'] = \array_merge( $media['image'], $this->get_classic_editor_image_embeds( $max_images ) );
- } else {
- $media['image'] = \array_merge( $media['image'], $this->get_classic_editor_image_attachments( $max_images ) );
- }
- }
-
- return $media;
- }
-
- /**
- * Get enclosures for a post.
- *
- * @param array $media The media array grouped by type.
- *
- * @return array The media array extended with enclosures.
- */
- public function get_enclosures( $media ) {
- $enclosures = get_enclosures( $this->wp_object->ID );
-
- if ( ! $enclosures ) {
- return $media;
- }
-
- foreach ( $enclosures as $enclosure ) {
- // check if URL is an attachment
- $attachment_id = \attachment_url_to_postid( $enclosure['url'] );
- if ( $attachment_id ) {
- $enclosure['id'] = $attachment_id;
- $enclosure['url'] = \wp_get_attachment_url( $attachment_id );
- $enclosure['mediaType'] = \get_post_mime_type( $attachment_id );
- }
-
- $mime_type = $enclosure['mediaType'];
- $mime_type_parts = \explode( '/', $mime_type );
-
- switch ( $mime_type_parts[0] ) {
- case 'image':
- $media['image'][] = $enclosure;
- break;
- case 'audio':
- $media['audio'][] = $enclosure;
- break;
- case 'video':
- $media['video'][] = $enclosure;
- break;
- }
- }
-
- return $media;
- }
-
- /**
- * Recursively get media IDs from blocks.
- * @param array $blocks The blocks to search for media IDs
- * @param array $media The media IDs to append new IDs to
- * @param int $max_media The maximum number of media to return.
- *
- * @return array The image IDs.
- */
- protected static function get_media_from_blocks( $blocks, $media ) {
- foreach ( $blocks as $block ) {
- // recurse into inner blocks
- if ( ! empty( $block['innerBlocks'] ) ) {
- $media = self::get_media_from_blocks( $block['innerBlocks'], $media );
- }
-
- switch ( $block['blockName'] ) {
- case 'core/image':
- case 'core/cover':
- if ( ! empty( $block['attrs']['id'] ) ) {
- $alt = '';
- $check = preg_match( '//i', $block['innerHTML'], $match );
-
- if ( $check ) {
- $alt = $match[2];
- }
-
- $media['image'][] = array(
- 'id' => $block['attrs']['id'],
- 'alt' => $alt,
- );
- }
- break;
- case 'core/audio':
- if ( ! empty( $block['attrs']['id'] ) ) {
- $media['audio'][] = array( 'id' => $block['attrs']['id'] );
- }
- break;
- case 'core/video':
- case 'videopress/video':
- if ( ! empty( $block['attrs']['id'] ) ) {
- $media['video'][] = array( 'id' => $block['attrs']['id'] );
- }
- break;
- case 'jetpack/slideshow':
- case 'jetpack/tiled-gallery':
- if ( ! empty( $block['attrs']['ids'] ) ) {
- $media['image'] = array_merge(
- $media['image'],
- array_map(
- function ( $id ) {
- return array( 'id' => $id );
- },
- $block['attrs']['ids']
- )
- );
- }
- break;
- case 'jetpack/image-compare':
- if ( ! empty( $block['attrs']['beforeImageId'] ) ) {
- $media['image'][] = array( 'id' => $block['attrs']['beforeImageId'] );
- }
- if ( ! empty( $block['attrs']['afterImageId'] ) ) {
- $media['image'][] = array( 'id' => $block['attrs']['afterImageId'] );
- }
- break;
- }
- }
-
- return $media;
- }
-
- /**
- * Filter media IDs by object type.
- *
- * @param array $media The media array grouped by type.
- * @param string $type The object type.
- *
- * @return array The filtered media IDs.
- */
- protected static function filter_media_by_object_type( $media, $type, $wp_object ) {
- $type = \apply_filters( 'filter_media_by_object_type', \strtolower( $type ), $wp_object );
-
- if ( ! empty( $media[ $type ] ) ) {
- return $media[ $type ];
- }
-
- return array_filter( array_merge( array(), ...array_values( $media ) ) );
- }
-
- /**
- * Converts a WordPress Attachment to an ActivityPub Attachment.
- *
- * @param array $media The Attachment array.
- *
- * @return array The ActivityPub Attachment.
- */
- public static function wp_attachment_to_activity_attachment( $media ) {
- if ( ! isset( $media['id'] ) ) {
- return $media;
- }
-
- $id = $media['id'];
- $attachment = array();
- $mime_type = \get_post_mime_type( $id );
- $mime_type_parts = \explode( '/', $mime_type );
- // switching on image/audio/video
- switch ( $mime_type_parts[0] ) {
- case 'image':
- $image_size = 'large';
-
- /**
- * Filter the image URL returned for each post.
- *
- * @param array|false $thumbnail The image URL, or false if no image is available.
- * @param int $id The attachment ID.
- * @param string $image_size The image size to retrieve. Set to 'large' by default.
- */
- $thumbnail = apply_filters(
- 'activitypub_get_image',
- self::get_wordpress_attachment( $id, $image_size ),
- $id,
- $image_size
- );
-
- if ( $thumbnail ) {
- $image = array(
- 'type' => 'Image',
- 'url' => \esc_url( $thumbnail[0] ),
- 'mediaType' => \esc_attr( $mime_type ),
- );
-
- if ( ! empty( $media['alt'] ) ) {
- $image['name'] = \wp_strip_all_tags( \html_entity_decode( $media['alt'] ) );
- } else {
- $alt = \get_post_meta( $id, '_wp_attachment_image_alt', true );
- if ( $alt ) {
- $image['name'] = \wp_strip_all_tags( \html_entity_decode( $alt ) );
- }
- }
-
- $attachment = $image;
- }
- break;
-
- case 'audio':
- case 'video':
- $attachment = array(
- 'type' => 'Document',
- 'mediaType' => \esc_attr( $mime_type ),
- 'url' => \esc_url( \wp_get_attachment_url( $id ) ),
- 'name' => \esc_attr( \get_the_title( $id ) ),
- );
- $meta = wp_get_attachment_metadata( $id );
- // height and width for videos
- if ( isset( $meta['width'] ) && isset( $meta['height'] ) ) {
- $attachment['width'] = \esc_attr( $meta['width'] );
- $attachment['height'] = \esc_attr( $meta['height'] );
- }
- // @todo: add `icon` support for audio/video attachments. Maybe use post thumbnail?
- break;
- }
-
- return \apply_filters( 'activitypub_attachment', $attachment, $id );
- }
-
- /**
- * Return details about an image attachment.
- *
- * @param int $id The attachment ID.
- * @param string $image_size The image size to retrieve. Set to 'large' by default.
- *
- * @return array|false Array of image data, or boolean false if no image is available.
- */
- protected static function get_wordpress_attachment( $id, $image_size = 'large' ) {
- /**
- * Hook into the image retrieval process. Before image retrieval.
- *
- * @param int $id The attachment ID.
- * @param string $image_size The image size to retrieve. Set to 'large' by default.
- */
- do_action( 'activitypub_get_image_pre', $id, $image_size );
-
- $image = \wp_get_attachment_image_src( $id, $image_size );
-
- /**
- * Hook into the image retrieval process. After image retrieval.
- *
- * @param int $id The attachment ID.
- * @param string $image_size The image size to retrieve. Set to 'large' by default.
- */
- do_action( 'activitypub_get_image_post', $id, $image_size );
-
- return $image;
- }
-
- /**
- * Returns the ActivityStreams 2.0 Object-Type for a Post based on the
- * settings and the Post-Type.
- *
- * @see https://www.w3.org/TR/activitystreams-vocabulary/#activity-types
- *
- * @return string The Object-Type.
- */
- protected function get_type() {
- $post_format_setting = \get_option( 'activitypub_object_type', ACTIVITYPUB_DEFAULT_OBJECT_TYPE );
-
- if ( 'wordpress-post-format' !== $post_format_setting ) {
- return \ucfirst( $post_format_setting );
- }
-
- $has_title = post_type_supports( $this->wp_object->post_type, 'title' );
-
- if ( ! $has_title ) {
- return 'Note';
- }
-
- // Default to Article.
- $object_type = 'Note';
- $post_format = 'standard';
-
- if ( \get_theme_support( 'post-formats' ) ) {
- $post_format = \get_post_format( $this->wp_object );
- }
-
- $post_type = \get_post_type( $this->wp_object );
- switch ( $post_type ) {
- case 'post':
- switch ( $post_format ) {
- case 'standard':
- case '':
- $object_type = 'Article';
- break;
- default:
- $object_type = 'Note';
- break;
- }
- break;
- case 'page':
- $object_type = 'Page';
- break;
- default:
- $object_type = 'Note';
- break;
- }
-
- return $object_type;
- }
-
- /**
- * Returns a list of Mentions, used in the Post.
- *
- * @see https://docs.joinmastodon.org/spec/activitypub/#Mention
- *
- * @return array The list of Mentions.
- */
- protected function get_cc() {
- $cc = array();
-
- $mentions = $this->get_mentions();
- if ( $mentions ) {
- foreach ( $mentions as $url ) {
- $cc[] = $url;
- }
- }
-
- return $cc;
- }
-
-
- public function get_audience() {
- if ( is_single_user() ) {
- return null;
- } else {
- $blog = new Blog();
- return $blog->get_id();
- }
- }
-
- /**
- * Returns a list of Tags, used in the Post.
- *
- * This includes Hash-Tags and Mentions.
- *
- * @return array The list of Tags.
- */
- protected function get_tag() {
- $tags = array();
-
- $post_tags = \get_the_tags( $this->wp_object->ID );
- if ( $post_tags ) {
- foreach ( $post_tags as $post_tag ) {
- $tag = array(
- 'type' => 'Hashtag',
- 'href' => \esc_url( \get_tag_link( $post_tag->term_id ) ),
- 'name' => esc_hashtag( $post_tag->name ),
- );
- $tags[] = $tag;
- }
- }
-
- $mentions = $this->get_mentions();
- if ( $mentions ) {
- foreach ( $mentions as $mention => $url ) {
- $tag = array(
- 'type' => 'Mention',
- 'href' => \esc_url( $url ),
- 'name' => \esc_html( $mention ),
- );
- $tags[] = $tag;
- }
- }
-
- return $tags;
- }
-
- /**
- * Returns the summary for the ActivityPub Item.
- *
- * The summary will be generated based on the user settings and only if the
- * object type is not set to `note`.
- *
- * @return string|null The summary or null if the object type is `note`.
- */
- protected function get_summary() {
- if ( 'Note' === $this->get_type() ) {
- return null;
- }
-
- // Remove Teaser from drafts.
- if ( 'draft' === \get_post_status( $this->wp_object ) ) {
- return \__( '(This post is being modified)', 'activitypub' );
- }
-
- $content = \get_post_field( 'post_content', $this->wp_object->ID );
- $content = \html_entity_decode( $content );
- $content = \wp_strip_all_tags( $content );
- $content = \trim( $content );
- $content = \preg_replace( '/\R+/m', "\n\n", $content );
- $content = \preg_replace( '/[\r\t]/', '', $content );
-
- $excerpt_more = \apply_filters( 'activitypub_excerpt_more', '[...]' );
- $length = 500;
- $length = $length - strlen( $excerpt_more );
-
- if ( \strlen( $content ) > $length ) {
- $content = \wordwrap( $content, $length, '' );
- $content = \explode( '', $content, 2 );
- $content = $content[0];
- }
-
- return $content . ' ' . $excerpt_more;
- }
-
- /**
- * Returns the title for the ActivityPub Item.
- *
- * The title will be generated based on the user settings and only if the
- * object type is not set to `note`.
- *
- * @return string|null The title or null if the object type is `note`.
- */
- protected function get_name() {
- if ( 'Note' === $this->get_type() ) {
- return null;
- }
-
- $title = \get_the_title( $this->wp_object->ID );
-
- if ( $title ) {
- return \wp_strip_all_tags(
- \html_entity_decode(
- $title
- )
- );
- }
-
- return null;
- }
-
- /**
- * Returns the content for the ActivityPub Item.
- *
- * The content will be generated based on the user settings.
- *
- * @return string The content.
- */
- protected function get_content() {
- // Remove Content from drafts.
- if ( 'draft' === \get_post_status( $this->wp_object ) ) {
- return \__( '(This post is being modified)', 'activitypub' );
- }
-
- global $post;
-
- /**
- * Provides an action hook so plugins can add their own hooks/filters before AP content is generated.
- *
- * Example: if a plugin adds a filter to `the_content` to add a button to the end of posts, it can also remove that filter here.
- *
- * @param WP_Post $post The post object.
- */
- do_action( 'activitypub_before_get_content', $post );
-
- add_filter( 'render_block_core/embed', array( self::class, 'revert_embed_links' ), 10, 2 );
-
- // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
- $post = $this->wp_object;
- $content = $this->get_post_content_template();
-
- // Register our shortcodes just in time.
- Shortcodes::register();
- // Fill in the shortcodes.
- setup_postdata( $post );
- $content = do_shortcode( $content );
- wp_reset_postdata();
-
- $content = \wpautop( $content );
- $content = \preg_replace( '/[\n\r\t]/', '', $content );
- $content = \trim( $content );
-
- $content = \apply_filters( 'activitypub_the_content', $content, $post );
-
- // Don't need these any more, should never appear in a post.
- Shortcodes::unregister();
-
- return $content;
- }
-
- /**
- * Gets the template to use to generate the content of the activitypub item.
- *
- * @return string The Template.
- */
- protected function get_post_content_template() {
- $type = \get_option( 'activitypub_post_content_type', 'content' );
-
- switch ( $type ) {
- case 'excerpt':
- $template = "[ap_excerpt]\n\n[ap_permalink type=\"html\"]";
- break;
- case 'title':
- $template = "[ap_title] \n\n[ap_permalink type=\"html\"]";
- break;
- case 'content':
- $template = "[ap_content]\n\n[ap_permalink type=\"html\"]\n\n[ap_hashtags]";
- break;
- default:
- $template = \get_option( 'activitypub_custom_post_content', ACTIVITYPUB_CUSTOM_POST_CONTENT );
- break;
- }
-
- $post_format_setting = \get_option( 'activitypub_object_type', ACTIVITYPUB_DEFAULT_OBJECT_TYPE );
-
- if ( 'wordpress-post-format' === $post_format_setting ) {
- $template = '[ap_content]';
- }
-
- return apply_filters( 'activitypub_object_content_template', $template, $this->wp_object );
- }
-
- /**
- * Helper function to get the @-Mentions from the post content.
- *
- * @return array The list of @-Mentions.
- */
- protected function get_mentions() {
- return apply_filters( 'activitypub_extract_mentions', array(), $this->wp_object->post_content, $this->wp_object );
- }
-
- /**
- * Returns the locale of the post.
- *
- * @return string The locale of the post.
- */
- public function get_locale() {
- $post_id = $this->wp_object->ID;
- $lang = \strtolower( \strtok( \get_locale(), '_-' ) );
-
- /**
- * Filter the locale of the post.
- *
- * @param string $lang The locale of the post.
- * @param int $post_id The post ID.
- * @param WP_Post $post The post object.
- *
- * @return string The filtered locale of the post.
- */
- return apply_filters( 'activitypub_post_locale', $lang, $post_id, $this->wp_object );
- }
-
- /**
- * Transform Embed blocks to block level link.
- *
- * Remote servers will simply drop iframe elements, rendering incomplete content.
- *
- * @see https://www.w3.org/TR/activitypub/#security-sanitizing-content
- * @see https://www.w3.org/wiki/ActivityPub/Primer/HTML
- *
- * @param string $block_content The block content (html)
- * @param object $block The block object
- *
- * @return string A block level link
- */
- public static function revert_embed_links( $block_content, $block ) {
- return '' . $block['attrs']['url'] . '
';
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-buddypress.php b/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-buddypress.php
deleted file mode 100644
index 8d71c1d2..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-buddypress.php
+++ /dev/null
@@ -1,76 +0,0 @@
-url = bp_core_get_user_domain( $author_id ); //add BP member profile URL as user URL
-
- // add BuddyPress' cover_image instead of WordPress' header_image
- $cover_image_url = bp_attachments_get_attachment( 'url', array( 'item_id' => $author_id ) );
-
- if ( $cover_image_url ) {
- $object->image = array(
- 'type' => 'Image',
- 'url' => $cover_image_url,
- );
- }
-
- // change profile URL to BuddyPress' profile URL
- $object->attachment['profile_url'] = array(
- 'type' => 'PropertyValue',
- 'name' => \__( 'Profile', 'activitypub' ),
- 'value' => \html_entity_decode(
- sprintf(
- '%s ',
- \esc_attr( bp_core_get_user_domain( $author_id ) ),
- \bp_core_get_user_domain( $author_id ),
- \wp_parse_url( \bp_core_get_user_domain( $author_id ), \PHP_URL_HOST )
- ),
- \ENT_QUOTES,
- 'UTF-8'
- ),
- );
-
- // replace blog URL on multisite
- if ( is_multisite() ) {
- $user_blogs = get_blogs_of_user( $author_id ); //get sites of user to send as AP metadata
-
- if ( ! empty( $user_blogs ) ) {
- unset( $object->attachment['blog_url'] );
-
- foreach ( $user_blogs as $blog ) {
- if ( 1 !== $blog->userblog_id ) {
- $object->attachment[] = array(
- 'type' => 'PropertyValue',
- 'name' => $blog->blogname,
- 'value' => \html_entity_decode(
- sprintf(
- '%s ',
- \esc_attr( $blog->siteurl ),
- $blog->siteurl,
- \wp_parse_url( $blog->siteurl, \PHP_URL_HOST )
- ),
- \ENT_QUOTES,
- 'UTF-8'
- ),
- );
- }
- }
- }
- }
-
- return $object;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-enable-mastodon-apps.php b/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-enable-mastodon-apps.php
deleted file mode 100644
index 6c643b10..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-enable-mastodon-apps.php
+++ /dev/null
@@ -1,468 +0,0 @@
-get_id() );
-
- if ( $acct && ! is_wp_error( $acct ) ) {
- $acct = \str_replace( 'acct:', '', $acct );
- } else {
- $acct = $item->get_url();
- }
-
- $account = new Account();
- $account->id = \strval( $item->get__id() );
- $account->username = $item->get_preferred_username();
- $account->acct = $acct;
- $account->display_name = $item->get_name();
- $account->url = $item->get_url();
- $account->uri = $item->get_id();
- $account->avatar = $item->get_icon_url();
- $account->avatar_static = $item->get_icon_url();
- $account->created_at = new DateTime( $item->get_published() );
- $account->last_status_at = new DateTime( $item->get_published() );
- $account->note = $item->get_summary();
- $account->header = $item->get_image_url();
- $account->header_static = $item->get_image_url();
- $account->followers_count = 0;
- $account->following_count = 0;
- $account->statuses_count = 0;
- $account->bot = false;
- $account->locked = false;
- $account->group = false;
- $account->discoversable = false;
- $account->indexable = false;
- $account->hide_collections = false;
- $account->noindex = false;
- $account->fields = array();
- $account->emojis = array();
- $account->roles = array();
-
- return $account;
- },
- $activitypub_followers
- );
-
- $followers = array_merge( $mastodon_followers, $followers );
-
- return $followers;
- }
-
- /**
- * Add followers count to Mastodon API
- *
- * @param Enable_Mastodon_Apps\Entity\Account $account The account
- * @param int $user_id The user id
- *
- * @return Enable_Mastodon_Apps\Entity\Account The filtered Account
- */
- public static function api_account_add_followers( $account, $user_id ) {
- if ( ! $account instanceof Account ) {
- return $account;
- }
-
- $user = Users::get_by_various( $user_id );
-
- if ( ! $user || is_wp_error( $user ) ) {
- return $account;
- }
-
- $header = $user->get_image();
- if ( $header ) {
- $account->header = $header['url'];
- $account->header_static = $header['url'];
- }
-
- foreach ( $user->get_attachment() as $attachment ) {
- if ( 'PropertyValue' === $attachment['type'] ) {
- $account->fields[] = array(
- 'name' => $attachment['name'],
- 'value' => $attachment['value'],
- );
- }
- }
-
- $account->acct = $user->get_preferred_username();
- $account->note = $user->get_summary();
-
- $account->followers_count = Followers::count_followers( $user->get__id() );
- return $account;
- }
-
- /**
- * Resolve external accounts for Mastodon API
- *
- * @param Enable_Mastodon_Apps\Entity\Account $user_data The user data
- * @param string $user_id The user id
- *
- * @return Enable_Mastodon_Apps\Entity\Account The filtered Account
- */
- public static function api_account_external( $user_data, $user_id ) {
- if ( $user_data || ( is_numeric( $user_id ) && $user_id ) ) {
- // Only augment.
- return $user_data;
- }
-
- $user = Users::get_by_various( $user_id );
-
- if ( $user && ! is_wp_error( $user ) ) {
- return $user_data;
- }
-
- $uri = Webfinger_Util::resolve( $user_id );
-
- if ( ! $uri || is_wp_error( $uri ) ) {
- return $user_data;
- }
-
- $account = self::get_account_for_actor( $uri );
- if ( $account ) {
- return $account;
- }
-
- return $user_data;
- }
-
- private static function get_account_for_actor( $uri ) {
- if ( ! is_string( $uri ) ) {
- return null;
- }
- $data = get_remote_metadata_by_actor( $uri );
-
- if ( ! $data || is_wp_error( $data ) ) {
- return null;
- }
- $account = new Account();
-
- $acct = Webfinger_Util::uri_to_acct( $uri );
- if ( str_starts_with( $acct, 'acct:' ) ) {
- $acct = substr( $acct, 5 );
- }
-
- $account->id = $acct;
- $account->username = $acct;
- $account->acct = $acct;
- $account->display_name = $data['name'];
- $account->url = $uri;
-
- if ( ! empty( $data['summary'] ) ) {
- $account->note = $data['summary'];
- }
-
- if (
- isset( $data['icon']['type'] ) &&
- isset( $data['icon']['url'] ) &&
- 'Image' === $data['icon']['type']
- ) {
- $account->avatar = $data['icon']['url'];
- $account->avatar_static = $data['icon']['url'];
- }
-
- if ( isset( $data['image'] ) ) {
- $account->header = $data['image']['url'];
- $account->header_static = $data['image']['url'];
- }
- if ( ! isset( $data['published'] ) ) {
- $data['published'] = 'now';
- }
- $account->created_at = new DateTime( $data['published'] );
-
- return $account;
- }
-
- public static function api_search_by_url( $search_data, $request ) {
- $p = \wp_parse_url( $request->get_param( 'q' ) );
- if ( ! $p || ! isset( $p['host'] ) ) {
- return $search_data;
- }
-
- $object = Http::get_remote_object( $request->get_param( 'q' ), true );
- if ( is_wp_error( $object ) || ! isset( $object['attributedTo'] ) ) {
- return $search_data;
- }
-
- $account = self::get_account_for_actor( $object['attributedTo'] );
- if ( ! $account ) {
- return $search_data;
- }
-
- $status = self::activity_to_status( $object, $account );
- if ( $status ) {
- $search_data['statuses'][] = $status;
- }
-
- return $search_data;
- }
-
- public static function api_search( $search_data, $request ) {
- $user_id = \get_current_user_id();
- if ( ! $user_id ) {
- return $search_data;
- }
-
- $q = $request->get_param( 'q' );
- if ( ! $q ) {
- return $search_data;
- }
- $q = sanitize_text_field( wp_unslash( $q ) );
-
- $followers = Followers::get_followers( $user_id, 40, null, array( 's' => $q ) );
- if ( ! $followers ) {
- return $search_data;
- }
-
- foreach ( $followers as $follower ) {
- $acct = Webfinger_Util::uri_to_acct( $follower->get_id() );
-
- if ( $acct && ! is_wp_error( $acct ) ) {
- $acct = \str_replace( 'acct:', '', $acct );
- } else {
- $acct = $follower->get_url();
- }
-
- $account = new Account();
- $account->id = \strval( $follower->get__id() );
- $account->username = $follower->get_preferred_username();
- $account->acct = $acct;
- $account->display_name = $follower->get_name();
- $account->url = $follower->get_url();
- $account->uri = $follower->get_id();
- $account->avatar = $follower->get_icon_url();
- $account->avatar_static = $follower->get_icon_url();
- $account->created_at = new DateTime( $follower->get_published() );
- $account->last_status_at = new DateTime( $follower->get_published() );
- $account->note = $follower->get_summary();
- $account->header = $follower->get_image_url();
- $account->header_static = $follower->get_image_url();
-
- $search_data['accounts'][] = $account;
- }
-
- return $search_data;
- }
-
- public static function api_get_posts_query_args( $args ) {
- if ( isset( $args['author'] ) && is_string( $args['author'] ) ) {
- $uri = Webfinger_Util::resolve( $args['author'] );
- if ( $uri && ! is_wp_error( $uri ) ) {
- $args['activitypub'] = $uri;
- unset( $args['author'] );
- }
- }
-
- return $args;
- }
-
- private static function activity_to_status( $item, $account ) {
- if ( isset( $item['object'] ) ) {
- $object = $item['object'];
- } else {
- $object = $item;
- }
-
- if ( ! isset( $object['type'] ) || 'Note' !== $object['type'] ) {
- return null;
- }
-
- $status = new Status();
- $status->id = $object['id'];
- $status->created_at = new DateTime( $object['published'] );
- $status->content = $object['content'];
- $status->account = $account;
-
- if ( ! empty( $object['inReplyTo'] ) ) {
- $status->in_reply_to_id = $object['inReplyTo'];
- }
-
- if ( ! empty( $object['visibility'] ) ) {
- $status->visibility = $object['visibility'];
- }
- if ( ! empty( $object['url'] ) ) {
- $status->url = $object['url'];
- $status->uri = $object['url'];
- } else {
- $status->uri = $object['id'];
- }
-
- if ( ! empty( $object['attachment'] ) ) {
- $status->media_attachments = array_map(
- function ( $attachment ) {
- $default_attachment = array(
- 'url' => null,
- 'mediaType' => null,
- 'name' => null,
- 'width' => 0,
- 'height' => 0,
- 'blurhash' => null,
- );
-
- $attachment = array_merge( $default_attachment, $attachment );
-
- $media_attachment = new Media_Attachment();
- $media_attachment->id = $attachment['url'];
- $media_attachment->type = strtok( $attachment['mediaType'], '/' );
- $media_attachment->url = $attachment['url'];
- $media_attachment->preview_url = $attachment['url'];
- $media_attachment->description = $attachment['name'];
- if ( $attachment['blurhash'] ) {
- $media_attachment->blurhash = $attachment['blurhash'];
- }
- if ( $attachment['width'] > 0 && $attachment['height'] > 0 ) {
- $media_attachment->meta = array(
- 'original' => array(
- 'width' => $attachment['width'],
- 'height' => $attachment['height'],
- 'size' => $attachment['width'] . 'x' . $attachment['height'],
- 'aspect' => $attachment['width'] / $attachment['height'],
- ),
- );}
- return $media_attachment;
- },
- $object['attachment']
- );
- }
-
- return $status;
- }
-
- public static function api_statuses_external( $statuses, $args ) {
- if ( ! isset( $args['activitypub'] ) ) {
- return $statuses;
- }
-
- $data = get_remote_metadata_by_actor( $args['activitypub'] );
-
- if ( ! $data || is_wp_error( $data ) || ! isset( $data['outbox'] ) ) {
- return $statuses;
- }
-
- $outbox = Http::get_remote_object( $data['outbox'], true );
- if ( is_wp_error( $outbox ) || ! isset( $outbox['first'] ) ) {
- return $statuses;
- }
-
- $account = self::get_account_for_actor( $args['activitypub'] );
- if ( ! $account ) {
- return $statuses;
- }
- $limit = 10;
- if ( isset( $args['posts_per_page'] ) ) {
- $limit = $args['posts_per_page'];
- }
- if ( $limit > 40 ) {
- $limit = 40;
- }
- $activitypub_statuses = array();
- $url = $outbox['first'];
- $tries = 0;
- while ( $url ) {
- if ( ++$tries > 3 ) {
- break;
- }
-
- $posts = Http::get_remote_object( $url, true );
- if ( is_wp_error( $posts ) ) {
- return $statuses;
- }
-
- $new_statuses = array_map(
- function ( $item ) use ( $account, $args ) {
- if ( $args['exclude_replies'] ) {
- if ( isset( $item['object']['inReplyTo'] ) && $item['object']['inReplyTo'] ) {
- return null;
- }
- }
- return self::activity_to_status( $item, $account );
- },
- $posts['orderedItems']
- );
- $activitypub_statuses = array_merge( $activitypub_statuses, array_filter( $new_statuses ) );
- $url = $posts['next'];
-
- if ( count( $activitypub_statuses ) >= $limit ) {
- break;
- }
- }
-
- return array_slice( $activitypub_statuses, 0, $limit );
- }
-
- public static function api_get_replies( $context, $post_id, $url ) {
- $meta = Http::get_remote_object( $url, true );
- if ( is_wp_error( $meta ) || ! isset( $meta['replies']['first']['next'] ) ) {
- return $context;
- }
-
- $replies_url = $meta['replies']['first']['next'];
- $replies = Http::get_remote_object( $replies_url, true );
- if ( is_wp_error( $replies ) || ! isset( $replies['items'] ) ) {
- return $context;
- }
-
- foreach ( $replies['items'] as $url ) {
- $response = Http::get( $url, true );
- if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) !== 200 ) {
- continue;
- }
- $status = json_decode( wp_remote_retrieve_body( $response ), true );
- if ( ! $status || is_wp_error( $status ) ) {
- continue;
- }
-
- $account = self::get_account_for_actor( $status['attributedTo'] );
- $status = self::activity_to_status( $status, $account );
- if ( $status ) {
- $context['descendants'][ $status->id ] = $status;
- }
- }
-
- return $context;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-jetpack.php b/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-jetpack.php
deleted file mode 100644
index 009811e9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-jetpack.php
+++ /dev/null
@@ -1,21 +0,0 @@
-= '2.0' ) {
- $nodeinfo['protocols'][] = 'activitypub';
- } else {
- $nodeinfo['protocols']['inbound'][] = 'activitypub';
- $nodeinfo['protocols']['outbound'][] = 'activitypub';
- }
-
- $nodeinfo['usage']['users'] = array(
- 'total' => get_total_users(),
- 'activeMonth' => get_active_users( '1 month ago' ),
- 'activeHalfyear' => get_active_users( '6 month ago' ),
- );
-
- return $nodeinfo;
- }
-
- /**
- * Extend NodeInfo2 data
- *
- * @param array $nodeinfo NodeInfo2 data
- *
- * @return array The extended array
- */
- public static function add_nodeinfo2_data( $nodeinfo ) {
- $nodeinfo['protocols'][] = 'activitypub';
-
- $nodeinfo['usage']['users'] = array(
- 'total' => get_total_users(),
- 'activeMonth' => get_active_users( '1 month ago' ),
- 'activeHalfyear' => get_active_users( '6 month ago' ),
- );
-
- return $nodeinfo;
- }
-
- /**
- * Extend the well-known nodeinfo data
- *
- * @param array $data The well-known nodeinfo data
- *
- * @return array The extended array
- */
- public static function add_wellknown_nodeinfo_data( $data ) {
- $data['links'][] = array(
- 'rel' => 'https://www.w3.org/ns/activitystreams#Application',
- 'href' => get_rest_url_by_path( 'application' ),
- );
-
- return $data;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-opengraph.php b/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-opengraph.php
deleted file mode 100644
index 2d0f8c96..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-opengraph.php
+++ /dev/null
@@ -1,107 +0,0 @@
-get_webfinger();
-
- return $metadata;
- }
-
- if ( \is_author() ) {
- // Use the Author of the Archive-Page
- $user_id = \get_queried_object_id();
- } elseif ( \is_singular() ) {
- // Use the Author of the Post
- $user_id = \get_post_field( 'post_author', \get_queried_object_id() );
- } elseif ( ! is_user_type_disabled( 'blog' ) ) {
- // Use the Blog-User for any other page, if the Blog-User is not disabled
- $user_id = Users::BLOG_USER_ID;
- } else {
- // Do not add any metadata otherwise
- return $metadata;
- }
-
- $user = Users::get_by_id( $user_id );
-
- if ( ! $user || \is_wp_error( $user ) ) {
- return $metadata;
- }
-
- // add WebFinger resource
- $metadata['fediverse:creator'] = $user->get_webfinger();
-
- return $metadata;
- }
-
- /**
- * Output Open Graph tags in the page header.
- */
- public static function add_meta_tags() {
- $metadata = apply_filters( 'opengraph_metadata', array() );
- foreach ( $metadata as $key => $value ) {
- if ( empty( $key ) || empty( $value ) ) {
- continue;
- }
- $value = (array) $value;
-
- foreach ( $value as $v ) {
- printf(
- ' ' . PHP_EOL,
- esc_attr( $key ),
- esc_attr( $v )
- );
- }
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-webfinger.php b/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-webfinger.php
deleted file mode 100644
index c9727861..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/integration/class-webfinger.php
+++ /dev/null
@@ -1,69 +0,0 @@
-ID );
-
- if ( ! $user || is_wp_error( $user ) ) {
- return $array;
- }
-
- $array['subject'] = sprintf( 'acct:%s', $user->get_webfinger() );
-
- $array['aliases'][] = $user->get_url();
- $array['aliases'][] = $user->get_alternate_url();
-
- $array['links'][] = array(
- 'rel' => 'self',
- 'type' => 'application/activity+json',
- 'href' => $user->get_url(),
- );
-
- return $array;
- }
-
- /**
- * Add WebFinger discovery links
- *
- * @param array $array the jrd array
- * @param string $resource the WebFinger resource
- * @param WP_User $user the WordPress user
- *
- * @return array the jrd array
- */
- public static function add_pseudo_user_discovery( $array, $resource ) {
- $user = Webfinger_Rest::get_profile( $resource );
-
- if ( ! $user || is_wp_error( $user ) ) {
- return $array;
- }
-
- return $user;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/readme.txt b/wp-content/upgrade-temp-backup/plugins/activitypub/readme.txt
deleted file mode 100644
index 3dcd963b..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/readme.txt
+++ /dev/null
@@ -1,233 +0,0 @@
-=== ActivityPub ===
-Contributors: automattic, pfefferle, mediaformat, mattwiebe, akirk, jeherve, nuriapena, cavalierlife
-Tags: OStatus, fediverse, activitypub, activitystream
-Requires at least: 5.5
-Tested up to: 6.6
-Stable tag: 2.6.1
-Requires PHP: 7.0
-License: MIT
-License URI: http://opensource.org/licenses/MIT
-
-The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
-
-== Description ==
-
-Enter the fediverse with **ActivityPub**, broadcasting your blog to a wider audience! Attract followers, deliver updates, and receive comments from a diverse user base of **ActivityPub**\-compliant platforms.
-
-With the ActivityPub plugin installed, your WordPress blog itself function as a federated profile, along with profiles for each author. For instance, if your website is `example.com`, then the blog-wide profile can be found at `@example.com@example.com`, and authors like Jane and Bob would have their individual profiles at `@jane@example.com` and `@bobz@example.com`, respectively.
-
-An example: I give you my Mastodon profile name: `@pfefferle@mastodon.social`. You search, see my profile, and hit follow. Now, any post I make appears in your Home feed. Similarly, with the ActivityPub plugin, you can find and follow Jane's profile at `@jane@example.com`.
-
-Once you follow Jane's `@jane@example.com` profile, any blog post she crafts on `example.com` will land in your Home feed. Simultaneously, by following the blog-wide profile `@example.com@example.com`, you'll receive updates from all authors.
-
-**Note**: if no one follows your author or blog instance, your posts remain unseen. The simplest method to verify the plugin's operation is by following your profile. If you possess a Mastodon profile, initiate by following your new one.
-
-The plugin works with the following tested federated platforms, but there may be more that it works with as well:
-
-* [Mastodon](https://joinmastodon.org/)
-* [Pleroma](https://pleroma.social/)/[Akkoma](https://akkoma.social/)
-* [friendica](https://friendi.ca/)
-* [Hubzilla](https://hubzilla.org/)
-* [Pixelfed](https://pixelfed.org/)
-* [Socialhome](https://socialhome.network/)
-* [Misskey](https://join.misskey.page/)
-* [Firefish](https://joinfirefish.org/) (rebrand of Calckey)
-
-Some things to note:
-
-1. The blog-wide profile is only compatible with sites with rewrite rules enabled. If your site does not have rewrite rules enabled, the author-specific profiles may still work.
-1. Many single-author blogs have chosen to turn off or redirect their author profile pages, usually via an SEO plugin like Yoast or Rank Math. This is usually done to avoid duplicate content with your blog’s home page. If your author page has been deactivated in this way, then ActivityPub author profiles won’t work for you. Instead, you can turn your author profile page back on, and then use the option in your SEO plugin to noindex the author page. This will still resolve duplicate content issues with search engines and will enable ActivityPub author profiles to work.
-1. Once ActivityPub is installed, *only new posts going forward* will be available in the fediverse. Likewise, even if you’ve been using ActivityPub for a while, anyone who follows your site will only see new posts you publish from that moment on. They will never see previously-published posts in their Home feed. This process is very similar to subscribing to a newsletter. If you subscribe to a newsletter, you will only receive future emails, but not the old archived ones. With ActivityPub, if someone follows your site, they will only receive new blog posts you publish from then on.
-
-So what’s the process?
-
-1. Install the ActivityPub plugin.
-1. Go to the plugin’s settings page and adjust the settings to your liking. Click the Save button when ready.
-1. Make sure your blog’s author profile page is active if you are using author profiles.
-1. Go to Mastodon or any other federated platform, and search for your profile, and follow it. Your new profile will be in the form of either `@your_username@example.com` or `@example.com@example.com`, so that is what you’ll search for.
-1. On your blog, publish a new post.
-1. From Mastodon, check to see if the new post appears in your Home feed.
-
-Please note that it may take up to 15 minutes or so for the new post to show up in your federated feed. This is because the messages are sent to the federated platforms using a delayed cron. This avoids breaking the publishing process for those cases where users might have lots of followers. So please don’t assume that just because you didn’t see it show up right away that something is broken. Give it some time. In most cases, it will show up within a few minutes, and you’ll know everything is working as expected.
-
-== Frequently Asked Questions ==
-
-= tl;dr =
-
-This plugin connects your WordPress blog to popular social platforms like Mastodon, making your posts more accessible to a wider audience. Once installed, your blog can be followed by users on these platforms, allowing them to receive your new posts in their feeds.
-
-= What is the status of this plugin? =
-
-Implemented:
-
-* blog profile pages (JSON representation)
-* author profile pages (JSON representation)
-* custom links
-* functional inbox/outbox
-* follow (accept follows)
-* share posts
-* receive comments/reactions
-* signature verification
-* threaded comments support
-
-To implement:
-
-* replace shortcodes with blocks for layout
-
-= What is "ActivityPub for WordPress" =
-
-*ActivityPub for WordPress* extends WordPress with some Fediverse features, but it does not compete with platforms like Friendica or Mastodon. If you want to run a **decentralized social network**, please use [Mastodon](https://joinmastodon.org/) or [GNU social](https://gnusocial.network/).
-
-= What if you are running your blog in a subdirectory? =
-
-In order for webfinger to work, it must be mapped to the root directory of the URL on which your blog resides.
-
-**Apache**
-
-Add the following to the .htaccess file in the root directory:
-
- RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
-
-Where 'blog' is the path to the subdirectory at which your blog resides.
-
-**Nginx**
-
-Add the following to the site.conf in sites-available:
-
- location ~* /.well-known {
- allow all;
- try_files $uri $uri/ /blog/?$args;
- }
-
-Where 'blog' is the path to the subdirectory at which your blog resides.
-
-= What if you are running your blog in a subdirectory? =
-
-If you are running your blog in a subdirectory, but have a different [wp_siteurl](https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/), you don't need the redirect, because the index.php will take care of that.
-
-= Constants =
-
-The plugin uses PHP Constants to enable, disable or change its default behaviour. Please use them with caution and only if you know what you are doing.
-
-* `ACTIVITYPUB_REST_NAMESPACE` - Change the default Namespace of the REST endpoint. Default: `activitypub/1.0`.
-* `ACTIVITYPUB_EXCERPT_LENGTH` - Change the length of the Excerpt. Default: `400`.
-* `ACTIVITYPUB_SHOW_PLUGIN_RECOMMENDATIONS` - show plugin recommendations in the ActivityPub settings. Default: `true`.
-* `ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS` - Change the number of attachments, that should be federated. Default: `3`.
-* `ACTIVITYPUB_HASHTAGS_REGEXP` - Change the default regex to detect hashtext in a text. Default: `(?:(?<=\s)|(?<=)|(?<= )|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))`.
-* `ACTIVITYPUB_USERNAME_REGEXP` - Change the default regex to detect @-replies in a text. Default: `(?:([A-Za-z0-9\._-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))`.
-* `ACTIVITYPUB_CUSTOM_POST_CONTENT` - Change the default template for Activities. Default: `[ap_title] \n\n[ap_content]\n\n[ap_hashtags]\n\n[ap_shortlink]`.
-* `ACTIVITYPUB_AUTHORIZED_FETCH` - Enable AUTHORIZED_FETCH. Default: `false`.
-* `ACTIVITYPUB_DISABLE_REWRITES` - Disable auto generation of `mod_rewrite` rules. Default: `false`.
-* `ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS` - Block incoming replies/comments/likes. Default: `false`.
-* `ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS` - Disable outgoing replies/comments/likes. Default: `false`.
-* `ACTIVITYPUB_SHARED_INBOX_FEATURE` - Enable the shared inbox. Default: `false`.
-* `ACTIVITYPUB_SEND_VARY_HEADER` - Enable to send the `Vary: Accept` header. Default: `false`.
-
-= Where can you manage your followers? =
-
-If you have activated the blog user, you will find the list of his followers in the settings under `/wp-admin/options-general.php?page=activitypub&tab=followers`.
-
-The followers of a user can be found in the menu under "Users" -> "Followers" or under `wp-admin/users.php?page=activitypub-followers-list`.
-
-For reasons of data protection, it is not possible to see the followers of other users.
-
-== Changelog ==
-
-= 2.6.1 =
-
-* Fixed: Extra Fields will generate wrong entries
-
-= 2.6.0 =
-
-* Added: Support for FEP-fb2a
-* Added: CRUD support for Extra Fields
-* Improved: Remote-Follow UI and UX
-* Improved: Open Graph `fediverse:creator` implementation
-* Fixed: Compatibility issues with fed.brid.gy
-* Fixed: Remote-Reply endpoint
-* Fixed: WebFinger Error Codes (thanks to the FediTest project)
-* Fixed: Fatal Error when wp_schedule_single_event third argument is being passed as a string
-
-= 2.5.0 =
-
-* Added: WebFinger cors header
-* Added: WebFinger Content-Type
-* Added: The Fediverse creator of a post to OpenGraph
-* Improved: Try to lookup local users first for Enable Mastodon Apps
-* Improved: Send also Announces for deletes
-* Improved: Load time by adding `count_total=false` to `WP_User_Query`
-* Fixed: Several WebFinger issues
-* Fixed: Redirect issue for Application user
-* Fixed: Accessibilty issues with missing screen-reader-text on User overview page
-
-= 2.4.0 =
-
-* Added: A core/embed block filter to transform iframes to links
-* Added: Basic support of incoming `Announce`s
-* Added: Improve attachment handling
-* Added: Notifications: Introduce general class and use it for new follows
-* Added: Always fall back to `get_by_username` if one of the above fail
-* Added: Notification support for Jetpack
-* Added: EMA: Support for fetching external statuses without replies
-* Added: EMA: Remote context
-* Added: EMA: Allow searching for URLs
-* Added: EMA: Ensuring numeric ids is now done in EMA directly
-* Added: Podcast support
-* Added: Follower count to "At a Glance" dashboard widget
-* Improved: Use `Note` as default Object-Type, instead of `Article`
-* Improved: Improve `AUTHORIZED_FETCH`
-* Improved: Only send Mentions to comments in the direct hierarchy
-* Improved: Improve transformer
-* Improved: Improve Lemmy compatibility
-* Improved: Updated JS dependencies
-* Fixed: EMA: Add missing static keyword and try to lookup if the id is 0
-* Fixed: Blog-wide account when WordPress is in subdirectory
-* Fixed: Funkwhale URLs
-* Fixed: Prevent infinite loops in `get_comment_ancestors`
-* Fixed: Better Content-Negotiation handling
-
-See full Changelog on [GitHub](https://github.com/Automattic/wordpress-activitypub/blob/master/CHANGELOG.md).
-
-== Upgrade Notice ==
-
-= 1.0.0 =
-
-For version 1.0.0 we have completely rebuilt the followers lists. There is a migration from the old format to the new, but it may take some time until the migration is complete. No data will be lost in the process, please give the migration some time.
-
-== Installation ==
-
-Follow the normal instructions for [installing WordPress plugins](https://wordpress.org/support/article/managing-plugins/).
-
-= Automatic Plugin Installation =
-
-To add a WordPress Plugin using the [built-in plugin installer](https://codex.wordpress.org/Administration_Screens#Add_New_Plugins):
-
-1. Go to [Plugins](https://codex.wordpress.org/Administration_Screens#Plugins) > [Add New](https://codex.wordpress.org/Plugins_Add_New_Screen).
-1. Type "`activitypub`" into the **Search Plugins** box.
-1. Find the WordPress Plugin you wish to install.
- 1. Click **Details** for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
- 1. Click **Install Now** to install the WordPress Plugin.
-1. The resulting installation screen will list the installation as successful or note any problems during the install.
-1. If successful, click **Activate Plugin** to activate it, or **Return to Plugin Installer** for further actions.
-
-= Manual Plugin Installation =
-
-There are a few cases when manually installing a WordPress Plugin is appropriate.
-
-* If you wish to control the placement and the process of installing a WordPress Plugin.
-* If your server does not permit automatic installation of a WordPress Plugin.
-* If you want to try the [latest development version](https://github.com/pfefferle/wordpress-activitypub).
-
-Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.
-
-Backup your site completely before proceeding.
-
-To install a WordPress Plugin manually:
-
-* Download your WordPress Plugin to your desktop.
- * Download from [the WordPress directory](https://wordpress.org/plugins/activitypub/)
- * Download from [GitHub](https://github.com/pfefferle/wordpress-activitypub/releases)
-* If downloaded as a zip archive, extract the Plugin folder to your desktop.
-* With your FTP program, upload the Plugin folder to the `wp-content/plugins` folder in your WordPress directory online.
-* Go to [Plugins screen](https://codex.wordpress.org/Administration_Screens#Plugins) and find the newly uploaded Plugin in the list.
-* Click **Activate** to activate it.
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/admin-header.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/admin-header.php
deleted file mode 100644
index 67b91ba9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/admin-header.php
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/author-json.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/author-json.php
deleted file mode 100644
index 63f6d12f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/author-json.php
+++ /dev/null
@@ -1,15 +0,0 @@
-get__id() );
-
-\header( 'Content-Type: application/activity+json' );
-echo $user->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-
-/*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
-\do_action( 'activitypub_json_author_post', $user->get__id() );
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-json.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-json.php
deleted file mode 100644
index 5d8c53ce..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-json.php
+++ /dev/null
@@ -1,15 +0,0 @@
-get__id() );
-
-\header( 'Content-Type: application/activity+json' );
-echo $user->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-
-/*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
-\do_action( 'activitypub_json_author_post', $user->get__id() );
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-user-followers-list.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-user-followers-list.php
deleted file mode 100644
index 1eaa7ee9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/blog-user-followers-list.php
+++ /dev/null
@@ -1,28 +0,0 @@
- '',
- 'welcome' => '',
- 'followers' => 'active',
- )
-);
-$table = new \Activitypub\Table\Followers();
-$follower_count = $table->get_user_count();
-// translators: The follower count.
-$followers_template = _n( 'Your blog profile currently has %s follower.', 'Your blog profile currently has %s followers.', $follower_count, 'activitypub' );
-?>
-
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/comment-json.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/comment-json.php
deleted file mode 100644
index a3583b77..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/comment-json.php
+++ /dev/null
@@ -1,23 +0,0 @@
-get_error_message() ),
- 404
- );
-}
-
-/*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
-\do_action( 'activitypub_json_comment_pre' );
-
-\header( 'Content-Type: application/activity+json' );
-echo $transformer->to_object()->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-
-/*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
-\do_action( 'activitypub_json_comment_post' );
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/post-json.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/post-json.php
deleted file mode 100644
index a89a7c01..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/post-json.php
+++ /dev/null
@@ -1,25 +0,0 @@
-get_error_message() ),
- 404
- );
-}
-
-
-/*
- * Action triggerd prior to the ActivityPub profile being created and sent to the client
- */
-\do_action( 'activitypub_json_post_pre' );
-
-\header( 'Content-Type: application/activity+json' );
-echo $transformer->to_object()->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-
-/*
- * Action triggerd after the ActivityPub profile has been created and sent to the client
- */
-\do_action( 'activitypub_json_post_post' );
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/settings.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/settings.php
deleted file mode 100644
index a00a551f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/settings.php
+++ /dev/null
@@ -1,270 +0,0 @@
- 'active',
- 'welcome' => '',
- 'followers' => '',
- )
-);
-?>
-
-
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-followers-list.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-followers-list.php
deleted file mode 100644
index 8ea35a73..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-followers-list.php
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
- prepare_items();
- $table->search_box( 'Search', 'search' );
- $table->display();
- ?>
-
-
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-settings.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-settings.php
deleted file mode 100644
index 9489acbd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/user-settings.php
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
diff --git a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/welcome.php b/wp-content/upgrade-temp-backup/plugins/activitypub/templates/welcome.php
deleted file mode 100644
index e5e9440e..00000000
--- a/wp-content/upgrade-temp-backup/plugins/activitypub/templates/welcome.php
+++ /dev/null
@@ -1,162 +0,0 @@
- '',
- 'welcome' => 'active',
- 'followers' => '',
- )
-);
-?>
-
-
-
-
-
-
ActivityPub, broadcasting your blog to a wider audience. Attract followers, deliver updates, and receive comments from a diverse user base on Mastodon , Friendica , Pleroma , Pixelfed , and all ActivityPub -compliant platforms.', 'activitypub' ), array( 'strong' => array() ) ); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ID );
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Site Health page to ensure that your site is compatible and/or use the "Help" tab (in the top right of the settings pages).',
- 'activitypub'
- ),
- \esc_url_raw( admin_url( 'site-health.php' ) )
- ),
- 'default'
- );
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/functions.php b/wp-content/upgrade-temp-backup/plugins/gitium/functions.php
deleted file mode 100644
index d648985f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/functions.php
+++ /dev/null
@@ -1,420 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-function gitium_error_log( $message ) {
- if ( ! defined( 'WP_DEBUG' ) || ! WP_DEBUG ) { return; }
- error_log( "gitium_error_log: $message" );
-}
-
-function wp_content_is_versioned() {
- return file_exists( WP_CONTENT_DIR . '/.git' );
-}
-
-if ( ! function_exists( 'gitium_enable_maintenance_mode' ) ) :
- function gitium_enable_maintenance_mode() {
- $file = ABSPATH . '/.maintenance';
-
- if ( false === file_put_contents( $file, 'set_key( $git_private_key );
-
- $git->add( $dir );
- gitium_update_versions();
- $current_user = wp_get_current_user();
- return $git->commit( $message, $current_user->display_name, $current_user->user_email );
-}
-
-function _gitium_format_message( $name, $version = false, $prefix = '' ) {
- $commit_message = "`$name`";
- if ( $version ) {
- $commit_message .= " version $version";
- }
- if ( $prefix ) {
- $commit_message = "$prefix $commit_message";
- }
- return $commit_message;
-}
-
-/**
- * This function return the basic info about a path.
- *
- * base_path - means the path after wp-content dir (themes/plugins)
- * type - can be file/theme/plugin
- * name - the file name of the path, if it is a file, or the theme/plugin name
- * version - the theme/plugin version, othewise null
- */
-/* Some examples:
-
- with 'wp-content/themes/twentyten/style.css' will return:
- array(
- 'base_path' => 'wp-content/themes/twentyten'
- 'type' => 'theme'
- 'name' => 'TwentyTen'
- 'version' => '1.12'
- )
-
- with 'wp-content/themes/twentyten/img/foo.png' will return:
- array(
- 'base_path' => 'wp-content/themes/twentyten'
- 'type' => 'theme'
- 'name' => 'TwentyTen'
- 'version' => '1.12'
- )
-
- with 'wp-content/plugins/foo.php' will return:
- array(
- 'base_path' => 'wp-content/plugins/foo.php'
- 'type' => 'plugin'
- 'name' => 'Foo'
- 'varsion' => '2.0'
- )
-
- with 'wp-content/plugins/autover/autover.php' will return:
- array(
- 'base_path' => 'wp-content/plugins/autover'
- 'type' => 'plugin'
- 'name' => 'autover'
- 'version' => '3.12'
- )
-
- with 'wp-content/plugins/autover/' will return:
- array(
- 'base_path' => 'wp-content/plugins/autover'
- 'type' => 'plugin'
- 'name' => 'autover'
- 'version' => '3.12'
- )
-*/
-function _gitium_module_by_path( $path ) {
- $versions = gitium_get_versions();
-
- // default values
- $module = array(
- 'base_path' => $path,
- 'type' => 'file',
- 'name' => basename( $path ),
- 'version' => null,
- );
-
- // find the base_path
- $split_path = explode( '/', $path );
- if ( 2 < count( $split_path ) ) {
- $module['base_path'] = "{$split_path[0]}/{$split_path[1]}/{$split_path[2]}";
- }
-
- // find other data for theme
- if ( array_key_exists( 'themes', $versions ) && 0 === strpos( $path, 'wp-content/themes/' ) ) {
- $module['type'] = 'theme';
- foreach ( $versions['themes'] as $theme => $data ) {
- if ( 0 === strpos( $path, "wp-content/themes/$theme" ) ) {
- $module['name'] = $data['name'];
- $module['version'] = $data['version'];
- break;
- }
- }
- }
-
- // find other data for plugin
- if ( array_key_exists( 'plugins', $versions ) && 0 === strpos( $path, 'wp-content/plugins/' ) ) {
- $module['type'] = 'plugin';
- foreach ( $versions['plugins'] as $plugin => $data ) {
- if ( '.' === dirname( $plugin ) ) { // single file plugin
- if ( "wp-content/plugins/$plugin" === $path ) {
- $module['base_path'] = $path;
- $module['name'] = $data['name'];
- $module['version'] = $data['version'];
- break;
- }
- } else if ( 'wp-content/plugins/' . dirname( $plugin ) === $module['base_path'] ) {
- $module['name'] = $data['name'];
- $module['version'] = $data['version'];
- break;
- }
- }
- }
-
- return $module;
-}
-
-function gitium_group_commit_modified_plugins_and_themes( $msg_append = '' ) {
- global $git;
-
- $uncommited_changes = $git->get_local_changes();
- $commit_groups = array();
- $commits = array();
-
- if ( ! empty( $msg_append ) ) {
- $msg_append = "($msg_append)";
- }
- foreach ( $uncommited_changes as $path => $action ) {
- $change = _gitium_module_by_path( $path );
- $change['action'] = $action;
- $commit_groups[ $change['base_path'] ] = $change;
- }
-
- foreach ( $commit_groups as $base_path => $change ) {
- $commit_message = _gitium_format_message( $change['name'], $change['version'], "${change['action']} ${change['type']}" );
- $commit = _gitium_commit_changes( "$commit_message $msg_append", $base_path, false );
- if ( $commit ) {
- $commits[] = $commit;
- }
- }
-
- return $commits;
-}
-
-function gitium_commit_and_push_gitignore_file( $path = '' ) {
- global $git;
-
- $current_user = wp_get_current_user();
- if ( ! empty( $path ) ) { $git->rm_cached( $path ); }
- $git->add( '.gitignore' );
- $commit = $git->commit( 'Update the `.gitignore` file', $current_user->display_name, $current_user->user_email );
- gitium_merge_and_push( $commit );
-}
-
-if ( ! function_exists( 'gitium_acquire_merge_lock' ) ) :
- function gitium_acquire_merge_lock() {
- $gitium_lock_path = apply_filters( 'gitium_lock_path', sys_get_temp_dir().'/.gitium-lock' );
- $gitium_lock_handle = fopen( $gitium_lock_path, 'w+' );
-
- $lock_timeout = intval( ini_get( 'max_execution_time' ) ) > 10 ? intval( ini_get( 'max_execution_time' ) ) - 5 : 10;
- $lock_timeout_ms = 10;
- $lock_retries = 0;
- while ( ! flock( $gitium_lock_handle, LOCK_EX | LOCK_NB ) ) {
- usleep( $lock_timeout_ms * 1000 );
- $lock_retries++;
- if ( $lock_retries * $lock_timeout_ms > $lock_timeout * 1000 ) {
- return false; // timeout
- }
- }
- gitium_error_log( __FUNCTION__ );
- return array( $gitium_lock_path, $gitium_lock_handle );
- }
-endif;
-
-if ( ! function_exists( 'gitium_release_merge_lock' ) ) :
- function gitium_release_merge_lock( $lock ) {
- list( $gitium_lock_path, $gitium_lock_handle ) = $lock;
- gitium_error_log( __FUNCTION__ );
- flock( $gitium_lock_handle, LOCK_UN );
- fclose( $gitium_lock_handle );
- }
-endif;
-
-// Merges the commits with remote and pushes them back
-function gitium_merge_and_push( $commits ) {
- global $git;
-
- $lock = gitium_acquire_merge_lock()
- or trigger_error( 'Timeout when gitium lock was acquired', E_USER_WARNING );
-
- if ( ! $git->fetch_ref() ) {
- return false;
- }
-
- $merge_status = $git->merge_with_accept_mine( $commits );
-
- gitium_release_merge_lock( $lock );
-
- return $git->push() && $merge_status;
-}
-
-function gitium_check_after_event( $plugin, $event = 'activation' ) {
- global $git;
-
- if ( 'gitium/gitium.php' == $plugin ) { return; } // do not hook on activation of this plugin
-
- if ( $git->is_dirty() ) {
- $versions = gitium_update_versions();
- if ( isset( $versions['plugins'][ $plugin ] ) ) {
- $name = $versions['plugins'][ $plugin ]['name'];
- $version = $versions['plugins'][ $plugin ]['version'];
- } else {
- $name = $plugin;
- }
- gitium_auto_push( _gitium_format_message( $name, $version, "after $event of" ) );
- }
-}
-
-function gitium_update_remote_tracking_branch() {
- global $git;
- $remote_branch = $git->get_remote_tracking_branch();
- set_transient( 'gitium_remote_tracking_branch', $remote_branch );
-
- return $remote_branch;
-}
-
-function _gitium_get_remote_tracking_branch( $update_transient = false ) {
- if ( ! $update_transient && ( false !== ( $remote_branch = get_transient( 'gitium_remote_tracking_branch' ) ) ) ) {
- return $remote_branch;
- } else {
- return gitium_update_remote_tracking_branch();
- }
-}
-
-function gitium_update_is_status_working() {
- global $git;
- $is_status_working = $git->is_status_working();
- set_transient( 'gitium_is_status_working', $is_status_working );
- return $is_status_working;
-}
-
-function _gitium_is_status_working( $update_transient = false ) {
- if ( ! $update_transient && ( false !== ( $is_status_working = get_transient( 'gitium_is_status_working' ) ) ) ) {
- return $is_status_working;
- } else {
- return gitium_update_is_status_working();
- }
-}
-
-function _gitium_status( $update_transient = false ) {
- global $git;
-
- if ( ! $update_transient && ( false !== ( $changes = get_transient( 'gitium_uncommited_changes' ) ) ) ) {
- return $changes;
- }
-
- $git_version = get_transient( 'gitium_git_version' );
- if ( false === $git_version ) {
- set_transient( 'gitium_git_version', $git->get_version() );
- }
-
- if ( $git->is_status_working() && $git->get_remote_tracking_branch() ) {
- if ( ! $git->fetch_ref() ) {
- set_transient( 'gitium_remote_disconnected', $git->get_last_error() );
- } else {
- delete_transient( 'gitium_remote_disconnected' );
- }
- $changes = $git->status();
- } else {
- delete_transient( 'gitium_remote_disconnected' );
- $changes = array();
- }
-
- set_transient( 'gitium_uncommited_changes', $changes, 12 * 60 * 60 ); // cache changes for half-a-day
- return $changes;
-}
-
-function _gitium_ssh_encode_buffer( $buffer ) {
- $len = strlen( $buffer );
- if ( ord( $buffer[0] ) & 0x80 ) {
- $len++;
- $buffer = "\x00" . $buffer;
- }
- return pack( 'Na*', $len, $buffer );
-}
-
-function _gitium_generate_keypair() {
- $rsa_key = openssl_pkey_new(
- array(
- 'private_key_bits' => 2048,
- 'private_key_type' => OPENSSL_KEYTYPE_RSA,
- )
- );
-
- try {
- $private_key = openssl_pkey_get_private( $rsa_key );
- $try = openssl_pkey_export( $private_key, $pem ); //Private Key
- if (!$try)
- return false;
- } catch (Exception $e) {
- return false;
- }
-
- $key_info = openssl_pkey_get_details( $rsa_key );
- $buffer = pack( 'N', 7 ) . 'ssh-rsa' .
- _gitium_ssh_encode_buffer( $key_info['rsa']['e'] ) .
- _gitium_ssh_encode_buffer( $key_info['rsa']['n'] );
- $public_key = 'ssh-rsa ' . base64_encode( $buffer ) . ' gitium@' . parse_url( get_home_url(), PHP_URL_HOST );
-
- return array( $public_key, $pem );
-}
-
-function gitium_get_keypair( $generate_new_keypair = false ) {
- if ( $generate_new_keypair ) {
- $keypair = _gitium_generate_keypair();
- delete_option( 'gitium_keypair' );
- add_option( 'gitium_keypair', $keypair, '', false );
- }
- if ( false === ( $keypair = get_option( 'gitium_keypair', false ) ) ) {
- $keypair = _gitium_generate_keypair();
- add_option( 'gitium_keypair', $keypair, '', false );
- }
- return $keypair;
-}
-
-function _gitium_generate_webhook_key() {
- return md5( str_shuffle( 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.()[]{}-_=+!@#%^&*~<>:;' ) );
-}
-
-function gitium_get_webhook_key( $generate_new_webhook_key = false ) {
- if ( $generate_new_webhook_key ) {
- $key = _gitium_generate_webhook_key();
- delete_option( 'gitium_webhook_key' );
- add_option( 'gitium_webhook_key', $key, '', false );
- return $key;
- }
- if ( false === ( $key = get_option( 'gitium_webhook_key', false ) ) ) {
- $key = _gitium_generate_webhook_key();
- add_option( 'gitium_webhook_key', $key, '', false );
- }
- return $key;
-}
-
-function gitium_get_webhook() {
- if ( defined( 'GIT_WEBHOOK_URL' ) && GIT_WEBHOOK_URL ) { return GIT_WEBHOOK_URL; }
- $key = gitium_get_webhook_key();
- $url = add_query_arg( 'key', $key, plugins_url( 'gitium-webhook.php', __FILE__ ) );
- return apply_filters( 'gitium_webhook_url', $url, $key );
-}
-
-function gitium_admin_init() {
- global $git;
-
- $git_version = get_transient( 'gitium_git_version' );
- if ( false === $git_version ) {
- set_transient( 'gitium_git_version', $git->get_version() );
- }
-}
-add_action( 'admin_init', 'gitium_admin_init' );
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/gitium-webhook.php b/wp-content/upgrade-temp-backup/plugins/gitium/gitium-webhook.php
deleted file mode 100644
index 2f99481b..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/gitium-webhook.php
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-header( 'Content-Type: text/html' );
-define( 'SHORTINIT', true );
-//$wordpress_loader = $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php';
-$wordpress_loader = filter_input(INPUT_SERVER, 'DOCUMENT_ROOT', FILTER_SANITIZE_STRING) . '/wp-load.php';
-
-require_once $wordpress_loader;
-require_once __DIR__ . '/functions.php';
-require_once __DIR__ . '/inc/class-git-wrapper.php';
-
-$webhook_key = get_option( 'gitium_webhook_key', '' );
-$get_key = filter_input(INPUT_GET, 'key', FILTER_SANITIZE_STRING);
-if ( ! empty ( $webhook_key ) && isset( $get_key ) && $webhook_key == $get_key ) :
- ( '1.7' <= substr( $git->get_version(), 0, 3 ) ) or wp_die( 'Gitium plugin require minimum `git version 1.7`!' );
-
- list( $git_public_key, $git_private_key ) = gitium_get_keypair();
- if ( ! $git_public_key || ! $git_private_key )
- wp_die('Not ready.', 'Not ready.', array( 'response' => 403 ));
- else
- $git->set_key( $git_private_key );
-
- $commits = array();
- $commitmsg = sprintf( 'Merged changes from %s on %s', $_SERVER['SERVER_NAME'], date( 'm.d.Y' ) );
-
- if ( $git->is_dirty() && $git->add() > 0 ) {
- $commits[] = $git->commit( $commitmsg ) or trigger_error( 'Could not commit local changes!', E_USER_ERROR );
- }
- gitium_merge_and_push( $commits ) or trigger_error( 'Failed merge & push: ' . serialize( $git->get_last_error() ), E_USER_ERROR );
-
- wp_die( $commitmsg , 'Pull done!', array( 'response' => 200 ) );
-else :
- wp_die( 'Cheating uh?', 'Cheating uh?', array( 'response' => 403 ) );
-endif;
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/gitium.php b/wp-content/upgrade-temp-backup/plugins/gitium/gitium.php
deleted file mode 100644
index e524c08d..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/gitium.php
+++ /dev/null
@@ -1,374 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-define( 'GITIUM_LAST_COMMITS', 20 );
-define( 'GITIUM_MIN_GIT_VER', '1.7' );
-define( 'GITIUM_MIN_PHP_VER', '5.6' );
-
-if ( is_multisite() ) {
- define( 'GITIUM_ADMIN_MENU_ACTION', 'network_admin_menu' );
- define( 'GITIUM_ADMIN_NOTICES_ACTION', 'network_admin_notices' );
- define( 'GITIUM_MANAGE_OPTIONS_CAPABILITY', 'manage_network_options' );
-} else {
- define( 'GITIUM_ADMIN_MENU_ACTION', 'admin_menu' );
- define( 'GITIUM_ADMIN_NOTICES_ACTION', 'admin_notices' );
- define( 'GITIUM_MANAGE_OPTIONS_CAPABILITY', 'manage_options' );
-}
-
-require_once __DIR__ . '/functions.php';
-require_once __DIR__ . '/inc/class-git-wrapper.php';
-require_once __DIR__ . '/inc/class-gitium-requirements.php';
-require_once __DIR__ . '/inc/class-gitium-admin.php';
-require_once __DIR__ . '/inc/class-gitium-help.php';
-require_once __DIR__ . '/inc/class-gitium-menu.php';
-require_once __DIR__ . '/inc/class-gitium-menu-bubble.php';
-require_once __DIR__ . '/inc/class-gitium-submenu-configure.php';
-require_once __DIR__ . '/inc/class-gitium-submenu-status.php';
-require_once __DIR__ . '/inc/class-gitium-submenu-commits.php';
-require_once __DIR__ . '/inc/class-gitium-submenu-settings.php';
-
-function gitium_load_textdomain() {
- load_plugin_textdomain( 'gitium', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
-}
-add_action( 'plugins_loaded', 'gitium_load_textdomain' );
-
-function _gitium_make_ssh_git_file_exe() {
- $ssh_wrapper = dirname( __FILE__ ) . '/inc/ssh-git';
- $process = proc_open(
- "chmod -f +x $ssh_wrapper",
- array(
- 0 => array( 'pipe', 'r' ), // stdin
- 1 => array( 'pipe', 'w' ), // stdout
- ),
- $pipes
- );
- if ( is_resource( $process ) ) {
- fclose( $pipes[0] );
- proc_close( $process );
- }
-}
-register_activation_hook( __FILE__, '_gitium_make_ssh_git_file_exe' );
-
-function gitium_deactivation() {
- delete_transient( 'gitium_git_version' );
-}
-register_deactivation_hook( __FILE__, 'gitium_deactivation' );
-
-function gitium_uninstall_hook() {
- delete_transient( 'gitium_remote_tracking_branch' );
- delete_transient( 'gitium_remote_disconnected' );
- delete_transient( 'gitium_uncommited_changes' );
- delete_transient( 'gitium_git_version' );
- delete_transient( 'gitium_versions' );
- delete_transient( 'gitium_menu_bubble' );
- delete_transient( 'gitium_is_status_working' );
-
- delete_option( 'gitium_keypair' );
- delete_option( 'gitium_webhook_key' );
-}
-register_uninstall_hook( __FILE__, 'gitium_uninstall_hook' );
-
-/* Array
-(
- [themes] => Array
- (
- [twentytwelve] => `Twenty Twelve` version 1.3
- )
- [plugins] => Array
- (
- [cron-view/cron-gui.php] => `Cron GUI` version 1.03
- [hello-dolly/hello.php] => `Hello Dolly` version 1.6
- )
-
-) */
-function gitium_update_versions() {
- $new_versions = [];
-
- // get all themes from WP
- $all_themes = wp_get_themes( array( 'allowed' => true ) );
- foreach ( $all_themes as $theme_name => $theme ) :
- $theme_versions[ $theme_name ] = array(
- 'name' => $theme->Name,
- 'version' => null,
- 'msg' => '',
- );
- $theme_versions[ $theme_name ]['msg'] = '`' . $theme->Name . '`';
- $version = $theme->Version;
- if ( ! empty( $version ) ) {
- $theme_versions[ $theme_name ]['msg'] .= " version $version";
- $theme_versions[ $theme_name ]['version'] .= $version;
- }
- endforeach;
-
- if ( ! empty( $theme_versions ) ) {
- $new_versions['themes'] = $theme_versions;
- }
- // get all plugins from WP
- if ( ! function_exists( 'get_plugins' ) ) {
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
- }
- $all_plugins = get_plugins();
- foreach ( $all_plugins as $name => $data ) :
- $plugin_versions[ $name ] = array(
- 'name' => $data['Name'],
- 'version' => null,
- 'msg' => '',
- );
- $plugin_versions[ $name ]['msg'] = "`{$data['Name']}`";
- if ( ! empty( $data['Version'] ) ) {
- $plugin_versions[ $name ]['msg'] .= ' version ' . $data['Version'];
- $plugin_versions[ $name ]['version'] .= $data['Version'];
- }
- endforeach;
-
- if ( ! empty( $plugin_versions ) ) {
- $new_versions['plugins'] = $plugin_versions;
- }
-
- set_transient( 'gitium_versions', $new_versions );
-
- return $new_versions;
-}
-add_action( 'load-plugins.php', 'gitium_update_versions', 999 );
-
-function gitium_upgrader_post_install( $res, $hook_extra, $result ) {
- _gitium_make_ssh_git_file_exe();
-
- $action = null;
- $type = null;
-
- // install logic
- if ( isset( $hook_extra['type'] ) && ( 'plugin' === $hook_extra['type'] ) ) {
- $action = 'installed';
- $type = 'plugin';
- } else if ( isset( $hook_extra['type'] ) && ( 'theme' === $hook_extra['type'] ) ) {
- $action = 'installed';
- $type = 'theme';
- }
-
- // update/upgrade logic
- if ( isset( $hook_extra['plugin'] ) ) {
- $action = 'updated';
- $type = 'plugin';
- } else if ( isset( $hook_extra['theme'] ) ) {
- $action = 'updated';
- $type = 'theme';
- }
-
- // get action if missed above
- if ( isset( $hook_extra['action'] ) ) {
- $action = $hook_extra['action'];
- if ( 'install' === $action ) {
- $action = 'installed';
- }
- if ( 'update' === $action ) {
- $action = 'updated';
- }
- }
-
- if ( WP_DEBUG ) {
- error_log( __FUNCTION__ . ':hook_extra:' . serialize( $hook_extra ) );
- error_log( __FUNCTION__ . ':action:type:' . $action . ':' . $type );
- }
-
- $git_dir = $result['destination'];
- $version = '';
-
- if ( ABSPATH == substr( $git_dir, 0, strlen( ABSPATH ) ) ) {
- $git_dir = substr( $git_dir, strlen( ABSPATH ) );
- }
- switch ( $type ) {
- case 'theme':
- wp_clean_themes_cache();
- $theme_data = wp_get_theme( $result['destination_name'] );
- $name = $theme_data->get( 'Name' );
- $version = $theme_data->get( 'Version' );
- break;
- case 'plugin':
- foreach ( $result['source_files'] as $file ) :
- if ( '.php' != substr( $file, -4 ) ) { continue; }
- // every .php file is a possible plugin so we check if it's a plugin
- $filepath = trailingslashit( $result['destination'] ) . $file;
- $plugin_data = get_plugin_data( $filepath );
- if ( $plugin_data['Name'] ) :
- $name = $plugin_data['Name'];
- $version = $plugin_data['Version'];
- // We get info from the first plugin in the package
- break;
- endif;
- endforeach;
- break;
- }
- if ( empty( $name ) ) {
- $name = $result['destination_name'];
- }
- $commit_message = _gitium_format_message( $name,$version,"$action $type" );
- $commit = _gitium_commit_changes( $commit_message, $git_dir, false );
- gitium_merge_and_push( $commit );
-
- return $res;
-}
-add_filter( 'upgrader_post_install', 'gitium_upgrader_post_install', 10, 3 );
-
-// Checks for local changes, tries to group them by plugin/theme and pushes the changes
-function gitium_auto_push( $msg_prepend = '' ) {
- global $git;
- list( , $git_private_key ) = gitium_get_keypair();
- if ( ! $git_private_key )
- return;
- $git->set_key( $git_private_key );
-
- $commits = gitium_group_commit_modified_plugins_and_themes( $msg_prepend );
- gitium_merge_and_push( $commits );
- gitium_update_versions();
-}
-add_action( 'upgrader_process_complete', 'gitium_auto_push', 11, 0 );
-
-function gitium_check_after_activate_modifications( $plugin ) {
- gitium_check_after_event( $plugin );
-}
-add_action( 'activated_plugin', 'gitium_check_after_activate_modifications', 999 );
-
-function gitium_check_after_deactivate_modifications( $plugin ) {
- gitium_check_after_event( $plugin, 'deactivation' );
-}
-add_action( 'deactivated_plugin', 'gitium_check_after_deactivate_modifications', 999 );
-
-function gitium_check_for_plugin_deletions() { // Handle plugin deletion
- // $_GET['deleted'] used to resemble if a plugin has been deleted (true)
- // ...meanwhile commit b28dd45f3dad19f0e06c546fdc89ed5b24bacd72 in github.com/WordPress/WordPress...
- // Now it resembles the number of deleted plugins (a number). Thanks WP
- if ( isset( $_GET['deleted'] ) && ( 1 <= (int) $_GET['deleted'] || 'true' == $_GET['deleted'] ) ) {
- gitium_auto_push();
- }
-}
-add_action( 'load-plugins.php', 'gitium_check_for_plugin_deletions' );
-
-add_action( 'wp_ajax_wp-plugin-delete-success', 'gitium_auto_push' );
-add_action( 'wp_ajax_wp-theme-delete-success', 'gitium_auto_push' );
-
-function gitium_wp_plugin_delete_success() {
-?>
-
-
-
-=' ) )
- add_action( 'wp_ajax_edit-theme-plugin-file', 'add_filter_for_ajax_save', 1, 0 );
-else
- add_action( 'admin_enqueue_scripts', 'gitium_hook_plugin_and_theme_editor_page' );
-
-function gitium_options_page_check() {
- global $git;
- if ( ! $git->can_exec_git() ) { wp_die( 'Cannot exec git' ); }
- return true;
-}
-
-function gitium_remote_disconnected_notice() {
- if ( current_user_can( GITIUM_MANAGE_OPTIONS_CAPABILITY ) && $message = get_transient( 'gitium_remote_disconnected' ) ) : ?>
-
-
- Could not connect to remote repository.
-
-
-
- a~`(2*n_w(uXdB0!p*ZWH&NpF(F`9B`^`j^6QT*4=G
zbjJjaA+rTL_<{>n_1YpxvK0fJBtuEkUb&9%=p;GVWt%sWOn1_Y;0aD+5019B?_gJZ
zXg)d^tE$PVnx+Kdb5%V`vK~FCs``d|7D?{{zVu)NcD7IV@T#hQC)tAccwbdnNHEQp
zGZ>zAb^=#$4UcfH`9AHzT>QdjoX1V{V-QcVJ;_n5zz%GjZR%W1VkP=8QdK{y>J<*)
z2nMhWYq72y!GU&p65~mBBpJgSJj7dk#0c(oBRGz+CcLex?zh2QZIvx;aho$o^G*K+
zMsYUDD2`({mf#t_wgl|!MzE)<-r*E3w}I@%101TVm$;49*pj4X$7cCls%@W7&T}?A
zGg5yyMUwqVCX#GQ@;J%M#coIY^?gV(Qb|_fIo33zU$@Zqcd7Rihg%*GR4a85Lo=eX
eSo&}gxBdWxa1O;4qf9XX0000
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-git-wrapper.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-git-wrapper.php
deleted file mode 100644
index 7e00d101..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-git-wrapper.php
+++ /dev/null
@@ -1,671 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-define('GITIGNORE', <<repo_dir = $repo_dir;
- }
-
- function _rrmdir( $dir ) {
- if ( empty( $dir ) || ! is_dir( $dir ) ) {
- return false;
- }
-
- $files = array_diff( scandir( $dir ), array( '.', '..' ) );
- foreach ( $files as $file ) {
- $filepath = realpath("$dir/$file");
- ( is_dir( $filepath ) ) ? $this->_rrmdir( $filepath ) : unlink( $filepath );
- }
- return rmdir( $dir );
- }
-
- function _log(...$args) {
- if ( ! defined( 'WP_DEBUG' ) || ! WP_DEBUG ) { return; }
-
- $output = '';
- if (isset($args) && $args) foreach ( $args as $arg ) {
- $output .= var_export($arg, true).'/n/n';
- }
-
- if ($output) error_log($output);
- }
-
- function _git_temp_key_file() {
- $key_file = tempnam( sys_get_temp_dir(), 'ssh-git' );
- return $key_file;
- }
-
- function set_key( $private_key ) {
- $this->private_key = $private_key;
- }
-
- private function get_env() {
- $env = array();
- $key_file = null;
-
- if ( defined( 'GIT_SSH' ) && GIT_SSH ) {
- $env['GIT_SSH'] = GIT_SSH;
- } else {
- $env['GIT_SSH'] = dirname( __FILE__ ) . '/ssh-git';
- }
-
- if ( defined( 'GIT_KEY_FILE' ) && GIT_KEY_FILE ) {
- $env['GIT_KEY_FILE'] = GIT_KEY_FILE;
- } elseif ( $this->private_key ) {
- $key_file = $this->_git_temp_key_file();
- chmod( $key_file, 0600 );
- file_put_contents( $key_file, $this->private_key );
- $env['GIT_KEY_FILE'] = $key_file;
- }
-
- return $env;
- }
-
- protected function _call(...$args) {
- $args = join( ' ', array_map( 'escapeshellarg', $args ) );
- $return = -1;
- $response = array();
- $env = $this->get_env();
-
- $git_bin_path = apply_filters( 'gitium_git_bin_path', '' );
- $cmd = "${git_bin_path}git $args 2>&1";
-
- $proc = proc_open(
- $cmd,
- array(
- 0 => array( 'pipe', 'r' ), // stdin
- 1 => array( 'pipe', 'w' ), // stdout
- ),
- $pipes,
- $this->repo_dir,
- $env
- );
- if ( is_resource( $proc ) ) {
- fclose( $pipes[0] );
- while ( $line = fgets( $pipes[1] ) ) {
- $response[] = rtrim( $line, "\n\r" );
- }
- $return = (int)proc_close( $proc );
- }
- $this->_log( "$return $cmd", join( "\n", $response ) );
- if ( ! defined( 'GIT_KEY_FILE' ) && isset( $env['GIT_KEY_FILE'] ) ) {
- unlink( $env['GIT_KEY_FILE'] );
- }
- if ( 0 != $return ) {
- $this->last_error = join( "\n", $response );
- } else {
- $this->last_error = null;
- }
- return array( $return, $response );
- }
-
- function get_last_error() {
- return $this->last_error;
- }
-
- function can_exec_git() {
- list( $return, ) = $this->_call( 'version' );
- return ( 0 == $return );
- }
-
- function is_status_working() {
- list( $return, ) = $this->_call( 'status', '-s' );
- return ( 0 == $return );
- }
-
- function get_version() {
- list( $return, $version ) = $this->_call( 'version' );
- if ( 0 != $return ) { return ''; }
- if ( ! empty( $version[0] ) ) {
- return substr( $version[0], 12 );
- }
- return '';
- }
-
- // git rev-list @{u}..
- function get_ahead_commits() {
- list( , $commits ) = $this->_call( 'rev-list', '@{u}..' );
- return $commits;
- }
-
- // git rev-list ..@{u}
- function get_behind_commits() {
- list( , $commits ) = $this->_call( 'rev-list', '..@{u}' );
- return $commits;
- }
-
- function init() {
- file_put_contents( "$this->repo_dir/.gitignore", $this->gitignore );
- list( $return, ) = $this->_call( 'init' );
- $this->_call( 'config', 'user.email', 'gitium@presslabs.com' );
- $this->_call( 'config', 'user.name', 'Gitium' );
- $this->_call( 'config', 'push.default', 'matching' );
- return ( 0 == $return );
- }
-
- function is_dot_git_dir( $dir ) {
- $realpath = realpath( $dir );
- $git_config = realpath( $realpath . '/config' );
- $git_index = realpath( $realpath . '/index' );
- if ( ! empty( $realpath ) && is_dir( $realpath ) && file_exists( $git_config ) && file_exists( $git_index ) ) {
- return True;
- }
- return False;
- }
-
- function cleanup() {
- $dot_git_dir = realpath( $this->repo_dir . '/.git' );
- if ( $this->is_dot_git_dir( $dot_git_dir ) && $this->_rrmdir( $dot_git_dir ) ) {
- if ( WP_DEBUG ) {
- error_log( "Gitium cleanup successfull. Removed '$dot_git_dir'." );
- }
- return True;
- }
- if ( WP_DEBUG ) {
- error_log( "Gitium cleanup failed. '$dot_git_dir' is not a .git dir." );
- }
- return False;
- }
-
- function add_remote_url( $url ) {
- list( $return, ) = $this->_call( 'remote', 'add', 'origin', $url );
- return ( 0 == $return );
- }
-
- function get_remote_url() {
- list( , $response ) = $this->_call( 'config', '--get', 'remote.origin.url' );
- if ( isset( $response[0] ) ) {
- return $response[0];
- }
- return '';
- }
-
- function remove_remote() {
- list( $return, ) = $this->_call( 'remote', 'rm', 'origin');
- return ( 0 == $return );
- }
-
- function get_remote_tracking_branch() {
- list( $return, $response ) = $this->_call( 'rev-parse', '--abbrev-ref', '--symbolic-full-name', '@{u}' );
- if ( 0 == $return ) {
- return $response[0];
- }
- return false;
- }
-
- function get_local_branch() {
- list( $return, $response ) = $this->_call( 'rev-parse', '--abbrev-ref', 'HEAD' );
- if ( 0 == $return ) {
- return $response[0];
- }
- return false;
- }
-
- function fetch_ref() {
- list( $return, ) = $this->_call( 'fetch', 'origin' );
- return ( 0 == $return );
- }
-
- protected function _resolve_merge_conflicts( $message ) {
- list( , $changes ) = $this->status( true );
- $this->_log( $changes );
- foreach ( $changes as $path => $change ) {
- if ( in_array( $change, array( 'UD', 'DD' ) ) ) {
- $this->_call( 'rm', $path );
- $message .= "\n\tConflict: $path [removed]";
- } elseif ( 'DU' == $change ) {
- $this->_call( 'add', $path );
- $message .= "\n\tConflict: $path [added]";
- } elseif ( in_array( $change, array( 'AA', 'UU', 'AU', 'UA' ) ) ) {
- $this->_call( 'checkout', '--theirs', $path );
- $this->_call( 'add', '--all', $path );
- $message .= "\n\tConflict: $path [local version]";
- }
- }
- $this->commit( $message );
- }
-
- function get_commit_message( $commit ) {
- list( $return, $response ) = $this->_call( 'log', '--format=%B', '-n', '1', $commit );
- return ( $return !== 0 ? false : join( "\n", $response ) );
- }
-
- private function strpos_haystack_array( $haystack, $needle, $offset=0 ) {
- if ( ! is_array( $haystack ) ) { $haystack = array( $haystack ); }
-
- foreach ( $haystack as $query ) {
- if ( strpos( $query, $needle, $offset) !== false ) { return true; }
- }
- return false;
- }
-
- private function cherry_pick( $commits ) {
- foreach ( $commits as $commit ) {
- if ( empty( $commit ) ) { return false; }
-
- list( $return, $response ) = $this->_call( 'cherry-pick', $commit );
-
- // abort the cherry-pick if the changes are already pushed
- if ( false !== $this->strpos_haystack_array( $response, 'previous cherry-pick is now empty' ) ) {
- $this->_call( 'cherry-pick', '--abort' );
- continue;
- }
-
- if ( $return != 0 ) {
- $this->_resolve_merge_conflicts( $this->get_commit_message( $commit ) );
- }
- }
- }
-
- function merge_with_accept_mine(...$commits) {
- do_action( 'gitium_before_merge_with_accept_mine' );
-
- if ( 1 == count($commits) && is_array( $commits[0] ) ) {
- $commits = $commits[0];
- }
-
- // get ahead commits
- $ahead_commits = $this->get_ahead_commits();
-
- // combine all commits with the ahead commits
- $commits = array_unique( array_merge( array_reverse( $commits ), $ahead_commits ) );
- $commits = array_reverse( $commits );
-
- // get the remote branch
- $remote_branch = $this->get_remote_tracking_branch();
-
- // get the local branch
- $local_branch = $this->get_local_branch();
-
- // rename the local branch to 'merge_local'
- $this->_call( 'branch', '-m', 'merge_local' );
-
- // local branch set up to track remote branch
- $this->_call( 'branch', $local_branch, $remote_branch );
-
- // checkout to the $local_branch
- list( $return, ) = $this->_call( 'checkout', $local_branch );
- if ( $return != 0 ) {
- $this->_call( 'branch', '-M', $local_branch );
- return false;
- }
-
- // don't cherry pick if there are no commits
- if ( count( $commits ) > 0 ) {
- $this->cherry_pick( $commits );
- }
-
- if ( $this->successfully_merged() ) { // git status without states: AA, DD, UA, AU ...
- // delete the 'merge_local' branch
- $this->_call( 'branch', '-D', 'merge_local' );
- return true;
- } else {
- $this->_call( 'cherry-pick', '--abort' );
- $this->_call( 'checkout', '-b', 'merge_local' );
- $this->_call( 'branch', '-M', $local_branch );
- return false;
- }
- }
-
- function successfully_merged() {
- list( , $response ) = $this->status( true );
- $changes = array_values( $response );
- return ( 0 == count( array_intersect( $changes, array( 'DD', 'AU', 'UD', 'UA', 'DU', 'AA', 'UU' ) ) ) );
- }
-
- function merge_initial_commit( $commit, $branch ) {
- list( $return, ) = $this->_call( 'branch', '-m', 'initial' );
- if ( 0 != $return ) {
- return false;
- }
- list( $return, ) = $this->_call( 'checkout', $branch );
- if ( 0 != $return ) {
- return false;
- }
- list( $return, ) = $this->_call(
- 'cherry-pick', '--strategy', 'recursive', '--strategy-option', 'theirs', $commit
- );
- if ( $return != 0 ) {
- $this->_resolve_merge_conflicts( $this->get_commit_message( $commit ) );
- if ( ! $this->successfully_merged() ) {
- $this->_call( 'cherry-pick', '--abort' );
- $this->_call( 'checkout', 'initial' );
- return false;
- }
- }
- $this->_call( 'branch', '-D', 'initial' );
- return true;
- }
-
- function get_remote_branches() {
- list( , $response ) = $this->_call( 'branch', '-r' );
- $response = array_map( 'trim', $response );
- $response = array_map( function( $b ) { return str_replace( "origin/", "", $b ); }, $response );
- return $response;
- }
-
- function add(...$args) {
- if ( 1 == count($args) && is_array( $args[0] ) ) {
- $args = $args[0];
- }
- $params = array_merge( array( 'add', '-n', '--all' ), $args );
- list ( , $response ) = call_user_func_array( array( $this, '_call' ), $params );
- $count = count( $response );
-
- $params = array_merge( array( 'add', '--all' ), $args );
- list ( , $response ) = call_user_func_array( array( $this, '_call' ), $params );
-
- return $count;
- }
-
- function commit( $message, $author_name = '', $author_email = '' ) {
- $author = '';
- if ( $author_email ) {
- if ( empty( $author_name ) ) {
- $author_name = $author_email;
- }
- $author = "$author_name <$author_email>";
- }
-
- if ( ! empty( $author ) ) {
- list( $return, $response ) = $this->_call( 'commit', '-m', $message, '--author', $author );
- } else {
- list( $return, $response ) = $this->_call( 'commit', '-m', $message );
- }
- if ( $return !== 0 ) { return false; }
-
- list( $return, $response ) = $this->_call( 'rev-parse', 'HEAD' );
-
- return ( $return === 0 ) ? $response[0] : false;
- }
-
- function push( $branch = '' ) {
- if ( ! empty( $branch ) ) {
- list( $return, ) = $this->_call( 'push', '--porcelain', '-u', 'origin', $branch );
- } else {
- list( $return, ) = $this->_call( 'push', '--porcelain', '-u', 'origin', 'HEAD' );
- }
- return ( $return == 0 );
- }
-
- /*
- * Get uncommited changes with status porcelain
- * git status --porcelain
- * It returns an array like this:
- array(
- file => deleted|modified
- ...
- )
- */
- function get_local_changes() {
- list( $return, $response ) = $this->_call( 'status', '--porcelain' );
-
- if ( 0 !== $return ) {
- return array();
- }
- $new_response = array();
- if ( ! empty( $response ) ) {
- foreach ( $response as $line ) :
- $work_tree_status = substr( $line, 1, 1 );
- $path = substr( $line, 3 );
-
- if ( ( '"' == $path[0] ) && ('"' == $path[strlen( $path ) - 1] ) ) {
- // git status --porcelain will put quotes around paths with whitespaces
- // we don't want the quotes, let's get rid of them
- $path = substr( $path, 1, strlen( $path ) - 2 );
- }
-
- if ( 'D' == $work_tree_status ) {
- $action = 'deleted';
- } else {
- $action = 'modified';
- }
- $new_response[ $path ] = $action;
- endforeach;
- }
- return $new_response;
- }
-
- function get_uncommited_changes() {
- list( , $changes ) = $this->status();
- return $changes;
- }
-
- function local_status() {
- list( $return, $response ) = $this->_call( 'status', '-s', '-b', '-u' );
- if ( 0 !== $return ) {
- return array( '', array() );
- }
-
- $new_response = array();
- if ( ! empty( $response ) ) {
- $branch_status = array_shift( $response );
- foreach ( $response as $idx => $line ) :
- unset( $index_status, $work_tree_status, $path, $new_path, $old_path );
-
- if ( empty( $line ) ) { continue; } // ignore empty lines like the last item
- if ( '#' == $line[0] ) { continue; } // ignore branch status
-
- $index_status = substr( $line, 0, 1 );
- $work_tree_status = substr( $line, 1, 1 );
- $path = substr( $line, 3 );
-
- $old_path = '';
- $new_path = explode( '->', $path );
- if ( ( 'R' === $index_status ) && ( ! empty( $new_path[1] ) ) ) {
- $old_path = trim( $new_path[0] );
- $path = trim( $new_path[1] );
- }
- $new_response[ $path ] = trim( $index_status . $work_tree_status . ' ' . $old_path );
- endforeach;
- }
-
- return array( $branch_status, $new_response );
- }
-
- function status( $local_only = false ) {
- list( $branch_status, $new_response ) = $this->local_status();
-
- if ( $local_only ) { return array( $branch_status, $new_response ); }
-
- $behind_count = 0;
- $ahead_count = 0;
- if ( preg_match( '/## ([^.]+)\.+([^ ]+)/', $branch_status, $matches ) ) {
- $local_branch = $matches[1];
- $remote_branch = $matches[2];
-
- list( , $response ) = $this->_call( 'rev-list', "$local_branch..$remote_branch", '--count' );
- $behind_count = (int)$response[0];
-
- list( , $response ) = $this->_call( 'rev-list', "$remote_branch..$local_branch", '--count' );
- $ahead_count = (int)$response[0];
- }
-
- if ( $behind_count ) {
- list( , $response ) = $this->_call( 'diff', '-z', '--name-status', "$local_branch~$ahead_count", $remote_branch );
- $response = explode( chr( 0 ), $response[0] );
- array_pop( $response );
- for ( $idx = 0 ; $idx < count( $response ) / 2 ; $idx++ ) {
- $file = $response[ $idx * 2 + 1 ];
- $change = $response[ $idx * 2 ];
- if ( ! isset( $new_response[ $file ] ) ) {
- $new_response[ $file ] = "r$change";
- }
- }
- }
- return array( $branch_status, $new_response );
- }
-
- /*
- * Checks if repo has uncommited changes
- * git status --porcelain
- */
- function is_dirty() {
- $changes = $this->get_uncommited_changes();
- return ! empty( $changes );
- }
-
- /**
- * Return the last n commits
- */
- function get_last_commits( $n = 20 ) {
- list( $return, $message ) = $this->_call( 'log', '-n', $n, '--pretty=format:%s' );
- if ( 0 !== $return ) { return false; }
-
- list( $return, $response ) = $this->_call( 'log', '-n', $n, '--pretty=format:%h|%an|%ae|%ad|%cn|%ce|%cd' );
- if ( 0 !== $return ) { return false; }
-
- foreach ( $response as $index => $value ) {
- $commit_info = explode( '|', $value );
- $commits[ $commit_info[0] ] = array(
- 'subject' => $message[ $index ],
- 'author_name' => $commit_info[1],
- 'author_email' => $commit_info[2],
- 'author_date' => $commit_info[3],
- );
- if ( $commit_info[1] != $commit_info[4] && $commit_info[2] != $commit_info[5] ) {
- $commits[ $commit_info[0] ]['committer_name'] = $commit_info[4];
- $commits[ $commit_info[0] ]['committer_email'] = $commit_info[5];
- $commits[ $commit_info[0] ]['committer_date'] = $commit_info[6];
- }
- }
- return $commits;
- }
-
- public function set_gitignore( $content ) {
- file_put_contents( $this->repo_dir . '/.gitignore', $content );
- return true;
- }
-
- public function get_gitignore() {
- return file_get_contents( $this->repo_dir . '/.gitignore' );
- }
-
- /**
- * Remove files in .gitignore from version control
- */
- function rm_cached( $path ) {
- list( $return, ) = $this->_call( 'rm', '--cached', $path );
- return ( $return == 0 );
- }
-
- function remove_wp_content_from_version_control() {
- $process = proc_open(
- 'rm -rf ' . ABSPATH . '/wp-content/.git',
- array(
- 0 => array( 'pipe', 'r' ), // stdin
- 1 => array( 'pipe', 'w' ), // stdout
- ),
- $pipes
- );
- if ( is_resource( $process ) ) {
- fclose( $pipes[0] );
- proc_close( $process );
- return true;
- }
- return false;
- }
-}
-
-if ( ! defined( 'GIT_DIR' ) ) {
- define( 'GIT_DIR', dirname( WP_CONTENT_DIR ) );
-}
-
-# global is needed here for wp-cli as it includes/exec files inside a function scope
-# this forces the context to really be global :\.
-global $git;
-$git = new Git_Wrapper( GIT_DIR );
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-admin.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-admin.php
deleted file mode 100644
index d8db6dd8..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-admin.php
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Admin {
-
- public function __construct() {
- global $git;
-
- list( , $git_private_key ) = gitium_get_keypair();
- $git->set_key( $git_private_key );
-
- if ( current_user_can( GITIUM_MANAGE_OPTIONS_CAPABILITY ) ) {
- $req = new Gitium_Requirements();
- if ( ! $req->get_status() ) {
- return false;
- }
-
- if ( $this->has_configuration() ) {
- new Gitium_Submenu_Status();
- new Gitium_Submenu_Commits();
- new Gitium_Submenu_Settings();
- new Gitium_Menu_Bubble();
- } else {
- new Gitium_Submenu_Configure();
- }
- }
- }
-
- public function has_configuration() {
- return _gitium_is_status_working() && _gitium_get_remote_tracking_branch();
- }
-}
-
-if ( ( is_admin() && ! is_multisite() ) || ( is_network_admin() && is_multisite() ) ) {
- add_action( 'init', 'gitium_admin_page' );
- function gitium_admin_page() {
- new Gitium_Admin();
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-help.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-help.php
deleted file mode 100644
index b41dae78..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-help.php
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Help {
-
- public function __construct( $hook, $help = 'gitium' ) {
- add_action( "load-{$hook}", array( $this, $help ), 20 );
- }
-
- private function general() {
- $screen = get_current_screen();
- $screen->add_help_tab( array( 'id' => 'gitium', 'title' => __( 'Gitium', 'gitium' ), 'callback' => array( $this, 'gitium' ) ) );
- $screen->add_help_tab( array( 'id' => 'faq', 'title' => __( 'F.A.Q.', 'gitium' ), 'callback' => array( $this, 'faq' ) ) );
- $screen->add_help_tab( array( 'id' => 'requirements', 'title' => __( 'Requirements', 'gitium' ), 'callback' => array( $this, 'requirements_callback' ) ) );
- $screen->set_help_sidebar( '' );
- }
-
- public function gitium() {
- echo '' . __( 'Gitium enables continuous deployment for WordPress integrating with tools such as Github, Bitbucket or Travis-CI. Plugin and theme updates, installs and removals are automatically versioned.', 'gitium' ) . '
';
- echo '' . __( 'Ninja code edits from the WordPress editor are also tracked into version control. Gitium is designed for sane development environments.', 'gitium' ) . '
';
- echo '' . __( 'Staging and production can follow different branches of the same repository. You can deploy code simply trough git push.', 'gitium' ) . '
';
- echo '' . __( 'Gitium requires git
command line tool minimum version 1.7 installed on the server and proc_open
PHP function enabled.', 'gitium' ) . '
';
- }
-
- public function faq() {
- echo '' . __( 'Could not connect to remote repository?', 'gitium' ) . ' '. __( 'If you encounter this kind of error you can try to fix it by setting the proper username of the .git directory.', 'gitium' ) . ' ' . __( 'Example', 'gitium' ) .': chown -R www-data:www-data .git
';
- echo '' . __( 'Is this plugin considered stable?', 'gitium' ) . ' '. __( 'Right now this plugin is considered alpha quality and should be used in production environments only by adventurous kinds.', 'gitium' ) . '
';
- echo '' . __( 'What happens in case of conflicts?', 'gitium' ) . ' '. __( 'The behavior in case of conflicts is to overwrite the changes on the origin repository with the local changes (ie. local modifications take precedence over remote ones).', 'gitium' ) . '
';
- echo '' . __( 'How to deploy automatically after a push?', 'gitium' ) . ' '. __( 'You can ping the webhook url after a push to automatically deploy the new code. The webhook url can be found under Code menu. This url plays well with Github or Bitbucket webhooks.', 'gitium' ) . '
';
- echo '' . __( 'Does it works on multi site setups?', 'gitium' ) . ' '. __( 'Gitium is not supporting multisite setups at the moment.', 'gitium' ) . '
';
- echo '' . __( 'How does gitium handle submodules?', 'gitium' ) . ' '. __( 'Currently submodules are not supported.', 'gitium' ) . '
';
- }
-
- public function requirements_callback() {
- echo '' . __( 'Gitium requires:', 'gitium' ) . '
';
- echo '' . __( 'the function proc_open available', 'gitium' ) . '
';
- echo '' . __( 'can exec the file inc/ssh-git', 'gitium' ) . '
';
-
- printf( '' . __( 'git version >= %s', 'gitium' ) . '
', GITIUM_MIN_GIT_VER );
- printf( '' . __( 'PHP version >= %s', 'gitium' ) . '
', GITIUM_MIN_PHP_VER );
- }
-
- public function configuration() {
- $screen = get_current_screen();
- $screen->add_help_tab( array( 'id' => 'configuration', 'title' => __( 'Configuration', 'gitium' ), 'callback' => array( $this, 'configuration_callback' ) ) );
- $this->general();
- }
-
- public function configuration_callback() {
- echo '' . __( 'Configuration step 1', 'gitium' ) . ' ' . __( 'In this step you must specify the Remote URL
. This URL represents the link between the git sistem and your site.', 'gitium' ) . '
';
- echo '' . __( 'You can get this URL from your Git repository and it looks like this:', 'gitium' ) . '
';
- echo '' . __( 'github.com -> git@github.com:user/example.git', 'gitium' ) . '
';
- echo '' . __( 'bitbucket.org -> git@bitbucket.org:user/glowing-happiness.git', 'gitium' ) . '
';
- echo '' . __( 'To go to the next step, fill the Remote URL
and then press the Fetch
button.', 'gitium' ) . '
';
- echo '' . __( 'Configuration step 2', 'gitium' ) . ' ' . __( 'In this step you must select the branch
you want to follow.', 'gitium' ) . '
';
- echo '' . __( 'Only this branch will have all of your code modifications.', 'gitium' ) . '
';
- echo '' . __( 'When you push the button Merge & Push
, all code(plugins & themes) will be pushed on the git repository.', 'gitium' ) . '
';
- }
-
- public function status() {
- $screen = get_current_screen();
- $screen->add_help_tab( array( 'id' => 'status', 'title' => __( 'Status', 'gitium' ), 'callback' => array( $this, 'status_callback' ) ) );
- $this->general();
- }
-
- public function status_callback() {
- echo '' . __( 'On status page you can see what files are modified, and you can commit the changes to git.', 'gitium' ) . '
';
- }
-
- public function commits() {
- $screen = get_current_screen();
- $screen->add_help_tab( array( 'id' => 'commits', 'title' => __( 'Commits', 'gitium' ), 'callback' => array( $this, 'commits_callback' ) ) );
- $this->general();
- }
-
- public function commits_callback() {
- echo '' . __( 'You may be wondering what is the difference between author and committer.', 'gitium' ) . '
';
- echo '' . __( 'The author
is the person who originally wrote the patch, whereas the committer
is the person who last applied the patch.', 'gitium' ) . '
';
- echo '' . __( 'So, if you send in a patch to a project and one of the core members applies the patch, both of you get credit — you as the author and the core member as the committer.', 'gitium' ) . '
';
- }
-
- public function settings() {
- $screen = get_current_screen();
- $screen->add_help_tab( array( 'id' => 'settings', 'title' => __( 'Settings', 'gitium' ), 'callback' => array( $this, 'settings_callback' ) ) );
- $this->general();
- }
-
- public function settings_callback() {
- echo '' . __( 'Each line from the gitignore file specifies a pattern.', 'gitium' ) . '
';
- echo '' . __( 'When deciding whether to ignore a path, Git normally checks gitignore patterns from multiple sources, with the following order of precedence, from highest to lowest (within one level of precedence, the last matching pattern decides the outcome)', 'gitium' ) . '
';
- echo '' . sprintf( __( 'Read more on %s', 'gitium' ), 'git documentation ' ) . '
';
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu-bubble.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu-bubble.php
deleted file mode 100644
index 81f3e2dd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu-bubble.php
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Menu_Bubble extends Gitium_Menu {
-
- public function __construct() {
- parent::__construct( $this->gitium_menu_slug, $this->gitium_menu_slug );
- add_action( GITIUM_ADMIN_MENU_ACTION, array( $this, 'add_menu_bubble' ) );
- }
-
- public function add_menu_bubble() {
- global $menu;
-
- if ( ! _gitium_is_status_working() ) {
- foreach ( $menu as $key => $value ) {
- if ( $this->menu_slug == $menu[ $key ][2] ) {
- $menu_bubble = get_transient( 'gitium_menu_bubble' );
- if ( false === $menu_bubble ) { $menu_bubble = ''; }
- $menu[ $key ][0] = str_replace( $menu_bubble, '', $menu[ $key ][0] );
- delete_transient( 'gitium_menu_bubble' );
- return;
- }
- }
- }
-
- list( , $changes ) = _gitium_status();
-
- if ( ! empty( $changes ) ) :
- $bubble_count = count( $changes );
- foreach ( $menu as $key => $value ) {
- if ( $this->menu_slug == $menu[ $key ][2] ) {
- $menu_bubble = " "
- . $bubble_count . ' ';
- $menu[ $key ][0] .= $menu_bubble;
- set_transient( 'gitium_menu_bubble', $menu_bubble );
- return;
- }
- }
- endif;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu.php
deleted file mode 100644
index ebad1b1a..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-menu.php
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Menu {
-
- public $gitium_menu_slug = 'gitium/gitium.php';
- public $commits_menu_slug = 'gitium/gitium-commits.php';
- public $settings_menu_slug = 'gitium/gitium-settings.php';
-
- public $git = null;
-
- public $menu_slug;
- public $submenu_slug;
-
- public function __construct( $menu_slug, $submenu_slug ) {
- global $git;
- $this->git = $git;
-
- $this->menu_slug = $menu_slug;
- $this->submenu_slug = $submenu_slug;
- }
-
- public function redirect( $message = '', $success = false, $menu_slug = '' ) {
- $message_id = substr(
- md5( str_shuffle( 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' ) . time() ), 0, 8
- );
- if ( $message ) {
- set_transient( 'message_' . $message_id, $message, 900 );
- }
- if ( '' === $menu_slug ) { $menu_slug = $this->menu_slug; }
- $url = network_admin_url( 'admin.php?page=' . $menu_slug );
- $url = esc_url_raw( add_query_arg(
- array(
- 'message' => $message_id,
- 'success' => $success,
- ),
- $url
- ) );
- wp_safe_redirect( $url );
- exit;
- }
-
- public function success_redirect( $message = '', $menu_slug = '' ) {
- $this->redirect( $message, true, $menu_slug );
- }
-
- public function disconnect_repository() {
- $gitium_disconnect_repo = filter_input(INPUT_POST, 'GitiumSubmitDisconnectRepository', FILTER_SANITIZE_STRING);
-
- if ( ! isset( $gitium_disconnect_repo ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
- gitium_uninstall_hook();
- if ( ! $this->git->remove_remote() ) {
- $this->redirect( __('Could not remove remote.', 'gitium') );
- }
- $this->success_redirect( __('You are now disconnected from the repository. New key pair generated.', 'gitium') );
- }
-
- public function show_message() {
- $get_message = filter_input(INPUT_GET, 'message', FILTER_SANITIZE_STRING);
- $get_success = filter_input(INPUT_GET, 'success', FILTER_SANITIZE_STRING);
- if ( isset( $get_message ) && $get_message ) {
- $type = ( isset( $get_success ) && $get_success == 1 ) ? 'updated' : 'error';
- $message = get_transient( 'message_'. $get_message );
- if ( $message ) : ?>
-
-
-
-
- ' class="button secondary" onclick="return confirm('')"/>
-
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Requirements {
-
- private $req = array();
- private $msg = array();
-
- /**
- * Gitium requires:
- * git min version
- * the function proc_open available
- * PHP min version
- * can exec the file inc/ssh-git
- */
- public function __construct() {
- $this->_check_req();
- add_action( GITIUM_ADMIN_NOTICES_ACTION, array( $this, 'admin_notices' ) );
- }
-
- private function _check_req() {
- list($this->req['is_git_version'], $this->msg['is_git_version'] ) = $this->is_git_version();
- list($this->req['is_proc_open'], $this->msg['is_proc_open'] ) = $this->is_proc_open();
- list($this->req['is_php_verion'], $this->msg['is_php_verion'] ) = $this->is_php_version();
- list($this->req['can_exec_ssh_git_file'],$this->msg['can_exec_ssh_git_file']) = $this->can_exec_ssh_git_file();
-
- return $this->req;
- }
-
- public function admin_notices() {
- if ( ! current_user_can( GITIUM_MANAGE_OPTIONS_CAPABILITY ) ) {
- return;
- }
-
- foreach ( $this->req as $key => $value ) {
- if ( false === $value ) {
- echo "Gitium Requirement: {$this->msg[$key]}
";
- }
- }
- }
-
- public function get_status() {
- $requirements = $this->req;
-
- foreach ( $requirements as $req ) :
- if ( false === $req ) :
- return false;
- endif;
- endforeach;
-
- return true;
- }
-
- private function is_git_version() {
- $git_version = get_transient( 'gitium_git_version' );
-
- if ( GITIUM_MIN_GIT_VER > substr( $git_version, 0, 3 ) ) {
- global $git;
- $git_version = $git->get_version();
- set_transient( 'gitium_git_version', $git_version );
- if ( empty( $git_version ) ) {
- return array( false, 'There is no git installed on this server.' );
- } else if ( GITIUM_MIN_GIT_VER > substr( $git_version, 0, 3 ) ) {
- return array( false, "The git version is `$git_version` and must be greater than `" . GITIUM_MIN_GIT_VER . "`!" );
- }
- }
-
- return array( true, "The git version is `$git_version`." );
- }
-
- private function is_proc_open() {
- if ( ! function_exists( 'proc_open' ) ) {
- return array( false, 'The function `proc_open` is disabled!' );
- } else {
- return array( true, 'The function `proc_open` is enabled!' );
- }
- }
-
- private function is_php_version() {
- if ( ! function_exists( 'phpversion' ) ) {
- return array( false, 'The function `phpversion` is disabled!' );
- } else {
- $php_version = phpversion();
- if ( GITIUM_MIN_PHP_VER <= substr( $php_version, 0, 3 ) ) {
- return array( true, "The PHP version is `$php_version`." );
- } else {
- return array( false, "The PHP version is `$php_version` and is not greater or equal to " . GITIUM_MIN_PHP_VER );
- }
- }
- }
-
- private function can_exec_ssh_git_file() {
- $filepath = dirname( __FILE__ ) . '/ssh-git';
-
- if ( ! function_exists( 'is_executable' ) ) {
- return array( false, 'The function `is_executable` is disabled!' );
- } else if ( is_executable( $filepath ) ) {
- return array( true, "The `$filepath` file can be executed!" );
- } else {
- return array( false, "The `$filepath` file is not executable" );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-commits.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-commits.php
deleted file mode 100644
index d7811294..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-commits.php
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Submenu_Commits extends Gitium_Menu {
-
- public function __construct() {
- parent::__construct( $this->gitium_menu_slug, $this->commits_menu_slug );
- add_action( GITIUM_ADMIN_MENU_ACTION, array( $this, 'admin_menu' ) );
- }
-
- public function admin_menu() {
- $submenu_hook = add_submenu_page(
- $this->menu_slug,
- __( 'Git Commits', 'gitium' ),
- __( 'Commits', 'gitium' ),
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->submenu_slug,
- array( $this, 'page' )
- );
- new Gitium_Help( $submenu_hook, 'commits' );
- }
-
- public function table_head() {
- ?>
-
-
-
-
-
-
- ';
- }
-
- public function table_start_row() {
- static $counter = 0;
- $counter++;
- echo ( 0 != $counter % 2 ) ? '' : ' ';
- }
-
- public function page() {
- ?>
-
-
-
- table_head(); ?>
-
- git->get_last_commits( GITIUM_LAST_COMMITS ) as $commit_id => $data ) {
- unset( $committer_name );
- extract( $data );
- if ( isset( $committer_name ) ) {
- $committer = " -> $committer_name " . sprintf( __( 'committed %s ago', 'gitium' ), human_time_diff( strtotime( $committer_date ) ) ) . ' ';
- $committers_avatar = '' . get_avatar( $committer_email, 16 ) . '
';
- } else {
- $committer = '';
- $committers_avatar = '';
- }
- $this->table_start_row();
- ?>
-
-
-
-
-
-
-
- table_end_row();
- }
- ?>
-
-
-
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Submenu_Configure extends Gitium_Menu {
-
- public function __construct() {
- parent::__construct( $this->gitium_menu_slug, $this->gitium_menu_slug );
-
- if ( current_user_can( GITIUM_MANAGE_OPTIONS_CAPABILITY ) ) {
- add_action( GITIUM_ADMIN_MENU_ACTION, array( $this, 'admin_menu' ) );
- add_action( 'admin_init', array( $this, 'regenerate_keypair' ) );
- add_action( 'admin_init', array( $this, 'gitium_warning' ) );
- add_action( 'admin_init', array( $this, 'init_repo' ) );
- add_action( 'admin_init', array( $this, 'choose_branch' ) );
- add_action( 'admin_init', array( $this, 'disconnect_repository' ) );
- }
- }
-
- public function admin_menu() {
- add_menu_page(
- __( 'Git Configuration', 'gitium' ),
- 'Gitium',
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->menu_slug,
- array( $this, 'page' ),
- plugins_url( 'img/gitium.png', dirname( __FILE__ ) )
- );
-
- $submenu_hook = add_submenu_page(
- $this->menu_slug,
- __( 'Git Configuration', 'gitium' ),
- __( 'Configuration', 'gitium' ),
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->menu_slug,
- array( $this, 'page' )
- );
- new Gitium_Help( $submenu_hook, 'configuration' );
- }
-
- public function regenerate_keypair() {
- $submit_keypair = filter_input(INPUT_POST, 'GitiumSubmitRegenerateKeypair', FILTER_SANITIZE_STRING);
- if ( ! isset( $submit_keypair ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
- gitium_get_keypair( true );
- $this->success_redirect( __( 'Keypair successfully regenerated.', 'gitium' ) );
- }
-
- public function gitium_warning() {
- $submit_warning = filter_input(INPUT_POST, 'GitiumSubmitWarning', FILTER_SANITIZE_STRING);
- if ( ! isset( $submit_warning ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
- $this->git->remove_wp_content_from_version_control();
- }
-
- public function init_process( $remote_url ) {
- $git = $this->git;
- $git->init();
- $git->add_remote_url( $remote_url );
- $git->fetch_ref();
- if ( count( $git->get_remote_branches() ) == 0 ) {
- $git->add( 'wp-content', '.gitignore' );
- $current_user = wp_get_current_user();
- $git->commit( __( 'Initial commit', 'gitium' ), $current_user->display_name, $current_user->user_email );
- if ( ! $git->push( 'master' ) ) {
- $git->cleanup();
- return false;
- }
- }
- return true;
- }
-
- public function init_repo() {
- $remote_url = filter_input(INPUT_POST, 'remote_url', FILTER_SANITIZE_STRING);
- $gitium_submit_fetch = filter_input(INPUT_POST, 'GitiumSubmitFetch', FILTER_SANITIZE_STRING);
- if ( ! isset( $gitium_submit_fetch ) || ! isset( $remote_url ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
-
- if ( empty( $remote_url ) ) {
- $this->redirect( __( 'Please specify a valid repo.', 'gitium' ) );
- }
- if ( $this->init_process( $remote_url ) ) {
- $this->success_redirect( __( 'Repository initialized successfully.', 'gitium' ) );
- } else {
- global $git;
- $this->redirect( __( 'Could not push to remote: ', 'gitium' ) . $remote_url . ' ERROR: ' . serialize( $git->get_last_error() ) );
- }
- }
-
- public function choose_branch() {
- $gitium_submit_merge_push = filter_input(INPUT_POST, 'GitiumSubmitMergeAndPush', FILTER_SANITIZE_STRING);
- $tracking_branch = filter_input(INPUT_POST, 'tracking_branch', FILTER_SANITIZE_STRING);
- if ( ! isset( $gitium_submit_merge_push ) || ! isset( $tracking_branch ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
- $this->git->add();
-
- $branch = $tracking_branch;
- set_transient( 'gitium_remote_tracking_branch', $branch );
- $current_user = wp_get_current_user();
-
- $commit = $this->git->commit( __( 'Merged existing code from ', 'gitium' ) . get_home_url(), $current_user->display_name, $current_user->user_email );
- if ( ! $commit ) {
- $this->git->cleanup();
- $this->redirect( __( 'Could not create initial commit -> ', 'gitium' ) . $this->git->get_last_error() );
- }
- if ( ! $this->git->merge_initial_commit( $commit, $branch ) ) {
- $this->git->cleanup();
- $this->redirect( __( 'Could not merge the initial commit -> ', 'gitium' ) . $this->git->get_last_error() );
- }
- $this->git->push( $branch );
- $this->success_redirect( __( 'Branch selected successfully.', 'gitium' ) );
- }
-
- private function setup_step_1_remote_url() {
- ?>
-
-
-
-
-
- https://user:pass@github.com/user/example.git', 'gitium' ); ?>
-
-
-
-
-
-
-
-
-
-
-
- github or bitbucket .', 'gitium' ); ?>
-
-
-
-
-
-
-
-
- wp-content
is already under version control. You must remove it from version control in order to continue.
- NOTE by doing this you WILL LOSE commit history, but NOT the actual files.
-
-
-
-
-
- git; ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- show_disconnect_repository_button();
- ?>
-
- show_message();
-
- if ( wp_content_is_versioned() ) {
- return $this->setup_warning();
- }
-
- if ( ! $this->git->is_status_working() || ! $this->git->get_remote_url() ) {
- return $this->setup_step_1();
- }
-
- if ( ! $this->git->get_remote_tracking_branch() ) {
- return $this->setup_step_2();
- }
-
- _gitium_status( true );
- gitium_update_is_status_working();
- gitium_update_remote_tracking_branch();
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-settings.php b/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-settings.php
deleted file mode 100644
index 3bc93c5c..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/class-gitium-submenu-settings.php
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Submenu_Settings extends Gitium_Menu {
-
- public function __construct() {
- parent::__construct( $this->gitium_menu_slug, $this->settings_menu_slug );
- add_action( GITIUM_ADMIN_MENU_ACTION, array( $this, 'admin_menu' ) );
- add_action( 'admin_init', array( $this, 'save' ) );
- add_action( 'admin_init', array( $this, 'regenerate_webhook' ) );
- add_action( 'admin_init', array( $this, 'regenerate_public_key' ) );
- }
-
- public function admin_menu() {
- $submenu_hook = add_submenu_page(
- $this->menu_slug,
- 'Settings',
- __( 'Settings' ),
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->submenu_slug,
- array( $this, 'page' )
- );
- new Gitium_Help( $submenu_hook, 'settings' );
- }
-
- public function regenerate_webhook() {
- $gitium_regen_webhook = filter_input(INPUT_POST, 'GitiumSubmitRegenerateWebhook', FILTER_SANITIZE_STRING);
- if ( ! isset( $gitium_regen_webhook ) ) {
- return;
- }
- check_admin_referer( 'gitium-settings' );
- gitium_get_webhook_key( true );
- $this->success_redirect( __( 'Webhook URL regenerates. Please make sure you update any external references.', 'gitium' ), $this->settings_menu_slug );
- }
-
- public function regenerate_public_key() {
- $submit_regenerate_pub_key = filter_input(INPUT_POST, 'GitiumSubmitRegeneratePublicKey', FILTER_SANITIZE_STRING);
- if ( ! isset( $submit_regenerate_pub_key ) ) {
- return;
- }
- check_admin_referer( 'gitium-settings' );
- gitium_get_keypair( true );
- $this->success_redirect( __( 'Public key successfully regenerated.', 'gitium' ), $this->settings_menu_slug );
- }
-
- private function show_webhook_table_webhook_url() {
- ?>
-
- :
-
-
-
-
- Merge changes
-
-
-
-
-
-
- :
-
-
-
-
- github or bitbucket .', 'gitium' ); ?>
-
-
-
-
-
- git->set_gitignore( $gitignore_content ) ) {
- gitium_commit_and_push_gitignore_file();
- $this->success_redirect( __( 'The file `.gitignore` is saved!', 'gitium' ), $this->settings_menu_slug );
- } else {
- $this->redirect( __( 'The file `.gitignore` could not be saved!', 'gitium' ), false, $this->settings_menu_slug );
- }
- }
-
- public function page() {
- $this->show_message();
- ?>
-
-
-
-
-
-
-
- git->get_gitignore() ); ?>
-
- show_webhook_table(); ?>
-
-
-
-
-
-
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-class Gitium_Submenu_Status extends Gitium_Menu {
-
- public function __construct() {
- parent::__construct( $this->gitium_menu_slug, $this->gitium_menu_slug );
-
- if ( current_user_can( GITIUM_MANAGE_OPTIONS_CAPABILITY ) ) {
- add_action( GITIUM_ADMIN_MENU_ACTION, array( $this, 'admin_menu' ) );
- add_action( 'admin_init', array( $this, 'save_changes' ) );
- add_action( 'admin_init', array( $this, 'save_ignorelist' ) );
- add_action( 'admin_init', array( $this, 'disconnect_repository' ) );
- }
- }
-
- public function admin_menu() {
- add_menu_page(
- __( 'Git Status', 'gitium' ),
- 'Gitium',
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->menu_slug,
- array( $this, 'page' ),
- plugins_url( 'img/gitium.png', dirname( __FILE__ ) )
- );
-
- $submenu_hook = add_submenu_page(
- $this->menu_slug,
- __( 'Git Status', 'gitium' ),
- __( 'Status', 'gitium' ),
- GITIUM_MANAGE_OPTIONS_CAPABILITY,
- $this->menu_slug,
- array( $this, 'page' )
- );
- new Gitium_Help( $submenu_hook, 'status' );
- }
-
- private function get_change_meanings() {
- return array(
- '??' => __( 'untracked', 'gitium' ),
- 'rM' => __( 'modified on remote', 'gitium' ),
- 'rA' => __( 'added to remote', 'gitium' ),
- 'rD' => __( 'deleted from remote', 'gitium' ),
- 'D' => __( 'deleted from work tree', 'gitium' ),
- 'M' => __( 'updated in work tree', 'gitium' ),
- 'A' => __( 'added to work tree', 'gitium' ),
- 'AM' => __( 'added to work tree', 'gitium' ),
- 'R' => __( 'deleted from work tree', 'gitium' ),
- );
- }
-
- public function humanized_change( $change ) {
- $meaning = $this->get_change_meanings();
-
- if ( isset( $meaning[ $change ] ) ) {
- return $meaning[ $change ];
- }
- if ( 0 === strpos( $change, 'R ' ) ) {
- $old_filename = substr( $change, 2 );
- $change = sprintf( __( 'renamed from `%s`', 'gitium' ), $old_filename );
- }
- return $change;
- }
-
- public function save_ignorelist() {
- $gitium_ignore_path = filter_input(INPUT_POST, 'GitiumIgnorePath', FILTER_SANITIZE_STRING);
- if ( ! isset( $gitium_ignore_path ) ) {
- return;
- } else {
- $path = $gitium_ignore_path;
- }
- check_admin_referer( 'gitium-admin' );
-
- if ( $this->git->set_gitignore( join( "\n", array_unique( array_merge( explode( "\n", $this->git->get_gitignore() ), array( $path ) ) ) ) ) ) {
- gitium_commit_and_push_gitignore_file( $path );
- $this->success_redirect( __( 'The file `.gitignore` is saved!', 'gitium' ), $this->gitium_menu_slug );
- } else {
- $this->redirect( __( 'The file `.gitignore` could not be saved!', 'gitium' ), false, $this->gitium_menu_slug );
- }
- }
-
- public function save_changes() {
- $gitium_save_changes = filter_input(INPUT_POST, 'GitiumSubmitSaveChanges', FILTER_SANITIZE_STRING);
- $gitium_commit_msg = filter_input(INPUT_POST, 'commitmsg', FILTER_SANITIZE_STRING);
- if ( ! isset( $gitium_save_changes ) ) {
- return;
- }
- check_admin_referer( 'gitium-admin' );
-
- gitium_enable_maintenance_mode() or wp_die( __( 'Could not enable the maintenance mode!', 'gitium' ) );
- $this->git->add();
- $commitmsg = sprintf( __( 'Merged changes from %s on %s', 'gitium' ), get_site_url(), date( 'm.d.Y' ) );
- if ( isset( $gitium_commit_msg ) && ! empty( $gitium_commit_msg ) ) {
- $commitmsg = $gitium_commit_msg;
- }
- $current_user = wp_get_current_user();
- $commit = $this->git->commit( $commitmsg, $current_user->display_name, $current_user->user_email );
- if ( ! $commit ) {
- $this->redirect( __( 'Could not commit!', 'gitium' ) );
- }
- $merge_success = gitium_merge_and_push( $commit );
- gitium_disable_maintenance_mode();
- if ( ! $merge_success ) {
- $this->redirect( __( 'Merge failed: ', 'gitium' ) . $this->git->get_last_error() );
- }
- $this->success_redirect( sprintf( __( 'Pushed commit: `%s`', 'gitium' ), $commitmsg ) );
- }
-
- private function show_ahead_and_behind_info( $changes = '' ) {
- $branch = $this->git->get_remote_tracking_branch();
- $ahead = count( $this->git->get_ahead_commits() );
- $behind = count( $this->git->get_behind_commits() );
- ?>
-
- %s.', 'gitium' ), $branch );
- ?>
-
-
-
- $type ) :
- $counter++;
- echo ( 0 != $counter % 2 ) ? '' : ' ';
- echo '' . esc_html( $path ) . ' ';
- echo ' ';
- echo '';
- if ( is_dir( ABSPATH . '/' . $path ) && is_dir( ABSPATH . '/' . trailingslashit( $path ) . '.git' ) ) { // test if is submodule
- _e( 'Submodules are not supported in this version.', 'gitium' );
- } else {
- echo '' . esc_html( $this->humanized_change( $type ) ) . ' ';
- }
- echo ' ';
- echo ' ';
- endforeach;
- }
-
- private function show_git_changes_table( $changes = '' ) {
- ?>
-
-
-
-
- ';
- _e( 'Nothing to commit, working directory clean.', 'gitium' );
- echo '
';
- else :
- $this->show_git_changes_table_rows( $changes );
- endif;
- ?>
-
-
-
-
- :
-
-
-
- />
-
-
-
-
-
git->get_remote_url() ); ?>
-
-
- show_ahead_and_behind_info( $changes );
- $this->show_git_changes_table( $changes );
- $this->show_git_changes_table_submit_buttons( $changes );
- ?>
-
- show_disconnect_repository_button();
- ?>
-
- show_message();
- _gitium_status( true );
- $this->changes_page();
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/inc/ssh-git b/wp-content/upgrade-temp-backup/plugins/gitium/inc/ssh-git
deleted file mode 100755
index ee976562..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/inc/ssh-git
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-SSH_AUTH_SOCK=''
-SSH="ssh -q -F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
-if [ -z "$GIT_KEY_FILE" ] ; then
- exec $SSH "$@"
-else
- exec $SSH -i "$GIT_KEY_FILE" "$@"
-fi
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-es_ES.mo b/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-es_ES.mo
deleted file mode 100644
index d0ce249fe33849ee1fa59e1964824ee96d4397cb..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 13284
zcmeI2Ym6OddB=x4I0afrX$!QxcCfLVJ;z=LLRcrhvWcBI$>QA*pnyH+oOkz(J!j@H
zmtAj43sfp7>II2{B0wOyP>@?i&>B_LY5}nyXeFv3RYC=+l}az7t@waiC?8t2zyI^j
zoO9Nf(0=cc$N#y!^Io3k|6JZ@_HSSE?2knJ1{|;CxcgaA^f>tT=kg!F_dY+0UIV@l
z+znm^_2?<^{%1tdH^G;2y>mwty$HMud>(io_(Jeu@K*304Hn=}as2`CHt?h19`Mf^
z{0H!7xxVF=Fz%~CwL1;o364QM|179^d
zL*OCsD5&?}4Qibq1z!z*8hk1E7of)d8&KnY59D9;pZurxFQ$>!^>R@CegxF~J_c(3
zp9L?2p9e33Z$p`q<6nUt@Y~>rz~}#TX!mhYa$AHHuL5)Me(;0fD)?mKNm#~JO@g??*kXXPk~2qO9kFe*hi?{|NjP_>bV1!N=zUUrs?9L=tU)4}+foSHbUrlG92z=&29Bo$DNw
zoW2e|`x)>8e4Oha?vJ7);Cl}Q{eGpve+3`l{>vc8x4<5F8oZlHX?>4_;?c*!7lB^{
zrO&T{lKXQIuJrISQ0;F6p?35-kfEbxQ1bgV@Fn0UK*{Cvpyc}%kZDFe4*lN3fr(mQ
zy4LSG0jxdZo%~+goN2w%>7yJ>%YJwA|C>3U&!PF~w}ayrJA+@~BhC34P_ns?Lu-*e
zNCq$EILD#&zLP`t0`yUmWjfl_kIqh$yIe7>iaNu(7CqIJNqZ1s5
z?M{eMG3SdMxUB1b(xrZ{6ciNxq
z;3&sVj$h(<7Kb=@FUOlWaPbIgFmTl{Dcx$4dROIKcz3S5mQ=}FmKXkSlOdt#(EyhHRQXN!6?S7ks5TcM)Ztmnf!)`xkiM^@=#_
z52F+LXp~fLuYUELlwR+m##&tOq6$?MgD;8H5h0m&V
z)0K6PE^FxF;G)g9tjFWLsQjQCy)oxLLfOcR3#H35H>%Srab?2nOJCLF@<_B8_lGb#
z^KP}sM>drS)q@F?W8Y6!6Aj_UaaH*u>qd*~zSzV}PynVbj-0UQ03;XYv+)jL$}b(N1`VxPyG
z4hfc!Qi=+zk|f2rMuQTYDQrexF0KNna;<3cV&UIaC#{^1Ym}HHdnulpvD|926
zHmXPM@NT~Q`gY2GAd-l)r7xJCtsv-XT;%<;`PgS|$4e)d+-jYfCu`)+LNISP5bKx%
zdUANb0cJ3z=@DxpvY1}35lOrXyF@eiek3}zYECut%u8NT9D}w@&?qm)6Axn5mWtYyOKDj&NdSsTip3;d|dS3^H#zwjPH&kn{os0ybpRbeZ+WHE8j
zyG&d@Mp&y3_vPx+FEo;GojA9Og)!dqD1vA`xo+LAZB^
zf9$ci!R$<6i;-lN}-PjE+xg?_ck&)8YCcDt+vu-##r4HzH9PATMP$mOkAjqCzzb+-UJvr$3&G)b)%)Y8b(V@*p|^UtHSKpaJ5XJ@zFuT
zO+=a+2pt4}5(3^PehAN<$cK;F?JU(j{EUM%?I~9DG~5wKkbGF`f;+dnJQtmj*BFsR
zHncc1A)EC(bNQ(6k>_0C4MlvJNOZ>BSB9m}5*#hha6C@O!`Qv6X5JMG!10$u%UgQp
zS;QEJD<6am6u&)X08>KpJ>D9u!-%?2^d!R?AlYTaZ~wLQjwX?JIVa);M~(T~0G1{Y
zMNuiIMSflmMROt81;2~WmJmjM)HBVD$EorQSw0y?e>mrQu(46LBYkyvX>7oK=e-{`
zwh^G!SYBFoLEpNZ=~N*++>+%IRait78#B~;Mg}5o@MQ3Obrn~EcMIHON){&Y$T1Oq
zhAQr@4dt6KW^^nQJUiq?a%)4e+2WWDtkh-sX>v8`#kATa1>I`X{j!z-b;z()jf^A5@S(U<8Y$klWbrquJ8VuH+>
za9_a}0l~jjOas@Y$uS`o5rUCvpmB)IR+nM6GqP-wFCL{iiBZciw>Rxk3p@h9p|>p8
zLi>anmSnfBLdMgL9*v6(2e>n8T!{IOnR8~`Mz~UGtff#R$+WDoN%``S%3@ZVL@ed|
zsD(YMOoKql5c2Uu7~0x7&>-CR#E~?&L}`8zw@4vb-I61OwJkoBP;)D`x(w(|VJT;PP8YN?+24fS1Bwv^9
zPIrFI%wWERJ&FmFjFqd;z;4W;@yl%p!7sJx>r9ZEINxqW4FsLCv>^BCwKnU-5bvY#
zBCXJ3yp~6kLP$3+)>LnR3P-oyT(B+1TG(@UWT9;A%Tk+-s2zLK9d0`#GTSVo0cpQZ
zO^wZzw%wafi_V%IO*@C_oiKr!Jx?F{FTBHlMcii1@!F8uMm(BH3)zm~5T$stEzhxg6{oxWXbq?@acSm$=
z>knhL4-R)r?BrpxuB#!uU+AC2qtw6ipa
zFquck`W1U9?TnR{sw&tUZC#yN8Epzx_#P2lh6yrjYbfZ1u2iMnx}@5l
z5nxhfHN~s89-9Zdp>}6b+>uIQzqQ>?3C=R!iW*$_Z`nNZAi?dE|#RLqraJ5_dvaWA2S
zKqun%iLEP)!%V!aWG$4Jt}%-vlXlt#lfa@%Eb1Cr8b9i-%jTf+6s*_#iaI2iN))Ebb#TaDNGe;6xLs3sHENy$Ld-*rrH?=m?ef|AO37GnyKRQp!d
z0*Rw~j9N4b6HQarxorluLa>FMGVh_JN%dEQK|IzbtF40@WY^bLfZhM81l%e>gO?Q1
z@G%LS#JWTX?G%Dmw$+49H0WWDmde^Dk_(ooc#B6-Rnt7Ar^ua9(GhPMWwLun7^y#_H?Kt>(sx-J8D-FwTSUiMjIBAij<oNmm(UZ6sN!)v
zCs#l4WY1IQW^--&3YB1a;8rkQCnsb(aHbtf#B`RThBPM0MoVZ%EVtrtY$l?zoW61;
zSX*#$jw-RD2_#*_B$bR@Qy`Y36CtcbykzQyTnM8irb*e&719gaXWGkiZC$=dZMGY2
zeGH#JB0ONSsuh#8M~^_fJ#JCa#Ug1BCW^gjx^-nCdKNB}|@yyVo%IHs>1Vg+JpqyF5apbP;S
zh}@shi6g^vNM%q4dX2X(sjQ_2(hI{`nn2M1qg0JH)QcE5Fn`D%=i6=C@U(Y?wgmXa!H+jApqbr_V>jn33n9G!%TMcBwn
ziY;Mf2w6X-N~H*n@wMT)4T7qwG@oaXgzb)4{!;7V=IAPXdzAq3mTK+Rw=PkXCR-CZ
z-O|=om8Ik6a@<@_Sh|g)#zaYSMj1_I`m|>SM7@@MZ7G_sQW}RkbYOkqno?3Uwbket
zMc9}Ri{;4VII%4hhUD%0i|LW_p7MI~tkoC|nImW%5Zei3;0&3d3w7$o`%
zx=^C_g*bL!9T$VRXtC9Ao2-~X(Qt*QCxDbmLk)`GTTfb$wDgMni-~LBpvxlP)F%(|
zh_H{wMVv9){eCizmD!Q3jCu@Dp;Yphwed22P|_LoxNj>b4ZQL@B^~EYaWX%Z4xUR1-`lB&@5y&Xtze&{_*}BO}*A=)4J64gxPR%S;*X}$`a%>E=dAC^#Z>DYZ
z2qI|12XmF>TWveIjkdTQQgI7pc&{t7;KlpY<@()OI6Bzgm*I!e!02wdyyW?Hzah
zc`Dy5=o-J%w$L9DSTQ(Mz^OWi97V5~6Nyy=|LP^A-0mvQIn{u|#^RiIFt*>Ka3RCd
zE^M~-_Qn{dwcEO~QyRB#QKB7^v0R|dGt6#gn5CeBv%+^L6=dSCxCnJSSdUC$e)V`;jmKd&r$VBIw
z_{`R16}M!6t0EF2zNzq4KFz)ay+G&*K74ePS{ogwHZ<>&Kf4n
zNfW_WHc8W@n$G7qZ3FiqPGUNXwXME#t?O+QX?3GVETP6j6pY`KFRcc^-
z9)uh0$u9-Z+D7l2yx+bnC;VfZ-mKS<%;Y_Yj9W9GYM-lo%8N#kQ`xCXa2heog6o?b+t_a1G`$S&o(GRh>U>e-)^Nw7LuZ!=p9I
z%JOcM6Umw6s99zc7R5@j*@!q3hcTk&bMdh?dQh^2z3JOY9>rG6v^!guieAW)o8&c8
z5t>I5t5W}MW%;&FzU}6Zsnz>Rb\n"
-"Language-Team: Presslabs \n"
-"Language: English\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.5.4\n"
-"X-Poedit-KeywordsList: __;_e\n"
-"X-Poedit-Basepath: .\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-SearchPath-0: ..\n"
-
-#: ../inc/class-gitium-submenu-configure.php:34
-#: ../inc/class-gitium-submenu-configure.php:44
-msgid "Git Configuration"
-msgstr "Configuración Git"
-
-#: ../inc/class-gitium-submenu-configure.php:45
-msgid "Configuration"
-msgstr "Configuración"
-
-#: ../inc/class-gitium-submenu-configure.php:59
-msgid "Keypair successfully regenerated."
-msgstr "Par de claves regenerado con éxito."
-
-#: ../inc/class-gitium-submenu-configure.php:78
-msgid "Initial commit"
-msgstr "Commit Inicial"
-
-#: ../inc/class-gitium-submenu-configure.php:94
-msgid "Please specify a valid repo."
-msgstr "Por favor, especifique un repo válido"
-
-#: ../inc/class-gitium-submenu-configure.php:99
-msgid "Could not push to remote"
-msgstr "No se pudo empujar al remoto"
-
-#: ../inc/class-gitium-submenu-configure.php:113
-msgid "Merged existing code from "
-msgstr "Código existente fusionado de"
-
-#: ../inc/class-gitium-submenu-configure.php:116
-msgid "Could not create initial commit -> "
-msgstr "No se pudo crear Commit inicial ->"
-
-#: ../inc/class-gitium-submenu-configure.php:120
-msgid "Could not merge the initial commit -> "
-msgstr "No se pudo fusionar el Commit inicial ->"
-
-#: ../inc/class-gitium-submenu-configure.php:129
-msgid "Remote URL"
-msgstr "URL remoto"
-
-#: ../inc/class-gitium-submenu-configure.php:132
-msgid ""
-"This URL provide access to a Git repository via SSH, HTTPS, or Subversion."
-msgstr ""
-"Este URL proporciona acceso a un repositorio Git vía SSH, HTTPS o Subversión."
-
-#: ../inc/class-gitium-submenu-configure.php:133
-msgid ""
-"If you need to authenticate over \"https://\" instead of SSH use: "
-"https://user:pass@github.com/user/example.git
"
-msgstr ""
-"Si necesita autenticar sobre \"https:// en lugar del uso de SSH: "
-"https://user:pass@github.com/user/example.git
"
-
-#: ../inc/class-gitium-submenu-configure.php:143
-msgid "Key pair"
-msgstr "Par de claves"
-
-#: ../inc/class-gitium-submenu-configure.php:147
-#: ../inc/class-gitium-submenu-settings.php:80
-msgid "Regenerate Key"
-msgstr "Regenerar clave"
-
-#: ../inc/class-gitium-submenu-configure.php:149
-#: ../inc/class-gitium-submenu-settings.php:81
-msgid ""
-"If your code use ssh keybased authentication for git you need to allow write "
-"access to your repository using this key."
-msgstr ""
-"Si su código usa autenticación ssh keybased para git, usted necesita "
-"permitir el acceso de escritura a su repositorio utilizando esta clave."
-
-#: ../inc/class-gitium-submenu-configure.php:150
-#: ../inc/class-gitium-submenu-settings.php:82
-msgid ""
-"Checkout instructions for github or bitbucket ."
-msgstr ""
-"Instrucciones de Pedido para github or %s."
-msgstr "Siguiendo sucursal remota %s
."
-
-#: ../inc/class-gitium-submenu-status.php:127
-msgid "Everything is up to date"
-msgstr "Todo está actualizado"
-
-#: ../inc/class-gitium-submenu-status.php:130
-#, php-format
-msgid "You are %s commits ahead and %s behind remote."
-msgstr "Usted está %s Commits por delante y %s por detrás del remoto."
-
-#: ../inc/class-gitium-submenu-status.php:132
-#, php-format
-msgid "You are %s commits ahead remote."
-msgstr "Usted está %s Commits delante del remoto."
-
-#: ../inc/class-gitium-submenu-status.php:134
-#, php-format
-msgid "You are %s commits behind remote."
-msgstr "Usted está %s Commits detrás del remoto."
-
-#: ../inc/class-gitium-submenu-status.php:160
-msgid "Add this file to the `.gitignore` list."
-msgstr "Añadir este archivo a la lista `.gitignore`."
-
-#: ../inc/class-gitium-submenu-status.php:163
-msgid "Submodules are not supported in this version."
-msgstr "Sub-módulos no son compatibles con esta versión."
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Path"
-msgstr "Ruta"
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Change"
-msgstr "Cambiar"
-
-#: ../inc/class-gitium-submenu-status.php:181
-msgid "Nothing to commit, working directory clean."
-msgstr "Nada que comprometer, directorio de trabajo limpio."
-
-#: ../inc/class-gitium-submenu-status.php:195
-msgid "Commit message"
-msgstr "Comprometer mensaje"
-
-#: ../inc/class-gitium-submenu-status.php:199
-msgid "Save changes"
-msgstr "Guardar cambios"
-
-#: ../inc/class-gitium-submenu-status.php:209
-msgid "connected to"
-msgstr "conectados a"
-
-#: ../inc/class-gitium-submenu-settings.php:32 ../inc/class-gitium-help.php:81
-msgid "Settings"
-msgstr "Ajustes"
-
-#: ../inc/class-gitium-submenu-settings.php:46
-msgid ""
-"Webhook URL regenerates. Please make sure you update any external references."
-msgstr ""
-"Webhook URL se regenera. Por favor, asegúrese de actualizar todas las "
-"referencias externas."
-
-#: ../inc/class-gitium-submenu-settings.php:55
-msgid "Public key successfully regenerated."
-msgstr "Clave pública regenera con éxito."
-
-#: ../inc/class-gitium-submenu-settings.php:61
-msgid "Webhook URL"
-msgstr "URL Webhook"
-
-#: ../inc/class-gitium-submenu-settings.php:65
-msgid "Regenerate Webhook"
-msgstr "Regenerar Webhook"
-
-#: ../inc/class-gitium-submenu-settings.php:67
-msgid "Pinging this URL triggers an update from remote repository."
-msgstr ""
-"Hacer ping en esta URL desencadena una actualización del repositorio remoto."
-
-#: ../inc/class-gitium-submenu-settings.php:77
-msgid "Public Key"
-msgstr "Clave Pública"
-
-#: ../inc/class-gitium-submenu-settings.php:116
-msgid "Gitium Settings"
-msgstr "Ajustes Gitium"
-
-#: ../inc/class-gitium-submenu-settings.php:121
-msgid "Be careful when you modify this list!"
-msgstr "¡Tenga cuidado al modificar esta lista!"
-
-#: ../inc/class-gitium-submenu-settings.php:126
-msgid "Save"
-msgstr "Guardar"
-
-#: ../inc/class-gitium-help.php:26
-msgid "Gitium"
-msgstr "Gitium"
-
-#: ../inc/class-gitium-help.php:27
-msgid "F.A.Q."
-msgstr "PF"
-
-#: ../inc/class-gitium-help.php:32
-msgid ""
-"Gitium enables continuous deployment for WordPress integrating with tools "
-"such as Github, Bitbucket or Travis-CI. Plugin and theme updates, installs "
-"and removals are automatically versioned."
-msgstr ""
-"Gitium permite el despliegue continuo para integración de WordPress con "
-"herramientas como Github, Bitbucket o Travis-CI. El plugin y las "
-"actualizaciones de temas, instalaciones y eliminaciones están versionadas "
-"automáticamente."
-
-#: ../inc/class-gitium-help.php:33
-msgid ""
-"Ninja code edits from the WordPress editor are also tracked into version "
-"control. Gitium is designed for sane development environments."
-msgstr ""
-"Las ediciones Código Ninja desde el editor de WordPress también son "
-"rastreadas en el control de versiones. Gitium está diseñado para entornos de "
-"desarrollo sanos."
-
-#: ../inc/class-gitium-help.php:34
-msgid ""
-"Staging and production can follow different branches of the same repository. "
-"You can deploy code simply trough git push."
-msgstr ""
-"Puesta en escena y producción pueden seguir diferentes ramas del mismo "
-"repositorio. Puede implementar código simplemente a través git push."
-
-#: ../inc/class-gitium-help.php:35
-msgid ""
-"Gitium requires git
command line tool minimum version 1.7 "
-"installed on the server and proc_open
PHP function enabled."
-msgstr ""
-"Gitium requiere la herramienta de línea de comandos git
, "
-"mínimo la versión 1.7 instalada en el servidor y proc_open
la "
-"función PHP habilitada."
-
-#: ../inc/class-gitium-help.php:39
-msgid "Is this plugin considered stable?"
-msgstr "¿Es este plugin considerado estable?"
-
-#: ../inc/class-gitium-help.php:39
-msgid ""
-"Right now this plugin is considered alpha quality and should be used in "
-"production environments only by adventurous kinds."
-msgstr ""
-"Ahora mismo este plugin se considera de calidad alfa y debe utilizarse en "
-"entornos de producción sólo por tipos aventureros."
-
-#: ../inc/class-gitium-help.php:40
-msgid "What happens in case of conflicts?"
-msgstr "¿Qué sucede en caso de conflictos?"
-
-#: ../inc/class-gitium-help.php:40
-msgid ""
-"The behavior in case of conflicts is to overwrite the changes on the origin "
-"repository with the local changes (ie. local modifications take precedence "
-"over remote ones)."
-msgstr ""
-"El comportamiento en caso de conflictos es sobrescribir los cambios en el "
-"repositorio de origen con los cambios locales (p.ej. las modificaciones "
-"locales toman precedencia sobre las remotas)."
-
-#: ../inc/class-gitium-help.php:41
-msgid "How to deploy automatically after a push?"
-msgstr "¿Cómo implementar automáticamente después de un empujón?"
-
-#: ../inc/class-gitium-help.php:41
-msgid ""
-"You can ping the webhook url after a push to automatically deploy the new "
-"code. The webhook url can be found under Code menu. This url plays well with "
-"Github or Bitbucket webhooks."
-msgstr ""
-"Puede hacer ping en la url webhook después de un empujón para distribuir "
-"automáticamente el nuevo código. La url webhook se puede encontrar en el "
-"menú Código. Esta url juega bien con Github o BitBucket WebHooks."
-
-#: ../inc/class-gitium-help.php:42
-msgid "Does it works on multi site setups?"
-msgstr "¿Trabaja en múltiples configuraciones de sitio?"
-
-#: ../inc/class-gitium-help.php:42
-msgid "Gitium is not supporting multisite setups at the moment."
-msgstr ""
-"Gitium no soporta a las configuraciones de múltiples sitios en este momento."
-
-#: ../inc/class-gitium-help.php:43
-msgid "How does gitium handle submodules?"
-msgstr "¿Cómo manejar gitium los submódulos?"
-
-#: ../inc/class-gitium-help.php:43
-msgid "Currently submodules are not supported."
-msgstr "Actualmente los submódulos no son compatibles."
-
-#: ../inc/class-gitium-help.php:47
-msgid ""
-"In this step you must specify the Remote URL
. This URL "
-"represents the link between the git sistem and your site."
-msgstr ""
-"En esta etapa, se debe especificar el URL remoto
. Esta URL "
-"representa el enlace entre el sistema git y su sitio."
-
-#: ../inc/class-gitium-help.php:48
-msgid "You can get this URL from your Git repository and it looks like this:"
-msgstr ""
-"Usted puede obtener esta dirección URL de su repositorio Git y se ve así:"
-
-#: ../inc/class-gitium-help.php:49
-msgid "github.com -> git@github.com:user/example.git"
-msgstr "github.com -> git@github.com:user/example.git"
-
-#: ../inc/class-gitium-help.php:50
-msgid "bitbucket.org -> git@bitbucket.org:user/glowing-happiness.git"
-msgstr "bitbucket.org -> git@bitbucket.org:user/glowing-happiness.git"
-
-#: ../inc/class-gitium-help.php:51
-msgid ""
-"To go to the next step, fill the Remote URL
and then press the "
-"Fetch
button."
-msgstr ""
-"Para ir al siguiente paso, llene la URL remota
y pulse el "
-"botón Buscar
."
-
-#: ../inc/class-gitium-help.php:52
-msgid ""
-"In this step you must select the branch
you want to follow."
-msgstr ""
-"En este paso deberá seleccionar la rama
que desea seguir."
-
-#: ../inc/class-gitium-help.php:53
-msgid "Only this branch will have all of your code modifications."
-msgstr "Sólo esta rama tendrá todas sus modificaciones de código."
-
-#: ../inc/class-gitium-help.php:54
-msgid ""
-"When you push the button Merge & Push
, all code(plugins & "
-"themes) will be pushed on the git repository."
-msgstr ""
-"Cuando se presiona el botón Combinar y Empujar
, todo el "
-"código (plugins y temas) serán empujados en el repositorio git."
-
-#: ../inc/class-gitium-help.php:64
-msgid ""
-"On status page you can see what files are modified, and you can commit the "
-"changes to git."
-msgstr ""
-"En la página de estado se puede ver qué archivos son modificados, y usted "
-"puede confirmar los cambios a Git."
-
-#: ../inc/class-gitium-help.php:69 ../inc/class-gitium-submenu-commits.php:29
-#: ../inc/class-gitium-submenu-commits.php:41
-msgid "Commits"
-msgstr "Commits"
-
-#: ../inc/class-gitium-help.php:74
-msgid ""
-"You may be wondering what is the difference between author and committer."
-msgstr ""
-"Usted puede preguntarse cuál es la diferencia entre el autor y el comitter."
-
-#: ../inc/class-gitium-help.php:75
-msgid ""
-"The author
is the person who originally wrote the patch, "
-"whereas the committer
is the person who last applied the patch."
-msgstr ""
-"El autor
es la persona que originalmente escribió el parche, "
-"mientras que el committer
es la persona que aplicó el parche "
-"al final."
-
-#: ../inc/class-gitium-help.php:76
-msgid ""
-"So, if you send in a patch to a project and one of the core members applies "
-"the patch, both of you get credit — you as the author and the core member as "
-"the committer."
-msgstr ""
-"Por lo tanto, si usted envía en un parche para un proyecto y uno de los "
-"principales miembros aplica el parche, ambos consiguen crédito - usted como "
-"el autor y el miembro de núcleo como el commiter."
-
-#: ../inc/class-gitium-help.php:86
-msgid "Each line from the gitignore file specifies a pattern."
-msgstr "Cada línea del archivo gitignore especifica un patrón."
-
-#: ../inc/class-gitium-help.php:87
-msgid ""
-"When deciding whether to ignore a path, Git normally checks gitignore "
-"patterns from multiple sources, with the following order of precedence, from "
-"highest to lowest (within one level of precedence, the last matching pattern "
-"decides the outcome)"
-msgstr ""
-"A la hora de decidir si se debe pasar por alto una ruta, Git normalmente "
-"comprueba patrones gitignore de múltiples fuentes, con el siguiente orden, "
-"de de mayor a menor (dentro de un nivel de prioridad, la última "
-"coincidencia de patrones decide el resultado)"
-
-#: ../inc/class-gitium-help.php:88
-#, php-format
-msgid "Read more on %s"
-msgstr "Leer más en %s"
-
-#: ../inc/class-gitium-submenu-commits.php:28
-msgid "Git Commits"
-msgstr "Commits Git"
-
-#: ../inc/class-gitium-submenu-commits.php:61
-#, php-format
-msgid "Last %s commits"
-msgstr "Últimos commits %s"
-
-#: ../inc/class-gitium-submenu-commits.php:70
-#, php-format
-msgid "committed %s ago"
-msgstr "cometido hace %s"
-
-#: ../inc/class-gitium-submenu-commits.php:82
-#, php-format
-msgid "authored %s ago"
-msgstr "Creado hace %s"
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-sr_RS.mo b/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium-sr_RS.mo
deleted file mode 100644
index 677d3bf3bf4a8579d9c0ef7e47e57ee5c2ac9204..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 12978
zcmd6tZH#1DS;sH12+SfY>w?OQoEeyP*6pg9o_%5Iot@X6-JPA;oo2dcmtDb`Q*}>Q
z-L9&8i~CZu-9ZInvLXzK5nKes6$}BtXoN%!PE70(O(2jEh#|g2g{U8lQ9;p==BQ{bK87}Whwf|BD8!RLdY2ls$q1o;>J8~2>`gz%p;vd|970AEHp$yIQv!L|;6o_j@9|tw>Z`b%IpvM0zP~(0J
zlsvCCAs$YG@{0mgTzm|?4g4eU4)EVW$=gCnEIm2|%C3)tvdcM8e()|(&pic7o==04
z`?H|r{2chl;FrO};4fpG4}*UOaw#gA{7&$LU>E!%xB)KWeD4B(6Fddp0cl(S-wA5I
z{{(LaU(A16|7{>cMn^zQ9>t*S_cl=ae-9}C{urpZ{~Y*U@T;KWHin#j0{keb^Zx)}
z0PaV5$G{~JlSDra%HAIVHQ%Q|jrRpm`u`@V`M(Ql{Wqa3-QNTLJa`0rA@~JQ@_iN5
zc;5t{0{;d48Svdd9`txUMq;SwM)2pryTOluTcG^eE(H7i0=UfiXTS`6KE}QttZIA*
z_%P=eK~xw0Ie6W3;57!xIe)?4zzdt;BIln4HU8g$N5Plxi=y8J9|I4AH}a7DVg=MX
z(;D9i9^m|gpyJ~zp#0(+ATAjF6DWP$us`_Y9uSj9kANCy6MPZ)UXW0Xo&pgw>Tu}u
zCJtSHsZQ$8^J~;NsBikYz5a#^d6^ys8P0#?bB}Py7P6~8l2basOt2HyiD>d6{&FuGrgismpDdq`g*A^jibBQM|S&
z-MDpI%f@kw`Sa#RtIS$qh+U?%dC!&i>^j#O+H|n%V7Pu@uRUn4HGMZr*M^l#yRL1^
zp)HEUre2OXDaJ#)vG?eS)uU&Rojks}7fs!2(_2?o9=H`@ZY?vN*={$h((<+3v?;f^
zQ)V`;FSj1ZE^x{{u2%(X;StnudgV=7ekw_;C$1K_la!sRJ8-3BZllU9D=Xl_3|ZkG24D2@7S(v1<)w?;(Y+bhQOboZ9~34_&8Qldi767KFI-uTi$l?I
z+wJ4gsWWSNHu9oOT|I4_g=}
zA_5o8(Z>4}EvvbmBt`4kiMClDR=p%OHWgdAkwXVsf3e_0+zuH^_q6Vb)d}XYRhfqwON*OAwN}80%)fSZ6yus$|Wo#LID$|OlFXry8Rl=%j#r6_n#cS3(r{wS!
z)(XuCPa9REW_q*Oetjddi{&Kp*}~Qb(xA-
z$)t-ZLGSYFau#K+8R*MYgi+5t)ooPnGD$2}-TyYK2%DcI$gn<8zGyEsZHyBwS<(0?atXQT-
zlb!~B_Noe;&kbESI9afK;Md0NdhUWHn3!PANB1)hPFrv{n`{4nth&zqZ1l{LB}CJVS*xwU5+A)
zQj~lsI_Wmxu_V_Qp+a6dBa;)AxvTT6;_{S5BfG^X$^k|6kf-aL%`*O3pR8HRgm}q>
z)7W%7h+RR^!h@peU72f%1Gsl(=}IF`Iud=+hgv
z(HGNVV-1ZFyaj{f!Og=VJTk$x`9jEf+j|9u!3j}SQ|)Nkmi=fMf&DTX&ngM~9#o3}
zHAe>x*BNORAPf-rBqY2IcnIcB#Np$Nn^gy%F*r^0l_+`^-;s}?`LNU_bAESmJ~|`T
z7*RylZgFPnY<}Fi(??y0I%mKe%J>SA=!~bYlt`a~Z<+CUsQN;YPleI#FPIMASR30=z8YAX7%+eH
z_FwYeMuOJEVrj(%W9xKoP^Iv2Ns&udVG*VEo}s7bbRfqKOopGYtw9yATkt(Z@@WD_
zwq*D@S22&(E?=iH?~X+Rv*WyIuGg10`#k0+R_U_xEVY{K;;mX21?^~+^#lSAi);uO
zduv@|^aizD=x5X=3G4DD#f4nX;_nAFvNNGr4X=dJfr30>
zoDI!@^}|Rm);1+%=Q^74u;P{=so%bB+qbbXscU+op}?i%onFmXKgl|#_xY{_g~v=t
zBy;)IifHE-GD)oJfd%ux>gw{!f(k}#KC>tc2X%)HW$KRH%5`(W5p`A;6tcO(C8;=Ds6wli>=LvA%>FNvB0cOp41xDN9&w
zkg-(nV;1(P3Jnq^Q;6gHc!*;Ydo4#e#3Ll`n2kd$GR6(DeXhlaO?22w5a&`MyXuj5
z->!Dap?36J?Pj}C=R{u&Q#+Z0$_7D5P`++QA0dD>74?0n?q(i>ij|D}@TbGG5rT3_
z-}dNz*U8+%L0e7LGcBa_qtBwm?gqDV}n!eIBbOfj~vJR`T^A`uIT
z^NJEl``6=U;Z@Aq^DCo5Vj%L6Y*tX$;b(eh$qS-U#vxl%IfRsF
zs(fhXHv%%)_MKBry0T8{E_n5+l-xdq#zuK-bR%NJfma+;flawn)rF^KQct5`Zp`4l
z35TR!SM1JqezjzHzLY((q)Fz=G-mK_!lCBnCWXLDP5C;Pq^9KCj_844QxjjzQ6o7KydR%CPbXw2l>mnLPp`wif_4qPk
zHsf-rAzCNm)+1rlyd*E9$lbAgdbM>-{TNEX*1c@jmdyTri?_EH_qF!#GmCFn+IQ!z
z`}XhK$Ahgij?Mcup1a*F?q9lNF+8V|zr{X3ErynocgZY^bWhn1n`^o1VNb$C&eat=
zxZ@Q4y^12Zwd(BXfBf{4IiB|D5cYRGbmF1ovsEp&_w6`F9ZwC?THP44ni2-yi<2hl
z-Aau)8{m7+uHM(WYxbOkg`8W*Q-}l+m&{#w#f~?%?hhS9zlzM)PmAq4+P8CO*`Ky3
zX3=t7oMKzDWX_$t`<$EIJW6_p?)ponJ-fK#sh6&%1X(gclIeIW&gR|zGB36E@mhNa
zEvVS8`z>^({ty&2sIKm&Ce;1tbu-P3;&Xlaikhg^&gjG@SCeQt>#^7JH>+_~7Ujg6
z)c&8gP?KSD_58jd`v2TRJsn#LZ?y|DT41Rim`zpccI!!$@6dBz4XhzqZ%*>dPjjup
z1oc-Noosrl-DLfWvjsEAa)w*n{!nvyfAp}c*j^3ihNd4ny*S8Sf;{Wwylm^DE7Pn;
zF;ZK)b&%cAqbg1t~uWmEy|xTJoI9ZOkpyO47Of
zw3jv+v87}jY7Z2g^nE9`MSt*6v@)@1oVEulMeU;Yx>Bm622*XOcIzSo8HVc&Gxp&t
z?1~Z9UcOZ2T5}d{y@$awCS`v<8M0~wNJ?ocI=eX{gc>7HS4YVt9~jsJgDmzvSz&0&
zPVH|a_!isNU0H8Z9OUJ8AZ)m$&1?ZL$Su_`}dDXCrO3hVH~g1(tszs-(id&_nj8kMQLw*!<=wWE`E;JYs}
zR0R#lac2HK!ae;H!5eHJYM)v2Zh%@nYb1l;_w~al~s!7l_8Bh3OdUMkBt!x*Jc0wE+Vl<&vu>GAN{P9O1|n1E8_+z%C`L+VSH4o
zU0NVELYB$rnzj`+HU8r_Xpoc|ajF(VY5u?J+lJL$ej2;P9DYc@?Z=Tw;QVGXke5|j
zQ-lJalphl3o%j2XV1n7uoo0E*bO(F%7_Qs}|u-Ga2KuDX74pCqao%w;<
zCORvPjwFL6z1HKBd1+%XTv%ew^v!m0kgX@?@+HTFbOoh39%X~@jDz_GOf%ToK#hqu
zm-UEkb9!Reb%C*5T=Nf}xmiJIBe(T_>(-NrcZqPFN7dtv$ymCoRLCT3wNZ!|
zXmgJH{8jRgcMtj;+1C4+N)aVHR=nz4yr@p(w2rlEUSgm)*|h7Pt`uQ}Wi>)PaFVUd
z0S9@7xmh%=UPmHI6EbYi>fxyh2t?9Wn)r_Ifbtjb9Vx?XUBn}KQF<34cA-d5{T6Ry
zSbRv`5rkxQ>LfJ9o)(D0q#rEaJX@uD)ZbB}#VyEXc9a
zSRt;Q)G5EILVi={7e^5t`tZOLVf}G78KO@LgK19iN^g=o{znFgmE9R@Rv0neB`nEW
zX376SJ3%)g?4tRTYq}Ydku4mYGt+O~2gZvKsq~esF9@i$b{Ek}AJE=>p-1Dhprh>Z
z9UEj!nq6|FIGbBTBczR*3PpZX#|q&+A3-WZ>~IZtRDZi<7f)*R42?T9)F^kG`i$Oy
zTH{Iy1NEUYQBMMmtFWP2EIQq~I1npYNC^H$n=2^3B6O!;YLgQvQ|`A!`Cy3SDF=-+
zN*ih}+-cJe^0Ddz{Ao}^A-ExbQ9$ii8z7~A+PX;cW@&QKP)Q`FWwMTZFwQ#EQhua@
z-+~-BCK!)8LU}%C!s$R^9DlFQaYNe`A=M-%ml7*y+|4|1sG4b5lg6;!9I|>bsY)p+
zs6-P}`UuP#q3Ujl*H2
zK9!85_L8h#*8r(PO<8Ul{^NXttthJJlidPhdEJO=huHv;sr>yr7H`~BuD8u8e_7$|
zIT*gAd86$zI%qz?HJ<)Ixyq<99Z$
zycY#~T_YoVpH(R~_t?ES!z5`;8Y(ReHqJKrK?Xm6=C(0((&SLmHl5>XsfAA?qQq@D
zmQy!S5r0cYodd?CY1IlA48E}V+eC0-RxsZ8i
z9Ebr`VEfdj_1E;xFKUOP7(t=K+H#O=Q}9&vE!BKDdd%PalvU)%NH))CgngDf\n"
-"Language-Team: Presslabs \n"
-"Language: English\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.5.4\n"
-"X-Poedit-KeywordsList: __;_e\n"
-"X-Poedit-Basepath: .\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-SearchPath-0: ..\n"
-
-#: ../inc/class-gitium-submenu-configure.php:34
-#: ../inc/class-gitium-submenu-configure.php:44
-msgid "Git Configuration"
-msgstr "Git konfiguracija"
-
-#: ../inc/class-gitium-submenu-configure.php:45
-msgid "Configuration"
-msgstr "Konfiguracija"
-
-#: ../inc/class-gitium-submenu-configure.php:59
-msgid "Keypair successfully regenerated."
-msgstr "Par ključeva uspešno regenerisan"
-
-#: ../inc/class-gitium-submenu-configure.php:78
-msgid "Initial commit"
-msgstr "Početna uputstva"
-
-#: ../inc/class-gitium-submenu-configure.php:94
-msgid "Please specify a valid repo."
-msgstr "Odaberite važeće spremište"
-
-#: ../inc/class-gitium-submenu-configure.php:99
-msgid "Could not push to remote"
-msgstr "Neuspelo potiskivanje u udaljeno spremište"
-
-#: ../inc/class-gitium-submenu-configure.php:113
-msgid "Merged existing code from "
-msgstr "Postojeći kod spojen sa"
-
-#: ../inc/class-gitium-submenu-configure.php:116
-msgid "Could not create initial commit -> "
-msgstr "Neuspelo kreiranje početnog uputstva ->"
-
-#: ../inc/class-gitium-submenu-configure.php:120
-msgid "Could not merge the initial commit -> "
-msgstr "Neuspelo spajanje početnog uputstva ->"
-
-#: ../inc/class-gitium-submenu-configure.php:129
-msgid "Remote URL"
-msgstr "URL udaljenog spremišta"
-
-#: ../inc/class-gitium-submenu-configure.php:132
-msgid ""
-"This URL provide access to a Git repository via SSH, HTTPS, or Subversion."
-msgstr ""
-"Ovaj URL obezbeđuje pristup Git skladištu putem SSH-a, HTTPS-a ili "
-"Subverzije."
-
-#: ../inc/class-gitium-submenu-configure.php:133
-msgid ""
-"If you need to authenticate over \"https://\" instead of SSH use: "
-"https://user:pass@github.com/user/example.git
"
-msgstr ""
-"Ako treba da proverite preko \"https://\" umesto SSH, koristite: "
-"https://user:pass@github.com/user/example.git
"
-
-#: ../inc/class-gitium-submenu-configure.php:143
-msgid "Key pair"
-msgstr "Par ključeva"
-
-#: ../inc/class-gitium-submenu-configure.php:147
-#: ../inc/class-gitium-submenu-settings.php:80
-msgid "Regenerate Key"
-msgstr "Ključ za regenerisanje"
-
-#: ../inc/class-gitium-submenu-configure.php:149
-#: ../inc/class-gitium-submenu-settings.php:81
-msgid ""
-"If your code use ssh keybased authentication for git you need to allow write "
-"access to your repository using this key."
-msgstr ""
-"Ako vaš kod koristi git autentifikaciju na osnovu ssh ključa, morate pismeno "
-"dozvoliti pristup svom spremištu uz pomoć ovog ključa. "
-
-#: ../inc/class-gitium-submenu-configure.php:150
-#: ../inc/class-gitium-submenu-settings.php:82
-msgid ""
-"Checkout instructions for github or bitbucket ."
-msgstr ""
-"Pogledajte uputstva na github "
-"ili bitbucket ."
-
-#: ../inc/class-gitium-submenu-configure.php:160
-msgid "Warning!"
-msgstr "Upozorenje!"
-
-#: ../inc/class-gitium-submenu-configure.php:174
-#: ../inc/class-gitium-help.php:47
-msgid "Configuration step 1"
-msgstr "Konfiguracija, korak 1"
-
-#: ../inc/class-gitium-submenu-configure.php:175
-#: ../inc/class-gitium-submenu-configure.php:194
-msgid ""
-"If you need help to set this up, please click on the \"Help\" button from "
-"the top right corner of this screen."
-msgstr ""
-"Ako vam treba pomoć za ovo podešavanje, kliknite na taster \"Pomoć\" u "
-"gornjem desnom uglu ekrana."
-
-#: ../inc/class-gitium-submenu-configure.php:183
-msgid "Fetch"
-msgstr "Uzmi"
-
-#: ../inc/class-gitium-submenu-configure.php:193
-#: ../inc/class-gitium-help.php:52
-msgid "Configuration step 2"
-msgstr "Konfiguracija, korak 2"
-
-#: ../inc/class-gitium-submenu-configure.php:202
-msgid "Choose tracking branch"
-msgstr "Odaberite ogranak za praćenje"
-
-#: ../inc/class-gitium-submenu-configure.php:215
-msgid "Merge & Push"
-msgstr "Spoji & Potisni"
-
-#: ../inc/class-gitium-submenu-status.php:32
-#: ../inc/class-gitium-submenu-status.php:42
-msgid "Git Status"
-msgstr "Git Status"
-
-#: ../inc/class-gitium-submenu-status.php:43
-#: ../inc/class-gitium-submenu-status.php:209 ../inc/class-gitium-help.php:59
-msgid "Status"
-msgstr "Status"
-
-#: ../inc/class-gitium-submenu-status.php:53
-msgid "untracked"
-msgstr "nepraćen"
-
-#: ../inc/class-gitium-submenu-status.php:54
-msgid "modified on remote"
-msgstr "modifikovan na udaljenom skladištu"
-
-#: ../inc/class-gitium-submenu-status.php:55
-msgid "added to remote"
-msgstr "dodat udaljenom skladištu"
-
-#: ../inc/class-gitium-submenu-status.php:56
-msgid "deleted from remote"
-msgstr "obrisan sa udaljenog skladišta"
-
-#: ../inc/class-gitium-submenu-status.php:57
-#: ../inc/class-gitium-submenu-status.php:61
-msgid "deleted from work tree"
-msgstr "obrisan sa radnog drveta"
-
-#: ../inc/class-gitium-submenu-status.php:58
-msgid "updated in work tree"
-msgstr "ažuriran u radnom drvetu"
-
-#: ../inc/class-gitium-submenu-status.php:59
-#: ../inc/class-gitium-submenu-status.php:60
-msgid "added to work tree"
-msgstr "dodat radnom drvetu"
-
-#: ../inc/class-gitium-submenu-status.php:73
-#, php-format
-msgid "renamed from `%s`"
-msgstr "ime `%s` promenjeno"
-
-#: ../inc/class-gitium-submenu-status.php:88
-#: ../inc/class-gitium-submenu-settings.php:106
-msgid "The file `.gitignore` is saved!"
-msgstr "Datoteka `.gitignore` je sačuvana!"
-
-#: ../inc/class-gitium-submenu-status.php:90
-#: ../inc/class-gitium-submenu-settings.php:108
-msgid "The file `.gitignore` could not be saved!"
-msgstr "Datoteka `.gitignore` ne može biti sačuvana!"
-
-#: ../inc/class-gitium-submenu-status.php:100
-msgid "Could not enable the maintenance mode!"
-msgstr "Režim održavanja nije mogao biti aktiviran!"
-
-#: ../inc/class-gitium-submenu-status.php:102
-#: ../inc/class-gitium-submenu-status.php:196
-#, php-format
-msgid "Merged changes from %s on %s"
-msgstr "Promene sa %s na %s spojene!"
-
-#: ../inc/class-gitium-submenu-status.php:109
-msgid "Could not commit!"
-msgstr "Neuspelo izvršenje!"
-
-#: ../inc/class-gitium-submenu-status.php:114
-msgid "Merge failed: "
-msgstr "Neuspelo spajanje:"
-
-#: ../inc/class-gitium-submenu-status.php:116
-#, php-format
-msgid "Pushed commit: `%s`"
-msgstr "Preneto izvršenje: `%s`"
-
-#: ../inc/class-gitium-submenu-status.php:125
-#, php-format
-msgid "Following remote branch %s
."
-msgstr "Praćenje udaljenog ogranka%s ."
-
-#: ../inc/class-gitium-submenu-status.php:127
-msgid "Everything is up to date"
-msgstr "Sve je ažurirano"
-
-#: ../inc/class-gitium-submenu-status.php:130
-#, php-format
-msgid "You are %s commits ahead and %s behind remote."
-msgstr "Vi ste %s izvršenja ispred i %s iza udaljenog spremišta."
-
-#: ../inc/class-gitium-submenu-status.php:132
-#, php-format
-msgid "You are %s commits ahead remote."
-msgstr "Vi ste %s izvršenja ispred udaljenog spremišta."
-
-#: ../inc/class-gitium-submenu-status.php:134
-#, php-format
-msgid "You are %s commits behind remote."
-msgstr "Vi ste %s izvršenja iza udaljenog spremišta."
-
-#: ../inc/class-gitium-submenu-status.php:160
-msgid "Add this file to the `.gitignore` list."
-msgstr "Dodajte ovu datoteku `.gitignore` listi."
-
-#: ../inc/class-gitium-submenu-status.php:163
-msgid "Submodules are not supported in this version."
-msgstr "U ovoj verziji nisu podržani submoduli."
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Path"
-msgstr "Putanja"
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Change"
-msgstr "Izmeni"
-
-#: ../inc/class-gitium-submenu-status.php:181
-msgid "Nothing to commit, working directory clean."
-msgstr "Nema ničega za izvršenje, radni direktorijum je čist."
-
-#: ../inc/class-gitium-submenu-status.php:195
-msgid "Commit message"
-msgstr "Poruka o izvršenju"
-
-#: ../inc/class-gitium-submenu-status.php:199
-msgid "Save changes"
-msgstr "Sačuvaj izmene"
-
-#: ../inc/class-gitium-submenu-status.php:209
-msgid "connected to"
-msgstr "povezan sa"
-
-#: ../inc/class-gitium-submenu-settings.php:32 ../inc/class-gitium-help.php:81
-msgid "Settings"
-msgstr "Podešavanja"
-
-#: ../inc/class-gitium-submenu-settings.php:46
-msgid ""
-"Webhook URL regenerates. Please make sure you update any external references."
-msgstr ""
-"Webhook URL se regeneriše. Proverite da li ste ažurirali eksterne reference."
-
-#: ../inc/class-gitium-submenu-settings.php:55
-msgid "Public key successfully regenerated."
-msgstr "Javni ključ uspešno regenerisan."
-
-#: ../inc/class-gitium-submenu-settings.php:61
-msgid "Webhook URL"
-msgstr "Webhook URL"
-
-#: ../inc/class-gitium-submenu-settings.php:65
-msgid "Regenerate Webhook"
-msgstr "Regeneriši webhook"
-
-#: ../inc/class-gitium-submenu-settings.php:67
-msgid "Pinging this URL triggers an update from remote repository."
-msgstr "Pingovanje ovog URL-a povlači ažuriranje iz udaljenog skladišta."
-
-#: ../inc/class-gitium-submenu-settings.php:77
-msgid "Public Key"
-msgstr "Javni ključ"
-
-#: ../inc/class-gitium-submenu-settings.php:116
-msgid "Gitium Settings"
-msgstr "Gitium podešavanja"
-
-#: ../inc/class-gitium-submenu-settings.php:121
-msgid "Be careful when you modify this list!"
-msgstr "Oprezno menjajte ovu listu!"
-
-#: ../inc/class-gitium-submenu-settings.php:126
-msgid "Save"
-msgstr "Sačuvaj"
-
-#: ../inc/class-gitium-help.php:26
-msgid "Gitium"
-msgstr "Gitium"
-
-#: ../inc/class-gitium-help.php:27
-msgid "F.A.Q."
-msgstr "Često postavljana pitanja"
-
-#: ../inc/class-gitium-help.php:32
-msgid ""
-"Gitium enables continuous deployment for WordPress integrating with tools "
-"such as Github, Bitbucket or Travis-CI. Plugin and theme updates, installs "
-"and removals are automatically versioned."
-msgstr ""
-"Gitium omogućava kontinuiranu primenu WordPress integrisanja alatima, kao "
-"što su: Github, Bitbucket ili Travis-CI. Ažuriranja plugin-a i teme, "
-"instalacije i uklanjanja automatski su verzionirani."
-
-#: ../inc/class-gitium-help.php:33
-msgid ""
-"Ninja code edits from the WordPress editor are also tracked into version "
-"control. Gitium is designed for sane development environments."
-msgstr ""
-"Nindža kod, koji uređuje iz WordPress uređivača, takođe se prati u kontroli "
-"verzije. Gitium je dizajniran za razumna razvojna okruženja."
-
-#: ../inc/class-gitium-help.php:34
-msgid ""
-"Staging and production can follow different branches of the same repository. "
-"You can deploy code simply trough git push."
-msgstr ""
-"Postavljanje i proizvodnja mogu da prate različite grane istog spremišta. "
-"Možete da primenite kod jednostavno kroz git push."
-
-#: ../inc/class-gitium-help.php:35
-msgid ""
-"Gitium requires git
command line tool minimum version 1.7 "
-"installed on the server and proc_open
PHP function enabled."
-msgstr ""
-"Gitium zahteva da na serveru bude instaliran git
alat komandne "
-"linije, najmanje verzije 1.7 i proc_open
aktiviranu PHP "
-"funkciju."
-
-#: ../inc/class-gitium-help.php:39
-msgid "Is this plugin considered stable?"
-msgstr "Da li se ovaj plugin smatra stabilnim?"
-
-#: ../inc/class-gitium-help.php:39
-msgid ""
-"Right now this plugin is considered alpha quality and should be used in "
-"production environments only by adventurous kinds."
-msgstr ""
-"Trenutno se smatra da ovaj plugin ima alfa kvalitet i treba ga koristiti u "
-"okruženjima produkcije isključivo avanturističkog karaktera."
-
-#: ../inc/class-gitium-help.php:40
-msgid "What happens in case of conflicts?"
-msgstr "Šta se dešava u slučaju konflikta?"
-
-#: ../inc/class-gitium-help.php:40
-msgid ""
-"The behavior in case of conflicts is to overwrite the changes on the origin "
-"repository with the local changes (ie. local modifications take precedence "
-"over remote ones)."
-msgstr ""
-"U slučaju konflikta treba poništiti izmene u prvobitnom spremištu, zajedno "
-"sa lokalnim izmenama (tj. Lokalne izmene imaju prednost u odnosu na "
-"udaljene)."
-
-#: ../inc/class-gitium-help.php:41
-msgid "How to deploy automatically after a push?"
-msgstr "Kako izvršiti automatsko razmeštanje posle pritiska?"
-
-#: ../inc/class-gitium-help.php:41
-msgid ""
-"You can ping the webhook url after a push to automatically deploy the new "
-"code. The webhook url can be found under Code menu. This url plays well with "
-"Github or Bitbucket webhooks."
-msgstr ""
-"Možete pingovati url za webhook nakon pritiska za automatsko razmeštanje "
-"novog koda. URL za webhook možete naći u meniju koda. Ovaj url dobro radi uz "
-"Github ili Bitbucket webhooks."
-
-#: ../inc/class-gitium-help.php:42
-msgid "Does it works on multi site setups?"
-msgstr "Da li radi na podešavanjima višestrukih site-ova?"
-
-#: ../inc/class-gitium-help.php:42
-msgid "Gitium is not supporting multisite setups at the moment."
-msgstr "Gitium trenutno ne podržava podešavanje višestrukih site-ova."
-
-#: ../inc/class-gitium-help.php:43
-msgid "How does gitium handle submodules?"
-msgstr "Kako gitium upravlja submodulima?"
-
-#: ../inc/class-gitium-help.php:43
-msgid "Currently submodules are not supported."
-msgstr "Trenutno, submoduli nisu podržani."
-
-#: ../inc/class-gitium-help.php:47
-msgid ""
-"In this step you must specify the Remote URL
. This URL "
-"represents the link between the git sistem and your site."
-msgstr ""
-"U ovom koraku morate odrediti Udaljeni URL
. Ovaj URL "
-"predstavlja vezu između git sistema i vašeg site-a."
-
-#: ../inc/class-gitium-help.php:48
-msgid "You can get this URL from your Git repository and it looks like this:"
-msgstr "Ovaj URL možete dobiti iz svog Git spremišta i on izgleda ovako:"
-
-#: ../inc/class-gitium-help.php:49
-msgid "github.com -> git@github.com:user/example.git"
-msgstr "github.com -> git@github.com:user/example.git"
-
-#: ../inc/class-gitium-help.php:50
-msgid "bitbucket.org -> git@bitbucket.org:user/glowing-happiness.git"
-msgstr "bitbucket.org -> git@bitbucket.org:user/glowing-happines.git"
-
-#: ../inc/class-gitium-help.php:51
-msgid ""
-"To go to the next step, fill the Remote URL
and then press the "
-"Fetch
button."
-msgstr ""
-"Da biste prešli na sledeći korak, popunite Udaljeni URL
i "
-"pritisnite Dobavi
taster."
-
-#: ../inc/class-gitium-help.php:52
-msgid ""
-"In this step you must select the branch
you want to follow."
-msgstr ""
-"U ovom koraku morate odabrati ogranak
koji želite da pratite. "
-
-#: ../inc/class-gitium-help.php:53
-msgid "Only this branch will have all of your code modifications."
-msgstr "Samo će ovaj ogranak imati sve vaše modifikacije koda."
-
-#: ../inc/class-gitium-help.php:54
-msgid ""
-"When you push the button Merge & Push
, all code(plugins & "
-"themes) will be pushed on the git repository."
-msgstr ""
-"Kad kliknete na taster Spoji & Potisni
svi (plugin-ovi i teme) "
-"koda biće potisnuti u git spremište."
-
-#: ../inc/class-gitium-help.php:64
-msgid ""
-"On status page you can see what files are modified, and you can commit the "
-"changes to git."
-msgstr ""
-"Na stranici statusa možete videti koje su datoteke izmenjene i možete uneti "
-"izmene u git."
-
-#: ../inc/class-gitium-help.php:69 ../inc/class-gitium-submenu-commits.php:29
-#: ../inc/class-gitium-submenu-commits.php:41
-msgid "Commits"
-msgstr "Izvršenja"
-
-#: ../inc/class-gitium-help.php:74
-msgid ""
-"You may be wondering what is the difference between author and committer."
-msgstr "Možda se pitate u čemu je razlika između autora i izvršioca?"
-
-#: ../inc/class-gitium-help.php:75
-msgid ""
-"The author
is the person who originally wrote the patch, "
-"whereas the committer
is the person who last applied the patch."
-msgstr ""
-"Autor
je osoba koja je originalno napisala zakrpu, dok je "
-"izvršilac
osoba koja je poslednja primenila zakrpu."
-
-#: ../inc/class-gitium-help.php:76
-msgid ""
-"So, if you send in a patch to a project and one of the core members applies "
-"the patch, both of you get credit — you as the author and the core member as "
-"the committer."
-msgstr ""
-"Dakle, ako pošaljete zakrpu projektu i jedan od ključnih članova je primeni "
-"- oboje dobijate zasluge - vi kao autor, a ključni član kao izvršilac."
-
-#: ../inc/class-gitium-help.php:86
-msgid "Each line from the gitignore file specifies a pattern."
-msgstr "Svaka linija iz gitignore datoteke označava šablon."
-
-#: ../inc/class-gitium-help.php:87
-msgid ""
-"When deciding whether to ignore a path, Git normally checks gitignore "
-"patterns from multiple sources, with the following order of precedence, from "
-"highest to lowest (within one level of precedence, the last matching pattern "
-"decides the outcome)"
-msgstr ""
-"Kad odlučujete o tome da li ćete ignorisati putanju, Git obično proverava "
-"gitignore šablone iz višestrukih izvora, sa sledećim redosledom - od "
-"najvišeg do najnižeg (u okviru jednog nivoa prednosti, poslednji šablon koji "
-"se poklapa odlučuje o ishodu)."
-
-#: ../inc/class-gitium-help.php:88
-#, php-format
-msgid "Read more on %s"
-msgstr "Pročitajte više o %s"
-
-#: ../inc/class-gitium-submenu-commits.php:28
-msgid "Git Commits"
-msgstr "Git izvršenja"
-
-#: ../inc/class-gitium-submenu-commits.php:61
-#, php-format
-msgid "Last %s commits"
-msgstr "Poslednja %s izvršenja"
-
-#: ../inc/class-gitium-submenu-commits.php:70
-#, php-format
-msgid "committed %s ago"
-msgstr "izvršena pre %s"
-
-#: ../inc/class-gitium-submenu-commits.php:82
-#, php-format
-msgid "authored %s ago"
-msgstr "autorizovana pre %s"
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium.pot b/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium.pot
deleted file mode 100644
index 807f7dae..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/languages/gitium.pot
+++ /dev/null
@@ -1,489 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: Gitium\n"
-"POT-Creation-Date: 2014-10-20 19:06+0200\n"
-"PO-Revision-Date: 2014-10-20 19:06+0200\n"
-"Last-Translator: Presslabs \n"
-"Language-Team: Presslabs \n"
-"Language: English\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.5.4\n"
-"X-Poedit-KeywordsList: __;_e\n"
-"X-Poedit-Basepath: .\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-SearchPath-0: ..\n"
-
-#: ../inc/class-gitium-submenu-configure.php:34
-#: ../inc/class-gitium-submenu-configure.php:44
-msgid "Git Configuration"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:45
-msgid "Configuration"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:59
-msgid "Keypair successfully regenerated."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:78
-msgid "Initial commit"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:94
-msgid "Please specify a valid repo."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:99
-msgid "Could not push to remote"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:113
-msgid "Merged existing code from "
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:116
-msgid "Could not create initial commit -> "
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:120
-msgid "Could not merge the initial commit -> "
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:129
-msgid "Remote URL"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:132
-msgid ""
-"This URL provide access to a Git repository via SSH, HTTPS, or Subversion."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:133
-msgid ""
-"If you need to authenticate over \"https://\" instead of SSH use: "
-"https://user:pass@github.com/user/example.git
"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:143
-msgid "Key pair"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:147
-#: ../inc/class-gitium-submenu-settings.php:80
-msgid "Regenerate Key"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:149
-#: ../inc/class-gitium-submenu-settings.php:81
-msgid ""
-"If your code use ssh keybased authentication for git you need to allow write "
-"access to your repository using this key."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:150
-#: ../inc/class-gitium-submenu-settings.php:82
-msgid ""
-"Checkout instructions for github or bitbucket ."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:160
-msgid "Warning!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:174
-#: ../inc/class-gitium-help.php:47
-msgid "Configuration step 1"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:175
-#: ../inc/class-gitium-submenu-configure.php:194
-msgid ""
-"If you need help to set this up, please click on the \"Help\" button from "
-"the top right corner of this screen."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:183
-msgid "Fetch"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:193
-#: ../inc/class-gitium-help.php:52
-msgid "Configuration step 2"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:202
-msgid "Choose tracking branch"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-configure.php:215
-msgid "Merge & Push"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:32
-#: ../inc/class-gitium-submenu-status.php:42
-msgid "Git Status"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:43
-#: ../inc/class-gitium-submenu-status.php:209 ../inc/class-gitium-help.php:59
-msgid "Status"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:53
-msgid "untracked"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:54
-msgid "modified on remote"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:55
-msgid "added to remote"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:56
-msgid "deleted from remote"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:57
-#: ../inc/class-gitium-submenu-status.php:61
-msgid "deleted from work tree"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:58
-msgid "updated in work tree"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:59
-#: ../inc/class-gitium-submenu-status.php:60
-msgid "added to work tree"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:73
-#, php-format
-msgid "renamed from `%s`"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:88
-#: ../inc/class-gitium-submenu-settings.php:106
-msgid "The file `.gitignore` is saved!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:90
-#: ../inc/class-gitium-submenu-settings.php:108
-msgid "The file `.gitignore` could not be saved!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:100
-msgid "Could not enable the maintenance mode!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:102
-#: ../inc/class-gitium-submenu-status.php:196
-#, php-format
-msgid "Merged changes from %s on %s"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:109
-msgid "Could not commit!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:114
-msgid "Merge failed: "
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:116
-#, php-format
-msgid "Pushed commit: `%s`"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:125
-#, php-format
-msgid "Following remote branch %s
."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:127
-msgid "Everything is up to date"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:130
-#, php-format
-msgid "You are %s commits ahead and %s behind remote."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:132
-#, php-format
-msgid "You are %s commits ahead remote."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:134
-#, php-format
-msgid "You are %s commits behind remote."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:160
-msgid "Add this file to the `.gitignore` list."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:163
-msgid "Submodules are not supported in this version."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Path"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:175
-#: ../inc/class-gitium-submenu-status.php:176
-msgid "Change"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:181
-msgid "Nothing to commit, working directory clean."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:195
-msgid "Commit message"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:199
-msgid "Save changes"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-status.php:209
-msgid "connected to"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:32 ../inc/class-gitium-help.php:81
-msgid "Settings"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:46
-msgid ""
-"Webhook URL regenerates. Please make sure you update any external references."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:55
-msgid "Public key successfully regenerated."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:61
-msgid "Webhook URL"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:65
-msgid "Regenerate Webhook"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:67
-msgid "Pinging this URL triggers an update from remote repository."
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:77
-msgid "Public Key"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:116
-msgid "Gitium Settings"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:121
-msgid "Be careful when you modify this list!"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-settings.php:126
-msgid "Save"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:26
-msgid "Gitium"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:27
-msgid "F.A.Q."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:32
-msgid ""
-"Gitium enables continuous deployment for WordPress integrating with tools "
-"such as Github, Bitbucket or Travis-CI. Plugin and theme updates, installs "
-"and removals are automatically versioned."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:33
-msgid ""
-"Ninja code edits from the WordPress editor are also tracked into version "
-"control. Gitium is designed for sane development environments."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:34
-msgid ""
-"Staging and production can follow different branches of the same repository. "
-"You can deploy code simply trough git push."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:35
-msgid ""
-"Gitium requires git
command line tool minimum version 1.7 "
-"installed on the server and proc_open
PHP function enabled."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:39
-msgid "Is this plugin considered stable?"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:39
-msgid ""
-"Right now this plugin is considered alpha quality and should be used in "
-"production environments only by adventurous kinds."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:40
-msgid "What happens in case of conflicts?"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:40
-msgid ""
-"The behavior in case of conflicts is to overwrite the changes on the origin "
-"repository with the local changes (ie. local modifications take precedence "
-"over remote ones)."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:41
-msgid "How to deploy automatically after a push?"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:41
-msgid ""
-"You can ping the webhook url after a push to automatically deploy the new "
-"code. The webhook url can be found under Code menu. This url plays well with "
-"Github or Bitbucket webhooks."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:42
-msgid "Does it works on multi site setups?"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:42
-msgid "Gitium is not supporting multisite setups at the moment."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:43
-msgid "How does gitium handle submodules?"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:43
-msgid "Currently submodules are not supported."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:47
-msgid ""
-"In this step you must specify the Remote URL
. This URL "
-"represents the link between the git sistem and your site."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:48
-msgid "You can get this URL from your Git repository and it looks like this:"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:49
-msgid "github.com -> git@github.com:user/example.git"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:50
-msgid "bitbucket.org -> git@bitbucket.org:user/glowing-happiness.git"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:51
-msgid ""
-"To go to the next step, fill the Remote URL
and then press the "
-"Fetch
button."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:52
-msgid ""
-"In this step you must select the branch
you want to follow."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:53
-msgid "Only this branch will have all of your code modifications."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:54
-msgid ""
-"When you push the button Merge & Push
, all code(plugins & "
-"themes) will be pushed on the git repository."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:64
-msgid ""
-"On status page you can see what files are modified, and you can commit the "
-"changes to git."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:69 ../inc/class-gitium-submenu-commits.php:29
-#: ../inc/class-gitium-submenu-commits.php:41
-msgid "Commits"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:74
-msgid ""
-"You may be wondering what is the difference between author and committer."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:75
-msgid ""
-"The author
is the person who originally wrote the patch, "
-"whereas the committer
is the person who last applied the patch."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:76
-msgid ""
-"So, if you send in a patch to a project and one of the core members applies "
-"the patch, both of you get credit — you as the author and the core member as "
-"the committer."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:86
-msgid "Each line from the gitignore file specifies a pattern."
-msgstr ""
-
-#: ../inc/class-gitium-help.php:87
-msgid ""
-"When deciding whether to ignore a path, Git normally checks gitignore "
-"patterns from multiple sources, with the following order of precedence, from "
-"highest to lowest (within one level of precedence, the last matching pattern "
-"decides the outcome)"
-msgstr ""
-
-#: ../inc/class-gitium-help.php:88
-#, php-format
-msgid "Read more on %s"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-commits.php:28
-msgid "Git Commits"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-commits.php:61
-#, php-format
-msgid "Last %s commits"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-commits.php:70
-#, php-format
-msgid "committed %s ago"
-msgstr ""
-
-#: ../inc/class-gitium-submenu-commits.php:82
-#, php-format
-msgid "authored %s ago"
-msgstr ""
diff --git a/wp-content/upgrade-temp-backup/plugins/gitium/readme.txt b/wp-content/upgrade-temp-backup/plugins/gitium/readme.txt
deleted file mode 100644
index 0c74c846..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gitium/readme.txt
+++ /dev/null
@@ -1,267 +0,0 @@
-=== Gitium ===
-
-Contributors: PressLabs
-Donate link: https://www.presslabs.com/gitium/
-Tags: git, version, versioning, deployment, version-control, github, bitbucket, travis, code, revision, testing, development, branch, production, staging, debug, plugin, gitium, presslabs, simple
-Requires at least: 4.7
-Tested up to: 6.2.2
-Requires PHP: 5.6
-License: GPLv2
-Stable tag: 1.0.6
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-
-Automatic git version control and deployment for your plugins and themes integrated into wp-admin.
-
-== About the makers ==
-This plugin was developed by the crafty people at Presslabs—the Smart Managed WordPress Hosting Platform. Here we bring high-performance hosting and business intelligence for WordPress sites. In our spare time, we contribute to the global open-source community with our code.
-
-We’ve built Gitium back in 2013 to provide our clients a more simple and error-free method to integrate a new git version control into their code management flow.
-
-== What is Gitium? ==
-
-This plugin enables continuous deployment for WordPress, integrating with tools such as Github, Bitbucket or Travis-CI. Theme or plugin updates, installs and removals are all automatically versioned. Ninja code edits from the WordPress editor are also tracked by the version control system.
-
-== Why is Gitium? ==
-
-Gitium is designed with responsible development environments in mind, allowing staging and production to follow different branches of the same repository. You can also deploy code by simply using git push.
-
-Gitium requires git command line tool with a minimum version of 1.7 installed on the server and the proc_open PHP function enabled.
-
-== Gitium features: ==
--preserves the WordPress behavior
--accountability for code changes
--safe code storage—gets all code edits in Git
-
-== Development ==
-For more details about Gitium, head here: http://docs.presslabs.com/gitium/usage/
-
-== Receiving is nicer when giving ==
-We’ve built this to make our lives easier and we’re happy to do that for other developers, too. We’d really appreciate it if you could contribute with code, tests, documentation or just share your experience with Gitium.
-
-Development of Gitium happens at http://github.com/PressLabs/gitium
-Issues are tracked at http://github.com/PressLabs/gitium/issues
-This WordPress plugin can be found at https://wordpress.org/plugins/gitium/
-
-== Screenshots ==
-
-1. Setup step 1: Get SSH Key
-2. Setup step 2: Set SSH Key (Github)
-3. Setup step 3: Add remote repository
-4. Setup step 4: Choose following branch
-5. Commit local changes
-
-
-== Installation ==
-
-= Manual Installation =
-1. Upload `gitium.zip` to the `/wp-content/plugins/` directory;
-2. Extract the `gitium.zip` archive into the `/wp-content/plugins/` directory;
-3. Activate the plugin through the 'Plugins' menu in WordPress.
-
-Alternatively, go into your WordPress dashboard and click on Plugins -> Add Plugin and search for `Gitium`. Then, click on Install and, after that, on Activate Now.
-
-
-= Usage =
-
-Activate the plugin and follow the on-screen instructions under the `Gitium` menu.
-
-_IMPORTANT_: Gitium does its best not to version your WordPress core, neither your `/wp-content/uploads` folder.
-
-== Frequently Asked Questions ==
-
-= Could not connect to remote repository? =
-
-If you encounter this kind of error you can try to fix it by setting the proper username of the .git directory.
-
-Example: chown -R www-data:www-data .git
-
-= Is this plugin considered stable? =
-
-Yes, we consider the plugin stable after extensive usage in production environments at Presslabs, with hundreds of users and powering sites with hundreds of millions of pageviews per month.
-
-= What will happen in case of conflicts? =
-
-The behavior in case of conflicts is to overwrite the changes on the `origin` repository with the local changes (ie. local modifications take precedence over remote ones).
-
-= How to deploy automatically after a push? =
-
-You can ping the webhook url after a push to automatically deploy the new code. The webhook url can be found under `Gitium` menu, `Settings` section. This url also plays well with Github or Bitbucket webhooks.
-
-= Does it works on multi site setups? =
-
-Gitium does not support multisite setups at the moment.
-
-= How does gitium handle submodules? =
-
-Submodules are currently not supported.
-
-== Upgrade Notice ==
-= 1.0.5 =
-Fixed wrong redirection for multisite installations during initial setup
-
-== Changelog ==
-
-= 1.0.6 =
-* Fixed deprecation warnings for dynamic property in git-wrapper
-
-= 1.0.5 =
-* Various bug fixes
-
-= 1.0.4 =
-* PHP 8 compat. fixes
-
-= 1.0.3 =
-* Fixed wrong redirection for multisite installations during initial setup
-
-= 1.0.2 =
-* Full PHP 7+ compatibility
-* Hotfix - Fixed the blank pages being displayed instead of success of failure messages;
-* Hotfix - Fixed the push process when other remote branches had changes;
-* Hotfix - Fixed the missing ssh / key handling with fatal errors during activation;
-* Added - More success messages in certain cases.
-
-= 1.0.1 =
-* Hotfix - Fix race condition on Code Editor Save
-
-= 1.0 =
-* Fixed WP 4.9 Compatibility
-
-= 1.0-rc12 =
-* Bumped plugin version
-
-= 1.0-rc11 =
-* Hotfixed an error that prevented gitium to error_log properly.
-
-= 1.0-rc10 =
-* Bumped wordpress tested version
-
-= 1.0-rc9 =
-* PHP7 compat and wp-cli
-
-= 1.0-rc8 =
-* Fix some indents
-* Add some more tests
-* Fix the submenu configure logic
-
-= 1.0-rc7 =
-* Test remote url from git wrapper
-* Remove the phpmd package from test environment
-* Set WP_DEBUG to false on tests
-* Refactoring
-* Abort the cherry-pick - changes are already there
-* Fix the race condition
-* Add acquire and release logs for gitium lock
-* Add explanations to merge with accept mine logic
-
-= 1.0-rc6 =
-* Delete all transients and options on uninstall hook
-* Add transients to is_versions and get_remote_tracking_branch functions
-* Update the composer
-* Check requirements before show the admin menu
-* Put the logs off by default(on test env)
-* Fix redirect issue and display errors
-* Create wordpress docker env command
-* PHP Warning: unlink #114
-
-= 1.0-rc5 =
-* Fix delete plugin/theme bug on 4.6
-* Update the readme file
-
-= 1.0-rc4 =
-* Fix merge with accept mine behind commits bug
-
-= 1.0-rc3 =
-* Add support for multisite
-* Fix PHP error on merge & push
-
-= 1.0-rc2 =
-* Change the default lockfile location
-* Fix a PHP Warning
-
-= 1.0-rc1 =
-* Update the logic of merge and push
-* Add lock mechanism for fetch and merge
-* Fix repo stuck on merge_local branch
-* Tested up to 4.5.3
-
-= 0.5.8-beta =
-* Add documentation for 'Could not connect to remote repository?'
-* Fix the update theme from Dashboard commit message & the install plugin commit message
-* Fix install/delete plugin/theme commit message
-* Add a test and rewrite the tests
-* Tested up to 4.5.2
-
-= 0.5.7-beta =
-* Fix bug deleting plugins/themes causes wrong commit message
-* Fix bug wrong commit message
-* Fix bug updated function to stop maintenance mode hang
-* Fix bug undefined variable 'new_versions'
-* Add 'Merge changes' button for gitium webhook
-* Add gitium documentation for docker
-* Add more tests
-
-= 0.5.6-beta =
-* Fix compatibility issues with wp-cli
-
-= 0.5.5-beta =
-* Fix bug plugin deletion from plugins page did not trigger commit
-
-= 0.5.4-beta =
-* Fix bug missing changes on similarly named plugins
-* Add requirements notices
-* Add requirements help section
-
-= 0.5.3-beta =
-* Fix paths with spaces bug
-* Add a Disconnect from repo button
-* Fix POST var `path` conflicts
-* Fix travis tests
-
-= 0.5.2-beta =
-* Add Contextual Help to Configuration page
-* Make the icon path relative
-* The key file is deleted properly
-* Update serbian translation
-* Make the resource type more specific
-* Fix Menu Bubble
-* Remove useless param for get_transient
-* Add Spanish Translation
-* Rename `gitium_version` transient
-* Fix git version notice
-* Delete .vimrc
-* Update .gitignore
-* Fix syntax error
-* Add better git version check
-* Fix add_query_arg vulnerability
-
-= 0.5.1-beta =
-* Update Serbian Translation (by [Ogi Djuraskovic](http://firstsiteguide.com/))
-* Fix Menu Bubble
-
-= 0.5-beta =
-* Add `Last 20 Commits` menu page
-* Add WordPress Contextual Help menu
-* Add `Settings` menu page
-* Move `Webhook URL` and `Public Key` fields to `Settings` page
-* Add menu icon
-* The `.gitignore` file can be edited
-* Fix commit message on theme/plugin update event
-* Refactoring
-
-= 0.4-beta =
-* Add `Bitbucket` documentation link
-* Add the action `gitium_before_merge_with_accept_mine`
-* Moved to `travis-ci.org`
-* Add new tests
-* Added code climate coverage reporting
-* Refactoring
-
-= 0.3.2-alpha =
-* Fix plugin activation issues
-
-= 0.3.1-alpha =
-* Fix issues with ssh repositories
-* Fix maintemance mode when webhook fails
-
-= 0.3-alpha =
-* First alpha release
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/css.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/css.php
deleted file mode 100644
index e46eec65..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/css.php
+++ /dev/null
@@ -1,134 +0,0 @@
-_selector ) {
- $this->add_selector_rules_to_output();
- }
-
- $this->_selector = $selector;
-
- return $this;
- }
-
- /**
- * Adds a css property with value to the css output
- *
- * @access public
- * @since 1.0
- *
- * @param string $property - the css property.
- * @param string $value - the value to be placed with the property.
- * @param string $url Whether we need to generate URL in the string.
- * @return $this
- */
- public function add_property( $property, $value, $url = '' ) {
- // If we don't have a value or our value is the same as our og default, bail.
- if ( empty( $value ) ) {
- return false;
- }
-
- // Set up our background image URL param if needed.
- $url_start = ( '' !== $url ) ? "url('" : ""; // phpcs:ignore -- need double quotes.
- $url_end = ( '' !== $url ) ? "')" : ""; // phpcs:ignore -- need double quotes.
-
- $this->_css .= $property . ':' . $url_start . $value . $url_end . ';';
- return $this;
- }
-
- /**
- * Adds the current selector rules to the output variable
- *
- * @access private
- * @since 1.0
- *
- * @return $this
- */
- private function add_selector_rules_to_output() {
- if ( ! empty( $this->_css ) ) {
- $this->_selector_output = $this->_selector;
- $selector_output = sprintf( '%1$s{%2$s}', $this->_selector_output, $this->_css );
-
- $this->_output .= $selector_output;
-
- // Reset the css.
- $this->_css = '';
- }
-
- return $this;
- }
-
- /**
- * Returns the minified css in the $_output variable
- *
- * @access public
- * @since 1.0
- *
- * @return string
- */
- public function css_output() {
- // Add current selector's rules to output.
- $this->add_selector_rules_to_output();
-
- // Output minified css.
- return $this->_output;
- }
-
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/functions.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/functions.php
deleted file mode 100644
index fb21ce01..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/functions.php
+++ /dev/null
@@ -1,1342 +0,0 @@
- '',
- 'body_repeat' => '',
- 'body_size' => '',
- 'body_attachment' => '',
- 'body_position' => '',
- 'top_bar_image' => '',
- 'top_bar_repeat' => '',
- 'top_bar_size' => '',
- 'top_bar_attachment' => '',
- 'top_bar_position' => '',
- 'header_image' => '',
- 'header_repeat' => '',
- 'header_size' => '',
- 'header_attachment' => '',
- 'header_position' => '',
- 'nav_image' => '',
- 'nav_repeat' => '',
- 'nav_item_image' => '',
- 'nav_item_repeat' => '',
- 'nav_item_hover_image' => '',
- 'nav_item_hover_repeat' => '',
- 'nav_item_current_image' => '',
- 'nav_item_current_repeat' => '',
- 'sub_nav_image' => '',
- 'sub_nav_repeat' => '',
- 'sub_nav_item_image' => '',
- 'sub_nav_item_repeat' => '',
- 'sub_nav_item_hover_image' => '',
- 'sub_nav_item_hover_repeat' => '',
- 'sub_nav_item_current_image' => '',
- 'sub_nav_item_current_repeat' => '',
- 'content_image' => '',
- 'content_repeat' => '',
- 'content_size' => '',
- 'content_attachment' => '',
- 'content_position' => '',
- 'sidebar_widget_image' => '',
- 'sidebar_widget_repeat' => '',
- 'sidebar_widget_size' => '',
- 'sidebar_widget_attachment' => '',
- 'sidebar_widget_position' => '',
- 'footer_widget_image' => '',
- 'footer_widget_repeat' => '',
- 'footer_widget_size' => '',
- 'footer_widget_attachment' => '',
- 'footer_widget_position' => '',
- 'footer_image' => '',
- 'footer_repeat' => '',
- 'footer_size' => '',
- 'footer_attachment' => '',
- 'footer_position' => '',
- );
-
- return apply_filters( 'generate_background_option_defaults', $generate_background_defaults );
- }
-}
-
-if ( ! function_exists( 'generate_backgrounds_customize' ) ) {
- add_action( 'customize_register', 'generate_backgrounds_customize', 999 );
- /**
- * Build our Customizer options
- *
- * @since 0.1
- *
- * @param object $wp_customize The Customizer object.
- */
- function generate_backgrounds_customize( $wp_customize ) {
- $defaults = generate_get_background_defaults();
-
- require_once GP_LIBRARY_DIRECTORY . 'customizer-helpers.php';
-
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Background_Images_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- if ( class_exists( 'WP_Customize_Panel' ) ) {
- if ( ! $wp_customize->get_panel( 'generate_backgrounds_panel' ) ) {
- $wp_customize->add_panel(
- 'generate_backgrounds_panel',
- array(
- 'capability' => 'edit_theme_options',
- 'theme_supports' => '',
- 'title' => __( 'Background Images', 'gp-premium' ),
- 'priority' => 55,
- )
- );
- }
- }
-
- $wp_customize->add_section(
- 'backgrounds_section',
- array(
- 'title' => __( 'Background Images', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 50,
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_body',
- array(
- 'title' => __( 'Body', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 5,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_body_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_body',
- 'element' => __( 'Body', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_container',
- 'colors' => 'body_section',
- 'typography' => 'font_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- /**
- * Body background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[body_image]',
- array(
- 'default' => $defaults['body_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-body-image',
- array(
- 'section' => 'generate_backgrounds_body',
- 'settings' => 'generate_background_settings[body_image]',
- 'label' => __( 'Body', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[body_repeat]',
- array(
- 'default' => $defaults['body_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[body_size]',
- array(
- 'default' => $defaults['body_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[body_attachment]',
- array(
- 'default' => $defaults['body_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[body_position]',
- array(
- 'default' => $defaults['body_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'body_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_body',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[body_repeat]',
- 'size' => 'generate_background_settings[body_size]',
- 'attachment' => 'generate_background_settings[body_attachment]',
- 'position' => 'generate_background_settings[body_position]',
- ),
- )
- )
- );
-
- /**
- * Top bar background
- */
- $wp_customize->add_section(
- 'generate_backgrounds_top_bar',
- array(
- 'title' => __( 'Top Bar', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 5,
- 'panel' => 'generate_backgrounds_panel',
- 'active_callback' => 'generate_premium_is_top_bar_active',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[top_bar_image]',
- array(
- 'default' => $defaults['top_bar_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[top_bar_image]',
- array(
- 'section' => 'generate_backgrounds_top_bar',
- 'settings' => 'generate_background_settings[top_bar_image]',
- 'label' => __( 'Top Bar', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[top_bar_repeat]',
- array(
- 'default' => $defaults['top_bar_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[top_bar_size]',
- array(
- 'default' => $defaults['top_bar_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[top_bar_attachment]',
- array(
- 'default' => $defaults['top_bar_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[top_bar_position]',
- array(
- 'default' => $defaults['top_bar_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'top_bar_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_top_bar',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[top_bar_repeat]',
- 'size' => 'generate_background_settings[top_bar_size]',
- 'attachment' => 'generate_background_settings[top_bar_attachment]',
- 'position' => 'generate_background_settings[top_bar_position]',
- ),
- )
- )
- );
-
- /**
- * Header background
- */
- $wp_customize->add_section(
- 'generate_backgrounds_header',
- array(
- 'title' => __( 'Header', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 10,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_header_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_header',
- 'element' => __( 'Header', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_header',
- 'colors' => 'header_color_section',
- 'typography' => 'font_header_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[header_image]',
- array(
- 'default' => $defaults['header_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-header-image',
- array(
- 'section' => 'generate_backgrounds_header',
- 'settings' => 'generate_background_settings[header_image]',
- 'label' => __( 'Header', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[header_repeat]',
- array(
- 'default' => $defaults['header_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[header_size]',
- array(
- 'default' => $defaults['header_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[header_attachment]',
- array(
- 'default' => $defaults['header_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[header_position]',
- array(
- 'default' => $defaults['header_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'header_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_header',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[header_repeat]',
- 'size' => 'generate_background_settings[header_size]',
- 'attachment' => 'generate_background_settings[header_attachment]',
- 'position' => 'generate_background_settings[header_position]',
- ),
- )
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_navigation',
- array(
- 'title' => __( 'Primary Navigation', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 15,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_primary_navigation_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_navigation',
- 'element' => __( 'Primary Navigation', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_navigation',
- 'colors' => 'navigation_color_section',
- 'typography' => 'font_navigation_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- /**
- * Navigation background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[nav_image]',
- array(
- 'default' => $defaults['nav_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[nav_image]',
- array(
- 'section' => 'generate_backgrounds_navigation',
- 'settings' => 'generate_background_settings[nav_image]',
- 'priority' => 750,
- 'label' => __( 'Navigation', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[nav_repeat]',
- array(
- 'default' => $defaults['nav_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[nav_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_navigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[nav_repeat]',
- 'priority' => 800,
- )
- );
-
- /**
- * Navigation item background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_image]',
- array(
- 'default' => $defaults['nav_item_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-nav-item-image',
- array(
- 'section' => 'generate_backgrounds_navigation',
- 'settings' => 'generate_background_settings[nav_item_image]',
- 'priority' => 950,
- 'label' => __( 'Navigation Item', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_repeat]',
- array(
- 'default' => $defaults['nav_item_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[nav_item_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_navigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[nav_item_repeat]',
- 'priority' => 1000,
- )
- );
-
- /**
- * Navigation item hover background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_hover_image]',
- array(
- 'default' => $defaults['nav_item_hover_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-nav-item-hover-image',
- array(
- 'section' => 'generate_backgrounds_navigation',
- 'settings' => 'generate_background_settings[nav_item_hover_image]',
- 'priority' => 1150,
- 'label' => __( 'Navigation Item Hover', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_hover_repeat]',
- array(
- 'default' => $defaults['nav_item_hover_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[nav_item_hover_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_navigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[nav_item_hover_repeat]',
- 'priority' => 1200,
- )
- );
-
- /**
- * Navigation item current background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_current_image]',
- array(
- 'default' => $defaults['nav_item_current_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-nav-item-current-image',
- array(
- 'section' => 'generate_backgrounds_navigation',
- 'settings' => 'generate_background_settings[nav_item_current_image]',
- 'priority' => 1350,
- 'label' => __( 'Navigation Item Current', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[nav_item_current_repeat]',
- array(
- 'default' => $defaults['nav_item_current_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[nav_item_current_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_navigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[nav_item_current_repeat]',
- 'priority' => 1400,
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_subnavigation',
- array(
- 'title' => __( 'Primary Sub-Navigation', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 20,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- /**
- * Sub-Navigation item background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_image]',
- array(
- 'default' => $defaults['sub_nav_item_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[sub_nav_item_image]',
- array(
- 'section' => 'generate_backgrounds_subnavigation',
- 'settings' => 'generate_background_settings[sub_nav_item_image]',
- 'priority' => 1700,
- 'label' => __( 'Sub-Navigation Item', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[sub_nav_item_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_subnavigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[sub_nav_item_repeat]',
- 'priority' => 1800,
- )
- );
-
- /**
- * Sub-Navigation item hover background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_hover_image]',
- array(
- 'default' => $defaults['sub_nav_item_hover_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[sub_nav_item_hover_image]',
- array(
- 'section' => 'generate_backgrounds_subnavigation',
- 'settings' => 'generate_background_settings[sub_nav_item_hover_image]',
- 'priority' => 2000,
- 'label' => __( 'Sub-Navigation Item Hover', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_hover_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_hover_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[sub_nav_item_hover_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_subnavigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[sub_nav_item_hover_repeat]',
- 'priority' => 2100,
- )
- );
-
- /**
- * Sub-Navigation item current background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_current_image]',
- array(
- 'default' => $defaults['sub_nav_item_current_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[sub_nav_item_current_image]',
- array(
- 'section' => 'generate_backgrounds_subnavigation',
- 'settings' => 'generate_background_settings[sub_nav_item_current_image]',
- 'priority' => 2300,
- 'label' => __( 'Sub-Navigation Item Current', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sub_nav_item_current_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_current_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_control(
- 'generate_background_settings[sub_nav_item_current_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'generate_backgrounds_subnavigation',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_background_settings[sub_nav_item_current_repeat]',
- 'priority' => 2400,
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_content',
- array(
- 'title' => __( 'Content', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 25,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_content_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_content',
- 'element' => __( 'Content', 'gp-premium' ),
- 'shortcuts' => array(
- 'colors' => 'content_color_section',
- 'typography' => 'font_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- /**
- * Content background
- */
- $wp_customize->add_setting(
- 'generate_background_settings[content_image]',
- array(
- 'default' => $defaults['content_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[content_image]',
- array(
- 'section' => 'generate_backgrounds_content',
- 'settings' => 'generate_background_settings[content_image]',
- 'label' => __( 'Content', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[content_repeat]',
- array(
- 'default' => $defaults['content_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[content_size]',
- array(
- 'default' => $defaults['content_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[content_attachment]',
- array(
- 'default' => $defaults['content_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[content_position]',
- array(
- 'default' => $defaults['content_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'content_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_content',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[content_repeat]',
- 'size' => 'generate_background_settings[content_size]',
- 'attachment' => 'generate_background_settings[content_attachment]',
- 'position' => 'generate_background_settings[content_position]',
- ),
- )
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_sidebars',
- array(
- 'title' => __( 'Sidebar', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 25,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_sidebar_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_sidebars',
- 'element' => __( 'Sidebar', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_sidebars',
- 'colors' => 'sidebar_widget_color_section',
- 'typography' => 'font_widget_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sidebar_widget_image]',
- array(
- 'default' => $defaults['sidebar_widget_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[sidebar_widget_image]',
- array(
- 'section' => 'generate_backgrounds_sidebars',
- 'settings' => 'generate_background_settings[sidebar_widget_image]',
- 'label' => __( 'Sidebar Widgets', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sidebar_widget_repeat]',
- array(
- 'default' => $defaults['sidebar_widget_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sidebar_widget_size]',
- array(
- 'default' => $defaults['sidebar_widget_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sidebar_widget_attachment]',
- array(
- 'default' => $defaults['sidebar_widget_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[sidebar_widget_position]',
- array(
- 'default' => $defaults['sidebar_widget_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'sidebar_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_sidebars',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[sidebar_widget_repeat]',
- 'size' => 'generate_background_settings[sidebar_widget_size]',
- 'attachment' => 'generate_background_settings[sidebar_widget_attachment]',
- 'position' => 'generate_background_settings[sidebar_widget_position]',
- ),
- )
- )
- );
-
- $wp_customize->add_section(
- 'generate_backgrounds_footer',
- array(
- 'title' => __( 'Footer', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 30,
- 'panel' => 'generate_backgrounds_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_footer_background_image_shortcuts',
- array(
- 'section' => 'generate_backgrounds_footer',
- 'element' => __( 'Footer', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_footer',
- 'colors' => 'footer_color_section',
- 'typography' => 'font_footer_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_widget_image]',
- array(
- 'default' => $defaults['footer_widget_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_background_settings[footer_widget_image]',
- array(
- 'section' => 'generate_backgrounds_footer',
- 'settings' => 'generate_background_settings[footer_widget_image]',
- 'label' => __( 'Footer Widget Area', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_widget_repeat]',
- array(
- 'default' => $defaults['footer_widget_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_widget_size]',
- array(
- 'default' => $defaults['footer_widget_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_widget_attachment]',
- array(
- 'default' => $defaults['footer_widget_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_widget_position]',
- array(
- 'default' => $defaults['footer_widget_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'footer_widgets_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_footer',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[footer_widget_repeat]',
- 'size' => 'generate_background_settings[footer_widget_size]',
- 'attachment' => 'generate_background_settings[footer_widget_attachment]',
- 'position' => 'generate_background_settings[footer_widget_position]',
- ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_image]',
- array(
- 'default' => $defaults['footer_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_backgrounds-footer-image',
- array(
- 'section' => 'generate_backgrounds_footer',
- 'settings' => 'generate_background_settings[footer_image]',
- 'label' => __( 'Footer Area', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_repeat]',
- array(
- 'default' => $defaults['footer_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_size]',
- array(
- 'default' => $defaults['footer_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_attachment]',
- array(
- 'default' => $defaults['footer_attachment'],
- 'type' => 'option',
- 'sanitize_callback' => 'sanitize_key',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_background_settings[footer_position]',
- array(
- 'default' => $defaults['footer_position'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_html',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Background_Images_Customize_Control(
- $wp_customize,
- 'footer_backgrounds_control',
- array(
- 'section' => 'generate_backgrounds_footer',
- 'settings' => array(
- 'repeat' => 'generate_background_settings[footer_repeat]',
- 'size' => 'generate_background_settings[footer_size]',
- 'attachment' => 'generate_background_settings[footer_attachment]',
- 'position' => 'generate_background_settings[footer_position]',
- ),
- )
- )
- );
- }
-}
-
-if ( ! function_exists( 'generate_backgrounds_css' ) ) {
- /**
- * Generate the CSS in the section using the Theme Customizer
- *
- * @since 0.1
- */
- function generate_backgrounds_css() {
- $generate_settings = wp_parse_args(
- get_option( 'generate_background_settings', array() ),
- generate_get_background_defaults()
- );
-
- // Fix size values.
- // Spaces and % are stripped by sanitize_key.
- $generate_settings['body_size'] = ( '100' == $generate_settings['body_size'] ) ? '100% auto' : esc_attr( $generate_settings['body_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['top_bar_size'] = ( '100' == $generate_settings['top_bar_size'] ) ? '100% auto' : esc_attr( $generate_settings['top_bar_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['header_size'] = ( '100' == $generate_settings['header_size'] ) ? '100% auto' : esc_attr( $generate_settings['header_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['content_size'] = ( '100' == $generate_settings['content_size'] ) ? '100% auto' : esc_attr( $generate_settings['content_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['sidebar_widget_size'] = ( '100' == $generate_settings['sidebar_widget_size'] ) ? '100% auto' : esc_attr( $generate_settings['sidebar_widget_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['footer_widget_size'] = ( '100' == $generate_settings['footer_widget_size'] ) ? '100% auto' : esc_attr( $generate_settings['footer_widget_size'] ); // phpcs:ignore -- Non-strict comparison ok.
- $generate_settings['footer_size'] = ( '100' == $generate_settings['footer_size'] ) ? '100% auto' : esc_attr( $generate_settings['footer_size'] ); // phpcs:ignore -- Non-strict comparison ok.
-
- $css = new GeneratePress_Backgrounds_CSS();
-
- $css->set_selector( 'body' );
- $css->add_property( 'background-image', esc_url( $generate_settings['body_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['body_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['body_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['body_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['body_position'] ) );
-
- if ( is_active_sidebar( 'top-bar' ) ) {
- $css->set_selector( '.top-bar' );
- $css->add_property( 'background-image', esc_url( $generate_settings['top_bar_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['top_bar_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['top_bar_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['top_bar_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['top_bar_position'] ) );
- }
-
- $css->set_selector( '.site-header' );
- $css->add_property( 'background-image', esc_url( $generate_settings['header_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['header_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['header_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['header_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['header_position'] ) );
-
- $css->set_selector( '.main-navigation, .main-navigation .menu-toggle' );
- $css->add_property( 'background-image', esc_url( $generate_settings['nav_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['nav_repeat'] ) );
-
- $css->set_selector( '.main-navigation .main-nav > ul > li > a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['nav_item_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['nav_item_repeat'] ) );
-
- $css->set_selector( '.main-navigation .main-nav > ul > li > a:hover,.main-navigation .main-nav > ul > li.sfHover > a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['nav_item_hover_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['nav_item_hover_repeat'] ) );
-
- $css->set_selector( '.main-navigation .main-nav > ul > li[class*="current-menu-"] > a,.main-navigation .main-nav > ul > li[class*="current-menu-"] > a:hover,.main-navigation .main-nav > ul > li[class*="current-menu-"].sfHover > a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['nav_item_current_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['nav_item_current_repeat'] ) );
-
- $css->set_selector( '.main-navigation ul ul li a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['sub_nav_item_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['sub_nav_item_repeat'] ) );
-
- $css->set_selector( '.main-navigation ul ul li > a:hover,.main-navigation ul ul li.sfHover > a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['sub_nav_item_hover_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['sub_nav_item_hover_repeat'] ) );
-
- $css->set_selector( '.main-navigation ul ul li[class*="current-menu-"] > a,.main-navigation ul ul li[class*="current-menu-"] > a:hover,.main-navigation ul ul li[class*="current-menu-"].sfHover > a' );
- $css->add_property( 'background-image', esc_url( $generate_settings['sub_nav_item_current_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['sub_nav_item_current_repeat'] ) );
-
- $css->set_selector( '.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.one-container .container,.separate-containers .paging-navigation,.separate-containers .inside-page-header' );
- $css->add_property( 'background-image', esc_url( $generate_settings['content_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['content_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['content_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['content_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['content_position'] ) );
-
- $css->set_selector( '.sidebar .widget' );
- $css->add_property( 'background-image', esc_url( $generate_settings['sidebar_widget_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['sidebar_widget_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['sidebar_widget_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['sidebar_widget_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['sidebar_widget_position'] ) );
-
- $css->set_selector( '.footer-widgets' );
- $css->add_property( 'background-image', esc_url( $generate_settings['footer_widget_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['footer_widget_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['footer_widget_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['footer_widget_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['footer_widget_position'] ) );
-
- $css->set_selector( '.site-info' );
- $css->add_property( 'background-image', esc_url( $generate_settings['footer_image'] ), 'url' );
- $css->add_property( 'background-repeat', esc_attr( $generate_settings['footer_repeat'] ) );
- $css->add_property( 'background-size', esc_attr( $generate_settings['footer_size'] ) );
- $css->add_property( 'background-attachment', esc_attr( $generate_settings['footer_attachment'] ) );
- $css->add_property( 'background-position', esc_attr( $generate_settings['footer_position'] ) );
-
- return apply_filters( 'generate_backgrounds_css_output', $css->css_output() );
- }
-}
-
-if ( ! function_exists( 'generate_background_scripts' ) ) {
- add_action( 'wp_enqueue_scripts', 'generate_background_scripts', 70 );
- /**
- * Enqueue scripts and styles.
- *
- * @since 0.1
- */
- function generate_background_scripts() {
- if ( 'inline' === generate_get_css_print_method() ) {
- wp_add_inline_style( 'generate-style', generate_backgrounds_css() );
- }
- }
-}
-
-add_filter( 'generate_external_dynamic_css_output', 'generate_backgrounds_add_external_css' );
-/**
- * Add to external stylesheet.
- *
- * @since 1.11.0
- *
- * @param string $css Existing CSS.
- */
-function generate_backgrounds_add_external_css( $css ) {
- if ( 'inline' === generate_get_css_print_method() ) {
- return $css;
- }
-
- $css .= generate_backgrounds_css();
-
- return $css;
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/secondary-nav-backgrounds.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/secondary-nav-backgrounds.php
deleted file mode 100644
index fdc17f1d..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/functions/secondary-nav-backgrounds.php
+++ /dev/null
@@ -1,420 +0,0 @@
-get_section( 'secondary_nav_section' ) ) {
- return;
- }
-
- $defaults = generate_secondary_nav_get_defaults();
-
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- require_once GP_LIBRARY_DIRECTORY . 'customizer-helpers.php';
-
- $wp_customize->add_section(
- 'secondary_bg_images_section',
- array(
- 'title' => __( 'Secondary Navigation', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'description' => '',
- 'panel' => 'generate_backgrounds_panel',
- 'priority' => 21,
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_secondary_navigation_background_image_shortcuts',
- array(
- 'section' => 'secondary_bg_images_section',
- 'element' => __( 'Secondary Navigation', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'secondary_nav_section',
- 'colors' => 'secondary_navigation_color_section',
- 'typography' => 'secondary_font_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_image]',
- array(
- 'default' => $defaults['nav_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-nav-image',
- array(
- 'section' => 'secondary_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[nav_image]',
- 'priority' => 750,
- 'label' => __( 'Navigation', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_repeat]',
- array(
- 'default' => $defaults['nav_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[nav_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[nav_repeat]',
- 'priority' => 800,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_image]',
- array(
- 'default' => $defaults['nav_item_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-nav-item-image',
- array(
- 'section' => 'secondary_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[nav_item_image]',
- 'priority' => 950,
- 'label' => __( 'Navigation Item', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_repeat]',
- array(
- 'default' => $defaults['nav_item_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[nav_item_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[nav_item_repeat]',
- 'priority' => 1000,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_hover_image]',
- array(
- 'default' => $defaults['nav_item_hover_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-nav-item-hover-image',
- array(
- 'section' => 'secondary_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[nav_item_hover_image]',
- 'priority' => 1150,
- 'label' => __( 'Navigation Item Hover', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_hover_repeat]',
- array(
- 'default' => $defaults['nav_item_hover_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[nav_item_hover_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[nav_item_hover_repeat]',
- 'priority' => 1200,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_current_image]',
- array(
- 'default' => $defaults['nav_item_current_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-nav-item-current-image',
- array(
- 'section' => 'secondary_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[nav_item_current_image]',
- 'priority' => 1350,
- 'label' => __( 'Navigation Item Current', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[nav_item_current_repeat]',
- array(
- 'default' => $defaults['nav_item_current_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[nav_item_current_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[nav_item_current_repeat]',
- 'priority' => 1400,
- )
- );
-
- $wp_customize->add_section(
- 'secondary_subnav_bg_images_section',
- array(
- 'title' => __( 'Secondary Sub-Navigation', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'description' => '',
- 'panel' => 'generate_backgrounds_panel',
- 'priority' => 22,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_image]',
- array(
- 'default' => $defaults['sub_nav_item_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-sub-nav-item-image',
- array(
- 'section' => 'secondary_subnav_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_image]',
- 'priority' => 1700,
- 'label' => __( 'Sub-Navigation Item', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[sub_nav_item_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_subnav_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_repeat]',
- 'priority' => 1800,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_hover_image]',
- array(
- 'default' => $defaults['sub_nav_item_hover_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-sub-nav-item-hover-image',
- array(
- 'section' => 'secondary_subnav_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_hover_image]',
- 'priority' => 2000,
- 'label' => __( 'Sub-Navigation Item Hover', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_hover_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_hover_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[sub_nav_item_hover_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_subnav_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_hover_repeat]',
- 'priority' => 2100,
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_current_image]',
- array(
- 'default' => $defaults['sub_nav_item_current_image'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'esc_url_raw',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'generate_secondary_backgrounds-sub-nav-item-current-image',
- array(
- 'section' => 'secondary_subnav_bg_images_section',
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_current_image]',
- 'priority' => 2300,
- 'label' => __( 'Sub-Navigation Item Current', 'gp-premium' ),
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[sub_nav_item_current_repeat]',
- array(
- 'default' => $defaults['sub_nav_item_current_repeat'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_secondary_nav_settings[sub_nav_item_current_repeat]',
- array(
- 'type' => 'select',
- 'section' => 'secondary_subnav_bg_images_section',
- 'choices' => array(
- '' => __( 'Repeat', 'gp-premium' ),
- 'repeat-x' => __( 'Repeat x', 'gp-premium' ),
- 'repeat-y' => __( 'Repeat y', 'gp-premium' ),
- 'no-repeat' => __( 'No Repeat', 'gp-premium' ),
- ),
- 'settings' => 'generate_secondary_nav_settings[sub_nav_item_current_repeat]',
- 'priority' => 2400,
- )
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/generate-backgrounds.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/generate-backgrounds.php
deleted file mode 100644
index d9cd1055..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/backgrounds/generate-backgrounds.php
+++ /dev/null
@@ -1,19 +0,0 @@
-post_count ) {
- $columns = false;
- }
- }
-
- // Return the result.
- return apply_filters( 'generate_blog_columns', $columns );
- }
-}
-
-if ( ! function_exists( 'generate_blog_get_masonry' ) ) {
- /**
- * Check if masonry is enabled.
- * This function is a mess with strings as bools etc.. Will re-write in a big upate to get lots of testing.
- */
- function generate_blog_get_masonry() {
- $generate_blog_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- // If masonry is enabled via option or filter, enable it.
- // phpcs:ignore -- non-strict comparison allowed.
- if ( $generate_blog_settings['masonry'] || 'true' == apply_filters( 'generate_blog_masonry', 'false' ) ) {
- $masonry = 'true';
- } else {
- $masonry = 'false';
- }
-
- // Allow masonry to be turned off using a boolean.
- if ( false === apply_filters( 'generate_blog_masonry', 'false' ) ) {
- $masonry = 'false';
- }
-
- return $masonry;
- }
-}
-
-if ( ! function_exists( 'generate_blog_add_columns_container' ) ) {
- add_action( 'generate_before_main_content', 'generate_blog_add_columns_container' );
- /**
- * Add columns container
- *
- * @since 1.0
- */
- function generate_blog_add_columns_container() {
- if ( ! generate_blog_get_columns() ) {
- return;
- }
-
- $columns = generate_blog_get_column_count();
-
- printf(
- '%2$s',
- 'false' !== generate_blog_get_masonry() ? 'masonry-container are-images-unloaded' : '',
- 'false' !== generate_blog_get_masonry() ? '
' : '' // phpcs:ignore -- no escaping needed.
- );
- }
-}
-
-if ( ! function_exists( 'generate_blog_add_ending_columns_container' ) ) {
- add_action( 'generate_after_main_content', 'generate_blog_add_ending_columns_container' );
- /**
- * Add closing columns container
- *
- * @since 1.0
- */
- function generate_blog_add_ending_columns_container() {
- if ( ! generate_blog_get_columns() ) {
- return;
- }
-
- echo '
';
- }
-}
-
-if ( ! function_exists( 'generate_blog_columns_css' ) ) {
- /**
- * Add inline CSS
- */
- function generate_blog_columns_css() {
- $generate_blog_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( function_exists( 'generate_spacing_get_defaults' ) ) {
- $spacing_settings = wp_parse_args(
- get_option( 'generate_spacing_settings', array() ),
- generate_spacing_get_defaults()
- );
- }
-
- $separator = ( function_exists( 'generate_spacing_get_defaults' ) ) ? absint( $spacing_settings['separator'] ) : 20;
-
- $return = '';
- if ( generate_blog_get_columns() ) {
- $return .= '.generate-columns {margin-bottom: ' . $separator . 'px;padding-left: ' . $separator . 'px;}';
- $return .= '.generate-columns-container {margin-left: -' . $separator . 'px;}';
- $return .= '.page-header {margin-bottom: ' . $separator . 'px;margin-left: ' . $separator . 'px}';
- $return .= '.generate-columns-container > .paging-navigation {margin-left: ' . $separator . 'px;}';
- }
-
- return $return;
- }
-}
-
-if ( ! function_exists( 'generate_blog_get_column_count' ) ) {
- /**
- * Get our column grid class
- */
- function generate_blog_get_column_count() {
- $generate_blog_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- $count = $generate_blog_settings['columns'];
-
- return apply_filters( 'generate_blog_get_column_count', $count );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.css
deleted file mode 100644
index 1066ab1f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.css
+++ /dev/null
@@ -1,149 +0,0 @@
-.masonry-enabled .page-header {
- position: relative !important;
-}
-
-.separate-containers .site-main > .generate-columns-container {
- margin-bottom: 0;
-}
-
-.masonry-container.are-images-unloaded,
-.load-more.are-images-unloaded,
-.masonry-enabled #nav-below {
- opacity: 0;
-}
-
-/* columns */
-.generate-columns-container:not(.masonry-container) {
- display: flex;
- flex-wrap: wrap;
- align-items: stretch;
-}
-
-.generate-columns .inside-article {
- height: 100%;
- box-sizing: border-box;
-}
-
-.generate-columns-activated.post-image-aligned-left .generate-columns-container article:not(.featured-column) .post-image,
-.generate-columns-activated.post-image-aligned-right .generate-columns-container article:not(.featured-column) .post-image {
- float: none;
- text-align: center;
- margin-left: 0;
- margin-right: 0;
-}
-
-.generate-columns-container .paging-navigation,
-.generate-columns-container .page-header {
- flex: 1 1 100%;
- clear: both;
-}
-
-.generate-columns-container .paging-navigation {
- margin-bottom: 0;
-}
-
-.load-more:not(.has-svg-icon) .button.loading:before {
- content: "\e900";
- display: inline-block;
- font-family: "GP Premium";
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- animation: spin 2s infinite linear;
- margin-right: 7px;
-}
-
-.load-more .button:not(.loading) .gp-icon {
- display: none;
-}
-
-.load-more .gp-icon svg {
- animation: spin 2s infinite linear;
- margin-right: 7px;
-}
-
-@keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
-}
-
-.generate-columns {
- box-sizing: border-box;
-}
-
-.generate-columns.grid-20,
-.grid-sizer.grid-20 {
- width: 20%;
-}
-
-.generate-columns.grid-25,
-.grid-sizer.grid-25 {
- width: 25%;
-}
-
-.generate-columns.grid-33,
-.grid-sizer.grid-33 {
- width: 33.3333%;
-}
-
-.generate-columns.grid-50,
-.grid-sizer.grid-50 {
- width: 50%;
-}
-
-.generate-columns.grid-60,
-.grid-sizer.grid-60 {
- width: 60%;
-}
-
-.generate-columns.grid-66,
-.grid-sizer.grid-66 {
- width: 66.66667%;
-}
-
-.generate-columns.grid-100,
-.grid-sizer.grid-100 {
- width: 100%;
-}
-
-@media (min-width: 768px) and (max-width: 1024px) {
- .generate-columns.tablet-grid-50,
- .grid-sizer.tablet-grid-50 {
- width: 50%;
- }
-}
-
-@media (max-width: 767px) {
- .generate-columns-activated .generate-columns-container {
- margin-left: 0;
- margin-right: 0;
- }
- .generate-columns-container > *,
- .generate-columns-container .generate-columns {
- padding-left: 0;
- }
- .generate-columns-container .page-header {
- margin-left: 0;
- }
- .generate-columns.mobile-grid-100,
- .grid-sizer.mobile-grid-100 {
- width: 100%;
- }
- .generate-columns-container > .paging-navigation {
- margin-left: 0;
- }
-}
-
-@media (max-width: 768px) {
- .load-more {
- display: block;
- text-align: center;
- margin-bottom: 0;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.min.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.min.css
deleted file mode 100644
index 3814f76b..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/columns.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.masonry-enabled .page-header{position:relative!important}.separate-containers .site-main>.generate-columns-container{margin-bottom:0}.load-more.are-images-unloaded,.masonry-container.are-images-unloaded,.masonry-enabled #nav-below{opacity:0}.generate-columns-container:not(.masonry-container){display:flex;flex-wrap:wrap;align-items:stretch}.generate-columns .inside-article{height:100%;box-sizing:border-box}.generate-columns-activated.post-image-aligned-left .generate-columns-container article:not(.featured-column) .post-image,.generate-columns-activated.post-image-aligned-right .generate-columns-container article:not(.featured-column) .post-image{float:none;text-align:center;margin-left:0;margin-right:0}.generate-columns-container .page-header,.generate-columns-container .paging-navigation{flex:1 1 100%;clear:both}.generate-columns-container .paging-navigation{margin-bottom:0}.load-more:not(.has-svg-icon) .button.loading:before{content:"\e900";display:inline-block;font-family:"GP Premium";font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;animation:spin 2s infinite linear;margin-right:7px}.load-more .button:not(.loading) .gp-icon{display:none}.load-more .gp-icon svg{animation:spin 2s infinite linear;margin-right:7px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.generate-columns{box-sizing:border-box}.generate-columns.grid-20,.grid-sizer.grid-20{width:20%}.generate-columns.grid-25,.grid-sizer.grid-25{width:25%}.generate-columns.grid-33,.grid-sizer.grid-33{width:33.3333%}.generate-columns.grid-50,.grid-sizer.grid-50{width:50%}.generate-columns.grid-60,.grid-sizer.grid-60{width:60%}.generate-columns.grid-66,.grid-sizer.grid-66{width:66.66667%}.generate-columns.grid-100,.grid-sizer.grid-100{width:100%}@media (min-width:768px) and (max-width:1024px){.generate-columns.tablet-grid-50,.grid-sizer.tablet-grid-50{width:50%}}@media (max-width:767px){.generate-columns-activated .generate-columns-container{margin-left:0;margin-right:0}.generate-columns-container .generate-columns,.generate-columns-container>*{padding-left:0}.generate-columns-container .page-header{margin-left:0}.generate-columns.mobile-grid-100,.grid-sizer.mobile-grid-100{width:100%}.generate-columns-container>.paging-navigation{margin-left:0}}@media (max-width:768px){.load-more{display:block;text-align:center;margin-bottom:0}}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.css
deleted file mode 100644
index c3efa57f..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.css
+++ /dev/null
@@ -1,104 +0,0 @@
-.post-image-above-header .inside-article .post-image,
-.post-image-above-header .inside-article .featured-image {
- margin-top: 0;
- margin-bottom: 2em;
-}
-
-.post-image-aligned-left .inside-article .post-image,
-.post-image-aligned-left .inside-article .featured-image {
- margin-top: 0;
- margin-right: 2em;
- float: left;
- text-align: left;
-}
-
-.post-image-aligned-center .post-image,
-.post-image-aligned-center .featured-image {
- text-align: center;
-}
-
-.post-image-aligned-right .inside-article .post-image,
-.post-image-aligned-right .inside-article .featured-image {
- margin-top: 0;
- margin-left: 2em;
- float: right;
- text-align: right;
-}
-
-.post-image-below-header.post-image-aligned-right .inside-article .post-image,
-.post-image-below-header.post-image-aligned-right .inside-article .featured-image,
-.post-image-below-header.post-image-aligned-center .inside-article .featured-image,
-.post-image-below-header.post-image-aligned-left .inside-article .post-image,
-.post-image-below-header.post-image-aligned-left .inside-article .featured-image {
- margin-top: 2em;
-}
-
-.post-image-aligned-left > .featured-image,
-.post-image-aligned-right > .featured-image {
- float: none;
- margin-left: auto;
- margin-right: auto;
-}
-
-.post-image-aligned-left .featured-image {
- text-align: left;
-}
-
-.post-image-aligned-right .featured-image {
- text-align: right;
-}
-
-.post-image-aligned-left .inside-article:before,
-.post-image-aligned-left .inside-article:after,
-.post-image-aligned-right .inside-article:before,
-.post-image-aligned-right .inside-article:after {
- content: "";
- display: table;
-}
-
-.post-image-aligned-left .inside-article:after,
-.post-image-aligned-right .inside-article:after {
- clear: both;
-}
-
-.one-container.post-image-above-header .page-header + .no-featured-image-padding .inside-article .post-image,
-.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image {
- margin-top: 0;
-}
-
-.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
-.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-right: 0;
-}
-
-.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
-.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-left: 0;
-}
-
-.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-left: 0;
- margin-right: 0;
-}
-
-.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image,
-.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image {
- margin-left: 0;
- margin-right: 0;
-}
-
-@media (max-width: 768px) {
- body:not(.post-image-aligned-center) .inside-article .post-image,
- body:not(.post-image-aligned-center) .featured-image,
- body:not(.post-image-aligned-center) .inside-article .featured-image {
- margin-right: 0;
- margin-left: 0;
- float: none;
- text-align: center;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.min.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.min.css
deleted file mode 100644
index ba2493d8..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/featured-images.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.post-image-above-header .inside-article .featured-image,.post-image-above-header .inside-article .post-image{margin-top:0;margin-bottom:2em}.post-image-aligned-left .inside-article .featured-image,.post-image-aligned-left .inside-article .post-image{margin-top:0;margin-right:2em;float:left;text-align:left}.post-image-aligned-center .featured-image,.post-image-aligned-center .post-image{text-align:center}.post-image-aligned-right .inside-article .featured-image,.post-image-aligned-right .inside-article .post-image{margin-top:0;margin-left:2em;float:right;text-align:right}.post-image-below-header.post-image-aligned-center .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .post-image,.post-image-below-header.post-image-aligned-right .inside-article .featured-image,.post-image-below-header.post-image-aligned-right .inside-article .post-image{margin-top:2em}.post-image-aligned-left>.featured-image,.post-image-aligned-right>.featured-image{float:none;margin-left:auto;margin-right:auto}.post-image-aligned-left .featured-image{text-align:left}.post-image-aligned-right .featured-image{text-align:right}.post-image-aligned-left .inside-article:after,.post-image-aligned-left .inside-article:before,.post-image-aligned-right .inside-article:after,.post-image-aligned-right .inside-article:before{content:"";display:table}.post-image-aligned-left .inside-article:after,.post-image-aligned-right .inside-article:after{clear:both}.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image,.one-container.post-image-above-header .page-header+.no-featured-image-padding .inside-article .post-image{margin-top:0}.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-right:0}.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0}.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0;margin-right:0}.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image,.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image{margin-left:0;margin-right:0}@media (max-width:768px){body:not(.post-image-aligned-center) .featured-image,body:not(.post-image-aligned-center) .inside-article .featured-image,body:not(.post-image-aligned-center) .inside-article .post-image{margin-right:0;margin-left:0;float:none;text-align:center}}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.css
deleted file mode 100644
index e79ddd50..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.css
+++ /dev/null
@@ -1,254 +0,0 @@
-.post-image-above-header .inside-article .post-image,
-.post-image-above-header .inside-article .featured-image {
- margin-top: 0;
- margin-bottom: 2em;
-}
-
-.post-image-aligned-left .inside-article .post-image,
-.post-image-aligned-left .inside-article .featured-image {
- margin-top: 0;
- margin-right: 2em;
- float: left;
- text-align: left;
-}
-
-.post-image-aligned-center .post-image,
-.post-image-aligned-center .featured-image {
- text-align: center;
-}
-
-.post-image-aligned-right .inside-article .post-image,
-.post-image-aligned-right .inside-article .featured-image {
- margin-top: 0;
- margin-left: 2em;
- float: right;
- text-align: right;
-}
-
-.post-image-below-header.post-image-aligned-right .inside-article .post-image,
-.post-image-below-header.post-image-aligned-right .inside-article .featured-image,
-.post-image-below-header.post-image-aligned-center .inside-article .featured-image,
-.post-image-below-header.post-image-aligned-left .inside-article .post-image,
-.post-image-below-header.post-image-aligned-left .inside-article .featured-image {
- margin-top: 2em;
-}
-
-.post-image-aligned-left > .featured-image,
-.post-image-aligned-right > .featured-image {
- float: none;
- margin-left: auto;
- margin-right: auto;
-}
-
-.post-image-aligned-left .featured-image {
- text-align: left;
-}
-
-.post-image-aligned-right .featured-image {
- text-align: right;
-}
-
-.post-image-aligned-left .inside-article:before,
-.post-image-aligned-left .inside-article:after,
-.post-image-aligned-right .inside-article:before,
-.post-image-aligned-right .inside-article:after {
- content: "";
- display: table;
-}
-
-.post-image-aligned-left .inside-article:after,
-.post-image-aligned-right .inside-article:after {
- clear: both;
-}
-
-.one-container.post-image-above-header .page-header + .no-featured-image-padding .inside-article .post-image,
-.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image {
- margin-top: 0;
-}
-
-.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
-.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-right: 0;
-}
-
-.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,
-.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-left: 0;
-}
-
-.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image,
-.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image {
- margin-left: 0;
- margin-right: 0;
-}
-
-.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image,
-.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image {
- margin-left: 0;
- margin-right: 0;
-}
-
-@media (max-width: 768px) {
- body:not(.post-image-aligned-center) .inside-article .post-image,
- body:not(.post-image-aligned-center) .featured-image,
- body:not(.post-image-aligned-center) .inside-article .featured-image {
- margin-right: 0;
- margin-left: 0;
- float: none;
- text-align: center;
- }
-}
-
-.masonry-enabled .page-header {
- position: relative !important;
-}
-
-.separate-containers .site-main > .generate-columns-container {
- margin-bottom: 0;
-}
-
-.masonry-container.are-images-unloaded,
-.load-more.are-images-unloaded,
-.masonry-enabled #nav-below {
- opacity: 0;
-}
-
-/* columns */
-.generate-columns-container:not(.masonry-container) {
- display: flex;
- flex-wrap: wrap;
- align-items: stretch;
-}
-
-.generate-columns .inside-article {
- height: 100%;
- box-sizing: border-box;
-}
-
-.generate-columns-activated.post-image-aligned-left .generate-columns-container article:not(.featured-column) .post-image,
-.generate-columns-activated.post-image-aligned-right .generate-columns-container article:not(.featured-column) .post-image {
- float: none;
- text-align: center;
- margin-left: 0;
- margin-right: 0;
-}
-
-.generate-columns-container .paging-navigation,
-.generate-columns-container .page-header {
- flex: 1 1 100%;
- clear: both;
-}
-
-.generate-columns-container .paging-navigation {
- margin-bottom: 0;
-}
-
-.load-more:not(.has-svg-icon) .button.loading:before {
- content: "\e900";
- display: inline-block;
- font-family: "GP Premium";
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- animation: spin 2s infinite linear;
- margin-right: 7px;
-}
-
-.load-more .button:not(.loading) .gp-icon {
- display: none;
-}
-
-.load-more .gp-icon svg {
- animation: spin 2s infinite linear;
- margin-right: 7px;
-}
-
-@keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
-}
-
-.generate-columns {
- box-sizing: border-box;
-}
-
-.generate-columns.grid-20,
-.grid-sizer.grid-20 {
- width: 20%;
-}
-
-.generate-columns.grid-25,
-.grid-sizer.grid-25 {
- width: 25%;
-}
-
-.generate-columns.grid-33,
-.grid-sizer.grid-33 {
- width: 33.3333%;
-}
-
-.generate-columns.grid-50,
-.grid-sizer.grid-50 {
- width: 50%;
-}
-
-.generate-columns.grid-60,
-.grid-sizer.grid-60 {
- width: 60%;
-}
-
-.generate-columns.grid-66,
-.grid-sizer.grid-66 {
- width: 66.66667%;
-}
-
-.generate-columns.grid-100,
-.grid-sizer.grid-100 {
- width: 100%;
-}
-
-@media (min-width: 768px) and (max-width: 1024px) {
- .generate-columns.tablet-grid-50,
- .grid-sizer.tablet-grid-50 {
- width: 50%;
- }
-}
-
-@media (max-width: 767px) {
- .generate-columns-activated .generate-columns-container {
- margin-left: 0;
- margin-right: 0;
- }
- .generate-columns-container > *,
- .generate-columns-container .generate-columns {
- padding-left: 0;
- }
- .generate-columns-container .page-header {
- margin-left: 0;
- }
- .generate-columns.mobile-grid-100,
- .grid-sizer.mobile-grid-100 {
- width: 100%;
- }
- .generate-columns-container > .paging-navigation {
- margin-left: 0;
- }
-}
-
-@media (max-width: 768px) {
- .load-more {
- display: block;
- text-align: center;
- margin-bottom: 0;
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.min.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.min.css
deleted file mode 100644
index 6f877184..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/css/style.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.post-image-above-header .inside-article .featured-image,.post-image-above-header .inside-article .post-image{margin-top:0;margin-bottom:2em}.post-image-aligned-left .inside-article .featured-image,.post-image-aligned-left .inside-article .post-image{margin-top:0;margin-right:2em;float:left;text-align:left}.post-image-aligned-center .featured-image,.post-image-aligned-center .post-image{text-align:center}.post-image-aligned-right .inside-article .featured-image,.post-image-aligned-right .inside-article .post-image{margin-top:0;margin-left:2em;float:right;text-align:right}.post-image-below-header.post-image-aligned-center .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .featured-image,.post-image-below-header.post-image-aligned-left .inside-article .post-image,.post-image-below-header.post-image-aligned-right .inside-article .featured-image,.post-image-below-header.post-image-aligned-right .inside-article .post-image{margin-top:2em}.post-image-aligned-left>.featured-image,.post-image-aligned-right>.featured-image{float:none;margin-left:auto;margin-right:auto}.post-image-aligned-left .featured-image{text-align:left}.post-image-aligned-right .featured-image{text-align:right}.post-image-aligned-left .inside-article:after,.post-image-aligned-left .inside-article:before,.post-image-aligned-right .inside-article:after,.post-image-aligned-right .inside-article:before{content:"";display:table}.post-image-aligned-left .inside-article:after,.post-image-aligned-right .inside-article:after{clear:both}.one-container.post-image-above-header .no-featured-image-padding.generate-columns .inside-article .post-image,.one-container.post-image-above-header .page-header+.no-featured-image-padding .inside-article .post-image{margin-top:0}.one-container.both-right.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-right.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.right-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-right:0}.one-container.both-left.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-left.post-image-aligned-center .no-featured-image-padding .post-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.left-sidebar.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0}.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .featured-image,.one-container.both-sidebars.post-image-aligned-center .no-featured-image-padding .post-image{margin-left:0;margin-right:0}.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .featured-image,.one-container.post-image-aligned-center .no-featured-image-padding.generate-columns .post-image{margin-left:0;margin-right:0}@media (max-width:768px){body:not(.post-image-aligned-center) .featured-image,body:not(.post-image-aligned-center) .inside-article .featured-image,body:not(.post-image-aligned-center) .inside-article .post-image{margin-right:0;margin-left:0;float:none;text-align:center}}.masonry-enabled .page-header{position:relative!important}.separate-containers .site-main>.generate-columns-container{margin-bottom:0}.load-more.are-images-unloaded,.masonry-container.are-images-unloaded,.masonry-enabled #nav-below{opacity:0}.generate-columns-container:not(.masonry-container){display:flex;flex-wrap:wrap;align-items:stretch}.generate-columns .inside-article{height:100%;box-sizing:border-box}.generate-columns-activated.post-image-aligned-left .generate-columns-container article:not(.featured-column) .post-image,.generate-columns-activated.post-image-aligned-right .generate-columns-container article:not(.featured-column) .post-image{float:none;text-align:center;margin-left:0;margin-right:0}.generate-columns-container .page-header,.generate-columns-container .paging-navigation{flex:1 1 100%;clear:both}.generate-columns-container .paging-navigation{margin-bottom:0}.load-more:not(.has-svg-icon) .button.loading:before{content:"\e900";display:inline-block;font-family:"GP Premium";font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;animation:spin 2s infinite linear;margin-right:7px}.load-more .button:not(.loading) .gp-icon{display:none}.load-more .gp-icon svg{animation:spin 2s infinite linear;margin-right:7px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.generate-columns{box-sizing:border-box}.generate-columns.grid-20,.grid-sizer.grid-20{width:20%}.generate-columns.grid-25,.grid-sizer.grid-25{width:25%}.generate-columns.grid-33,.grid-sizer.grid-33{width:33.3333%}.generate-columns.grid-50,.grid-sizer.grid-50{width:50%}.generate-columns.grid-60,.grid-sizer.grid-60{width:60%}.generate-columns.grid-66,.grid-sizer.grid-66{width:66.66667%}.generate-columns.grid-100,.grid-sizer.grid-100{width:100%}@media (min-width:768px) and (max-width:1024px){.generate-columns.tablet-grid-50,.grid-sizer.tablet-grid-50{width:50%}}@media (max-width:767px){.generate-columns-activated .generate-columns-container{margin-left:0;margin-right:0}.generate-columns-container .generate-columns,.generate-columns-container>*{padding-left:0}.generate-columns-container .page-header{margin-left:0}.generate-columns.mobile-grid-100,.grid-sizer.mobile-grid-100{width:100%}.generate-columns-container>.paging-navigation{margin-left:0}}@media (max-width:768px){.load-more{display:block;text-align:center;margin-bottom:0}}
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/customizer.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/customizer.php
deleted file mode 100644
index 2c018ea8..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/customizer.php
+++ /dev/null
@@ -1,1181 +0,0 @@
-register_control_type( 'GeneratePress_Title_Customize_Control' );
- }
-
- // Remove our blog control from the free theme.
- if ( $wp_customize->get_control( 'blog_content_control' ) ) {
- $wp_customize->remove_control( 'blog_content_control' );
- }
-
- // Register our custom controls.
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Refresh_Button_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Information_Customize_Control' );
- $wp_customize->register_control_type( 'Generate_Control_Toggle_Customize_Control' );
- }
-
- $wp_customize->add_section(
- 'generate_blog_loop_template_section',
- array(
- 'title' => __( 'Blog', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'panel' => 'generate_layout_panel',
- 'priority' => 40,
- 'active_callback' => function() {
- return generate_has_active_element( 'loop-template', true );
- },
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Information_Customize_Control(
- $wp_customize,
- 'generate_using_loop_template',
- array(
- 'section' => 'generate_blog_loop_template_section',
- 'description' => sprintf(
- /* translators: URL to the Elements dashboard. */
- __( 'This page is using a Loop Template Element . Other options can be found within that Element.', 'gp-premium' ),
- admin_url( 'edit.php?post_type=gp_elements' )
- ),
- 'notice' => true,
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'active_callback' => function() {
- return generate_has_active_element( 'loop-template', true );
- },
- 'priority' => 0,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[excerpt_length]', array(
- 'default' => $defaults['excerpt_length'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_loop_template_excerpt_length',
- array(
- 'type' => 'number',
- 'label' => __( 'Excerpt word count', 'gp-premium' ),
- 'section' => 'generate_blog_loop_template_section',
- 'settings' => 'generate_blog_settings[excerpt_length]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[read_more]',
- array(
- 'default' => $defaults['read_more'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'wp_kses_post',
- )
- );
-
- $wp_customize->add_control(
- 'generate_loop_template_read_more',
- array(
- 'type' => 'text',
- 'label' => __( 'Read more label', 'gp-premium' ),
- 'section' => 'generate_blog_loop_template_section',
- 'settings' => 'generate_blog_settings[read_more]',
- )
- );
-
- // Blog content section.
- $wp_customize->add_section(
- 'generate_blog_section',
- array(
- 'title' => __( 'Blog', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'panel' => 'generate_layout_panel',
- 'priority' => 40,
- 'active_callback' => function() {
- return ! generate_has_active_element( 'loop-template', true );
- },
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_blog_archives_title',
- array(
- 'section' => 'generate_blog_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Content', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_control(
- new Generate_Control_Toggle_Customize_Control(
- $wp_customize,
- 'generate_post_meta_toggle',
- array(
- 'section' => 'generate_blog_section',
- 'targets' => array(
- 'post-meta-archives' => __( 'Archives', 'gp-premium' ),
- 'post-meta-single' => __( 'Single', 'gp-premium' ),
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_control(
- 'generate_settings[post_content]',
- array(
- 'type' => 'select',
- 'label' => __( 'Content type', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'full' => __( 'Full Content', 'gp-premium' ),
- 'excerpt' => __( 'Excerpt', 'gp-premium' ),
- ),
- 'settings' => 'generate_settings[post_content]',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[excerpt_length]', array(
- 'type' => 'number',
- 'label' => __( 'Excerpt word count', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[excerpt_length]',
- 'active_callback' => 'generate_premium_is_excerpt',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[read_more]', array(
- 'type' => 'text',
- 'label' => __( 'Read more label', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[read_more]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[read_more_button]',
- array(
- 'default' => $defaults['read_more_button'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[read_more_button]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display read more as button', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[read_more_button]',
- )
- );
-
- // Post date
- $wp_customize->add_setting(
- 'generate_blog_settings[date]',
- array(
- 'default' => $defaults['date'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[date]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post date', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[date]',
- )
- );
-
- // Post author
- $wp_customize->add_setting(
- 'generate_blog_settings[author]',
- array(
- 'default' => $defaults['author'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[author]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post author', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[author]',
- )
- );
-
- // Category links
- $wp_customize->add_setting(
- 'generate_blog_settings[categories]',
- array(
- 'default' => $defaults['categories'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[categories]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post categories', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[categories]',
- )
- );
-
- // Tag links
- $wp_customize->add_setting(
- 'generate_blog_settings[tags]',
- array(
- 'default' => $defaults['tags'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[tags]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post tags', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[tags]',
- )
- );
-
- // Comment link
- $wp_customize->add_setting(
- 'generate_blog_settings[comments]',
- array(
- 'default' => $defaults['comments'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[comments]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display comment count', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[comments]',
- )
- );
-
- // Infinite scroll
- $wp_customize->add_setting(
- 'generate_blog_settings[infinite_scroll]',
- array(
- 'default' => $defaults['infinite_scroll'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[infinite_scroll]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Use infinite scroll', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[infinite_scroll]',
- )
- );
-
- // Infinite scroll
- $wp_customize->add_setting(
- 'generate_blog_settings[infinite_scroll_button]',
- array(
- 'default' => $defaults['infinite_scroll_button'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[infinite_scroll_button]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Use button to load more posts', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[infinite_scroll_button]',
- 'active_callback' => 'generate_premium_infinite_scroll_active',
- )
- );
-
- // Load more text
- $wp_customize->add_setting(
- 'generate_blog_settings[masonry_load_more]', array(
- 'default' => $defaults['masonry_load_more'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'wp_kses_post',
- )
- );
-
- $wp_customize->add_control(
- 'blog_masonry_load_more_control', array(
- 'label' => __( 'Load more label', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[masonry_load_more]',
- 'active_callback' => 'generate_premium_infinite_scroll_button_active',
- )
- );
-
- // Loading text
- $wp_customize->add_setting(
- 'generate_blog_settings[masonry_loading]', array(
- 'default' => $defaults['masonry_loading'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'wp_kses_post',
- )
- );
-
- $wp_customize->add_control(
- 'blog_masonry_loading_control', array(
- 'label' => __( 'Loading label', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[masonry_loading]',
- 'active_callback' => 'generate_premium_infinite_scroll_button_active',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_date]',
- array(
- 'default' => $defaults['single_date'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_date]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post date', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_date]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_author]',
- array(
- 'default' => $defaults['single_author'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_author]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post author', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_author]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_categories]',
- array(
- 'default' => $defaults['single_categories'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_categories]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post categories', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_categories]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_tags]',
- array(
- 'default' => $defaults['single_tags'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_tags]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post tags', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_tags]',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_navigation]',
- array(
- 'default' => $defaults['single_post_navigation'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_navigation]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display post navigation', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_post_navigation]',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_blog_featured_images_title',
- array(
- 'section' => 'generate_blog_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Featured Images', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_control(
- new Generate_Control_Toggle_Customize_Control(
- $wp_customize,
- 'generate_featured_image_toggle',
- array(
- 'section' => 'generate_blog_section',
- 'targets' => array(
- 'featured-image-archives' => __( 'Archives', 'gp-premium' ),
- 'featured-image-single' => __( 'Posts', 'gp-premium' ),
- 'featured-image-page' => __( 'Pages', 'gp-premium' ),
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Show featured images
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image]',
- array(
- 'default' => $defaults['post_image'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display featured images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[post_image]',
- )
- );
-
- // Padding
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_padding]',
- array(
- 'default' => $defaults['post_image_padding'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_padding]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display padding around images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[post_image_padding]',
- 'active_callback' => 'generate_premium_display_image_padding',
- )
- );
-
- // Location
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_position]',
- array(
- 'default' => $defaults['post_image_position'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_position]',
- array(
- 'type' => 'select',
- 'label' => __( 'Location', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- '' => __( 'Below Title', 'gp-premium' ),
- 'post-image-above-header' => __( 'Above Title', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[post_image_position]',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- );
-
- // Alignment
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_alignment]',
- array(
- 'default' => $defaults['post_image_alignment'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_alignment]',
- array(
- 'type' => 'select',
- 'label' => __( 'Alignment', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'post-image-aligned-center' => __( 'Center', 'gp-premium' ),
- 'post-image-aligned-left' => __( 'Left', 'gp-premium' ),
- 'post-image-aligned-right' => __( 'Right', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[post_image_alignment]',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_size]',
- array(
- 'default' => $defaults['post_image_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_size]',
- array(
- 'type' => 'select',
- 'label' => __( 'Media Attachment Size', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => generate_blog_get_image_sizes(),
- 'settings' => 'generate_blog_settings[post_image_size]',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- );
-
- // Width
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_width]', array(
- 'default' => $defaults['post_image_width'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_width]',
- array(
- 'type' => 'number',
- 'label' => __( 'Width', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[post_image_width]',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- );
-
- // Height
- $wp_customize->add_setting(
- 'generate_blog_settings[post_image_height]', array(
- 'default' => $defaults['post_image_height'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[post_image_height]',
- array(
- 'type' => 'number',
- 'label' => __( 'Height', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[post_image_height]',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Information_Customize_Control(
- $wp_customize,
- 'generate_regenerate_images_notice',
- array(
- 'section' => 'generate_blog_section',
- 'description' => sprintf(
- __( 'We will attempt to serve exact image sizes based on your width/height settings. If that is not possible, we will resize your images using CSS. Learn more about featured image sizing %s.', 'gp-premium' ),
- '' . __( 'here', 'gp-premium' ) . ' '
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'active_callback' => 'generate_premium_featured_image_active',
- )
- )
- );
-
- /*
- * Single featured images
- */
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image]',
- array(
- 'default' => $defaults['single_post_image'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display featured images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_post_image]',
- )
- );
-
- // Padding
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_padding]',
- array(
- 'default' => $defaults['single_post_image_padding'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_padding]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display padding around images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_post_image_padding]',
- 'active_callback' => 'generate_premium_display_image_padding_single',
- )
- );
-
- // Location
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_position]',
- array(
- 'default' => $defaults['single_post_image_position'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_position]',
- array(
- 'type' => 'select',
- 'label' => __( 'Location', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'below-title' => __( 'Below Title', 'gp-premium' ),
- 'inside-content' => __( 'Above Title', 'gp-premium' ),
- 'above-content' => __( 'Above Content Area', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[single_post_image_position]',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- );
-
- // Alignment
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_alignment]',
- array(
- 'default' => $defaults['single_post_image_alignment'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_alignment]',
- array(
- 'type' => 'select',
- 'label' => __( 'Alignment', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'center' => __( 'Center', 'gp-premium' ),
- 'left' => __( 'Left', 'gp-premium' ),
- 'right' => __( 'Right', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[single_post_image_alignment]',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_size]',
- array(
- 'default' => $defaults['single_post_image_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_size]',
- array(
- 'type' => 'select',
- 'label' => __( 'Media Attachment Size', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => generate_blog_get_image_sizes(),
- 'settings' => 'generate_blog_settings[single_post_image_size]',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- );
-
- // Width
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_width]', array(
- 'default' => $defaults['single_post_image_width'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_width]',
- array(
- 'type' => 'number',
- 'label' => __( 'Width', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_post_image_width]',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- );
-
- // Height
- $wp_customize->add_setting(
- 'generate_blog_settings[single_post_image_height]', array(
- 'default' => $defaults['single_post_image_height'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[single_post_image_height]',
- array(
- 'type' => 'number',
- 'label' => __( 'Height', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[single_post_image_height]',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Information_Customize_Control(
- $wp_customize,
- 'generate_regenerate_single_post_images_notice',
- array(
- 'section' => 'generate_blog_section',
- 'description' => sprintf(
- __( 'We will attempt to serve exact image sizes based on your width/height settings. If that is not possible, we will resize your images using CSS. Learn more about featured image sizing %s.', 'gp-premium' ),
- '' . __( 'here', 'gp-premium' ) . ' '
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'active_callback' => 'generate_premium_single_featured_image_active',
- )
- )
- );
-
- /*
- * Page featured images
- */
-
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image]',
- array(
- 'default' => $defaults['page_post_image'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display featured images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[page_post_image]',
- )
- );
-
- // Padding
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_padding]',
- array(
- 'default' => $defaults['page_post_image_padding'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_padding]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display padding around images', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[page_post_image_padding]',
- 'active_callback' => 'generate_premium_display_image_padding_single_page',
- )
- );
-
- // Location
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_position]',
- array(
- 'default' => $defaults['page_post_image_position'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_position]',
- array(
- 'type' => 'select',
- 'label' => __( 'Location', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'below-title' => __( 'Below Title', 'gp-premium' ),
- 'inside-content' => __( 'Above Title', 'gp-premium' ),
- 'above-content' => __( 'Above Content Area', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[page_post_image_position]',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- );
-
- // Alignment
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_alignment]',
- array(
- 'default' => $defaults['page_post_image_alignment'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_alignment]',
- array(
- 'type' => 'select',
- 'label' => __( 'Alignment', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- 'center' => __( 'Center', 'gp-premium' ),
- 'left' => __( 'Left', 'gp-premium' ),
- 'right' => __( 'Right', 'gp-premium' ),
- ),
- 'settings' => 'generate_blog_settings[page_post_image_alignment]',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_size]',
- array(
- 'default' => $defaults['page_post_image_size'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_size]',
- array(
- 'type' => 'select',
- 'label' => __( 'Media Attachment Size', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => generate_blog_get_image_sizes(),
- 'settings' => 'generate_blog_settings[page_post_image_size]',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- );
-
- // Width
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_width]', array(
- 'default' => $defaults['page_post_image_width'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_width]',
- array(
- 'type' => 'number',
- 'label' => __( 'Width', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[page_post_image_width]',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- );
-
- // Height
- $wp_customize->add_setting(
- 'generate_blog_settings[page_post_image_height]', array(
- 'default' => $defaults['page_post_image_height'],
- 'capability' => 'edit_theme_options',
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_empty_absint',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[page_post_image_height]',
- array(
- 'type' => 'number',
- 'label' => __( 'Height', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[page_post_image_height]',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Information_Customize_Control(
- $wp_customize,
- 'generate_regenerate_page_images_notice',
- array(
- 'section' => 'generate_blog_section',
- 'description' => sprintf(
- __( 'We will attempt to serve exact image sizes based on your width/height settings. If that is not possible, we will resize your images using CSS. Learn more about featured image sizing %s.', 'gp-premium' ),
- '' . __( 'here', 'gp-premium' ) . ' '
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'active_callback' => 'generate_premium_single_page_featured_image_active',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_blog_columns_title',
- array(
- 'section' => 'generate_blog_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Columns', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Enable columns
- $wp_customize->add_setting(
- 'generate_blog_settings[column_layout]',
- array(
- 'default' => $defaults['column_layout'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[column_layout]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display posts in columns', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[column_layout]',
- )
- );
-
- // Column count class
- $wp_customize->add_setting(
- 'generate_blog_settings[columns]',
- array(
- 'default' => $defaults['columns'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_choices',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[columns]',
- array(
- 'type' => 'select',
- 'label' => __( 'Columns', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'choices' => array(
- '50' => '2',
- '33' => '3',
- '25' => '4',
- '20' => '5'
- ),
- 'settings' => 'generate_blog_settings[columns]',
- 'active_callback' => 'generate_premium_blog_columns_active',
- )
- );
-
- // Featured column
- $wp_customize->add_setting(
- 'generate_blog_settings[featured_column]',
- array(
- 'default' => $defaults['featured_column'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[featured_column]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Make first post featured', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[featured_column]',
- 'active_callback' => 'generate_premium_blog_columns_active',
- )
- );
-
- // Masonry
- $wp_customize->add_setting(
- 'generate_blog_settings[masonry]',
- array(
- 'default' => $defaults['masonry'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_checkbox',
- )
- );
-
- $wp_customize->add_control(
- 'generate_blog_settings[masonry]',
- array(
- 'type' => 'checkbox',
- 'label' => __( 'Display posts in masonry grid', 'gp-premium' ),
- 'section' => 'generate_blog_section',
- 'settings' => 'generate_blog_settings[masonry]',
- 'active_callback' => 'generate_premium_blog_columns_active',
- )
- );
- }
-}
-
-add_action( 'customize_controls_print_styles', 'generate_blog_customizer_controls_css' );
-
-function generate_blog_customizer_controls_css() {
- ?>
-
- '55',
- 'read_more' => __( 'Read more', 'gp-premium' ),
- 'read_more_button' => false,
- 'masonry' => false,
- 'masonry_load_more' => __( '+ More', 'gp-premium' ),
- 'masonry_loading' => __( 'Loading...', 'gp-premium' ),
- 'infinite_scroll' => false,
- 'infinite_scroll_button' => false,
- 'post_image' => true,
- 'post_image_position' => '',
- 'post_image_alignment' => 'post-image-aligned-center',
- 'post_image_size' => 'full',
- 'post_image_width' => '',
- 'post_image_height' => '',
- 'post_image_padding' => true,
- 'single_post_image' => true,
- 'single_post_image_position' => 'inside-content',
- 'single_post_image_alignment' => 'center',
- 'single_post_image_size' => 'full',
- 'single_post_image_width' => '',
- 'single_post_image_height' => '',
- 'single_post_image_padding' => true,
- 'page_post_image' => true,
- 'page_post_image_position' => 'above-content',
- 'page_post_image_alignment' => 'center',
- 'page_post_image_size' => 'full',
- 'page_post_image_width' => '',
- 'page_post_image_height' => '',
- 'page_post_image_padding' => true,
- 'date' => true,
- 'author' => true,
- 'categories' => true,
- 'tags' => true,
- 'comments' => true,
- 'single_date' => true,
- 'single_author' => true,
- 'single_categories' => true,
- 'single_tags' => true,
- 'single_post_navigation' => true,
- 'column_layout' => false,
- 'columns' => '50',
- 'featured_column' => false,
- );
-
- return apply_filters( 'generate_blog_option_defaults', $generate_blog_defaults );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/generate-blog.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/generate-blog.php
deleted file mode 100644
index 9b52b1ea..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/generate-blog.php
+++ /dev/null
@@ -1,754 +0,0 @@
- $settings['masonry_load_more'],
- 'loading' => $settings['masonry_loading'],
- 'icon' => function_exists( 'generate_get_svg_icon' ) ? generate_get_svg_icon( 'spinner' ) : '',
- 'masonryInit' => apply_filters(
- 'generate_blog_masonry_init',
- array(
- 'columnWidth' => '.grid-sizer',
- 'itemSelector' => '.masonry-post',
- 'stamp' => '.page-header',
- 'percentPosition' => true,
- 'stagger' => 30,
- 'visibleStyle' => array(
- 'transform' => 'translateY(0)',
- 'opacity' => 1,
- ),
- 'hiddenStyle' => array(
- 'transform' => 'translateY(5px)',
- 'opacity' => 0,
- ),
- )
- ),
- 'infiniteScrollInit' => apply_filters(
- 'generate_blog_infinite_scroll_init',
- array(
- 'path' => '.infinite-scroll-path a',
- 'append' => '#main .infinite-scroll-item',
- 'history' => false,
- 'loadOnScroll' => $settings['infinite_scroll_button'] ? false : true,
- 'button' => $settings['infinite_scroll_button'] ? '.load-more a' : null,
- 'scrollThreshold' => $settings['infinite_scroll_button'] ? false : 600,
- )
- ),
- )
- );
- }
-
- $needs_columns_css = false;
- $needs_featured_image_css = false;
-
- if ( generate_blog_get_columns() || $settings['infinite_scroll'] ) {
- $needs_columns_css = true;
- }
-
- if ( ! is_singular() ) {
- if ( $settings['post_image'] ) {
- $needs_featured_image_css = true;
- }
- }
-
- if ( is_page() && has_post_thumbnail() ) {
- if ( $settings['page_post_image'] ) {
- $needs_featured_image_css = true;
- }
- }
-
- if ( is_single() && has_post_thumbnail() ) {
- if ( $settings['single_post_image'] ) {
- $needs_featured_image_css = true;
- }
- }
-
- if ( $needs_columns_css && $needs_featured_image_css ) {
- wp_enqueue_style( 'generate-blog', plugin_dir_url( __FILE__ ) . "css/style{$suffix}.css", array(), GENERATE_BLOG_VERSION );
- } elseif ( $needs_columns_css ) {
- wp_enqueue_style( 'generate-blog-columns', plugin_dir_url( __FILE__ ) . "css/columns{$suffix}.css", array(), GENERATE_BLOG_VERSION );
- } elseif ( $needs_featured_image_css ) {
- wp_enqueue_style( 'generate-blog-images', plugin_dir_url( __FILE__ ) . "css/featured-images{$suffix}.css", array(), GENERATE_BLOG_VERSION );
- }
- }
-}
-
-if ( ! function_exists( 'generate_blog_post_classes' ) ) {
- add_filter( 'post_class', 'generate_blog_post_classes' );
- /**
- * Adds custom classes to the content container
- *
- * @since 0.1
- */
- function generate_blog_post_classes( $classes ) {
- // Don't add these classes to the GB Query Loop block items.
- if ( in_array( 'gb-query-loop-item', $classes ) ) {
- return $classes;
- }
-
- global $wp_query;
- $paged = get_query_var( 'paged' );
- $paged = $paged ? $paged : 1;
-
- // Get our options
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( $settings['infinite_scroll'] ) {
- $classes[] = 'infinite-scroll-item';
- }
-
- // Set our masonry class
- if ( 'true' == generate_blog_get_masonry() && generate_blog_get_columns() ) {
- $classes[] = 'masonry-post';
- }
-
- // Set our column classes
- if ( generate_blog_get_columns() && ! is_singular() ) {
- $classes[] = 'generate-columns';
- $classes[] = 'tablet-grid-50';
- $classes[] = 'mobile-grid-100';
- $classes[] = 'grid-parent';
-
- // Set our featured column class
- if ( $wp_query->current_post == 0 && $paged == 1 && $settings['featured_column'] ) {
- if ( 50 == generate_blog_get_column_count() ) {
- $classes[] = 'grid-100';
- }
-
- if ( 33 == generate_blog_get_column_count() ) {
- $classes[] = 'grid-66';
- }
-
- if ( 25 == generate_blog_get_column_count() ) {
- $classes[] = 'grid-50';
- }
-
- if ( 20 == generate_blog_get_column_count() ) {
- $classes[] = 'grid-60';
- }
- $classes[] = 'featured-column';
- } else {
- $classes[] = 'grid-' . generate_blog_get_column_count();
- }
- }
-
- if ( ! $settings['post_image_padding'] && ! is_singular() ) {
- $classes[] = 'no-featured-image-padding';
- }
-
- $location = generate_blog_get_singular_template();
-
- if ( ! $settings[$location . '_post_image_padding'] && is_singular() ) {
- $classes[] = 'no-featured-image-padding';
- }
-
- $atts = generate_get_blog_image_attributes();
-
- if ( ! is_singular() && has_post_thumbnail() && ! empty( $atts ) ) {
- $values = array(
- $atts['width'],
- $atts['height'],
- $atts['crop'],
- );
-
- $image_src = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID(), 'full' ), $values );
-
- if ( $image_src && ( ! $image_src[3] || ! apply_filters( 'generate_use_featured_image_size_match', true ) ) ) {
- $classes[] = 'resize-featured-image';
- }
- }
-
- return $classes;
- }
-}
-
-if ( ! function_exists( 'generate_blog_body_classes' ) ) {
- add_filter( 'body_class', 'generate_blog_body_classes' );
- /**
- * Adds custom classes to the body
- *
- * @since 0.1
- */
- function generate_blog_body_classes( $classes ) {
- // Get theme options
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( is_singular() ) {
- $location = generate_blog_get_singular_template();
-
- if ( 'below-title' == $settings[$location . '_post_image_position'] ) {
- $classes[] = 'post-image-below-header';
- }
-
- if ( 'inside-content' == $settings[$location . '_post_image_position'] ) {
- $classes[] = 'post-image-above-header';
- }
-
- $classes[] = ( ! empty( $settings[$location . '_post_image_alignment'] ) ) ? 'post-image-aligned-' . $settings[$location . '_post_image_alignment'] : 'post-image-aligned-center';
- } else {
- $classes[] = ( '' == $settings['post_image_position'] ) ? 'post-image-below-header' : 'post-image-above-header';
- $classes[] = ( ! empty( $settings['post_image_alignment'] ) ) ? $settings['post_image_alignment'] : 'post-image-aligned-center';
- }
-
- if ( 'true' == generate_blog_get_masonry() && generate_blog_get_columns() ) {
- $classes[] = 'masonry-enabled';
- }
-
- if ( generate_blog_get_columns() && ! is_singular() ) {
- $classes[] = 'generate-columns-activated';
- }
-
- if ( $settings[ 'infinite_scroll' ] && ! is_singular() ) {
- $classes[] = 'infinite-scroll';
- }
-
- return $classes;
- }
-}
-
-if ( ! function_exists( 'generate_excerpt_length' ) ) {
- add_filter( 'excerpt_length', 'generate_excerpt_length', 15 );
- /**
- * Set our excerpt length
- *
- * @since 0.1
- */
- function generate_excerpt_length( $length ) {
- $generate_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
- return absint( apply_filters( 'generate_excerpt_length', $generate_settings['excerpt_length'] ) );
- }
-}
-
-if ( ! function_exists( 'generate_blog_css' ) ) {
- /**
- * Build our inline CSS
- *
- * @since 0.1
- */
- function generate_blog_css() {
- global $post;
- $return = '';
-
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ! defined( 'GENERATE_VERSION' ) ) {
- return;
- }
-
- if ( version_compare( GENERATE_VERSION, '3.0.0-alpha.1', '<' ) ) {
- // Get disable headline meta.
- $disable_headline = ( isset( $post ) ) ? get_post_meta( $post->ID, '_generate-disable-headline', true ) : '';
-
- if ( ! $settings['categories'] && ! $settings['comments'] && ! $settings['tags'] && ! is_singular() ) {
- $return .= '.blog footer.entry-meta, .archive footer.entry-meta {display:none;}';
- }
-
- if ( ! $settings['single_date'] && ! $settings['single_author'] && $disable_headline && is_singular() ) {
- $return .= '.single .entry-header{display:none;}.single .entry-content {margin-top:0;}';
- }
-
- if ( ! $settings['date'] && ! $settings['author'] && ! is_singular() ) {
- $return .= '.entry-header .entry-meta {display:none;}';
- }
-
- if ( ! $settings['single_date'] && ! $settings['single_author'] && is_singular() ) {
- $return .= '.entry-header .entry-meta {display:none;}';
- }
-
- if ( ! $settings['single_post_navigation'] && is_singular() ) {
- $return .= '.post-navigation {display:none;}';
- }
-
- if ( ! $settings['single_categories'] && ! $settings['single_post_navigation'] && ! $settings['single_tags'] && is_singular() ) {
- $return .= '.single footer.entry-meta {display:none;}';
- }
- }
-
- $separator = 20;
- $content_padding_top = 40;
- $content_padding_right = 40;
- $content_padding_left = 40;
- $mobile_content_padding_top = 30;
- $mobile_content_padding_right = 30;
- $mobile_content_padding_left = 30;
-
- if ( function_exists( 'generate_spacing_get_defaults' ) ) {
- $spacing_settings = wp_parse_args(
- get_option( 'generate_spacing_settings', array() ),
- generate_spacing_get_defaults()
- );
-
- $separator = absint( $spacing_settings['separator'] );
- $content_padding_top = absint( $spacing_settings['content_top'] );
- $content_padding_right = absint( $spacing_settings['content_right'] );
- $content_padding_left = absint( $spacing_settings['content_left'] );
- $mobile_content_padding_top = absint( $spacing_settings['mobile_content_top'] );
- $mobile_content_padding_right = absint( $spacing_settings['mobile_content_right'] );
- $mobile_content_padding_left = absint( $spacing_settings['mobile_content_left'] );
- }
-
- if ( 'true' == generate_blog_get_masonry() && generate_blog_get_columns() ) {
- $return .= '.page-header {margin-bottom: ' . $separator . 'px;margin-left: ' . $separator . 'px}';
- }
-
- if ( $settings[ 'infinite_scroll' ] && ! is_singular() ) {
- $return .= '#nav-below {display:none;}';
- }
-
- if ( ! $settings['post_image_padding'] && 'post-image-aligned-center' == $settings['post_image_alignment'] && ! is_singular() ) {
- $return .= '.no-featured-image-padding .post-image {margin-left:-' . $content_padding_left . 'px;margin-right:-' . $content_padding_right . 'px;}';
- $return .= '.post-image-above-header .no-featured-image-padding .inside-article .post-image {margin-top:-' . $content_padding_top . 'px;}';
- }
-
- $location = generate_blog_get_singular_template();
-
- if ( ! $settings[$location . '_post_image_padding'] && 'center' == $settings[$location . '_post_image_alignment'] && is_singular() ) {
- $return .= '.no-featured-image-padding .featured-image {margin-left:-' . $content_padding_left . 'px;margin-right:-' . $content_padding_right . 'px;}';
- $return .= '.post-image-above-header .no-featured-image-padding .inside-article .featured-image {margin-top:-' . $content_padding_top . 'px;}';
- }
-
- if ( ! $settings['page_post_image_padding'] || ! $settings['single_post_image_padding'] || ! $settings['post_image_padding'] ) {
- $return .= '@media ' . generate_premium_get_media_query( 'mobile' ) . '{';
- if ( ! $settings['post_image_padding'] && 'post-image-aligned-center' == $settings['post_image_alignment'] && ! is_singular() ) {
- $return .= '.no-featured-image-padding .post-image {margin-left:-' . $mobile_content_padding_left . 'px;margin-right:-' . $mobile_content_padding_right . 'px;}';
- $return .= '.post-image-above-header .no-featured-image-padding .inside-article .post-image {margin-top:-' . $mobile_content_padding_top . 'px;}';
- }
-
- if ( ! $settings[$location . '_post_image_padding'] && 'center' == $settings[$location . '_post_image_alignment'] && is_singular() ) {
- $return .= '.no-featured-image-padding .featured-image {margin-left:-' . $mobile_content_padding_left . 'px;margin-right:-' . $mobile_content_padding_right . 'px;}';
- $return .= '.post-image-above-header .no-featured-image-padding .inside-article .featured-image {margin-top:-' . $mobile_content_padding_top . 'px;}';
- }
- $return .= '}';
- }
-
- $atts = generate_get_blog_image_attributes();
-
- if ( ! empty( $atts ) ) {
- $image_width = $atts['width'] && 9999 !== $atts['width'] ? 'width: ' . $atts['width'] . 'px;' : '';
- $image_height = $atts['height'] && 9999 !== $atts['height'] ? 'height: ' . $atts['height'] . 'px;' : '';
- $image_crop = $atts['crop'] ? '-o-object-fit: cover;object-fit: cover;' : '';
-
- if ( ! $image_width && $image_height ) {
- $image_crop = '-o-object-fit: cover;object-fit: cover;';
- }
-
- if ( ! is_singular() ) {
- $return .= '.resize-featured-image .post-image img {' . $image_width . $image_height . $image_crop . '}';
- }
-
- if ( is_single() || is_page() ) {
- $values = array(
- $atts['width'],
- $atts['height'],
- $atts['crop'],
- );
-
- $image_src = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID(), 'full' ), $values );
-
- if ( $image_src && ( ! $image_src[3] || ! apply_filters( 'generate_use_featured_image_size_match', true ) ) ) {
- $return .= '.featured-image img {' . $image_width . $image_height . $image_crop . '}';
- }
- }
- }
-
- return $return;
- }
-}
-
-add_filter( 'generate_excerpt_more_text', 'generate_blog_set_read_more_text' );
-/**
- * Set the read more text with our Customizer setting.
- *
- * @param string $text The read more text.
- */
-function generate_blog_set_read_more_text( $text ) {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( $settings['read_more'] ) {
- return wp_kses_post( $settings['read_more'] );
- }
-
- return $text;
-}
-
-if ( ! function_exists( 'generate_blog_excerpt_more' ) ) {
- add_filter( 'excerpt_more', 'generate_blog_excerpt_more', 15 );
- /**
- * Prints the read more HTML
- */
- function generate_blog_excerpt_more( $more ) {
- $generate_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( '' == $generate_settings['read_more'] ) {
- return '';
- }
-
- // We don't need to overwrite the entire element just to change its text.
- // If we can filter the text, stop here.
- if ( function_exists( 'generate_get_read_more_text' ) ) {
- return $more;
- }
-
- return apply_filters(
- 'generate_excerpt_more_output',
- sprintf(
- ' ... %3$s ',
- the_title_attribute( 'echo=0' ),
- esc_url( get_permalink( get_the_ID() ) ),
- wp_kses_post( $generate_settings['read_more'] ),
- sprintf(
- /* translators: Aria-label describing the read more button */
- _x( 'More on %s', 'more on post title', 'gp-premium' ),
- the_title_attribute( 'echo=0' )
- )
- )
- );
- }
-}
-
-if ( ! function_exists( 'generate_blog_content_more' ) ) {
- add_filter( 'the_content_more_link', 'generate_blog_content_more', 15 );
- /**
- * Prints the read more HTML
- */
- function generate_blog_content_more( $more ) {
- $generate_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( '' == $generate_settings['read_more'] ) {
- return '';
- }
-
- // We don't need to overwrite the entire element just to change its text.
- // If we can filter the text, stop here.
- if ( function_exists( 'generate_get_read_more_text' ) ) {
- return $more;
- }
-
- return apply_filters(
- 'generate_content_more_link_output',
- sprintf(
- '%3$s
',
- the_title_attribute( 'echo=0' ),
- esc_url( get_permalink( get_the_ID() ) . apply_filters( 'generate_more_jump', '#more-' . get_the_ID() ) ),
- wp_kses_post( $generate_settings['read_more'] ),
- sprintf(
- /* translators: Aria-label describing the read more button */
- _x( 'More on %s', 'more on post title', 'gp-premium' ),
- the_title_attribute( 'echo=0' )
- )
- )
- );
- }
-}
-
-/**
- * Checks the setting and returns false if $thing is disabled
- *
- * @since 1.4
- *
- * @param String $data The original data, passed through if not disabled
- * @param String $thing The name of the thing to check
- * @return String|False The original data, or false (if disabled)
- */
-function generate_disable_post_thing( $data, $thing ) {
- $generate_blog_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ! $generate_blog_settings[$thing] ) {
- return false;
- }
-
- return $data;
-}
-
-if ( ! function_exists( 'generate_disable_post_date' ) ) {
- add_filter( 'generate_post_date', 'generate_disable_post_date' );
- /**
- * Remove the post date if set
- *
- * @since 0.1
- */
- function generate_disable_post_date( $date ) {
- if ( is_singular() ) {
- return generate_disable_post_thing( $date, 'single_date' );
- } else {
- return generate_disable_post_thing( $date, 'date' );
- }
- }
-}
-
-if ( ! function_exists( 'generate_disable_post_author' ) ) {
- add_filter( 'generate_post_author', 'generate_disable_post_author' );
- /**
- * Set the author if set
- *
- * @since 0.1
- */
- function generate_disable_post_author( $author ) {
- if ( is_singular() ) {
- return generate_disable_post_thing( $author, 'single_author' );
- } else {
- return generate_disable_post_thing( $author, 'author' );
- }
- }
-}
-
-if ( ! function_exists( 'generate_disable_post_categories' ) ) {
- add_filter( 'generate_show_categories', 'generate_disable_post_categories' );
- /**
- * Remove the categories if set
- *
- * @since 0.1
- */
- function generate_disable_post_categories( $categories ) {
- if ( is_singular() ) {
- return generate_disable_post_thing( $categories, 'single_categories' );
- } else {
- return generate_disable_post_thing( $categories, 'categories' );
- }
- }
-}
-
-if ( ! function_exists( 'generate_disable_post_tags' ) ) {
- add_filter( 'generate_show_tags', 'generate_disable_post_tags' );
- /**
- * Remove the tags if set
- *
- * @since 0.1
- */
- function generate_disable_post_tags( $tags ) {
- if ( is_singular() ) {
- return generate_disable_post_thing( $tags, 'single_tags' );
- } else {
- return generate_disable_post_thing( $tags, 'tags' );
- }
- }
-}
-
-if ( ! function_exists( 'generate_disable_post_comments_link' ) ) {
- add_filter( 'generate_show_comments', 'generate_disable_post_comments_link' );
- /**
- * Remove the link to comments if set
- *
- * @since 0.1
- */
- function generate_disable_post_comments_link( $comments_link ) {
- return generate_disable_post_thing( $comments_link, 'comments' );
- }
-}
-
-add_filter( 'generate_show_post_navigation', 'generate_disable_post_navigation' );
-/**
- * Remove the single post navigation
- *
- * @since 1.5
- */
-function generate_disable_post_navigation( $navigation ) {
- if ( is_singular() ) {
- return generate_disable_post_thing( $navigation, 'single_post_navigation' );
- } else {
- return $navigation;
- }
-}
-
-add_filter( 'generate_excerpt_more_output', 'generate_blog_read_more_button' );
-add_filter( 'generate_content_more_link_output', 'generate_blog_read_more_button' );
-/**
- * Add the button class to our read more link if set.
- *
- * @since 1.5
- *
- * @param string $output Our existing read more link.
- */
-function generate_blog_read_more_button( $output ) {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ! $settings['read_more_button'] ) {
- return $output;
- }
-
- $aria_label = function_exists( 'generate_get_read_more_aria_label' )
- ? generate_get_read_more_aria_label()
- : sprintf(
- /* translators: Aria-label describing the read more button */
- _x( 'More on %s', 'more on post title', 'gp-premium' ),
- the_title_attribute( 'echo=0' )
- );
-
- return sprintf(
- '%5$s%3$s
',
- the_title_attribute( 'echo=0' ),
- esc_url( get_permalink( get_the_ID() ) . apply_filters( 'generate_more_jump', '#more-' . get_the_ID() ) ),
- wp_kses_post( $settings['read_more'] ),
- $aria_label,
- 'generate_excerpt_more_output' === current_filter() ? ' ... ' : ''
- );
-}
-
-if ( ! function_exists( 'generate_blog_load_more' ) ) {
- add_action( 'generate_after_main_content', 'generate_blog_load_more', 20 );
- /**
- * Build our load more button
- */
- function generate_blog_load_more() {
- // Get theme options
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ( ! $settings[ 'infinite_scroll_button' ] || ! $settings[ 'infinite_scroll' ] ) || is_singular() || is_404() ) {
- return;
- }
-
- global $wp_query;
-
- if ( $wp_query->max_num_pages < 2 ) {
- return;
- }
-
- if ( is_post_type_archive( 'product' ) ) {
- return;
- }
-
- if ( is_tax( 'product_cat' ) ) {
- return;
- }
-
- $icon = '';
-
- if ( function_exists( 'generate_get_svg_icon' ) ) {
- $icon = generate_get_svg_icon( 'spinner' );
- }
-
- printf(
- '',
- $icon ? 'has-svg-icon' : '',
- ( 'true' == generate_blog_get_masonry() && generate_blog_get_columns() ) ? 'are-images-unloaded' : '',
- $icon,
- wp_kses_post( $settings['masonry_load_more'] )
- );
- }
-}
-
-/**
- * Checks to see whether we're getting page or single post options.
- *
- * @since 1.5
- *
- * @return string Name of our singular template
- */
-function generate_blog_get_singular_template() {
- $template = 'single';
-
- if ( is_page() ) {
- $template = 'page';
- }
-
- return $template;
-}
-
-add_action( 'generate_after_footer', 'generate_blog_do_infinite_scroll_path', 500 );
-/**
- * Add a next page of posts link for infinite scroll.
- *
- * @since 2.0.0
- */
-function generate_blog_do_infinite_scroll_path() {
- if ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) {
- return;
- }
-
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( $settings['infinite_scroll'] && ! is_singular() && ! is_404() ) {
- printf(
- '%s
',
- get_next_posts_link()
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/images.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/images.php
deleted file mode 100644
index 54f11c71..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/images.php
+++ /dev/null
@@ -1,369 +0,0 @@
- 'full',
- );
-
- foreach ( $sizes as $key => $name ) {
- $new_sizes[ $name ] = $name;
- }
-
- return $new_sizes;
-}
-
-add_filter( 'generate_page_header_default_size', 'generate_blog_set_featured_image_size' );
-/**
- * Set our featured image sizes.
- *
- * @since 1.10.0
- *
- * @param string $size The existing size.
- * @return string The new size.
- */
-function generate_blog_set_featured_image_size( $size ) {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ! is_singular() ) {
- $size = $settings['post_image_size'];
- }
-
- if ( is_single() ) {
- $size = $settings['single_post_image_size'];
- }
-
- if ( is_page() ) {
- $size = $settings['page_post_image_size'];
- }
-
- $atts = generate_get_blog_image_attributes();
-
- if ( ! empty( $atts ) ) {
- $values = array(
- $atts['width'],
- $atts['height'],
- $atts['crop'],
- );
-
- $image_src = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID(), 'full' ), $values );
-
- if ( $image_src && $image_src[3] && apply_filters( 'generate_use_featured_image_size_match', true ) ) {
- return $values;
- } else {
- return $size;
- }
- }
-
- return $size;
-}
-
-if ( ! function_exists( 'generate_get_blog_image_attributes' ) ) {
- /**
- * Build our image attributes
- *
- * @since 0.1
- */
- function generate_get_blog_image_attributes() {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( is_singular() ) {
- if ( is_singular( 'page' ) ) {
- $single = 'page_';
- } else {
- $single = 'single_';
- }
- } else {
- $single = '';
- }
-
- $ignore_crop = array( '', '0', '9999' );
-
- $atts = array(
- 'width' => ( in_array( $settings[ "{$single}post_image_width" ], $ignore_crop ) ) ? 9999 : absint( $settings[ "{$single}post_image_width" ] ),
- 'height' => ( in_array( $settings[ "{$single}post_image_height" ], $ignore_crop ) ) ? 9999 : absint( $settings[ "{$single}post_image_height" ] ),
- 'crop' => ( in_array( $settings[ "{$single}post_image_width" ], $ignore_crop ) || in_array( $settings[ "{$single}post_image_height" ], $ignore_crop ) ) ? false : true,
- );
-
- // If there's no height or width, empty the array.
- if ( 9999 == $atts['width'] && 9999 == $atts['height'] ) { // phpcs:ignore
- $atts = array();
- }
-
- return apply_filters( 'generate_blog_image_attributes', $atts );
- }
-}
-
-if ( ! function_exists( 'generate_blog_setup' ) ) {
- add_action( 'wp', 'generate_blog_setup', 50 );
- /**
- * Setup our blog functions and actions
- *
- * @since 0.1
- */
- function generate_blog_setup() {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- // Move our featured images to above the title.
- if ( 'post-image-above-header' === $settings['post_image_position'] ) {
- remove_action( 'generate_after_entry_header', 'generate_post_image' );
- add_action( 'generate_before_content', 'generate_post_image' );
-
- // If we're using the Page Header add-on, move those as well.
- if ( function_exists( 'generate_page_header_post_image' ) ) {
- remove_action( 'generate_after_entry_header', 'generate_page_header_post_image' );
- add_action( 'generate_before_content', 'generate_page_header_post_image' );
- }
- }
-
- $page_header_content = false;
- if ( function_exists( 'generate_page_header_get_options' ) ) {
- $options = generate_page_header_get_options();
-
- if ( $options && '' !== $options['content'] ) {
- $page_header_content = true;
- }
-
- // If our Page Header has no content, remove it.
- // This will allow the Blog add-on to add an image for us.
- if ( ! $page_header_content && is_singular() ) {
- remove_action( 'generate_before_content', 'generate_page_header' );
- remove_action( 'generate_after_entry_header', 'generate_page_header' );
- remove_action( 'generate_after_header', 'generate_page_header' );
- }
- }
-
- // Remove the core theme featured image.
- // I would like to filter instead one day.
- remove_action( 'generate_after_header', 'generate_featured_page_header' );
- remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single' );
-
- $location = generate_blog_get_singular_template();
-
- if ( $settings[ $location . '_post_image' ] && is_singular() && ! $page_header_content ) {
- if ( 'below-title' === $settings[ $location . '_post_image_position' ] ) {
- add_action( 'generate_after_entry_header', 'generate_blog_single_featured_image' );
- }
-
- if ( 'inside-content' === $settings[ $location . '_post_image_position' ] ) {
- add_action( 'generate_before_content', 'generate_blog_single_featured_image' );
- }
-
- if ( 'above-content' === $settings[ $location . '_post_image_position' ] ) {
- add_action( 'generate_after_header', 'generate_blog_single_featured_image' );
- }
- }
- }
-}
-
-add_filter( 'generate_featured_image_output', 'generate_blog_featured_image' );
-/**
- * Remove featured image if set or using WooCommerce.
- *
- * @since 1.5
- * @param string $output The existing output.
- * @return string The image HTML
- */
-function generate_blog_featured_image( $output ) {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) || ! $settings['post_image'] ) {
- return false;
- }
-
- return $output;
-}
-
-/**
- * Build our featured images for single posts and pages.
- *
- * This function is way more complicated than it could be so it can
- * ensure compatibility with the Page Header add-on.
- *
- * @since 1.5
- *
- * @return string The image HTML
- */
-function generate_blog_single_featured_image() {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- $image_id = get_post_thumbnail_id( get_the_ID(), 'full' );
-
- if ( function_exists( 'generate_page_header_get_image' ) && generate_page_header_get_image( 'ID' ) ) {
- if ( intval( $image_id ) !== generate_page_header_get_image( 'ID' ) ) {
- $image_id = generate_page_header_get_image( 'ID' );
- }
- }
-
- $location = generate_blog_get_singular_template();
-
- if ( ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) || ! $settings[ $location . '_post_image' ] || ! $image_id ) {
- return false;
- }
-
- $attrs = array(
- 'itemprop' => 'image',
- );
-
- if ( function_exists( 'generate_get_schema_type' ) ) {
- if ( 'microdata' !== generate_get_schema_type() ) {
- $attrs = array();
- }
- }
-
- $attrs['loading'] = false;
- $attrs = apply_filters( 'generate_single_featured_image_attrs', $attrs );
-
- $image_html = apply_filters(
- 'post_thumbnail_html', // phpcs:ignore -- Core filter.
- wp_get_attachment_image(
- $image_id,
- apply_filters( 'generate_page_header_default_size', 'full' ),
- '',
- $attrs
- ),
- get_the_ID(),
- $image_id,
- apply_filters( 'generate_page_header_default_size', 'full' ),
- ''
- );
-
- $location = generate_blog_get_singular_template();
-
- $classes = array(
- is_page() ? 'page-header-image' : null,
- is_singular() && ! is_page() ? 'page-header-image-single' : null,
- 'above-content' === $settings[ $location . '_post_image_position' ] ? 'grid-container grid-parent' : null,
- );
-
- $image_html = apply_filters( 'generate_single_featured_image_html', $image_html );
-
- // phpcs:ignore -- No need to escape here.
- echo apply_filters(
- 'generate_single_featured_image_output',
- sprintf(
- '
- %1$s
-
',
- $image_html,
- implode( ' ', $classes )
- ),
- $image_html
- );
-}
-
-add_filter( 'generate_blog_image_attributes', 'generate_blog_page_header_image_atts' );
-/**
- * Filter our image attributes in case we're using differents atts in our Page Header
- *
- * @since 1.5
- *
- * @param array $atts Our existing image attributes.
- * @return array Image attributes
- */
-function generate_blog_page_header_image_atts( $atts ) {
- if ( ! function_exists( 'generate_page_header_get_options' ) ) {
- return $atts;
- }
-
- if ( ! is_singular() ) {
- return $atts;
- }
-
- $options = generate_page_header_get_options();
-
- if ( $options && 'enable' === $options['image_resize'] ) {
- $ignore_crop = array( '', '0', '9999' );
-
- $atts = array(
- 'width' => ( in_array( $options['image_width'], $ignore_crop ) ) ? 9999 : absint( $options['image_width'] ),
- 'height' => ( in_array( $options['image_height'], $ignore_crop ) ) ? 9999 : absint( $options['image_height'] ),
- 'crop' => ( in_array( $options['image_width'], $ignore_crop ) || in_array( $options['image_height'], $ignore_crop ) ) ? false : true,
- );
- }
-
- return $atts;
-}
-
-add_filter( 'generate_single_featured_image_html', 'generate_blog_page_header_link' );
-/**
- * Add our Page Header link to our featured image if set.
- *
- * @since 1.5
- *
- * @param string $image_html Our existing image HTML.
- * @return string Our new image HTML.
- */
-function generate_blog_page_header_link( $image_html ) {
- if ( ! function_exists( 'generate_page_header_get_options' ) ) {
- return $image_html;
- }
-
- $options = generate_page_header_get_options();
-
- if ( ! empty( $options['image_link'] ) ) {
- return '' . $image_html . ' ';
- } else {
- return $image_html;
- }
-}
-
-add_filter( 'body_class', 'generate_blog_remove_featured_image_class', 20 );
-/**
- * Remove the featured image classes if they're disabled.
- *
- * @since 2.1.0
- * @param array $classes The body classes.
- */
-function generate_blog_remove_featured_image_class( $classes ) {
- if ( is_singular() ) {
- $settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- generate_blog_get_defaults()
- );
-
- if ( is_single() ) {
- $disable_single_featured_image = ! $settings['single_post_image'];
- $classes = generate_premium_remove_featured_image_class( $classes, $disable_single_featured_image );
- }
-
- if ( is_page() && ! $settings['page_post_image'] ) {
- $disable_page_featured_image = ! $settings['page_post_image'];
- $classes = generate_premium_remove_featured_image_class( $classes, $disable_page_featured_image );
- }
- }
-
- return $classes;
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/controls.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/controls.js
deleted file mode 100644
index eb397ff9..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/controls.js
+++ /dev/null
@@ -1,98 +0,0 @@
-jQuery( function( $ ) {
- // Featured image controls
- var featuredImageArchiveControls = [
- 'generate_blog_settings-post_image',
- 'generate_blog_settings-post_image_padding',
- 'generate_blog_settings-post_image_position',
- 'generate_blog_settings-post_image_alignment',
- 'generate_blog_settings-post_image_size',
- 'generate_blog_settings-post_image_width',
- 'generate_blog_settings-post_image_height',
- 'generate_regenerate_images_notice',
- ];
-
- $.each( featuredImageArchiveControls, function( index, value ) {
- $( '#customize-control-' + value ).attr( 'data-control-section', 'featured-image-archives' );
- } );
-
- var featuredImageSingleControls = [
- 'generate_blog_settings-single_post_image',
- 'generate_blog_settings-single_post_image_padding',
- 'generate_blog_settings-single_post_image_position',
- 'generate_blog_settings-single_post_image_alignment',
- 'generate_blog_settings-single_post_image_size',
- 'generate_blog_settings-single_post_image_width',
- 'generate_blog_settings-single_post_image_height',
- 'generate_regenerate_single_post_images_notice',
- ];
-
- $.each( featuredImageSingleControls, function( index, value ) {
- $( '#customize-control-' + value ).attr( 'data-control-section', 'featured-image-single' ).css( {
- visibility: 'hidden',
- height: '0',
- width: '0',
- margin: '0',
- overflow: 'hidden',
- } );
- } );
-
- var featuredImagePageControls = [
- 'generate_blog_settings-page_post_image',
- 'generate_blog_settings-page_post_image_padding',
- 'generate_blog_settings-page_post_image_position',
- 'generate_blog_settings-page_post_image_alignment',
- 'generate_blog_settings-page_post_image_size',
- 'generate_blog_settings-page_post_image_width',
- 'generate_blog_settings-page_post_image_height',
- 'generate_regenerate_page_images_notice',
- ];
-
- $.each( featuredImagePageControls, function( index, value ) {
- $( '#customize-control-' + value ).attr( 'data-control-section', 'featured-image-page' ).css( {
- visibility: 'hidden',
- height: '0',
- width: '0',
- margin: '0',
- overflow: 'hidden',
- } );
- } );
-
- // Post meta controls
- var postMetaArchiveControls = [
- 'generate_settings-post_content',
- 'generate_blog_settings-excerpt_length',
- 'generate_blog_settings-read_more',
- 'generate_blog_settings-read_more_button',
- 'generate_blog_settings-date',
- 'generate_blog_settings-author',
- 'generate_blog_settings-categories',
- 'generate_blog_settings-tags',
- 'generate_blog_settings-comments',
- 'generate_blog_settings-infinite_scroll',
- 'generate_blog_settings-infinite_scroll_button',
- 'blog_masonry_load_more_control',
- 'blog_masonry_loading_control',
- ];
-
- $.each( postMetaArchiveControls, function( index, value ) {
- $( '#customize-control-' + value ).attr( 'data-control-section', 'post-meta-archives' );
- } );
-
- var postMetaSingleControls = [
- 'generate_blog_settings-single_date',
- 'generate_blog_settings-single_author',
- 'generate_blog_settings-single_categories',
- 'generate_blog_settings-single_tags',
- 'generate_blog_settings-single_post_navigation',
- ];
-
- $.each( postMetaSingleControls, function( index, value ) {
- $( '#customize-control-' + value ).attr( 'data-control-section', 'post-meta-single' ).css( {
- visibility: 'hidden',
- height: '0',
- width: '0',
- margin: '0',
- overflow: 'hidden',
- } );
- } );
-} );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/customizer.js
deleted file mode 100644
index f3c6656c..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/customizer.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * Theme Customizer enhancements for a better user experience.
- *
- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
- */
-
-( function( $ ) {
- // Container width
- wp.customize( 'generate_settings[container_width]', function( value ) {
- value.bind( function() {
- if ( $( '.masonry-container' )[ 0 ] ) {
- jQuery( '.masonry-container' ).imagesLoaded( function() {
- $container = jQuery( '.masonry-container' );
- if ( jQuery( $container ).length ) {
- $container.masonry( {
- columnWidth: '.grid-sizer',
- itemSelector: '.masonry-post',
- stamp: '.page-header',
- } );
- }
- } );
- }
- } );
- } );
-
- $( 'body' ).on( 'generate_spacing_updated', function() {
- if ( $( '.masonry-container' )[ 0 ] ) {
- jQuery( '.masonry-container' ).imagesLoaded( function() {
- $container = jQuery( '.masonry-container' );
- if ( jQuery( $container ).length ) {
- $container.masonry( {
- columnWidth: '.grid-sizer',
- itemSelector: '.masonry-post',
- stamp: '.page-header',
- } );
- }
- } );
- }
- } );
-
- /**
- * The first infinite scroll load in the Customizer misses article classes if they've been
- * added or removed in the previous refresh.
- *
- * This is totally hacky, but I'm just happy I finally got it working!
- */
- var $container = $( '.infinite-scroll-item' ).first().parent();
- $container.on( 'load.infiniteScroll', function( event, response ) {
- var $posts = $( response ).find( 'article' );
- if ( wp.customize.value( 'generate_blog_settings[column_layout]' )() ) {
- $posts.addClass( 'generate-columns' );
- $posts.addClass( 'grid-parent' );
- $posts.addClass( 'grid-' + wp.customize.value( 'generate_blog_settings[columns]' )() );
- $posts.addClass( 'tablet-grid-50' );
- $posts.addClass( 'mobile-grid-100' );
- } else {
- $posts.removeClass( 'generate-columns' );
- $posts.removeClass( 'grid-parent' );
- $posts.removeClass( 'grid-' + wp.customize.value( 'generate_blog_settings[columns]' )() );
- $posts.removeClass( 'tablet-grid-50' );
- $posts.removeClass( 'mobile-grid-100' );
- }
-
- if ( wp.customize.value( 'generate_blog_settings[masonry]' )() ) {
- $posts.addClass( 'masonry-post' );
- } else {
- $posts.removeClass( 'masonry-post' );
- }
-
- if ( ! wp.customize.value( 'generate_blog_settings[post_image_padding]' )() ) {
- $posts.addClass( 'no-featured-image-padding' );
- } else {
- $posts.removeClass( 'no-featured-image-padding' );
- }
- } );
-}( jQuery ) );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/infinite-scroll.pkgd.min.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/infinite-scroll.pkgd.min.js
deleted file mode 100644
index 329c20c6..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/functions/js/infinite-scroll.pkgd.min.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*!
- * Infinite Scroll PACKAGED v3.0.6
- * Automatically add next page
- *
- * Licensed GPLv3 for open source use
- * or Infinite Scroll Commercial License for commercial use
- *
- * https://infinite-scroll.com
- * Copyright 2018 Metafizzy
- */
-
-!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,l){function a(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,a){var h=l.data(a,i);if(!h)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var c=h[e];if(!c||"_"==e.charAt(0))return void s(r+" is not a valid method");var u=c.apply(h,n);o=void 0===o?u:o}),void 0!==o?o:t}function h(t,e){t.each(function(t,n){var o=l.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),l.data(n,i,o))})}l=l||e||t.jQuery,l&&(r.prototype.option||(r.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return a(this,t,e)}return h(this,t),this},n(l))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return n.indexOf(e)==-1&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return n!=-1&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},s.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},s.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;return e.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);var t=this.options.scrollThreshold,e=t||0===t;e&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},n.onPageScroll=e.throttle(function(){var t=this.getBottomDistance();t<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),n.getBottomDistance=function(){return this.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},n.getWindowBottomDistance=function(){var e=this.top+this.element.clientHeight,i=t.pageYOffset+this.windowHeight;return e-i},n.getElementBottomDistance=function(){var t=this.scroller.scrollHeight,e=this.scroller.scrollTop+this.scroller.clientHeight;return t-e},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;e.defaults.history="replace";var o=document.createElement("a");return e.create.history=function(){if(this.options.history){o.href=this.getAbsolutePath();var t=o.origin||o.protocol+"//"+o.host,e=t==location.origin;return e?void(this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()):void console.error("[InfiniteScroll] cannot set history with different origin: "+o.origin+" on "+location.origin+" . History behavior disabled.")}},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=0,this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){var t=this.options.history&&this.options.append;t&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(t,e,i){if(i&&i.length){var n=i[0],r=this.getElementScrollY(n);o.href=e,this.scrollPages.push({top:r,path:o.href,title:t.title})}},n.getElementScrollY=function(t){return this.options.elementScroll?this.getElementElementScrollY(t):this.getElementWindowScrollY(t)},n.getElementWindowScrollY=function(e){var i=e.getBoundingClientRect();return i.top+t.pageYOffset},n.getElementElementScrollY=function(t){return t.offsetTop-this.top},n.onScrollHistory=function(){for(var t,e,i=this.getScrollViewY(),n=0;n=i)break;t=n,e=o}t!=this.scrollPageIndex&&(this.scrollPageIndex=t,this.setHistory(e.title,e.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(t,e){var i=this.options.history,n=i&&history[i+"State"];n&&(history[i+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},n.onUnload=function(){var e=this.scrollPageIndex;if(0!==e){var i=this.scrollPages[e],n=t.pageYOffset-i.top+this.top;this.destroyHistory(),scrollTo(0,n)}},n.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){function n(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}return e.create.button=function(){var t=i.getQueryElement(this.options.button);if(t)return void(this.button=new n(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(t){t.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},e.Button=n,e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){function n(t){r(t,"none")}function o(t){r(t,"block")}function r(t,e){t&&(t.style.display=e)}var s=e.prototype;return e.create.status=function(){var t=i.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},s.bindHideStatus=function(t){var e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},s.showRequestStatus=function(){this.showStatus("request")},s.showErrorStatus=function(){this.showStatus("error")},s.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},s.showStatus=function(t){o(this.statusElement),this.hideStatusEventElements();var e=this.statusEventElements[t];o(e)},s.hideAllStatus=function(){n(this.statusElement),this.hideStatusEventElements()},s.hideStatusEventElements=function(){for(var t in this.statusEventElements){var e=this.statusEventElements[t];n(e)}},e}),function(t,e){"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}(window,function(t){return t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t){if(Array.isArray(t))return t;var e="object"==typeof t&&"number"==typeof t.length;return e?h.call(t):[t]}function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);var s=t;return"string"==typeof t&&(s=document.querySelectorAll(t)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof e?r=e:i(this.options,e),r&&this.on("always",r),this.getImages(),l&&(this.jqDeferred=new l.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||t))}function r(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var l=t.jQuery,a=t.console,h=Array.prototype.slice;o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var i=t.querySelectorAll("img"),n=0;n 'false',
- 'masonry_width' => 'width2',
- 'masonry_most_recent_width' => 'width4',
- 'post_image' => 'true',
- 'date' => 'true',
- 'author' => 'true',
- 'categories' => 'true',
- 'tags' => 'true',
- 'comments' => 'true',
- );
-
- // Get our spacing settings
- $blog_settings = wp_parse_args(
- get_option( 'generate_blog_settings', array() ),
- $defaults
- );
-
- $new_settings = array();
-
- // These options use to be a select input with false + true values
- // This will make the false values empty so the options can be checkboxes
- $keys = array( 'date', 'author', 'categories', 'tags', 'comments', 'masonry', 'post_image' );
- foreach ( $keys as $key ) {
- if ( is_string( $blog_settings[ $key ] ) ) {
- if ( 'false' == $blog_settings[ $key ] ) {
- $new_settings[ $key ] = false;
- } elseif ( 'true' == $blog_settings[ $key ] ) {
- $new_settings[ $key ] = true;
- }
- }
- }
-
- // Set the single post meta options to whatever the blog options are
- $new_settings[ 'single_date' ] = isset( $new_settings[ 'date' ] ) ? $new_settings[ 'date' ] : true;
- $new_settings[ 'single_author' ] = isset( $new_settings[ 'author' ] ) ? $new_settings[ 'author' ] : true;
- $new_settings[ 'single_categories' ] = isset( $new_settings[ 'categories' ] ) ? $new_settings[ 'categories' ] : true;
- $new_settings[ 'single_tags' ] = isset( $new_settings[ 'tags' ] ) ? $new_settings[ 'tags' ] : true;
-
- if ( isset( $new_settings[ 'masonry' ] ) && $new_settings[ 'masonry' ] ) {
- $new_settings[ 'column_layout' ] = true;
- $new_settings[ 'infinite_scroll' ] = true;
- $new_settings[ 'infinite_scroll_button' ] = true;
-
- if ( 'width2' == $blog_settings['masonry_width'] ) {
- $new_settings[ 'columns' ] = '33';
- }
-
- if ( 'width4' == $blog_settings['masonry_width'] ) {
- $new_settings[ 'columns' ] = '50';
- }
-
- if ( 'width6' == $blog_settings['masonry_width'] ) {
- $new_settings[ 'columns' ] = '100';
- }
-
- if ( 'width2' == $blog_settings[ 'masonry_width' ] ) {
- if ( 'width2' !== $blog_settings[ 'masonry_most_recent_width' ] ) {
- $new_settings[ 'featured_column' ] = true;
- } else {
- $new_settings[ 'featured_column' ] = false;
- }
- }
-
- if ( 'width4' == $blog_settings[ 'masonry_width' ] ) {
- if ( 'width6' == $blog_settings[ 'masonry_most_recent_width' ] ) {
- $new_settings[ 'featured_column' ] = true;
- } else {
- $new_settings[ 'featured_column' ] = false;
- }
- }
-
- if ( 'width6' == $blog_settings[ 'masonry_width' ] ) {
- $new_settings[ 'featured_column' ] = false;
- }
- }
-
- if ( function_exists( 'generate_page_header_get_defaults' ) ) {
- $page_header_settings = wp_parse_args(
- get_option( 'generate_page_header_settings', array() ),
- generate_page_header_get_defaults()
- );
-
- if ( 'hide' == $page_header_settings[ 'post_header_position' ] ) {
- $new_settings[ 'single_post_image' ] = false;
- } else {
- $new_settings[ 'single_post_image_position' ] = $page_header_settings[ 'post_header_position' ];
- }
-
- $new_settings[ 'page_post_image_position' ] = $page_header_settings[ 'page_header_position' ];
- }
-
- unset( $blog_settings['masonry_width'] );
- unset( $blog_settings['masonry_most_recent_width'] );
-
- $update_settings = wp_parse_args( $new_settings, $blog_settings );
- update_option( 'generate_blog_settings', $update_settings );
-
- // Update our migration option so we don't need to run this again
- $updated[ 'blog_visibility_updated' ] = 'true';
- $migration_settings = wp_parse_args( $updated, $settings );
- update_option( 'generate_migration_settings', $migration_settings );
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/generate-blog.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/generate-blog.php
deleted file mode 100644
index 49fd37fd..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/blog/generate-blog.php
+++ /dev/null
@@ -1,20 +0,0 @@
-register_control_type( 'GeneratePress_Alpha_Color_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Title_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- // Get our palettes.
- $palettes = generate_get_default_color_palettes();
-
- // Add our Colors panel.
- if ( class_exists( 'WP_Customize_Panel' ) ) {
- $wp_customize->add_panel(
- 'generate_colors_panel',
- array(
- 'priority' => 30,
- 'theme_supports' => '',
- 'title' => __( 'Colors', 'gp-premium' ),
- 'description' => '',
- )
- );
- }
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_body_color_shortcuts',
- array(
- 'section' => 'body_section',
- 'element' => __( 'Body', 'gp-premium' ),
- 'shortcuts' => array(
- 'typography' => 'font_section',
- 'backgrounds' => 'generate_backgrounds_body',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Add Top Bar Colors section.
- if ( isset( $defaults['top_bar_background_color'] ) && function_exists( 'generate_is_top_bar_active' ) ) {
- $wp_customize->add_section(
- 'generate_top_bar_colors',
- array(
- 'title' => __( 'Top Bar', 'gp-premium' ),
- 'priority' => 40,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[top_bar_background_color]',
- array(
- 'default' => $defaults['top_bar_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[top_bar_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'generate_top_bar_colors',
- 'settings' => 'generate_settings[top_bar_background_color]',
- 'palette' => $palettes,
- 'show_opacity' => true,
- 'priority' => 1,
- 'active_callback' => 'generate_is_top_bar_active',
- )
- )
- );
-
- // Add color settings.
- $top_bar_colors = array();
- $top_bar_colors[] = array(
- 'slug' => 'top_bar_text_color',
- 'default' => $defaults['top_bar_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $top_bar_colors[] = array(
- 'slug' => 'top_bar_link_color',
- 'default' => $defaults['top_bar_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- 'priority' => 3,
- );
- $top_bar_colors[] = array(
- 'slug' => 'top_bar_link_color_hover',
- 'default' => $defaults['top_bar_link_color_hover'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- 'priority' => 4,
- );
-
- foreach ( $top_bar_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'generate_top_bar_colors',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- 'palette' => $palettes,
- 'active_callback' => 'generate_is_top_bar_active',
- )
- )
- );
- }
- }
-
- // Add Header Colors section.
- $wp_customize->add_section(
- 'header_color_section',
- array(
- 'title' => __( 'Header', 'gp-premium' ),
- 'priority' => 50,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_header_color_shortcuts',
- array(
- 'section' => 'header_color_section',
- 'element' => __( 'Header', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_header',
- 'typography' => 'font_header_section',
- 'backgrounds' => 'generate_backgrounds_header',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[header_background_color]',
- array(
- 'default' => $defaults['header_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[header_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'header_color_section',
- 'settings' => 'generate_settings[header_background_color]',
- 'palette' => $palettes,
- 'show_opacity' => true,
- 'priority' => 1,
- )
- )
- );
-
- // Add color settings.
- $header_colors = array();
- $header_colors[] = array(
- 'slug' => 'header_text_color',
- 'default' => $defaults['header_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $header_colors[] = array(
- 'slug' => 'header_link_color',
- 'default' => $defaults['header_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- 'priority' => 3,
- );
- $header_colors[] = array(
- 'slug' => 'header_link_hover_color',
- 'default' => $defaults['header_link_hover_color'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- 'priority' => 4,
- );
- $header_colors[] = array(
- 'slug' => 'site_title_color',
- 'default' => $defaults['site_title_color'],
- 'label' => __( 'Site Title', 'gp-premium' ),
- 'priority' => 5,
- );
- $header_colors[] = array(
- 'slug' => 'site_tagline_color',
- 'default' => $defaults['site_tagline_color'],
- 'label' => __( 'Tagline', 'gp-premium' ),
- 'priority' => 6,
- );
-
- foreach ( $header_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'header_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- 'palette' => $palettes,
- )
- )
- );
- }
-
- // Add Navigation section.
- $wp_customize->add_section(
- 'navigation_color_section',
- array(
- 'title' => __( 'Primary Navigation', 'gp-premium' ),
- 'priority' => 60,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_primary_navigation_color_shortcuts',
- array(
- 'section' => 'navigation_color_section',
- 'element' => __( 'Primary Navigation', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_navigation',
- 'typography' => 'font_navigation_section',
- 'backgrounds' => 'generate_backgrounds_navigation',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 0,
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_primary_navigation_parent_items',
- array(
- 'section' => 'navigation_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Parent Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[navigation_background_color]',
- array(
- 'default' => $defaults['navigation_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[navigation_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[navigation_background_color]',
- 'palette' => $palettes,
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[navigation_background_hover_color]',
- array(
- 'default' => $defaults['navigation_background_hover_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[navigation_background_hover_color]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[navigation_background_hover_color]',
- 'palette' => $palettes,
- 'priority' => 3,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[navigation_background_current_color]',
- array(
- 'default' => $defaults['navigation_background_current_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[navigation_background_current_color]',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[navigation_background_current_color]',
- 'palette' => $palettes,
- 'priority' => 5,
- )
- )
- );
-
- // Add color settings.
- $navigation_colors = array();
- $navigation_colors[] = array(
- 'slug' => 'navigation_text_color',
- 'default' => $defaults['navigation_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $navigation_colors[] = array(
- 'slug' => 'navigation_text_hover_color',
- 'default' => $defaults['navigation_text_hover_color'],
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'priority' => 4,
- );
- $navigation_colors[] = array(
- 'slug' => 'navigation_text_current_color',
- 'default' => $defaults['navigation_text_current_color'],
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'priority' => 6,
- );
-
- foreach ( $navigation_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- )
- )
- );
- }
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_primary_navigation_sub_menu_items',
- array(
- 'section' => 'navigation_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Sub-Menu Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 7,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[subnavigation_background_color]',
- array(
- 'default' => $defaults['subnavigation_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[subnavigation_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[subnavigation_background_color]',
- 'palette' => $palettes,
- 'priority' => 8,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[subnavigation_background_hover_color]',
- array(
- 'default' => $defaults['subnavigation_background_hover_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[subnavigation_background_hover_color]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[subnavigation_background_hover_color]',
- 'palette' => $palettes,
- 'priority' => 10,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[subnavigation_background_current_color]',
- array(
- 'default' => $defaults['subnavigation_background_current_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[subnavigation_background_current_color]',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[subnavigation_background_current_color]',
- 'palette' => $palettes,
- 'priority' => 12,
- )
- )
- );
-
- // Add color settings.
- $subnavigation_colors = array();
- $subnavigation_colors[] = array(
- 'slug' => 'subnavigation_text_color',
- 'default' => $defaults['subnavigation_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 9,
- );
- $subnavigation_colors[] = array(
- 'slug' => 'subnavigation_text_hover_color',
- 'default' => $defaults['subnavigation_text_hover_color'],
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'priority' => 11,
- );
- $subnavigation_colors[] = array(
- 'slug' => 'subnavigation_text_current_color',
- 'default' => $defaults['subnavigation_text_current_color'],
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'priority' => 13,
- );
-
- foreach ( $subnavigation_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- )
- )
- );
- }
-
- if ( isset( $defaults['navigation_search_background_color'] ) ) {
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_primary_navigation_search',
- array(
- 'section' => 'navigation_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Navigation Search', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 15,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[navigation_search_background_color]',
- array(
- 'default' => $defaults['navigation_search_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[navigation_search_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[navigation_search_background_color]',
- 'palette' => $palettes,
- 'priority' => 16,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[navigation_search_text_color]',
- array(
- 'default' => $defaults['navigation_search_text_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[navigation_search_text_color]',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'navigation_color_section',
- 'settings' => 'generate_settings[navigation_search_text_color]',
- 'priority' => 17,
- )
- )
- );
- }
-
- $wp_customize->add_section(
- 'buttons_color_section',
- array(
- 'title' => __( 'Buttons', 'gp-premium' ),
- 'priority' => 75,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_buttons_color_shortcuts',
- array(
- 'section' => 'buttons_color_section',
- 'element' => __( 'Button', 'gp-premium' ),
- 'shortcuts' => array(
- 'typography' => 'font_buttons_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_button_background_color]',
- array(
- 'default' => $defaults['form_button_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_button_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'buttons_color_section',
- 'settings' => 'generate_settings[form_button_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_button_text_color]',
- array(
- 'default' => $defaults['form_button_text_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'form_button_text_color',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'buttons_color_section',
- 'settings' => 'generate_settings[form_button_text_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_button_background_color_hover]',
- array(
- 'default' => $defaults['form_button_background_color_hover'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_button_background_color_hover]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'buttons_color_section',
- 'settings' => 'generate_settings[form_button_background_color_hover]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_button_text_color_hover]',
- array(
- 'default' => $defaults['form_button_text_color_hover'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'form_button_text_color_hover',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'buttons_color_section',
- 'settings' => 'generate_settings[form_button_text_color_hover]',
- )
- )
- );
-
- // Add Content Colors section.
- $wp_customize->add_section(
- 'content_color_section',
- array(
- 'title' => __( 'Content', 'gp-premium' ),
- 'priority' => 80,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_content_color_shortcuts',
- array(
- 'section' => 'content_color_section',
- 'element' => __( 'Content', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_container',
- 'typography' => 'font_content_section',
- 'backgrounds' => 'generate_backgrounds_content',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[content_background_color]',
- array(
- 'default' => $defaults['content_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[content_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'content_color_section',
- 'settings' => 'generate_settings[content_background_color]',
- 'palette' => $palettes,
- 'priority' => 1,
- )
- )
- );
-
- // Add color settings.
- $content_colors = array();
- $content_colors[] = array(
- 'slug' => 'content_text_color',
- 'default' => $defaults['content_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $content_colors[] = array(
- 'slug' => 'content_link_color',
- 'default' => $defaults['content_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- 'priority' => 3,
- );
- $content_colors[] = array(
- 'slug' => 'content_link_hover_color',
- 'default' => $defaults['content_link_hover_color'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- 'priority' => 4,
- );
- $content_colors[] = array(
- 'slug' => 'content_title_color',
- 'default' => $defaults['content_title_color'],
- 'label' => __( 'Content Title', 'gp-premium' ),
- 'priority' => 5,
- );
- $content_colors[] = array(
- 'slug' => 'blog_post_title_color',
- 'default' => $defaults['blog_post_title_color'],
- 'label' => __( 'Archive Content Title', 'gp-premium' ),
- 'priority' => 6,
- );
- $content_colors[] = array(
- 'slug' => 'blog_post_title_hover_color',
- 'default' => $defaults['blog_post_title_hover_color'],
- 'label' => __( 'Archive Content Title Hover', 'gp-premium' ),
- 'priority' => 7,
- );
- $content_colors[] = array(
- 'slug' => 'entry_meta_text_color',
- 'default' => $defaults['entry_meta_text_color'],
- 'label' => __( 'Entry Meta Text', 'gp-premium' ),
- 'priority' => 8,
- );
- $content_colors[] = array(
- 'slug' => 'entry_meta_link_color',
- 'default' => $defaults['entry_meta_link_color'],
- 'label' => __( 'Entry Meta Links', 'gp-premium' ),
- 'priority' => 9,
- );
- $content_colors[] = array(
- 'slug' => 'entry_meta_link_color_hover',
- 'default' => $defaults['entry_meta_link_color_hover'],
- 'label' => __( 'Entry Meta Links Hover', 'gp-premium' ),
- 'priority' => 10,
- );
- $content_colors[] = array(
- 'slug' => 'h1_color',
- 'default' => $defaults['h1_color'],
- 'label' => __( 'Heading 1 (H1) Color', 'gp-premium' ),
- 'priority' => 11,
- );
- $content_colors[] = array(
- 'slug' => 'h2_color',
- 'default' => $defaults['h2_color'],
- 'label' => __( 'Heading 2 (H2) Color', 'gp-premium' ),
- 'priority' => 12,
- );
- $content_colors[] = array(
- 'slug' => 'h3_color',
- 'default' => $defaults['h3_color'],
- 'label' => __( 'Heading 3 (H3) Color', 'gp-premium' ),
- 'priority' => 13,
- );
-
- if ( isset( $defaults['h4_color'] ) ) {
- $content_colors[] = array(
- 'slug' => 'h4_color',
- 'default' => $defaults['h4_color'],
- 'label' => __( 'Heading 4 (H4) Color', 'gp-premium' ),
- 'priority' => 14,
- );
- }
-
- if ( isset( $defaults['h5_color'] ) ) {
- $content_colors[] = array(
- 'slug' => 'h5_color',
- 'default' => $defaults['h5_color'],
- 'label' => __( 'Heading 5 (H5) Color', 'gp-premium' ),
- 'priority' => 15,
- );
- }
-
- foreach ( $content_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'content_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- )
- )
- );
- }
-
- // Add Sidebar Widget colors.
- $wp_customize->add_section(
- 'sidebar_widget_color_section',
- array(
- 'title' => __( 'Sidebar Widgets', 'gp-premium' ),
- 'priority' => 90,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_sidebar_color_shortcuts',
- array(
- 'section' => 'sidebar_widget_color_section',
- 'element' => __( 'Sidebar', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_sidebars',
- 'typography' => 'font_widget_section',
- 'backgrounds' => 'generate_backgrounds_sidebars',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[sidebar_widget_background_color]',
- array(
- 'default' => $defaults['sidebar_widget_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[sidebar_widget_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'sidebar_widget_color_section',
- 'settings' => 'generate_settings[sidebar_widget_background_color]',
- 'palette' => $palettes,
- 'priority' => 1,
- )
- )
- );
-
- // Add color settings.
- $sidebar_widget_colors = array();
- $sidebar_widget_colors[] = array(
- 'slug' => 'sidebar_widget_text_color',
- 'default' => $defaults['sidebar_widget_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $sidebar_widget_colors[] = array(
- 'slug' => 'sidebar_widget_link_color',
- 'default' => $defaults['sidebar_widget_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- 'priority' => 3,
- );
- $sidebar_widget_colors[] = array(
- 'slug' => 'sidebar_widget_link_hover_color',
- 'default' => $defaults['sidebar_widget_link_hover_color'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- 'priority' => 4,
- );
- $sidebar_widget_colors[] = array(
- 'slug' => 'sidebar_widget_title_color',
- 'default' => $defaults['sidebar_widget_title_color'],
- 'label' => __( 'Widget Title', 'gp-premium' ),
- 'priority' => 5,
- );
-
- foreach ( $sidebar_widget_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'sidebar_widget_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- )
- )
- );
- }
-
- // Add Form colors.
- $wp_customize->add_section(
- 'form_color_section',
- array(
- 'title' => __( 'Forms', 'gp-premium' ),
- 'priority' => 130,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_background_color]',
- array(
- 'default' => $defaults['form_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_background_color]',
- array(
- 'label' => __( 'Form Background', 'gp-premium' ),
- 'section' => 'form_color_section',
- 'settings' => 'generate_settings[form_background_color]',
- 'palette' => $palettes,
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_background_color_focus]',
- array(
- 'default' => $defaults['form_background_color_focus'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_background_color_focus]',
- array(
- 'label' => __( 'Form Background Focus', 'gp-premium' ),
- 'section' => 'form_color_section',
- 'settings' => 'generate_settings[form_background_color_focus]',
- 'palette' => $palettes,
- 'priority' => 3,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_border_color]',
- array(
- 'default' => $defaults['form_border_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_border_color]',
- array(
- 'label' => __( 'Form Border', 'gp-premium' ),
- 'section' => 'form_color_section',
- 'settings' => 'generate_settings[form_border_color]',
- 'palette' => $palettes,
- 'priority' => 5,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[form_border_color_focus]',
- array(
- 'default' => $defaults['form_border_color_focus'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[form_border_color_focus]',
- array(
- 'label' => __( 'Form Border Focus', 'gp-premium' ),
- 'section' => 'form_color_section',
- 'settings' => 'generate_settings[form_border_color_focus]',
- 'palette' => $palettes,
- 'priority' => 6,
- )
- )
- );
-
- // Add color settings.
- $form_colors = array();
- $form_colors[] = array(
- 'slug' => 'form_text_color',
- 'default' => $defaults['form_text_color'],
- 'label' => __( 'Form Text', 'gp-premium' ),
- 'priority' => 2,
- );
- $form_colors[] = array(
- 'slug' => 'form_text_color_focus',
- 'default' => $defaults['form_text_color_focus'],
- 'label' => __( 'Form Text Focus', 'gp-premium' ),
- 'priority' => 4,
- );
-
- foreach ( $form_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'form_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- 'priority' => $color['priority'],
- )
- )
- );
- }
-
- // Add Footer colors.
- $wp_customize->add_section(
- 'footer_color_section',
- array(
- 'title' => __( 'Footer', 'gp-premium' ),
- 'priority' => 150,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_footer_color_shortcuts',
- array(
- 'section' => 'footer_color_section',
- 'element' => __( 'Footer', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_layout_footer',
- 'typography' => 'font_footer_section',
- 'backgrounds' => 'generate_backgrounds_footer',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_footer_widgets_title',
- array(
- 'section' => 'footer_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Footer Widgets', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[footer_widget_background_color]',
- array(
- 'default' => $defaults['footer_widget_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[footer_widget_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[footer_widget_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Add color settings.
- $footer_widget_colors = array();
- $footer_widget_colors[] = array(
- 'slug' => 'footer_widget_text_color',
- 'default' => $defaults['footer_widget_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- );
- $footer_widget_colors[] = array(
- 'slug' => 'footer_widget_link_color',
- 'default' => $defaults['footer_widget_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- );
- $footer_widget_colors[] = array(
- 'slug' => 'footer_widget_link_hover_color',
- 'default' => $defaults['footer_widget_link_hover_color'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- );
- $footer_widget_colors[] = array(
- 'slug' => 'footer_widget_title_color',
- 'default' => $defaults['footer_widget_title_color'],
- 'label' => __( 'Widget Title', 'gp-premium' ),
- );
-
- foreach ( $footer_widget_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- )
- )
- );
- }
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_footer_title',
- array(
- 'section' => 'footer_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Footer Bar', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[footer_background_color]',
- array(
- 'default' => $defaults['footer_background_color'],
- 'type' => 'option',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[footer_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[footer_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Add color settings.
- $footer_colors = array();
- $footer_colors[] = array(
- 'slug' => 'footer_text_color',
- 'default' => $defaults['footer_text_color'],
- 'label' => __( 'Text', 'gp-premium' ),
- );
- $footer_colors[] = array(
- 'slug' => 'footer_link_color',
- 'default' => $defaults['footer_link_color'],
- 'label' => __( 'Link', 'gp-premium' ),
- );
- $footer_colors[] = array(
- 'slug' => 'footer_link_hover_color',
- 'default' => $defaults['footer_link_hover_color'],
- 'label' => __( 'Link Hover', 'gp-premium' ),
- );
-
- foreach ( $footer_colors as $color ) {
- $wp_customize->add_setting(
- 'generate_settings[' . $color['slug'] . ']',
- array(
- 'default' => $color['default'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- $color['slug'],
- array(
- 'label' => $color['label'],
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[' . $color['slug'] . ']',
- )
- )
- );
- }
-
- if ( isset( $defaults['back_to_top_background_color'] ) ) {
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_back_to_top_title',
- array(
- 'section' => 'footer_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Back to Top Button', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[back_to_top_background_color]',
- array(
- 'default' => $defaults['back_to_top_background_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[back_to_top_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[back_to_top_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[back_to_top_text_color]',
- array(
- 'default' => $defaults['back_to_top_text_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[back_to_top_text_color]',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[back_to_top_text_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[back_to_top_background_color_hover]',
- array(
- 'default' => $defaults['back_to_top_background_color_hover'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[back_to_top_background_color_hover]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[back_to_top_background_color_hover]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[back_to_top_text_color_hover]',
- array(
- 'default' => $defaults['back_to_top_text_color_hover'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[back_to_top_text_color_hover]',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'footer_color_section',
- 'settings' => 'generate_settings[back_to_top_text_color_hover]',
- )
- )
- );
- }
- }
-}
-
-if ( ! function_exists( 'generate_get_color_setting' ) ) {
- /**
- * Wrapper function to get our settings
- *
- * @since 1.3.42
- * @param string $setting The setting to check.
- */
- function generate_get_color_setting( $setting ) {
-
- // Bail if we don't have our color defaults.
- if ( ! function_exists( 'generate_get_color_defaults' ) ) {
- return;
- }
-
- if ( function_exists( 'generate_get_defaults' ) ) {
- $defaults = array_merge( generate_get_defaults(), generate_get_color_defaults() );
- } else {
- $defaults = generate_get_color_defaults();
- }
-
- $generate_settings = wp_parse_args(
- get_option( 'generate_settings', array() ),
- $defaults
- );
-
- return $generate_settings[ $setting ];
- }
-}
-
-if ( ! function_exists( 'generate_colors_rgba_to_hex' ) ) {
- /**
- * Convert RGBA to hex if necessary
- *
- * @since 1.3.42
- * @param string $rgba The string to convert to hex.
- */
- function generate_colors_rgba_to_hex( $rgba ) {
- // If it's not rgba, return it.
- if ( false === strpos( $rgba, 'rgba' ) ) {
- return $rgba;
- }
-
- return substr( $rgba, 0, strrpos( $rgba, ',' ) ) . ')';
- }
-}
-
-if ( ! function_exists( 'generate_get_default_color_palettes' ) ) {
- /**
- * Set up our colors for the color picker palettes and filter them so you can change them
- *
- * @since 1.3.42
- */
- function generate_get_default_color_palettes() {
- $palettes = array(
- generate_colors_rgba_to_hex( generate_get_color_setting( 'link_color' ) ),
- generate_colors_rgba_to_hex( generate_get_color_setting( 'background_color' ) ),
- generate_colors_rgba_to_hex( generate_get_color_setting( 'navigation_background_color' ) ),
- generate_colors_rgba_to_hex( generate_get_color_setting( 'navigation_background_hover_color' ) ),
- '#F1C40F',
- '#1e72bd',
- '#1ABC9C',
- '#3498DB',
- );
-
- return apply_filters( 'generate_default_color_palettes', $palettes );
- }
-}
-
-if ( ! function_exists( 'generate_enqueue_color_palettes' ) ) {
- add_action( 'customize_controls_enqueue_scripts', 'generate_enqueue_color_palettes', 1001 );
- /**
- * Add our custom color palettes to the color pickers in the Customizer.
- * Hooks into 1001 priority to show up after Secondary Nav.
- *
- * @since 1.3.42
- */
- function generate_enqueue_color_palettes() {
- // Old versions of WP don't get nice things.
- if ( ! function_exists( 'wp_add_inline_script' ) ) {
- return;
- }
-
- // Grab our palette array and turn it into JS.
- $palettes = wp_json_encode( generate_get_default_color_palettes() );
-
- // Add our custom palettes.
- // json_encode takes care of escaping.
- wp_add_inline_script( 'wp-color-picker', 'jQuery.wp.wpColorPicker.prototype.options.palettes = ' . $palettes . ';' );
- }
-}
-
-if ( ! function_exists( 'generate_colors_customizer_live_preview' ) ) {
- add_action( 'customize_preview_init', 'generate_colors_customizer_live_preview' );
- /**
- * Add our live preview javascript.
- *
- * @since 0.1
- */
- function generate_colors_customizer_live_preview() {
- wp_enqueue_script(
- 'generate-colors-customizer',
- trailingslashit( plugin_dir_url( __FILE__ ) ) . 'js/customizer.js',
- array( 'jquery', 'customize-preview' ),
- GENERATE_COLORS_VERSION,
- true
- );
-
- wp_register_script(
- 'generate-wc-colors-customizer',
- trailingslashit( plugin_dir_url( __FILE__ ) ) . 'js/wc-customizer.js',
- array( 'jquery', 'customize-preview', 'generate-colors-customizer' ),
- GENERATE_COLORS_VERSION,
- true
- );
-
- wp_register_script(
- 'generate-menu-plus-colors-customizer',
- trailingslashit( plugin_dir_url( __FILE__ ) ) . 'js/menu-plus-customizer.js',
- array( 'jquery', 'customize-preview', 'generate-colors-customizer' ),
- GENERATE_COLORS_VERSION,
- true
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/customizer.js
deleted file mode 100644
index a2fb4253..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/customizer.js
+++ /dev/null
@@ -1,620 +0,0 @@
-/**
- * Theme Customizer enhancements for a better user experience.
- *
- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
- */
-function generate_colors_live_update( id, selector, property, default_value, get_value, settings ) {
- default_value = typeof default_value !== 'undefined' ? default_value : 'initial';
- get_value = typeof get_value !== 'undefined' ? get_value : '';
- settings = typeof settings !== 'undefined' ? settings : 'generate_settings';
- wp.customize( settings + '[' + id + ']', function( value ) {
- value.bind( function( newval ) {
-
- // Stop the header link color from applying to the site title.
- if ( 'header_link_color' === id || 'header_link_color' === id ) {
- jQuery( '.site-header a' ).addClass( 'header-link' );
- jQuery( '.site-header .main-title a' ).removeClass( 'header-link' );
- }
-
- if ( 'content_link_color' === id || 'content_link_color_hover' === id || 'entry_meta_link_color' === id || 'blog_post_title_color' === id ) {
- var content_link = jQuery( '.inside-article a' );
- var meta = jQuery( '.entry-meta a' );
- var title = jQuery( '.entry-title a' );
-
- content_link.attr( 'data-content-link-color', true );
-
- if ( '' !== wp.customize.value('generate_settings[entry_meta_link_color]')() ) {
- meta.attr( 'data-content-link-color', '' );
- } else {
- meta.attr( 'data-content-link-color', true );
- }
-
- if ( '' !== wp.customize.value('generate_settings[blog_post_title_color]')() ) {
- title.attr( 'data-content-link-color', '' );
- } else {
- title.attr( 'data-content-link-color', true );
- }
- }
-
- default_value = ( '' !== get_value ) ? wp.customize.value('generate_settings[' + get_value + ']')() : default_value;
- newval = ( '' !== newval ) ? newval : default_value;
- var unique_id = ( 'generate_secondary_nav_settings' == settings ) ? 'secondary_' : '';
- if ( jQuery( 'style#' + unique_id + id ).length ) {
- jQuery( 'style#' + unique_id + id ).html( selector + '{' + property + ':' + newval + ';}' );
- } else {
- jQuery( 'head' ).append( '' );
- setTimeout(function() {
- jQuery( 'style#' + id ).not( ':last' ).remove();
- }, 1000);
- }
-
- } );
- } );
-}
-
-/**
- * Header background color
- * Empty: transparent
- */
-generate_colors_live_update( 'top_bar_background_color', '.top-bar', 'background-color', 'transparent' );
-
-/**
- * Header text color
- * Empty: text_color
- */
-generate_colors_live_update( 'top_bar_text_color', '.top-bar', 'color', '', 'text_color' );
-
-/**
- * Header link color
- * Empty: link_color
- */
-generate_colors_live_update( 'top_bar_link_color', '.top-bar a, .top-bar a:visited', 'color', '', 'link_color' );
-
-/**
- * Header link color hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'top_bar_link_color_hover', '.top-bar a:hover', 'color', '', 'link_color_hover' );
-
-
-/**
- * Header background color
- * Empty: transparent
- */
-generate_colors_live_update( 'header_background_color', '.site-header', 'background-color', 'transparent' );
-
-/**
- * Header text color
- * Empty: text_color
- */
-generate_colors_live_update( 'header_text_color', '.site-header', 'color', '', 'text_color' );
-
-/**
- * Header link color
- * Empty: link_color
- */
-generate_colors_live_update( 'header_link_color', '.site-header a.header-link, .site-header a.header-link:visited', 'color', '', 'link_color' );
-
-/**
- * Header link color hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'header_link_hover_color', '.site-header a.header-link:hover', 'color', '', 'link_color_hover' );
-
-/**
- * Site title color
- * Empty: link_color
- */
-generate_colors_live_update( 'site_title_color', '.main-title a,.main-title a:hover,.main-title a:visited,.header-wrap .navigation-stick .main-title a, .header-wrap .navigation-stick .main-title a:hover, .header-wrap .navigation-stick .main-title a:visited', 'color', '', 'link_color' );
-
-/**
- * Site tagline color
- * Empty: text_color
- */
-generate_colors_live_update( 'site_tagline_color', '.site-description', 'color', '', 'text_color' );
-
-/**
- * Main navigation background
- * Empty: transparent
- */
-generate_colors_live_update( 'navigation_background_color', '.main-navigation', 'background-color', 'transparent' );
-
-/**
- * Primary navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'navigation_text_color',
- '.main-navigation .main-nav ul li a,\
- .menu-toggle,button.menu-toggle:hover,\
- button.menu-toggle:focus,\
- .main-navigation .mobile-bar-items a,\
- .main-navigation .mobile-bar-items a:hover,\
- .main-navigation .mobile-bar-items a:focus,\
- .main-navigation .menu-bar-items',
- 'color', '', 'link_color'
-);
-
-/**
- * Primary navigation text color hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'navigation_text_hover_color',
- '.navigation-search input[type="search"],\
- .navigation-search input[type="search"]:active,\
- .navigation-search input[type="search"]:focus,\
- .main-navigation .main-nav ul li:hover > a,\
- .main-navigation .main-nav ul li:focus > a,\
- .main-navigation .main-nav ul li.sfHover > a,\
- .main-navigation .menu-bar-item:hover a',
- 'color', '', 'link_color_hover'
-);
-
-/**
- * Primary navigation menu item hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'navigation_background_hover_color',
- '.navigation-search input[type="search"],\
- .navigation-search input[type="search"]:focus,\
- .main-navigation .main-nav ul li:hover > a,\
- .main-navigation .main-nav ul li:focus > a,\
- .main-navigation .main-nav ul li.sfHover > a,\
- .main-navigation .menu-bar-item:hover a',
- 'background-color', 'transparent'
-);
-
-/**
- * Primary sub-navigation color
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_color', '.main-navigation ul ul', 'background-color', 'transparent' );
-
-/**
- * Primary sub-navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'subnavigation_text_color', '.main-navigation .main-nav ul ul li a', 'color', 'link_color' );
-
-/**
- * Primary sub-navigation hover
- */
-var subnavigation_hover = '.main-navigation .main-nav ul ul li:hover > a, \
- .main-navigation .main-nav ul ul li:focus > a, \
- .main-navigation .main-nav ul ul li.sfHover > a';
-
-/**
- * Primary sub-navigation text hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'subnavigation_text_hover_color', subnavigation_hover, 'color', '', 'link_color_hover' );
-
-/**
- * Primary sub-navigation background hover
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_hover_color', subnavigation_hover, 'background-color', 'transparent' );
-
-/**
- * Navigation current selectors
- */
-var navigation_current = '.main-navigation .main-nav ul li[class*="current-menu-"] > a, \
- .main-navigation .main-nav ul li[class*="current-menu-"]:hover > a, \
- .main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Primary navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'navigation_text_current_color', navigation_current, 'color', '', 'link_color' );
-
-/**
- * Primary navigation current text
- * Empty: transparent
- */
-generate_colors_live_update( 'navigation_background_current_color', navigation_current, 'background-color', 'transparent' );
-
-/**
- * Primary sub-navigation current selectors
- */
-var subnavigation_current = '.main-navigation .main-nav ul ul li[class*="current-menu-"] > a,\
- .main-navigation .main-nav ul ul li[class*="current-menu-"]:hover > a, \
- .main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Primary sub-navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'subnavigation_text_current_color', subnavigation_current, 'color', '', 'link_color' );
-
-/**
- * Primary navigation current item background
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_current_color', subnavigation_current, 'background-color', 'transparent' );
-
-/**
- * Secondary navigation background
- * Empty: transparent
- */
-generate_colors_live_update( 'navigation_background_color', '.secondary-navigation', 'background-color', 'transparent', '', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'navigation_text_color',
- '.secondary-navigation .main-nav ul li a,\
- .secondary-navigation .menu-toggle,\
- button.secondary-menu-toggle:hover,\
- button.secondary-menu-toggle:focus, \
- .secondary-navigation .top-bar, \
- .secondary-navigation .top-bar a,\
- .secondary-menu-bar-items,\
- .secondary-menu-bar-items .menu-bar-item > a',
- 'color', '', 'link_color', 'generate_secondary_nav_settings'
-);
-
-/**
- * Navigation search
- */
-wp.customize( 'generate_settings[navigation_search_background_color]', function( value ) {
- value.bind( function( newval ) {
- if ( jQuery( 'style#navigation_search_background_color' ).length ) {
- jQuery( 'style#navigation_search_background_color' ).html( '.navigation-search input[type="search"],.navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a{background-color:' + newval + ';}' );
- } else {
- jQuery( 'head' ).append( '' );
- setTimeout(function() {
- jQuery( 'style#navigation_search_background_color' ).not( ':last' ).remove();
- }, 1000);
- }
-
- if ( jQuery( 'style#navigation_search_background_opacity' ).length ) {
- if ( newval ) {
- jQuery( 'style#navigation_search_background_opacity' ).html( '.navigation-search input{opacity: 1;}' );
- } else {
- jQuery( 'style#navigation_search_background_opacity' ).html( '.navigation-search input{opacity: 0.9;}' );
- }
- } else {
- if ( newval ) {
- jQuery( 'head' ).append( '' );
- }
-
- setTimeout(function() {
- jQuery( 'style#navigation_search_background_opacity' ).not( ':last' ).remove();
- }, 1000);
- }
- } );
-} );
-
-generate_colors_live_update( 'navigation_search_text_color', '.navigation-search input[type="search"],.navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a', 'color', '' );
-
-/**
- * Secondary navigation text color hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'navigation_text_hover_color',
- '.secondary-navigation .main-nav ul li:hover > a, \
- .secondary-navigation .main-nav ul li:focus > a, \
- .secondary-navigation .main-nav ul li.sfHover > a,\
- .secondary-menu-bar-items .menu-bar-item:hover > a',
- 'color', '', 'link_color_hover', 'generate_secondary_nav_settings'
-);
-
-/**
- * Secondary navigation menu item hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'navigation_background_hover_color',
- '.secondary-navigation .main-nav ul li:hover > a, \
- .secondary-navigation .main-nav ul li:focus > a, \
- .secondary-navigation .main-nav ul li.sfHover > a, \
- .secondary-menu-bar-items .menu-bar-item:hover > a',
- 'background-color', 'transparent', '', 'generate_secondary_nav_settings'
-);
-
-/**
- * Secondary navigation top bar link hover
- */
-wp.customize( 'generate_secondary_nav_settings[navigation_background_hover_color]', function( value ) {
- value.bind( function( newval ) {
- if ( jQuery( 'style#secondary_nav_top_bar_hover' ).length ) {
- jQuery( 'style#secondary_nav_top_bar_hover' ).html( '.secondary-navigation .top-bar a:hover,.secondary-navigation .top-bar a:focus{color:' + newval + ';}' );
- } else {
- jQuery( 'head' ).append( '' );
- setTimeout(function() {
- jQuery( 'style#secondary_nav_top_bar_hover' ).not( ':last' ).remove();
- }, 1000);
- }
- } );
-} );
-
-generate_colors_live_update( 'navigation_top_bar_hover_color',
- '.secondary-navigation .top-bar a:hover, \
- .secondary-navigation .top-bar a:focus',
- 'color', 'transparent', '', 'generate_secondary_nav_settings'
-);
-
-/**
- * Secondary sub-navigation color
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_color', '.secondary-navigation ul ul', 'background-color', 'transparent', '', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary sub-navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'subnavigation_text_color', '.secondary-navigation .main-nav ul ul li a', 'color', '', 'link_color', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary sub-navigation hover
- */
-var secondary_subnavigation_hover = '.secondary-navigation .main-nav ul ul li > a:hover, \
- .secondary-navigation .main-nav ul ul li:focus > a, \
- .secondary-navigation .main-nav ul ul li.sfHover > a';
-
-/**
- * Secondary sub-navigation text hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'subnavigation_text_hover_color', secondary_subnavigation_hover, 'color', '', 'link_color_hover', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary sub-navigation background hover
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_hover_color', secondary_subnavigation_hover, 'background-color', 'transparent', '', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary navigation current selectors
- */
-var secondary_navigation_current = '.secondary-navigation .main-nav ul li[class*="current-menu-"] > a, \
- .secondary-navigation .main-nav ul li[class*="current-menu-"]:hover > a, \
- .secondary-navigation .main-nav ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Secondary navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'navigation_text_current_color', secondary_navigation_current, 'color', '', 'link_color', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary navigation current text
- * Empty: transparent
- */
-generate_colors_live_update( 'navigation_background_current_color', secondary_navigation_current, 'background-color', 'transparent', '', 'generate_secondary_nav_settings' );
-
-/**
- * Secondary sub-navigation current selectors
- */
-var secondary_subnavigation_current = '.secondary-navigation .main-nav ul ul li[class*="current-menu-"] > a,\
- .secondary-navigation .main-nav ul ul li[class*="current-menu-"]:hover > a, \
- .secondary-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Secondary sub-navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'subnavigation_text_current_color', secondary_subnavigation_current, 'color', '', 'link_color', 'generate_secondary_nav_settings' );
-
-/**
- * Primary navigation current item background
- * Empty: transparent
- */
-generate_colors_live_update( 'subnavigation_background_current_color', secondary_subnavigation_current, 'background-color', 'transparent', '', 'generate_secondary_nav_settings' );
-
-/**
- * Content selectors
- */
-var content = '.separate-containers .inside-article,\
- .separate-containers .comments-area,\
- .separate-containers .page-header,\
- .one-container .container,\
- .separate-containers .paging-navigation,\
- .inside-page-header';
-
-/**
- * Content background
- * Empty: transparent
- */
-generate_colors_live_update( 'content_background_color', content, 'background-color', 'transparent' );
-
-/**
- * Content text color
- * Empty: text_color
- */
-generate_colors_live_update( 'content_text_color', content, 'color', '', 'text_color' );
-
-/**
- * Content links
- * Empty: link_color
- */
-generate_colors_live_update( 'content_link_color',
- '.inside-article a:not(.button):not(.wp-block-button__link)[data-content-link-color=true], \
- .inside-article a:not(.button):not(.wp-block-button__link)[data-content-link-color=true]:visited,\
- .paging-navigation a,\
- .paging-navigation a:visited,\
- .comments-area a,\
- .comments-area a:visited,\
- .page-header a,\
- .page-header a:visited',
- 'color', '', 'link_color'
-);
-
-/**
- * Content links on hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'content_link_hover_color',
- '.inside-article a:not(.button):not(.wp-block-button__link)[data-content-link-color=true]:hover,\
- .paging-navigation a:hover,\
- .comments-area a:hover,\
- .page-header a:hover',
- 'color', '', 'link_color_hover'
-);
-
-generate_colors_live_update( 'content_title_color', '.entry-header h1,.page-header h1', 'color', 'inherit', 'text_color' );
-generate_colors_live_update( 'blog_post_title_color', '.entry-title a,.entry-title a:visited', 'color', '', 'link_color' );
-generate_colors_live_update( 'blog_post_title_hover_color', '.entry-title a:hover', 'color', '', 'link_color_hover' );
-generate_colors_live_update( 'entry_meta_text_color', '.entry-meta', 'color', '', 'text_color' );
-generate_colors_live_update( 'entry_meta_link_color', '.entry-meta a, .entry-meta a:visited', 'color', '', 'link_color' );
-generate_colors_live_update( 'entry_meta_link_color_hover', '.entry-meta a:hover', 'color', '', 'link_color_hover' );
-generate_colors_live_update( 'h1_color', 'h1', 'color', '', 'text_color' );
-generate_colors_live_update( 'h2_color', 'h2', 'color', '', 'text_color' );
-generate_colors_live_update( 'h3_color', 'h3', 'color', '', 'text_color' );
-generate_colors_live_update( 'h4_color', 'h4', 'color', '', 'text_color' );
-generate_colors_live_update( 'h5_color', 'h5', 'color', '', 'text_color' );
-generate_colors_live_update( 'sidebar_widget_background_color', '.sidebar .widget', 'background-color', 'transparent' );
-generate_colors_live_update( 'sidebar_widget_text_color', '.sidebar .widget', 'color', '', 'text_color' );
-generate_colors_live_update( 'sidebar_widget_link_color', '.sidebar .widget a, .sidebar .widget a:visited', 'color', '', 'link_color' );
-generate_colors_live_update( 'sidebar_widget_link_hover_color', '.sidebar .widget a:hover', 'color', '', 'link_color_hover' );
-generate_colors_live_update( 'sidebar_widget_title_color', '.sidebar .widget .widget-title', 'color', '', 'text_color' );
-generate_colors_live_update( 'footer_widget_background_color', '.footer-widgets', 'background-color', 'transparent' );
-generate_colors_live_update( 'footer_widget_text_color', '.footer-widgets', 'color', '', 'text_color' );
-generate_colors_live_update( 'footer_widget_link_color', '.footer-widgets a, .footer-widgets a:visited', 'color', '', 'link_color' );
-generate_colors_live_update( 'footer_widget_link_hover_color', '.footer-widgets a:hover', 'color', '', 'link_color_hover' );
-generate_colors_live_update( 'footer_widget_title_color', '.footer-widgets .widget-title', 'color', '', 'text_color' );
-generate_colors_live_update( 'footer_background_color', '.site-info', 'background-color', 'transparent' );
-generate_colors_live_update( 'footer_text_color', '.site-info', 'color', '', 'text_color' );
-generate_colors_live_update( 'footer_link_color', '.site-info a, .site-info a:visited', 'color', '', 'link_color' );
-generate_colors_live_update( 'footer_link_hover_color', '.site-info a:hover', 'color', '', 'link_color_hover' );
-
-/**
- * Form selectors
- */
-var forms = 'input[type="text"], \
- input[type="email"], \
- input[type="url"], \
- input[type="password"], \
- input[type="search"], \
- input[type="number"], \
- input[type="tel"], \
- textarea, \
- select';
-
-/**
- * Form background
- * Empty: inherit
- */
-generate_colors_live_update( 'form_background_color', forms, 'background-color', 'inherit' );
-
-/**
- * Border color
- * Empty: inherit
- */
-generate_colors_live_update( 'form_border_color', forms, 'border-color' );
-
-/**
- * Form text color
- * Empty: text_color
- */
-generate_colors_live_update( 'form_text_color', forms, 'color', '', 'text_color' );
-
-/**
- * Form background on focus selectors
- * Empty: inherit
- */
-var forms_focus = 'input[type="text"]:focus, \
- input[type="email"]:focus, \
- input[type="url"]:focus, \
- input[type="password"]:focus, \
- input[type="search"]:focus,\
- input[type="number"]:focus,\
- input[type="tel"]:focus, \
- textarea:focus, \
- select:focus';
-
-/**
- * Form background color on focus
- * Empty: initial
- */
-generate_colors_live_update( 'form_background_color_focus', forms_focus, 'background-color' );
-
-/**
- * Form text color on focus
- * Empty: initial
- */
-generate_colors_live_update( 'form_text_color_focus', forms_focus, 'color' );
-
-/**
- * Form border color on focus
- * Empty: initial
- */
-generate_colors_live_update( 'form_border_color_focus', forms_focus, 'border-color' );
-
-/**
- * Button selectors
- */
-var button = 'button, \
- html input[type="button"], \
- input[type="reset"], \
- input[type="submit"],\
- a.button,\
- a.button:visited,\
- a.wp-block-button__link:not(.has-background)';
-
-/**
- * Button background
- * Empty: initial
- */
-generate_colors_live_update( 'form_button_background_color', button, 'background-color' );
-
-/**
- * Button text
- * Empty: initial
- */
-generate_colors_live_update( 'form_button_text_color', button, 'color' );
-
-/**
- * Button on hover/focus selectors
- * Empty: initial
- */
-var button_hover = 'button:hover, \
- html input[type="button"]:hover, \
- input[type="reset"]:hover, \
- input[type="submit"]:hover,\
- a.button:hover,\
- button:focus, \
- html input[type="button"]:focus, \
- input[type="reset"]:focus, \
- input[type="submit"]:focus,\
- a.button:focus,\
- a.wp-block-button__link:not(.has-background):active,\
- a.wp-block-button__link:not(.has-background):focus,\
- a.wp-block-button__link:not(.has-background):hover';
-
-/**
- * Button color on hover
- * Empty: initial
- */
-generate_colors_live_update( 'form_button_background_color_hover', button_hover, 'background-color' );
-
-/**
- * Button text color on hover
- * Empty: initial
- */
-generate_colors_live_update( 'form_button_text_color_hover', button_hover, 'color' );
-
-/**
- * Back to top background color
- * Empty: transparent
- */
-generate_colors_live_update( 'back_to_top_background_color', 'a.generate-back-to-top', 'background-color', 'transparent' );
-
-/**
- * Back to top text color
- * Empty: text_color
- */
-generate_colors_live_update( 'back_to_top_text_color', 'a.generate-back-to-top', 'color', '', 'text_color' );
-
-/**
- * Back to top background color hover
- * Empty: transparent
- */
-generate_colors_live_update( 'back_to_top_background_color_hover', 'a.generate-back-to-top:hover,a.generate-back-to-top:focus', 'background-color', 'transparent' );
-
-/**
- * Back to top text color hover
- * Empty: text_color
- */
-generate_colors_live_update( 'back_to_top_text_color_hover', 'a.generate-back-to-top:hover,a.generate-back-to-top:focus', 'color', '', 'text_color' );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/menu-plus-customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/menu-plus-customizer.js
deleted file mode 100644
index f74fa31e..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/menu-plus-customizer.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- * Main navigation background
- * Empty: transparent
- */
-generate_colors_live_update( 'slideout_background_color', '.main-navigation.slideout-navigation', 'background-color', '' );
-
-/**
- * Primary navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'slideout_text_color', '.slideout-navigation.main-navigation .main-nav ul li a, .slideout-navigation a, .slideout-navigation', 'color', '' );
-
-/**
- * Primary navigation text color hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'slideout_text_hover_color',
- '.slideout-navigation.main-navigation .main-nav ul li:hover > a,\
- .slideout-navigation.main-navigation .main-nav ul li:focus > a,\
- .slideout-navigation.main-navigation .main-nav ul li.sfHover > a',
- 'color', ''
-);
-
-/**
- * Primary navigation menu item hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'slideout_background_hover_color',
- '.slideout-navigation.main-navigation .main-nav ul li:hover > a,\
- .slideout-navigation.main-navigation .main-nav ul li:focus > a,\
- .slideout-navigation.main-navigation .main-nav ul li.sfHover > a',
- 'background-color', 'transparent'
-);
-
-/**
- * Primary sub-navigation color
- * Empty: transparent
- */
-generate_colors_live_update( 'slideout_submenu_background_color', '.slideout-navigation.main-navigation ul ul', 'background-color', '' );
-
-/**
- * Primary sub-navigation text color
- * Empty: link_color
- */
-generate_colors_live_update( 'slideout_submenu_text_color', '.slideout-navigation.main-navigation .main-nav ul ul li a', 'color', '' );
-
-/**
- * Primary sub-navigation hover
- */
-var slideout_submenu_hover = '.slideout-navigation.main-navigation .main-nav ul ul li:hover > a,\
- .slideout-navigation.main-navigation .main-nav ul ul li:focus > a,\
- .slideout-navigation.main-navigation .main-nav ul ul li.sfHover > a';
-
-/**
- * Primary sub-navigation text hover
- * Empty: link_color_hover
- */
-generate_colors_live_update( 'slideout_submenu_text_hover_color', slideout_submenu_hover, 'color', '' );
-
-/**
- * Primary sub-navigation background hover
- * Empty: transparent
- */
-generate_colors_live_update( 'slideout_submenu_background_hover_color', slideout_submenu_hover, 'background-color', '' );
-
-/**
- * Navigation current selectors
- */
-var slideout_current = '.slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a,\
- .slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,\
- .slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Primary navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'slideout_text_current_color', slideout_current, 'color', '' );
-
-/**
- * Primary navigation current text
- * Empty: transparent
- */
-generate_colors_live_update( 'slideout_background_current_color', slideout_current, 'background-color' );
-
-/**
- * Primary sub-navigation current selectors
- */
-var slideout_submenu_current = '.slideout-navigation.main-navigation .main-nav ul ul li[class*="current-menu-"] > a,\
- .slideout-navigation.main-navigation .main-nav ul ul li[class*="current-menu-"] > a:hover,\
- .slideout-navigation.main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a';
-
-/**
- * Primary sub-navigation current text
- * Empty: link_color
- */
-generate_colors_live_update( 'slideout_submenu_text_current_color', slideout_submenu_current, 'color', '' );
-
-/**
- * Primary navigation current item background
- * Empty: transparent
- */
-generate_colors_live_update( 'slideout_submenu_background_current_color', slideout_submenu_current, 'background-color' );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/wc-customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/wc-customizer.js
deleted file mode 100644
index b694f300..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/js/wc-customizer.js
+++ /dev/null
@@ -1,161 +0,0 @@
-/**
- * WooCommerce link color
- */
-generate_colors_live_update( 'wc_product_title_color', '.woocommerce ul.products li.product .woocommerce-LoopProduct-link', 'color', '', 'link_color' );
-generate_colors_live_update( 'wc_product_title_color_hover', '.woocommerce ul.products li.product .woocommerce-LoopProduct-link:hover', 'color', '', 'link_color_hover' );
-
-/**
- * WooCommerce primary button
- */
-var wc_button = '.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, button, \
- html input[type="button"], \
- input[type="reset"], \
- input[type="submit"],\
- .button,\
- .button:visited';
-generate_colors_live_update( 'form_button_background_color', wc_button, 'background-color' );
-generate_colors_live_update( 'form_button_text_color', wc_button, 'color' );
-
-/**
- * WooCommerce primary button hover
- */
-var wc_button_hover = '.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,button:hover, \
- html input[type="button"]:hover, \
- input[type="reset"]:hover, \
- input[type="submit"]:hover,\
- .button:hover,\
- button:focus, \
- html input[type="button"]:focus, \
- input[type="reset"]:focus, \
- input[type="submit"]:focus,\
- .button:focus';
-generate_colors_live_update( 'form_button_background_color_hover', wc_button_hover, 'background-color' );
-generate_colors_live_update( 'form_button_text_color_hover', wc_button_hover, 'color' );
-
-/**
- * WooCommerce alt button
- */
-var wc_alt_button = '.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt';
-generate_colors_live_update( 'wc_alt_button_background', wc_alt_button, 'background-color' );
-generate_colors_live_update( 'wc_alt_button_text', wc_alt_button, 'color' );
-
-/**
- * WooCommerce alt button hover
- */
-var wc_alt_button_hover = '.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover';
-generate_colors_live_update( 'wc_alt_button_background_hover', wc_alt_button_hover, 'background-color' );
-generate_colors_live_update( 'wc_alt_button_text_hover', wc_alt_button_hover, 'color' );
-
-/**
- * WooCommerce star ratings
- */
-var wc_stars = '.woocommerce .star-rating span:before, .woocommerce .star-rating:before';
-generate_colors_live_update( 'wc_rating_stars', wc_stars, 'color' );
-
-/**
- * WooCommerce sale sticker
- */
-var wc_sale_sticker = '.woocommerce span.onsale';
-generate_colors_live_update( 'wc_sale_sticker_background', wc_sale_sticker, 'background-color' );
-generate_colors_live_update( 'wc_sale_sticker_text', wc_sale_sticker, 'color' );
-
-/**
- * WooCommerce price
- */
-var wc_price = '.woocommerce ul.products li.product .price, .woocommerce div.product p.price';
-generate_colors_live_update( 'wc_price_color', wc_price, 'color' );
-
-/**
- * WooCommerce product tab text
- */
-var wc_product_tab = '.woocommerce div.product .woocommerce-tabs ul.tabs li a';
-generate_colors_live_update( 'wc_product_tab', wc_product_tab, 'color' );
-
-/**
- * WooCommerce product tab text highlight/active
- */
-var wc_product_tab_active = '.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover, .woocommerce div.product .woocommerce-tabs ul.tabs li.active a';
-generate_colors_live_update( 'wc_product_tab_highlight', wc_product_tab_active, 'color' );
-
-/**
- * WooCommerce success message
- */
-var wc_success_message = '.woocommerce-message';
-generate_colors_live_update( 'wc_success_message_background', wc_success_message, 'background-color' );
-generate_colors_live_update( 'wc_success_message_text', wc_success_message + ', div.woocommerce-message a.button, div.woocommerce-message a.button:focus, div.woocommerce-message a.button:hover, div.woocommerce-message a, div.woocommerce-message a:focus, div.woocommerce-message a:hover', 'color' );
-
-/**
- * WooCommerce info message
- */
-var wc_info_message = '.woocommerce-info';
-generate_colors_live_update( 'wc_info_message_background', wc_info_message, 'background-color' );
-generate_colors_live_update( 'wc_info_message_text', wc_info_message + ', div.woocommerce-info a.button, div.woocommerce-info a.button:focus, div.woocommerce-info a.button:hover, div.woocommerce-info a, div.woocommerce-info a:focus, div.woocommerce-info a:hover', 'color' );
-
-/**
- * WooCommerce error message
- */
-var wc_error_message = '.woocommerce-error';
-generate_colors_live_update( 'wc_error_message_background', wc_error_message, 'background-color' );
-generate_colors_live_update( 'wc_error_message_text', wc_error_message + ', div.woocommerce-error a.button, div.woocommerce-error a.button:focus, div.woocommerce-error a.button:hover, div.woocommerce-error a, div.woocommerce-error a:focus, div.woocommerce-error a:hover', 'color' );
-
-/**
- * Menu Mini Cart
- */
-generate_colors_live_update( 'wc_mini_cart_background_color', '#wc-mini-cart', 'background-color' );
-generate_colors_live_update( 'wc_mini_cart_text_color', '#wc-mini-cart,#wc-mini-cart a:not(.button), #wc-mini-cart a.remove', 'color' );
-
-generate_colors_live_update( 'wc_mini_cart_button_background', '#wc-mini-cart .button.checkout', 'background-color' );
-generate_colors_live_update( 'wc_mini_cart_button_text', '#wc-mini-cart .button.checkout', 'color' );
-
-generate_colors_live_update( 'wc_mini_cart_button_background_hover', '#wc-mini-cart .button.checkout:hover, #wc-mini-cart .button.checkout:focus, #wc-mini-cart .button.checkout:active', 'background-color' );
-generate_colors_live_update( 'wc_mini_cart_button_text_hover', '#wc-mini-cart .button.checkout:hover, #wc-mini-cart .button.checkout:focus, #wc-mini-cart .button.checkout:active', 'color' );
-
-/**
- * Sticky panel cart button
- */
- generate_colors_live_update( 'wc_panel_cart_background_color', '.add-to-cart-panel', 'background-color' );
- generate_colors_live_update( 'wc_panel_cart_text_color', '.add-to-cart-panel, .add-to-cart-panel a:not(.button)', 'color' );
-
- generate_colors_live_update( 'wc_panel_cart_button_background', '#wc-sticky-cart-panel .button', 'background-color' );
- generate_colors_live_update( 'wc_panel_cart_button_text', '#wc-sticky-cart-panel .button', 'color' );
-
- generate_colors_live_update( 'wc_panel_cart_button_background_hover', '#wc-sticky-cart-panel .button:hover, #wc-sticky-cart-panel .button:focus, #wc-sticky-cart-panel .button:active', 'background-color' );
- generate_colors_live_update( 'wc_panel_cart_button_text_hover', '#wc-sticky-cart-panel .button:hover, #wc-sticky-cart-panel .button:focus, #wc-sticky-cart-panel .button:active', 'color' );
-
-/**
- * Price slider bar
- */
-generate_colors_live_update( 'wc_price_slider_background_color', '.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content', 'background-color' );
-generate_colors_live_update( 'wc_price_slider_bar_color', '.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle', 'background-color' );
-
-// Archive product description text
-wp.customize( 'generate_settings[text_color]', function( value ) {
- value.bind( function( newval ) {
- if ( ! wp.customize.value('generate_settings[content_text_color]')() ) {
- if ( jQuery( 'style#wc_desc_color' ).length ) {
- jQuery( 'style#wc_desc_color' ).html( '.woocommerce-product-details__short-description{color:' + newval + ';}' );
- } else {
- jQuery( 'head' ).append( '' );
- setTimeout(function() {
- jQuery( 'style#wc_desc_color' ).not( ':last' ).remove();
- }, 1000);
- }
- }
- } );
-} );
-
-wp.customize( 'generate_settings[content_text_color]', function( value ) {
- value.bind( function( newval ) {
- if ( '' == newval ) {
- newval = wp.customize.value('generate_settings[text_color]')();
- }
- if ( jQuery( 'style#wc_desc_color' ).length ) {
- jQuery( 'style#wc_desc_color' ).html( '.woocommerce-product-details__short-description{color:' + newval + ';}' );
- } else {
- jQuery( 'head' ).append( '' );
- setTimeout(function() {
- jQuery( 'style#wc_desc_color' ).not( ':last' ).remove();
- }, 1000);
- }
- } );
-} );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/secondary-nav-colors.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/secondary-nav-colors.php
deleted file mode 100644
index 7c3ee911..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/secondary-nav-colors.php
+++ /dev/null
@@ -1,403 +0,0 @@
-get_section( 'secondary_nav_section' ) ) {
- return;
- }
-
- // Bail if we don't have our color defaults.
- if ( ! function_exists( 'generate_secondary_nav_get_defaults' ) ) {
- return;
- }
-
- // Add our controls.
- require_once GP_LIBRARY_DIRECTORY . 'customizer-helpers.php';
-
- // Get our defaults.
- $defaults = generate_secondary_nav_get_defaults();
-
- // Add control types so controls can be built using JS.
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Alpha_Color_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Title_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- // Get our palettes.
- $palettes = generate_get_default_color_palettes();
-
- // Add Secondary Navigation section.
- $wp_customize->add_section(
- 'secondary_navigation_color_section',
- array(
- 'title' => __( 'Secondary Navigation', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 71,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_secondary_navigation_color_shortcuts',
- array(
- 'section' => 'secondary_navigation_color_section',
- 'element' => __( 'Secondary Navigation', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'secondary_nav_section',
- 'typography' => 'secondary_font_section',
- 'backgrounds' => 'secondary_bg_images_section',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_secondary_navigation_items',
- array(
- 'section' => 'secondary_navigation_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Parent Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Background.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_background_color]',
- array(
- 'default' => $defaults['navigation_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_navigation_background_color',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_text_color]',
- array(
- 'default' => $defaults['navigation_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_navigation_text_color',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_text_color]',
- )
- )
- );
-
- // Background hover.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_background_hover_color]',
- array(
- 'default' => $defaults['navigation_background_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_navigation_background_hover_color',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_background_hover_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text hover.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_text_hover_color]',
- array(
- 'default' => $defaults['navigation_text_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_navigation_text_hover_color',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_text_hover_color]',
- )
- )
- );
-
- // Background current.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_background_current_color]',
- array(
- 'default' => $defaults['navigation_background_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_navigation_background_current_color',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_background_current_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text current.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[navigation_text_current_color]',
- array(
- 'default' => $defaults['navigation_text_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_navigation_text_current_color',
- array(
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[navigation_text_current_color]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_secondary_navigation_sub_menu_items',
- array(
- 'section' => 'secondary_navigation_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Sub-Menu Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Background.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_background_color]',
- array(
- 'default' => $defaults['subnavigation_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_subnavigation_background_color',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_text_color]',
- array(
- 'default' => $defaults['subnavigation_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_subnavigation_text_color',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_text_color]',
- )
- )
- );
-
- // Background hover.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_background_hover_color]',
- array(
- 'default' => $defaults['subnavigation_background_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_subnavigation_background_hover_color',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_background_hover_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text hover.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_text_hover_color]',
- array(
- 'default' => $defaults['subnavigation_text_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_subnavigation_text_hover_color',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_text_hover_color]',
- )
- )
- );
-
- // Background current.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_background_current_color]',
- array(
- 'default' => $defaults['subnavigation_background_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'secondary_subnavigation_background_current_color',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_background_current_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text current.
- $wp_customize->add_setting(
- 'generate_secondary_nav_settings[subnavigation_text_current_color]',
- array(
- 'default' => $defaults['subnavigation_text_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'secondary_subnavigation_text_current_color',
- array(
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'section' => 'secondary_navigation_color_section',
- 'settings' => 'generate_secondary_nav_settings[subnavigation_text_current_color]',
- )
- )
- );
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/slideout-nav-colors.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/slideout-nav-colors.php
deleted file mode 100644
index f479dd6e..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/slideout-nav-colors.php
+++ /dev/null
@@ -1,400 +0,0 @@
-get_section( 'menu_plus_slideout_menu' ) ) {
- return;
- }
-
- // Bail if we don't have our color defaults.
- if ( ! function_exists( 'generate_get_color_defaults' ) ) {
- return;
- }
-
- // Add our controls.
- require_once GP_LIBRARY_DIRECTORY . 'customizer-helpers.php';
-
- // Get our defaults.
- $defaults = generate_get_color_defaults();
-
- // Add control types so controls can be built using JS.
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Alpha_Color_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- // Get our palettes.
- $palettes = generate_get_default_color_palettes();
-
- // Add Secondary Navigation section.
- $wp_customize->add_section(
- 'slideout_color_section',
- array(
- 'title' => __( 'Off Canvas Panel', 'gp-premium' ),
- 'capability' => 'edit_theme_options',
- 'priority' => 73,
- 'panel' => 'generate_colors_panel',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_off_canvas_color_shortcuts',
- array(
- 'section' => 'slideout_color_section',
- 'element' => __( 'Off Canvas Panel', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'menu_plus_slideout_menu',
- 'typography' => 'generate_slideout_typography',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 1,
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_slideout_navigation_items',
- array(
- 'section' => 'slideout_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Parent Menu Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Background.
- $wp_customize->add_setting(
- 'generate_settings[slideout_background_color]',
- array(
- 'default' => $defaults['slideout_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text.
- $wp_customize->add_setting(
- 'generate_settings[slideout_text_color]',
- array(
- 'default' => $defaults['slideout_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_text_color]',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_text_color]',
- )
- )
- );
-
- // Background hover.
- $wp_customize->add_setting(
- 'generate_settings[slideout_background_hover_color]',
- array(
- 'default' => $defaults['slideout_background_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_background_hover_color]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_background_hover_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text hover.
- $wp_customize->add_setting(
- 'generate_settings[slideout_text_hover_color]',
- array(
- 'default' => $defaults['slideout_text_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_text_hover_color]',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_text_hover_color]',
- )
- )
- );
-
- // Background current.
- $wp_customize->add_setting(
- 'generate_settings[slideout_background_current_color]',
- array(
- 'default' => $defaults['slideout_background_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_background_current_color]',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_background_current_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text current.
- $wp_customize->add_setting(
- 'generate_settings[slideout_text_current_color]',
- array(
- 'default' => $defaults['slideout_text_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_text_current_color]',
- array(
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_text_current_color]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_slideout_navigation_sub_menu_items',
- array(
- 'section' => 'slideout_color_section',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Sub-Menu Items', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- // Background.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_background_color]',
- array(
- 'default' => $defaults['slideout_submenu_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_background_color]',
- array(
- 'label' => __( 'Background', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_text_color]',
- array(
- 'default' => $defaults['slideout_submenu_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_text_color]',
- array(
- 'label' => __( 'Text', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_text_color]',
- )
- )
- );
-
- // Background hover.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_background_hover_color]',
- array(
- 'default' => $defaults['slideout_submenu_background_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_background_hover_color]',
- array(
- 'label' => __( 'Background Hover', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_background_hover_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text hover.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_text_hover_color]',
- array(
- 'default' => $defaults['slideout_submenu_text_hover_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_text_hover_color]',
- array(
- 'label' => __( 'Text Hover', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_text_hover_color]',
- )
- )
- );
-
- // Background current.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_background_current_color]',
- array(
- 'default' => $defaults['slideout_submenu_background_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_background_current_color]',
- array(
- 'label' => __( 'Background Current', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_background_current_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- // Text current.
- $wp_customize->add_setting(
- 'generate_settings[slideout_submenu_text_current_color]',
- array(
- 'default' => $defaults['slideout_submenu_text_current_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[slideout_submenu_text_current_color]',
- array(
- 'label' => __( 'Text Current', 'gp-premium' ),
- 'section' => 'slideout_color_section',
- 'settings' => 'generate_settings[slideout_submenu_text_current_color]',
- )
- )
- );
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/woocommerce-colors.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/woocommerce-colors.php
deleted file mode 100644
index 6c453815..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/functions/woocommerce-colors.php
+++ /dev/null
@@ -1,911 +0,0 @@
-get_section( 'generate_woocommerce_colors' ) ) {
- return;
- }
-
- if ( ! function_exists( 'generate_get_color_defaults' ) ) {
- return;
- }
-
- // Add our controls.
- require_once GP_LIBRARY_DIRECTORY . 'customizer-helpers.php';
-
- // Get our defaults.
- $defaults = generate_get_color_defaults();
-
- // Add control types so controls can be built using JS.
- if ( method_exists( $wp_customize, 'register_control_type' ) ) {
- $wp_customize->register_control_type( 'GeneratePress_Alpha_Color_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Title_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Information_Customize_Control' );
- $wp_customize->register_control_type( 'GeneratePress_Section_Shortcut_Control' );
- }
-
- // Get our palettes.
- $palettes = generate_get_default_color_palettes();
-
- $wp_customize->add_control(
- new GeneratePress_Section_Shortcut_Control(
- $wp_customize,
- 'generate_woocommerce_color_shortcuts',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'element' => __( 'WooCommerce', 'gp-premium' ),
- 'shortcuts' => array(
- 'layout' => 'generate_woocommerce_layout',
- 'typography' => 'generate_woocommerce_typography',
- ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- 'priority' => 0,
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_button_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Buttons', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Information_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_primary_button_message',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'label' => __( 'Primary Button Colors', 'gp-premium' ),
- 'description' => __( 'Primary button colors can be set here .', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_alt_button_background]',
- array(
- 'default' => $defaults['wc_alt_button_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_alt_button_background]',
- array(
- 'label' => __( 'Alt Button Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_alt_button_background]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_alt_button_background_hover]',
- array(
- 'default' => $defaults['wc_alt_button_background_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_alt_button_background_hover]',
- array(
- 'label' => __( 'Alt Button Background Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_alt_button_background_hover]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_alt_button_text]',
- array(
- 'default' => $defaults['wc_alt_button_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_alt_button_text]',
- array(
- 'label' => __( 'Alt Button Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_alt_button_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_alt_button_text_hover]',
- array(
- 'default' => $defaults['wc_alt_button_text_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_alt_button_text_hover]',
- array(
- 'label' => __( 'Alt Button Text Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_alt_button_text_hover]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_product_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Products', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_product_title_color]',
- array(
- 'default' => $defaults['wc_product_title_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_product_title_color]',
- array(
- 'label' => __( 'Product Title', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_product_title_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_product_title_color_hover]',
- array(
- 'default' => $defaults['wc_product_title_color_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_product_title_color_hover]',
- array(
- 'label' => __( 'Product Title Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_product_title_color_hover]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_rating_stars]',
- array(
- 'default' => $defaults['wc_rating_stars'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => '',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_rating_stars]',
- array(
- 'label' => __( 'Star Ratings', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_rating_stars]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_sale_sticker_background]',
- array(
- 'default' => $defaults['wc_sale_sticker_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_sale_sticker_background]',
- array(
- 'label' => __( 'Sale Sticker Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_sale_sticker_background]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_sale_sticker_text]',
- array(
- 'default' => $defaults['wc_sale_sticker_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_sale_sticker_text]',
- array(
- 'label' => __( 'Sale Sticker Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_sale_sticker_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_price_color]',
- array(
- 'default' => $defaults['wc_price_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_price_color]',
- array(
- 'label' => __( 'Price', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_price_color]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_panel_cart_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Sticky Panel Cart', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_background_color]',
- array(
- 'default' => $defaults['wc_panel_cart_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_background_color]',
- array(
- 'label' => __( 'Background Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_text_color]',
- array(
- 'default' => $defaults['wc_panel_cart_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_text_color]',
- array(
- 'label' => __( 'Text Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_text_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_button_background]',
- array(
- 'default' => $defaults['wc_panel_cart_button_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_button_background]',
- array(
- 'label' => __( 'Button Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_button_background]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_button_background_hover]',
- array(
- 'default' => $defaults['wc_panel_cart_button_background_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_button_background_hover]',
- array(
- 'label' => __( 'Button Background Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_button_background_hover]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_button_text]',
- array(
- 'default' => $defaults['wc_panel_cart_button_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_button_text]',
- array(
- 'label' => __( 'Button Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_button_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_panel_cart_button_text_hover]',
- array(
- 'default' => $defaults['wc_panel_cart_button_text_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_panel_cart_button_text_hover]',
- array(
- 'label' => __( 'Button Text Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_panel_cart_button_text_hover]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_mini_cart_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Menu Mini Cart', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_background_color]',
- array(
- 'default' => $defaults['wc_mini_cart_background_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_background_color]',
- array(
- 'label' => __( 'Cart Background Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_background_color]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_text_color]',
- array(
- 'default' => $defaults['wc_mini_cart_text_color'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_text_color]',
- array(
- 'label' => __( 'Cart Text Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_text_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_button_background]',
- array(
- 'default' => $defaults['wc_mini_cart_button_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_button_background]',
- array(
- 'label' => __( 'Button Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_button_background]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_button_background_hover]',
- array(
- 'default' => $defaults['wc_mini_cart_button_background_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_button_background_hover]',
- array(
- 'label' => __( 'Button Background Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_button_background_hover]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_button_text]',
- array(
- 'default' => $defaults['wc_mini_cart_button_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_button_text]',
- array(
- 'label' => __( 'Button Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_button_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_mini_cart_button_text_hover]',
- array(
- 'default' => $defaults['wc_mini_cart_button_text_hover'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_mini_cart_button_text_hover]',
- array(
- 'label' => __( 'Button Text Hover', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_mini_cart_button_text_hover]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_price_slider_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Price Slider Widget', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_price_slider_background_color]',
- array(
- 'default' => $defaults['wc_price_slider_background_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_price_slider_background_color]',
- array(
- 'label' => __( 'Slider Background Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_price_slider_background_color]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_price_slider_bar_color]',
- array(
- 'default' => $defaults['wc_price_slider_bar_color'],
- 'type' => 'option',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_price_slider_bar_color]',
- array(
- 'label' => __( 'Slider Bar Color', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_price_slider_bar_color]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_product_tabs_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Product Tabs', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_product_tab]',
- array(
- 'default' => $defaults['wc_product_tab'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_product_tab]',
- array(
- 'label' => __( 'Product Tab Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_product_tab]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_product_tab_highlight]',
- array(
- 'default' => $defaults['wc_product_tab_highlight'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_product_tab_highlight]',
- array(
- 'label' => __( 'Product Tab Active', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_product_tab_highlight]',
- )
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Title_Customize_Control(
- $wp_customize,
- 'generate_woocommerce_messages_title',
- array(
- 'section' => 'generate_woocommerce_colors',
- 'type' => 'generatepress-customizer-title',
- 'title' => __( 'Messages', 'gp-premium' ),
- 'settings' => ( isset( $wp_customize->selective_refresh ) ) ? array() : 'blogname',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_success_message_background]',
- array(
- 'default' => $defaults['wc_success_message_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_success_message_background]',
- array(
- 'label' => __( 'Success Message Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_success_message_background]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_success_message_text]',
- array(
- 'default' => $defaults['wc_success_message_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_success_message_text]',
- array(
- 'label' => __( 'Success Message Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_success_message_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_info_message_background]',
- array(
- 'default' => $defaults['wc_info_message_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_info_message_background]',
- array(
- 'label' => __( 'Info Message Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_info_message_background]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_info_message_text]',
- array(
- 'default' => $defaults['wc_info_message_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_info_message_text]',
- array(
- 'label' => __( 'Info Message Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_info_message_text]',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_error_message_background]',
- array(
- 'default' => $defaults['wc_error_message_background'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'transport' => 'postMessage',
- 'sanitize_callback' => 'generate_premium_sanitize_rgba',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Alpha_Color_Customize_Control(
- $wp_customize,
- 'generate_settings[wc_error_message_background]',
- array(
- 'label' => __( 'Error Message Background', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_error_message_background]',
- 'palette' => $palettes,
- )
- )
- );
-
- $wp_customize->add_setting(
- 'generate_settings[wc_error_message_text]',
- array(
- 'default' => $defaults['wc_error_message_text'],
- 'type' => 'option',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'generate_premium_sanitize_hex_color',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'generate_settings[wc_error_message_text]',
- array(
- 'label' => __( 'Error Message Text', 'gp-premium' ),
- 'section' => 'generate_woocommerce_colors',
- 'settings' => 'generate_settings[wc_error_message_text]',
- )
- )
- );
-
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/generate-colors.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/generate-colors.php
deleted file mode 100644
index a90e5c4c..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/colors/generate-colors.php
+++ /dev/null
@@ -1,20 +0,0 @@
-register_control_type( 'GeneratePress_Copyright_Customize_Control' );
- }
-
- $wp_customize->add_setting(
- 'generate_copyright',
- array(
- 'default' => '',
- 'type' => 'theme_mod',
- 'sanitize_callback' => 'wp_kses_post',
- 'transport' => 'postMessage',
- )
- );
-
- $wp_customize->add_control(
- new GeneratePress_Copyright_Customize_Control(
- $wp_customize,
- 'generate_copyright',
- array(
- 'label' => __( 'Copyright', 'gp-premium' ),
- 'section' => 'generate_layout_footer',
- 'settings' => 'generate_copyright',
- 'priority' => 500,
- )
- )
- );
-
- // Initiate selective refresh.
- if ( isset( $wp_customize->selective_refresh ) ) {
- $wp_customize->selective_refresh->add_partial(
- 'generate_copyright',
- array(
- 'selector' => '.copyright-bar',
- 'settings' => array( 'generate_copyright' ),
- 'render_callback' => 'generate_copyright_selective_refresh',
- )
- );
- }
- }
-}
-
-if ( ! function_exists( 'generate_copyright_selective_refresh' ) ) {
- /**
- * Return our copyright on selective refresh
- */
- function generate_copyright_selective_refresh() {
- $options = array(
- '%current_year%',
- '%copy%',
- );
-
- $replace = array(
- date( 'Y' ), // phpcs:ignore -- prefer date().
- '©',
- );
-
- $new_copyright = get_theme_mod( 'generate_copyright' );
- $new_copyright = str_replace( $options, $replace, get_theme_mod( 'generate_copyright' ) );
-
- return do_shortcode( $new_copyright );
- }
-}
-
-if ( ! function_exists( 'generate_copyright_remove_default' ) ) {
- add_action( 'wp', 'generate_copyright_remove_default' );
- /**
- * Remove the default copyright.
- *
- * @since 0.1
- * @deprecated GP 1.3.42
- */
- function generate_copyright_remove_default() {
- // As of 1.3.42, we no longer need to do this.
- // We use a nice little filter instead.
- if ( ! function_exists( 'generate_add_login_attribution' ) ) {
- return;
- }
-
- if ( get_theme_mod( 'generate_copyright' ) && '' !== get_theme_mod( 'generate_copyright' ) ) {
- remove_action( 'generate_credits', 'generate_add_footer_info' );
- remove_action( 'generate_copyright_line', 'generate_add_login_attribution' );
- }
- }
-}
-
-if ( ! function_exists( 'generate_copyright_add_custom' ) ) {
- add_action( 'generate_credits', 'generate_copyright_add_custom' );
- /**
- * Add the custom copyright.
- *
- * @since 0.1
- * @deprecated GP 1.3.42
- */
- function generate_copyright_add_custom() {
- // As of 1.3.42, we no longer need to do this.
- // We use a nice little filter instead.
- if ( ! function_exists( 'generate_add_login_attribution' ) ) {
- return;
- }
-
- $options = array(
- '%current_year%',
- '%copy%',
- );
-
- $replace = array(
- date( 'Y' ), // phpcs:ignore -- prefer date().
- '©',
- );
-
- $new_copyright = get_theme_mod( 'generate_copyright' );
- $new_copyright = str_replace( $options, $replace, get_theme_mod( 'generate_copyright' ) );
-
- if ( get_theme_mod( 'generate_copyright' ) && '' !== get_theme_mod( 'generate_copyright' ) ) {
- echo do_shortcode( $new_copyright );
- }
- }
-}
-
-if ( ! function_exists( 'generate_apply_custom_copyright' ) ) {
- add_filter( 'generate_copyright', 'generate_apply_custom_copyright' );
- /**
- * Add the custom copyright
- *
- * @since 1.2.92
- * @param string $copyright The copyright value.
- */
- function generate_apply_custom_copyright( $copyright ) {
- // This will only work if GP >= 1.3.42 and the below function doesn't exist.
- if ( function_exists( 'generate_add_login_attribution' ) ) {
- return;
- }
-
- $options = array(
- '%current_year%',
- '%copy%',
- );
-
- $replace = array(
- date( 'Y' ), // phpcs:ignore -- prefer date().
- '©',
- );
-
- $new_copyright = get_theme_mod( 'generate_copyright' );
- $new_copyright = str_replace( $options, $replace, get_theme_mod( 'generate_copyright' ) );
-
- if ( get_theme_mod( 'generate_copyright' ) && '' !== get_theme_mod( 'generate_copyright' ) ) {
- return do_shortcode( $new_copyright );
- }
-
- return $copyright;
-
- }
-}
-
-if ( ! function_exists( 'generate_copyright_customizer_live_preview' ) ) {
- add_action( 'customize_preview_init', 'generate_copyright_customizer_live_preview' );
- /**
- * Add our live preview
- */
- function generate_copyright_customizer_live_preview() {
- wp_enqueue_script(
- 'generate-copyright-customizer',
- plugin_dir_url( __FILE__ ) . 'js/customizer.js',
- array( 'jquery', 'customize-preview' ),
- GENERATE_COPYRIGHT_VERSION,
- true
- );
- }
-}
-
-if ( ! function_exists( 'generate_update_copyright' ) ) {
- add_action( 'admin_init', 'generate_update_copyright' );
- /**
- * Our copyright use to have it's own setting
- * If we have the old setting, move it into our theme_mod
- */
- function generate_update_copyright() {
- // If we already have a custom logo, bail.
- if ( get_theme_mod( 'generate_copyright' ) ) {
- return;
- }
-
- // Get the old logo value.
- $old_value = get_option( 'gen_custom_copyright' );
-
- // If there's no old value, bail.
- if ( empty( $old_value ) ) {
- return;
- }
-
- // Now let's update the new logo setting with our ID.
- set_theme_mod( 'generate_copyright', $old_value );
-
- // Got our custom logo? Time to delete the old value.
- if ( get_theme_mod( 'generate_copyright' ) ) {
- delete_option( 'gen_custom_copyright' );
- }
- }
-}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/functions/js/customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/functions/js/customizer.js
deleted file mode 100644
index fdd64115..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/functions/js/customizer.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Theme Customizer enhancements for a better user experience.
- *
- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
- */
-
-( function( $ ) {
- // Update the site title in real time...
- wp.customize( 'generate_copyright', function( value ) {
- value.bind( function( newval ) {
- if ( $( '.copyright-bar' ).length ) {
- $( '.copyright-bar' ).html( newval );
- } else {
- $( '.inside-site-info' ).html( newval );
- }
- } );
- } );
-}( jQuery ) );
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/generate-copyright.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/generate-copyright.php
deleted file mode 100644
index 2b9ce0b3..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/copyright/generate-copyright.php
+++ /dev/null
@@ -1,20 +0,0 @@
-ID, '_generate-disable-header', true );
- $disable_nav = get_post_meta( $post->ID, '_generate-disable-nav', true );
- $disable_secondary_nav = get_post_meta( $post->ID, '_generate-disable-secondary-nav', true );
- $disable_post_image = get_post_meta( $post->ID, '_generate-disable-post-image', true );
- $disable_headline = get_post_meta( $post->ID, '_generate-disable-headline', true );
- $disable_footer = get_post_meta( $post->ID, '_generate-disable-footer', true );
- }
-
- $return = '';
-
- if ( ! empty( $disable_header ) && false !== $disable_header ) {
- $return = '.site-header {display:none}';
- }
-
- if ( ! empty( $disable_nav ) && false !== $disable_nav ) {
- $return .= '#site-navigation,.navigation-clone, #mobile-header {display:none !important}';
- }
-
- if ( ! empty( $disable_secondary_nav ) && false !== $disable_secondary_nav ) {
- $return .= '#secondary-navigation {display:none}';
- }
-
- if ( ! empty( $disable_post_image ) && false !== $disable_post_image ) {
- $return .= '.generate-page-header, .page-header-image, .page-header-image-single {display:none}';
- }
-
- $need_css_removal = true;
-
- if ( defined( 'GENERATE_VERSION' ) && version_compare( GENERATE_VERSION, '3.0.0-alpha.1', '>=' ) ) {
- $need_css_removal = false;
- }
-
- if ( $need_css_removal && ! empty( $disable_headline ) && false !== $disable_headline && ! is_single() ) {
- $return .= '.entry-header {display:none} .page-content, .entry-content, .entry-summary {margin-top:0}';
- }
-
- if ( ! empty( $disable_footer ) && false !== $disable_footer ) {
- $return .= '.site-footer {display:none}';
- }
-
- return $return;
- }
-}
-
-if ( ! function_exists( 'generate_de_scripts' ) ) {
- add_action( 'wp_enqueue_scripts', 'generate_de_scripts', 50 );
- /**
- * Enqueue scripts and styles
- */
- function generate_de_scripts() {
- wp_add_inline_style( 'generate-style', generate_disable_elements() );
- }
-}
-
-if ( ! function_exists( 'generate_add_de_meta_box' ) ) {
- add_action( 'add_meta_boxes', 'generate_add_de_meta_box', 50 );
- /**
- * Generate the layout metabox.
- *
- * @since 0.1
- */
- function generate_add_de_meta_box() {
- // Set user role - make filterable.
- $allowed = apply_filters( 'generate_metabox_capability', 'edit_theme_options' );
-
- // If not an administrator, don't show the metabox.
- if ( ! current_user_can( $allowed ) ) {
- return;
- }
-
- if ( defined( 'GENERATE_LAYOUT_META_BOX' ) ) {
- return;
- }
-
- $args = array( 'public' => true );
- $post_types = get_post_types( $args );
- foreach ( $post_types as $type ) {
- if ( 'attachment' !== $type ) {
- add_meta_box(
- 'generate_de_meta_box',
- __( 'Disable Elements', 'gp-premium' ),
- 'generate_show_de_meta_box',
- $type,
- 'side',
- 'default'
- );
- }
- }
- }
-}
-
-if ( ! function_exists( 'generate_show_de_meta_box' ) ) {
- /**
- * Outputs the content of the metabox.
- *
- * @param object $post The post object.
- */
- function generate_show_de_meta_box( $post ) {
- wp_nonce_field( basename( __FILE__ ), 'generate_de_nonce' );
- $stored_meta = get_post_meta( $post->ID );
- $stored_meta['_generate-disable-header'][0] = ( isset( $stored_meta['_generate-disable-header'][0] ) ) ? $stored_meta['_generate-disable-header'][0] : '';
- $stored_meta['_generate-disable-nav'][0] = ( isset( $stored_meta['_generate-disable-nav'][0] ) ) ? $stored_meta['_generate-disable-nav'][0] : '';
- $stored_meta['_generate-disable-secondary-nav'][0] = ( isset( $stored_meta['_generate-disable-secondary-nav'][0] ) ) ? $stored_meta['_generate-disable-secondary-nav'][0] : '';
- $stored_meta['_generate-disable-post-image'][0] = ( isset( $stored_meta['_generate-disable-post-image'][0] ) ) ? $stored_meta['_generate-disable-post-image'][0] : '';
- $stored_meta['_generate-disable-headline'][0] = ( isset( $stored_meta['_generate-disable-headline'][0] ) ) ? $stored_meta['_generate-disable-headline'][0] : '';
- $stored_meta['_generate-disable-footer'][0] = ( isset( $stored_meta['_generate-disable-footer'][0] ) ) ? $stored_meta['_generate-disable-footer'][0] : '';
- $stored_meta['_generate-disable-top-bar'][0] = ( isset( $stored_meta['_generate-disable-top-bar'][0] ) ) ? $stored_meta['_generate-disable-top-bar'][0] : '';
- ?>
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
- >
-
-
-
-
- >
-
-
-
-
-
- ID, '_generate-disable-top-bar', true );
- $disable_header = get_post_meta( $post->ID, '_generate-disable-header', true );
- $disable_mobile_header = get_post_meta( $post->ID, '_generate-disable-mobile-header', true );
- $disable_nav = get_post_meta( $post->ID, '_generate-disable-nav', true );
- $disable_headline = get_post_meta( $post->ID, '_generate-disable-headline', true );
- $disable_footer = get_post_meta( $post->ID, '_generate-disable-footer', true );
- }
-
- // Remove the top bar.
- if ( ! empty( $disable_top_bar ) && false !== $disable_top_bar && function_exists( 'generate_top_bar' ) ) {
- remove_action( 'generate_before_header', 'generate_top_bar', 5 );
- remove_action( 'generate_inside_secondary_navigation', 'generate_secondary_nav_top_bar_widget', 5 );
- }
-
- // Remove the header.
- if ( ! empty( $disable_header ) && false !== $disable_header && function_exists( 'generate_construct_header' ) ) {
- remove_action( 'generate_header', 'generate_construct_header' );
- }
-
- // Remove the mobile header.
- if ( ! empty( $disable_mobile_header ) && false !== $disable_mobile_header && function_exists( 'generate_menu_plus_mobile_header' ) ) {
- remove_action( 'generate_after_header', 'generate_menu_plus_mobile_header', 5 );
- }
-
- // Remove the navigation.
- if ( ! empty( $disable_nav ) && false !== $disable_nav && function_exists( 'generate_get_navigation_location' ) ) {
- add_filter( 'generate_navigation_location', '__return_false', 20 );
- add_filter( 'generate_disable_mobile_header_menu', '__return_true' );
- }
-
- // Remove the title.
- if ( ! empty( $disable_headline ) && false !== $disable_headline && function_exists( 'generate_show_title' ) ) {
- add_filter( 'generate_show_title', '__return_false' );
- }
-
- // Remove the footer.
- if ( ! empty( $disable_footer ) && false !== $disable_footer ) {
- if ( function_exists( 'generate_construct_footer_widgets' ) ) {
- remove_action( 'generate_footer', 'generate_construct_footer_widgets', 5 );
- }
-
- if ( function_exists( 'generate_construct_footer' ) ) {
- remove_action( 'generate_footer', 'generate_construct_footer' );
- }
- }
- }
-}
-
-add_action( 'generate_layout_disable_elements_section', 'generate_premium_disable_elements_options' );
-/**
- * Add the meta box options to the Layout meta box in the new GP
- *
- * @since 1.4
- * @param array $stored_meta Existing meta data.
- */
-function generate_premium_disable_elements_options( $stored_meta ) {
- $stored_meta['_generate-disable-header'][0] = ( isset( $stored_meta['_generate-disable-header'][0] ) ) ? $stored_meta['_generate-disable-header'][0] : '';
- $stored_meta['_generate-disable-mobile-header'][0] = ( isset( $stored_meta['_generate-disable-mobile-header'][0] ) ) ? $stored_meta['_generate-disable-mobile-header'][0] : '';
- $stored_meta['_generate-disable-nav'][0] = ( isset( $stored_meta['_generate-disable-nav'][0] ) ) ? $stored_meta['_generate-disable-nav'][0] : '';
- $stored_meta['_generate-disable-secondary-nav'][0] = ( isset( $stored_meta['_generate-disable-secondary-nav'][0] ) ) ? $stored_meta['_generate-disable-secondary-nav'][0] : '';
- $stored_meta['_generate-disable-post-image'][0] = ( isset( $stored_meta['_generate-disable-post-image'][0] ) ) ? $stored_meta['_generate-disable-post-image'][0] : '';
- $stored_meta['_generate-disable-headline'][0] = ( isset( $stored_meta['_generate-disable-headline'][0] ) ) ? $stored_meta['_generate-disable-headline'][0] : '';
- $stored_meta['_generate-disable-footer'][0] = ( isset( $stored_meta['_generate-disable-footer'][0] ) ) ? $stored_meta['_generate-disable-footer'][0] : '';
- $stored_meta['_generate-disable-top-bar'][0] = ( isset( $stored_meta['_generate-disable-top-bar'][0] ) ) ? $stored_meta['_generate-disable-top-bar'][0] : '';
- ?>
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
-
- >
-
-
-
-
- >
-
-
-
-
- >
-
-
-
- array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-server-side-render'), 'version' => 'cf85acaca6a9b96dc3a3');
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.css
deleted file mode 100644
index c1ba6a46..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.css
+++ /dev/null
@@ -1,7 +0,0 @@
-.inline-post-meta-area.block-editor-block-list__layout,.inline-post-meta-area>.gb-inside-container.block-editor-block-list__layout,.inline-post-meta-area>.gb-inside-container>.block-editor-inner-blocks>.block-editor-block-list__layout{align-items:center;display:flex}.inline-post-meta-area.block-editor-block-list__layout>.wp-block.block-list-appender,.inline-post-meta-area>.gb-inside-container.block-editor-block-list__layout>.wp-block.block-list-appender,.inline-post-meta-area>.gb-inside-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.block-list-appender{margin-left:20px}.inline-post-meta-area.block-editor-block-list__layout>.wp-block-image,.inline-post-meta-area>.gb-inside-container.block-editor-block-list__layout>.wp-block-image,.inline-post-meta-area>.gb-inside-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image{line-height:0}.inline-post-meta-area.block-editor-block-list__layout>.wp-block-image figcaption,.inline-post-meta-area>.gb-inside-container.block-editor-block-list__layout>.wp-block-image figcaption,.inline-post-meta-area>.gb-inside-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image figcaption{display:none}.inline-post-meta-area .wp-block{margin-left:0;margin-right:0}.gpp-dynamic-container-bg-dropdown .components-popover__content{width:275px}.gpp-dynamic-container-bg-dropdown .components-popover__content .components-base-control:not(:last-child){margin-bottom:20px}.gpp-dynamic-container-bg-dropdown .components-popover__content .components-base-control:last-child .components-base-control__field{margin-bottom:0}.gpp-dynamic-container-bg-dropdown .components-popover__content .components-base-control:last-child .components-base-control__help{margin-top:3px}
-.gpp-dynamic-headline-text-dropdown .components-popover__content{width:275px}.gpp-dynamic-headline-text-dropdown .components-popover__content .components-base-control:not(:last-child){margin-bottom:20px}.gpp-dynamic-headline-text-dropdown .components-popover__content .components-base-control:last-child .components-base-control__field{margin-bottom:0}.gpp-dynamic-headline-text-dropdown .components-popover__content .components-base-control:last-child .components-base-control__help{margin-top:3px}.gpp-blocks-dynamic-text-replace-field{display:none}.gpp-block-dynamic-year .components-base-control__help{margin-top:2px}
-.wp-block[data-type="generatepress/dynamic-content"]{margin-bottom:0;margin-top:0}
-.wp-block[data-type="generatepress/dynamic-image"]{color:#fff;margin-bottom:0;margin-top:0}.wp-block[data-type="generatepress/dynamic-image"] .components-gpp-dynamic-image-placeholder__label{align-items:center;bottom:0;color:#fff;display:flex;font-size:1em;justify-content:center;left:0;position:absolute;right:0;top:0}.wp-block[data-type="generatepress/dynamic-image"] .components-gpp-dynamic-image-placeholder__label>.gpp-dynamic-featured-image__label{margin-left:10px}.wp-block[data-type="generatepress/dynamic-image"] .gpp-dynamic-image-placeholder{background:#000;vertical-align:middle}.wp-block[data-type="generatepress/dynamic-image"] .components-placeholder{width:100%}.wp-block[data-type="generatepress/dynamic-image"] .gpp-dynamic-image-preview{display:inline-block;position:relative}.wp-block[data-type="generatepress/dynamic-image"] .dynamic-author-image-rounded{border-radius:100%}
-.components-generatepress-units-control-header__units{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.components-generatepress-control__units .components-generatepress-control-buttons__units button.components-button{background:#fff;border:0;border-radius:0!important;box-shadow:none!important;color:#929da7;font-size:10px;height:auto;line-height:20px;padding:0 5px;position:relative;text-align:center;text-shadow:none}.components-generatepress-control__units .components-generatepress-control-buttons__units button.components-button.is-primary{background:#fff!important;color:#000!important;cursor:default;font-weight:700;z-index:1}
-.editor-styles-wrapper .is-root-container>.wp-block{margin-left:auto;margin-right:auto;max-width:var(--gp-block-element-width)}.left-sidebar-block-type div:not(.block-editor-inner-blocks)>.block-editor-block-list__layout,.right-sidebar-block-type div:not(.block-editor-inner-blocks)>.block-editor-block-list__layout{padding:10px}.gpp-block-element-panel>.components-base-control{margin-bottom:20px}.gpp-block-element-panel .components-notice,.gpp-block-element-panel .components-notice .components-notice__content{margin:0}.gpp-element-panel-label .components-panel__body-toggle.components-button{display:flex;flex-direction:row-reverse;justify-content:flex-end}.gpp-element-panel-label .components-panel__body-toggle.components-button svg.components-panel__icon{margin:0 10px 0 0}button.gpp-block-elements-template-button{background:#fff;border:1px solid #ddd;border-radius:5px;cursor:pointer;margin:0 0 10px;padding:5px}button.gpp-block-elements-template-button:hover{border-color:var(--wp-admin-theme-color)}button.gpp-block-elements-template-button .gpp-block-template-label{color:#888;font-size:13px;padding:5px}.element-has-parent #generate_premium_elements{display:none}.gpp-block-element-template-panel{background:#fafafa}
-.gp-select-search .select-search-container{--select-search-background:#fff;--select-search-border:#949494;--select-search-selected:var(--wp-admin-theme-color);--select-search-text:#2c3338;--select-search-subtle-text:#6c6f85;--select-search-inverted-text:var(--select-search-background);--select-search-highlight:#eff1f5;box-sizing:border-box;color:var(--select-search-text);font-family:var(--select-search-font);position:relative;width:100%}.gp-select-search .select-search-container *,.gp-select-search .select-search-container :after,.gp-select-search .select-search-container :before{box-sizing:inherit}.gp-select-search .select-search-input{-webkit-font-smoothing:antialiased;-webkit-appearance:none;background:var(--select-search-background) url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px top 55%;background-size:13px 13px;border:1px solid var(--select-search-border);border-radius:3px;color:var(--select-search-text);display:block;font-size:13px;height:30px;letter-spacing:.01rem;line-height:30px;outline:none;padding:0 26px 0 8px;position:relative;text-align:left;text-overflow:ellipsis;width:100%;z-index:1}.gp-select-search .select-search-is-multiple .select-search-input{border-radius:3px 3px 0 0;margin-bottom:-2px}.gp-select-search .select-search-input::-webkit-search-cancel-button,.gp-select-search .select-search-input::-webkit-search-decoration,.gp-select-search .select-search-input::-webkit-search-results-button,.gp-select-search .select-search-input::-webkit-search-results-decoration{-webkit-appearance:none}.gp-select-search .select-search-input[readonly]{cursor:pointer}.gp-select-search .select-search-is-disabled .select-search-input{cursor:not-allowed}.gp-select-search .select-search-container:not(.select-search-is-disabled) .select-search-input:hover,.gp-select-search .select-search-container:not(.select-search-is-disabled).select-search-has-focus .select-search-input{border-color:var(--select-search-selected)}.gp-select-search .select-search-select{background:var(--select-search-background);border:1px solid var(--select-search-border);box-shadow:0 .0625rem .125rem rgba(0,0,0,.15);max-height:360px;overflow:auto}.gp-select-search .select-search-container:not(.select-search-is-multiple) .select-search-select{border-radius:3px;display:none;left:0;position:absolute;right:0;top:35px;z-index:2}.gp-select-search .select-search-container:not(.select-search-is-multiple).select-search-has-focus .select-search-select{display:block}.gp-select-search .select-search-has-focus .select-search-select{border-color:var(--select-search-selected)}.gp-select-search .select-search-options{list-style:none}.gp-select-search .select-search-not-found,.gp-select-search .select-search-option{-webkit-font-smoothing:antialiased;background:var(--select-search-background);border:none;color:var(--select-search-text);cursor:pointer;display:block;font-family:monospace;font-size:10px;height:30px;letter-spacing:.01rem;outline:none;padding:0 16px;text-align:left;width:100%}.gp-select-search .select-search-option:disabled{background:transparent!important;cursor:not-allowed;opacity:.5}.gp-select-search .select-search-is-highlighted,.gp-select-search .select-search-option:not(.select-search-is-selected):hover{background:var(--select-search-highlight)}.gp-select-search .select-search-is-selected{color:var(--select-search-selected);font-weight:700}.gp-select-search .select-search-group-header{font-size:12px;font-weight:700;letter-spacing:.1rem;padding:10px 16px;text-transform:uppercase}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.js
deleted file mode 100644
index 57b22635..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.js
+++ /dev/null
@@ -1,3 +0,0 @@
-!function(){var e={184:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function a(){for(var e=[],t=0;t .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout";return void 0!==s&&(d=s?".gb-container-"+a+".inline-post-meta-area > .gb-inside-container":".gb-container-"+a+".inline-post-meta-area"),r&&(o(e,d,{"justify-content":p}),"generateblocks.editor.tabletCSS"===(0,l.currentFilter)()&&o(e,d,{"justify-content":c}),"generateblocks.editor.mobileCSS"===(0,l.currentFilter)()&&o(e,d,{"justify-content":g})),e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?n({className:t.join(" ")}):n({className:""}),"generateblocks/headline"===i){var o=(0,p.__)("Hello World","gp-premium");"post-date"===e?o=(0,p.__)("Post date","gp-premium"):"post-author"===e?o=(0,p.__)("Post author name","gp-premium"):"terms"===e?o=(0,p.__)("Terms","gp-premium"):"comments-number"===e?o=(0,p.__)("Comments number","gp-premium"):"post-meta"===e?o=(0,p.__)("Post meta","gp-premium"):"user-meta"===e?o=(0,p.__)("User meta","gp-premium"):"term-meta"===e&&(o=(0,p.__)("Term meta","gp-premium")),n({content:o})}}}),""!==o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{className:"gpp-blocks-dynamic-text-replace-field",type:"text",value:l}),"post-date"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Date type","gp-premium"),value:T,options:[{label:(0,p.__)("Published date","gp-premim"),value:"published-date"},{label:(0,p.__)("Updated date","gp-premium"),value:"updated-date"}],onChange:function(e){n({gpDynamicDateType:e,gpDynamicTextBefore:"",gpDynamicUpdatedDateBefore:""})}}),"published-date"===T&&(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Replace with updated date","gp-premium"),checked:!!b,onChange:function(e){n({gpDynamicDateUpdated:e})}})),"terms"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Taxonomy","gp-premium"),value:s,options:D,onChange:function(e){n({gpDynamicTextTaxonomy:e})}}),"generateblocks/headline"===i&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("Term separator","gp-premium"),type:"text",value:d,onChange:function(e){n({gpDynamicTextTaxonomySeparator:e})}}))),"comments-number"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("No comments text","gp-premium"),type:"text",value:x,onChange:function(e){n({gpDynamicNoCommentsText:e})}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Singular comments text","gp-premium"),type:"text",value:h,onChange:function(e){n({gpDynamicSingleCommentText:e})}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Plural comments text","gp-premium"),help:(0,p.__)("Use % in place of the number of comments","gp-premium"),type:"text",value:f,onChange:function(e){n({gpDynamicMultipleCommentsText:e})}})),("post-meta"===o||"term-meta"===o||"user-meta"===o)&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:m,onChange:function(e){n({gpDynamicTextCustomField:e})}}),"generateblocks/headline"===i&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:B,type:"text",value:u,onChange:function(e){n({gpDynamicTextBefore:e})}}),"post-date"===o&&!!b&&"published-date"===T&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Updated date before text","gp-premium"),type:"text",value:C,onChange:function(e){n({gpDynamicUpdatedDateBefore:e})}}))),S.length>1&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Dynamic link type","gp-premium"),value:y,options:S,onChange:function(e){"generateblocks/button"===i&&n(e?{gpDynamicLinkType:e,hasUrl:!0,url:"#"}:{gpDynamicLinkType:e,hasUrl:!1,url:""}),"generateblocks/headline"===i&&n({gpDynamicLinkType:e})}}),("post-meta"===y||"term-meta"===y||"user-meta"===y)&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:_,onChange:function(e){n({gpDynamicLinkCustomField:e})}})),I&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Source","gp-premium"),value:r,options:[{label:(0,p.__)("Current post","gp-premium"),value:"current-post"},{label:(0,p.__)("Next post","gp-premium"),value:"next-post"},{label:(0,p.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({gpDynamicSource:e})}}),("next-post"===r||"previous-post"===r)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("In same term","gp-premium"),help:(0,p.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!k,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!k&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Taxonomy","gp-premium"),help:(0,p.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:v,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}}))))}}]),o}(c.Component),E=L;function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function z(e){for(var t=1;tPrevious post title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"86e1ad46","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"previous-post","gpDynamicTextBefore":"by "} --\x3e Author name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2540358d","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row-reverse","flexDirectionMobile":"row","alignItems":"center","columnGap":"20px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSource":"next-post","imageSize":"thumbnail","linkTo":"single-post","imageWidth":100,"imageHeight":100,"avatarSize":100} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"daa456b5","isDynamic":true,"blockVersion":4,"sizing":{"width":"75%","widthMobile":"75%","height":"","maxWidth":""},"typography":{"textAlign":"right","textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2883b2a4","element":"p","blockVersion":3,"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e Next post title
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d2e07c6","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"next-post","gpDynamicTextBefore":"by "} --\x3e Author name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,p._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d1dd99b1","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"0px","paddingBottom":"20px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"8878e700","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","justifyContent":"space-between","rowGapMobile":"10px","sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9c89f761","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"30px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","marginBottomMobile":"10px"},"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9cf413a8","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"bec8d56e","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#abb8c3","textColor":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1.5em","height":"1.5em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"625f3305","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a6f36397","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Previous post title","gpDynamicSource":"previous-post"} --\x3e Previous post title
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d262c0b","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"previous-post","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5d70717c","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","justifyContentMobile":"flex-start","columnGap":"30px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"right","textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"78f3ead4","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"643cf12f","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e Next post title
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ac35083","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"next-post","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"780c810b","isDynamic":true,"blockVersion":4,"orderMobile":-1,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"122d9fa4","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#abb8c3","textColor":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1.5em","height":"1.5em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_3:{label:(0,p._x)("Two columns with background overlays","label","gp-premium"),thumbnail:"post-navigation-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"aadd0a6f","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"3642451a","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"59edc08b","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"40px","paddingRight":"40px","paddingBottom":"40px","paddingLeft":"40px"},"paddingSyncUnits":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"a510c6c2","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8d3d4c12","element":"p","blockVersion":3,"display":"inline-block","typography":{"fontSize":"14px","textTransform":"uppercase"},"spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"inlineWidth":true,"backgroundColor":"#cf2e2e"} --\x3e Previous
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"352592d1","element":"h3","blockVersion":3,"typography":{"fontSize":"25px"},"spacing":{"marginBottom":"0px"},"className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"993a41e4","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"40px","paddingRight":"40px","paddingBottom":"40px","paddingLeft":"40px"},"paddingSyncUnits":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ea84c30e","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"49c8845f","element":"p","blockVersion":3,"display":"inline-block","typography":{"fontSize":"14px","textTransform":"uppercase"},"spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"inlineWidth":true,"backgroundColor":"#cf2e2e"} --\x3e Next
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6ba8079e","element":"h3","blockVersion":3,"typography":{"fontSize":"25px"},"spacing":{"marginBottom":"0px"},"className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_4:{label:(0,p._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"96f5f0fa","innerContainer":"full","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"f9c8f86f","isDynamic":true,"blockVersion":4,"display":"flex","sizing":{"maxWidth":""},"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5287d6da","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row-reverse","flexDirectionMobile":"column","justifyContent":"space-between","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"0px","paddingBottom":"25px","paddingLeft":"25px"},"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"75cd654a","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlignMobile":"right"},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"6acb0e83","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColor":"#0366d6","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"eb3b7005","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","paddingTopMobile":"","paddingRightMobile":"10px","paddingBottomMobile":"","paddingLeftMobile":"","marginTopMobile":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0a2d5bfc","element":"h3","blockVersion":3,"typography":{"textAlign":"left"},"spacing":{"marginBottom":"10px"},"textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"164ae39e","element":"p","blockVersion":3,"display":"flex","alignItems":"center","typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"previous-post"} --\x3e Comments number
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7af8fa61","backgroundColor":"#0366d6","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","justifyContent":"space-between","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"25px","paddingBottom":"25px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"045e1698","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"557abb73","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#0693e3","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9ad09f6f","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","paddingLeftMobile":"10px","marginTopMobile":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9ba9e9d1","element":"h3","blockVersion":3,"typography":{},"spacing":{"marginBottom":"10px"},"textColor":"#ffffff","linkColor":"#ffffff","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ebf8dbe","element":"p","blockVersion":3,"display":"flex","alignItems":"center","typography":{"fontSize":"14px","textAlign":""},"spacing":{"marginBottom":"0px"},"textColor":"#ffffff","linkColor":"#ffffff","hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"next-post"} --\x3e Comments number
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_5:{label:(0,p._x)("Two columns with featured image offset","label","gp-premim"),thumbnail:"post-navigation-offset.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"52018004","innerContainer":"full","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","marginRight":"30px","marginLeft":"30px","marginLeftTablet":"30px","marginRightMobile":"25px","marginLeftMobile":"25px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e54982d5","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7bdd6853","columns":4,"horizontalGap":0,"verticalGapMobile":0,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4138dd74","isGrid":true,"gridId":"7bdd6853","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderBottomLeftRadiusTablet":"0px","borderBottomLeftRadiusMobile":"0px","borderTopLeftRadiusMobile":"5px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"83fd48c9","isDynamic":true,"blockVersion":4,"typography":{"textAlign":"left"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a3aaad4c","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"15px","paddingBottom":"15px","paddingLeft":"15px","marginRight":"1.5em","marginLeft":"-1.5em"},"borders":{"borderTopWidth":"7px","borderTopStyle":"solid","borderTopColor":"#f9f9f9","borderRightWidth":"7px","borderRightStyle":"solid","borderRightColor":"#f9f9f9","borderBottomWidth":"7px","borderBottomStyle":"solid","borderBottomColor":"#f9f9f9","borderLeftWidth":"7px","borderLeftStyle":"solid","borderLeftColor":"#f9f9f9","borderTopRightRadius":"100%","borderBottomRightRadius":"100%","borderBottomLeftRadius":"100%","borderTopLeftRadius":"100%"},"backgroundColor":"#b5b5b5","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","widthMobile":"0.8em","heightMobile":"0.8em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"18430adf","isGrid":true,"gridId":"7bdd6853","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":2,"sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px","marginRight":"10px","marginRightTablet":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px","marginRightMobile":"0px"},"paddingSyncUnits":true,"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderBottomRightRadiusTablet":"0px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"0px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2acc62a4","element":"h3","blockVersion":3,"typography":{"fontSize":"25px","textAlign":"left","fontSizeMobile":"17px"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginBottom":"0em","marginLeft":"-4em","marginLeftMobile":"-3em"},"paddingSyncUnits":true,"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"5px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"5px"},"backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce9878f4","isGrid":true,"gridId":"7bdd6853","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px","marginLeft":"10px","marginLeftTablet":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px","marginLeftMobile":"0px"},"paddingSyncUnits":true,"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderTopLeftRadiusTablet":"0px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"0px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9d97a37f","element":"h3","blockVersion":3,"typography":{"fontSize":"25px","textAlign":"right","fontSizeMobile":"17px"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginRight":"-4em","marginBottom":"0em","marginRightMobile":"-3em"},"paddingSyncUnits":true,"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"5px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"5px"},"backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6c856070","isGrid":true,"gridId":"7bdd6853","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderTopRightRadiusTablet":"0px","borderTopRightRadiusMobile":"0px","borderBottomRightRadiusMobile":"5px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"be12f57c","isDynamic":true,"blockVersion":4} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"139d60e4","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"15px","paddingBottom":"15px","paddingLeft":"15px","marginRight":"-1.5em","marginLeft":"1.5em"},"borders":{"borderTopWidth":"7px","borderTopStyle":"solid","borderTopColor":"#f9f9f9","borderRightWidth":"7px","borderRightStyle":"solid","borderRightColor":"#f9f9f9","borderBottomWidth":"7px","borderBottomStyle":"solid","borderBottomColor":"#f9f9f9","borderLeftWidth":"7px","borderLeftStyle":"solid","borderLeftColor":"#f9f9f9","borderTopRightRadius":"100%","borderBottomRightRadius":"100%","borderBottomLeftRadius":"100%","borderTopLeftRadius":"100%"},"backgroundColor":"#b5b5b5","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","widthMobile":"0.8em","heightMobile":"0.8em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},Z={basic_1:{label:(0,p._x)("Inline with avatar","label","gp-premium"),thumbnail:"post-meta-inline.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8a25fc79","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"15px","paddingRight":"0px","paddingBottom":"15px","paddingLeft":"0px","marginTop":"20px","marginBottom":"20px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#e8edf0","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#e8edf0"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"82a213c1","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3fb4928a","element":"div","blockVersion":3,"display":"inline-block","spacing":{"paddingRight":"10px","marginLeft":"10px"},"inlineWidth":true,"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e Author Name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f9b55781","element":"div","blockVersion":3,"display":"inline-block","spacing":{"paddingLeft":"10px"},"inlineWidth":true,"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#e8edf0"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date"} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8fca9ec9","element":"div","blockVersion":3,"display":"inline-flex","alignItems":"center","spacing":{"paddingLeft":"10px","marginLeft":"10px"},"inlineWidth":true,"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#e8edf0"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments","gpDynamicTextTaxonomy":"category","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_2:{label:(0,p._x)("Stacked with avatar","label","gp-premium"),thumbnail:"post-meta-avatar-stacked.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"a745be15","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"20px","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"20px","paddingRight":"0px","paddingBottom":"20px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fd4592f4","isDynamic":true,"blockVersion":4,"sizing":{"width":"10%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":120} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"137e86ad","isDynamic":true,"blockVersion":4,"sizing":{"width":"90%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"d7bb0434","element":"p","blockVersion":3,"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e Author Name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"759ebd2f","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_3:{label:(0,p._x)("Term buttons","label","gp-premium"),thumbnail:"post-meta-term-buttons.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"7134d7c2","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"e378fc0b","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"13px","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopRightRadius":"","borderBottomRightRadius":"","borderBottomLeftRadius":"","borderTopLeftRadius":""},"backgroundColor":"#000000","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e Terms \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"before-post-title"},{key:"_generate_disable_primary_post_meta",value:!1}]}},Q={template_1:{label:(0,p._x)("Full footer 1","label","gp-premium"),thumbnail:"site-footer-full-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"73cd57e1","backgroundColor":"#1b1b42","shapeDividers":[],"isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"140px","paddingRight":"30px","paddingBottom":"60px","paddingLeft":"30px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7d9550dd","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"b76f312f","columns":3,"horizontalGap":80,"verticalAlignment":"center","verticalGapTablet":40,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"53cb46e2","isGrid":true,"gridId":"b76f312f","isDynamic":true,"blockVersion":4,"sizing":{"width":"60%","widthTablet":"100%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"aa19f1fb","element":"h3","blockVersion":3,"textColor":"#ffffff"} --\x3e Reach out to us for a consultation. \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"41582601","element":"p","blockVersion":3,"spacing":{"paddingRight":"100px","paddingRightTablet":"0px"},"textColor":"#ffffff"} --\x3e Semper blandit suspendisse faucibus metus lobortis morbi magna vivamus per risus fermentum dapibus imperdiet praesent magnis.
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"529d5dda","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"600","textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"20px","marginRight":"20px","marginBottomMobile":"20px"},"borders":{"borderTopWidth":"3px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"rgba(242, 245, 250, 0.8)","borderRightWidth":"3px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"rgba(242, 245, 250, 0.8)","borderBottomWidth":"3px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"rgba(242, 245, 250, 0.8)","borderLeftWidth":"3px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"rgba(242, 245, 250, 0.8)","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"},"backgroundColorHover":"#6212b3","backgroundColorHoverOpacity":0,"textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e Contact Us \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e1bd60bb","isGrid":true,"gridId":"b76f312f","removeVerticalGapTablet":true,"isDynamic":true,"blockVersion":4,"sizing":{"width":"20%","widthTablet":"50%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"37420255","element":"p","blockVersion":3,"textColor":"#ffffff"} --\x3e Company Name Address Here Address Here
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bf8e162e","element":"p","blockVersion":3,"display":"flex","alignItems":"center","spacing":{"marginBottom":"0px"},"textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#f2f5fa","hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingTop":".1em","paddingRight":"0.5em"}} --\x3e +1 000 000 0000
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"c762d353","isGrid":true,"gridId":"b76f312f","removeVerticalGapTablet":true,"removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","columnGap":"10px","sizing":{"width":"20%","widthTablet":"50%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"13c371f8","hasUrl":true,"ariaLabel":"instagram link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px","marginRight":""},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"926332bd","hasUrl":true,"ariaLabel":"twitter link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px","marginRight":""},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"d957854e","hasUrl":true,"ariaLabel":"facebook link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px"},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0f87c806","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column-reverse","alignItems":"center","justifyContent":"space-between","rowGapMobile":"20px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"60px","paddingRight":"0px","paddingBottom":"60px","paddingLeft":"0px","marginTop":"60px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#ffffff"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e6861bde","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"97c10964","element":"p","blockVersion":3,"typography":{"fontSize":"17px"},"spacing":{"marginBottom":"0px"},"textColor":"#ffffff"} --\x3e © Company Name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7c528044","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","alignItemsMobile":"flex-start","columnGap":"20px","rowGapMobile":"10px","sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"907cc664","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"17px","textAlign":"center"},"fontSize":"","spacing":{"marginRight":""},"textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e Privacy Policy \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a6a340bc","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"17px","textAlign":"center"},"fontSize":"","textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e Terms of Service \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'},template_2:{label:(0,p._x)("Full footer 2","label","gp-premium"),thumbnail:"site-footer-full-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"e224c1dd","backgroundColor":"#fafbfc","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"80px","paddingRight":"20px","paddingBottom":"80px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0836612c","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"34307d45","element":"p","blockVersion":3,"typography":{"fontSize":"14px","letterSpacing":"0.3em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"spacing":{"marginTop":"10px"},"textColor":"#2e3d4d"} --\x3e Your Company Name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4068688a","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","rowGapMobile":"20px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"60px","paddingRight":"20px","paddingBottom":"60px","paddingLeft":"20px","marginTop":"60px","marginBottom":"60px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#5c7a99","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#5c7a99"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"12d457ad","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8818b435","element":"p","blockVersion":3,"typography":{"fontSize":"13px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase"},"spacing":{"marginBottom":"0px"}} --\x3e PH +1 000 000 0000
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"68ec175a","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#5c7a99","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#5c7a99","borderTopWidthMobile":"0px","borderTopStyleMobile":"solid","borderTopColorMobile":"#5c7a99","borderRightWidthMobile":"0px","borderRightStyleMobile":"solid","borderRightColorMobile":"#5c7a99","borderBottomWidthMobile":"0px","borderBottomStyleMobile":"solid","borderBottomColorMobile":"#5c7a99","borderLeftWidthMobile":"0px","borderLeftStyleMobile":"solid","borderLeftColorMobile":"#5c7a99"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"cf4dcfab","element":"p","blockVersion":3,"typography":{"fontSize":"13px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase"},"spacing":{"marginBottom":"0px"}} --\x3e 24 M Drive East Hampton, NY 11937
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"47f78435","removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"2800ad9a","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.9em","height":"0.9em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"eb98a6f6","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.9em","height":"0.9em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"ab839eb9","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"5b757c38","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"77c9f71e","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","justifyContent":"space-between","rowGapMobile":"20px"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc32f783","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1e50faeb","element":"p","blockVersion":3,"typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"left","textAlignMobile":"center"},"spacing":{"marginBottom":"0px"}} --\x3e © Your Copyright Message
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b706d851","removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","justifyContentMobile":"center","columnGap":"20px","rowGap":"10px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"373aae0d","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"marginRight":""},"textColor":"#2e3d4d","textColorHover":"#5c7a99"} --\x3e Privacy Policy \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"3cd1cf71","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"fontSize":"","textColor":"#2e3d4d","textColorHover":"#5c7a99"} --\x3e Terms of Service \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'}},ee={template_1:{label:(0,p._x)("Basic layout with term buttons","label","gp-premium"),thumbnail:"content-template-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d2cafe96","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"75c01790","isDynamic":true,"blockVersion":4} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"38620841","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"13px","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e Terms \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f593ba8c","blockVersion":3,"typography":{"fontWeight":"bold"},"spacing":{"marginBottom":"30px"},"linkColor":"#000000","linkColorHover":"#858585","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Post Title"} --\x3e Post Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"1ed16867","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","justifyContent":"space-between","columnGap":"10px","rowGap":"10px","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"dc72dc13","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"c7b33e8b","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px","marginLeft":"10px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name"} --\x3e Author name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ec93a944","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"af8af68e","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e Post date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b70b46a6","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"30px","marginBottom":"30px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"750"},{key:"_generate_use_theme_post_container",value:!0}]},template_2:{label:(0,p._x)("Layout with offset content","label","gp-premium"),thumbnail:"content-template-offset.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large","linkTo":"single-post"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"05e7d83e","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"-65px","marginRight":"40px","marginBottom":"20px","marginLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"83898f1c","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginBottom":"20px"},"linkColor":"#000000","linkColorHover":"#abb8c3","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e Category
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"98a0e67b","blockVersion":3,"typography":{"fontSize":"28px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fed802f7","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"5px","rowGap":"5px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"20px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"74fcc8db","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"width":"66.66%","widthMobile":"66.66%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"15px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":35,"avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"33ed7660","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginLeft":"10px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2def9732","element":"p","blockVersion":3,"typography":{"fontSize":"15px"},"spacing":{"marginBottom":"0px"},"borders":{"borderRightWidth":"0px","borderRightStyle":"solid"},"gpDynamicTextType":"post-author","gpDynamicTextReplace":"Post author name"} --\x3e Post author name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dd34513e","element":"p","blockVersion":3,"typography":{"fontSize":"12px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"borders":{"borderBottomWidth":"0px","borderBottomStyle":"solid"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6d144082","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"33.33%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"15px"},"gpInlinePostMetaJustify":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"7c89fc64","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"textColor":"#000000","textColorHover":"#abb8c3","gpDynamicLinkType":"single-post"} --\x3e More \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_3:{label:(0,p._x)("Layout with featured image overlay","label","gp-premim"),thumbnail:"content-template-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99e0f8fe","gradient":true,"gradientDirection":180,"gradientColorOne":"#000000","gradientColorOneOpacity":0.62,"gradientColorTwo":"#000000","gradientColorTwoOpacity":0,"gradientSelector":"pseudo-element","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"minHeight":"420px","height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px"},"borders":{"borderTopRightRadius":"12px","borderBottomRightRadius":"12px","borderBottomLeftRadius":"12px","borderTopLeftRadius":"12px"},"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"95ce0971","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"864271b1","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"5px","rowGap":"5px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bc0ec4fa","element":"p","blockVersion":3,"typography":{"fontSize":"13px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category","gpDynamicTextTaxonomySeparator":" / "} --\x3e Category
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"5e2dac4c","element":"p","blockVersion":3,"display":"flex","alignItems":"center","justifyContent":"flex-end","typography":{"fontSize":"12px","textAlign":"right"},"spacing":{"marginBottom":"0px"},"hasIcon":true,"iconStyles":{"width":"1.4em","height":"1.4em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicTextReplace":"COMMENTS","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e COMMENTS
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"b1e898af","blockVersion":3,"typography":{"fontSize":"24px"},"marginUnit":"%","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"64bb1fda","isDynamic":true,"blockVersion":4,"display":"flex","justifyContent":"flex-end","spacing":{"marginTop":"300px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"95f40917","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"10px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"20px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#ffffff","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#ffffff","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#ffffff","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#ffffff","borderTopRightRadius":"8px","borderBottomRightRadius":"8px","borderBottomLeftRadius":"8px","borderTopLeftRadius":"8px"},"backgroundColor":"#ffffff","backgroundColorHover":"#ffffff","backgroundColorHoverOpacity":0.75,"textColor":"#000000","textColorHover":"#000000","gpDynamicLinkType":"single-post"} --\x3e Read More \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_4:{label:(0,p._x)("Layout with slanted shape divider","label","gp-premim"),thumbnail:"content-template-slant.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af7ec3a","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true,"borders":{"borderTopWidth":"0px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"0px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"0px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"0px","borderLeftStyle":"solid","borderLeftColor":"#000000"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc5683f8","shapeDividers":[{"shape":"gb-angle-1","color":"#ffffff","colorOpacity":1,"location":"bottom","height":50,"heightTablet":"","heightMobile":"","width":100,"widthTablet":"","widthMobile":"","flipHorizontally":false,"zindex":""}],"isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"0px","marginBottom":"0px"},"paddingSyncUnits":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7f6bf8cd","backgroundColor":"#ffffff","shapeDividers":[],"isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"25px","paddingBottom":"15px","paddingLeft":"25px","marginTop":"0px","marginRight":"0px","marginBottom":"0px","marginLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"7fd9c317","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e Post date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a8ee15fd","blockVersion":3,"typography":{"fontSize":"30px"},"spacing":{"marginBottom":"15px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"72735d03","isDynamic":true,"blockVersion":4,"display":"flex","justifyContent":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"120ee35e","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e Read More \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_5:{label:(0,p._x)("Layout with centered content","label","gp-premim"),thumbnail:"content-template-centered.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5a785d21","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"25px","paddingRight":"25px","paddingBottom":"25px","paddingLeft":"25px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"82629d5c","blockVersion":3,"typography":{"fontSize":"25px","fontWeight":"700"},"linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":15,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a1b8a609","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"15px","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"8px","paddingRight":"20px","paddingBottom":"8px","paddingLeft":"20px"},"borders":{"borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColor":"#cf2e2e","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e Read more \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_6:{label:(0,p._x)("Layout with borders","label","gp-premim"),thumbnail:"content-template-borders.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af4cc7c","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"5px","paddingRight":"5px","paddingBottom":"5px","paddingLeft":"5px"},"paddingSyncUnits":true,"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#b6b6b6","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#b6b6b6","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#b6b6b6","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#b6b6b6","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b69b5c43","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8dfa4238","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginBottom":"5px"},"textColor":"#0693e3","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e Terms
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"29491daa","blockVersion":3,"typography":{"fontSize":"30px"},"spacing":{"marginBottom":"15px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e Hello World \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d5dadc43","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"15px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#b6b6b6"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2c30b1f9","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fc06eba3","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"textColor":"#b6b6b6","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicTextTaxonomy":"category","gpDynamicDateUpdated":true} --\x3e Post date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9bb8c373","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"0fcad1cd","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"8px","paddingRight":"12px","paddingBottom":"8px","paddingLeft":"12px"},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#0693e3","borderTopColorHover":"#222222","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#0693e3","borderRightColorHover":"#222222","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#0693e3","borderBottomColorHover":"#222222","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#0693e3","borderLeftColorHover":"#222222","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"},"backgroundColorHover":"#222222","textColor":"#0693e3","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e Read more \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_7:{label:(0,p._x)("Landscape layout","label","gp-premium"),thumbnail:"content-template-landscape.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"918d68ce","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ae18e4a9","columns":2,"horizontalGap":30,"verticalGapMobile":10,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ff15641f","isGrid":true,"gridId":"ae18e4a9","isDynamic":true,"blockVersion":4,"sizing":{"width":"40%","widthTablet":"40%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-featured-image"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"64596747","isGrid":true,"gridId":"ae18e4a9","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"60%","widthTablet":"60%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce3f6f48","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fdbba1f9","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"900","textTransform":"uppercase"},"spacing":{"paddingRight":"10px","marginRight":"10px","marginBottom":"0px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid"},"className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e Category
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6df4d39e","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"84923e14","blockVersion":3,"typography":{"fontSize":"28px"},"spacing":{"marginBottom":"20px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":20} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"800"},{key:"_generate_use_theme_post_container",value:!0}]}},te={template_1:{label:(0,p._x)("Default next and previous buttons","label","gp-premium"),thumbnail:"archive-navigation-buttons-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"fb6c192f","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"10px","rowGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"af38c5d0","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"aa4ef21a","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"className":"button","gpDynamicLinkType":"previous-posts"} --\x3e Previous \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4f3ab895","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"84010058","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconStyles":{"width":"1em","height":"1em","paddingLeft":"0.5em"},"className":"button","gpDynamicLinkType":"next-posts"} --\x3e Next \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,p._x)("Rounded buttons with icon","label","gp-premium"),thumbnail:"archive-navigation-buttons-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"5edb5029","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"center","columnGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"4c23c469","hasUrl":true,"ariaLabel":"Previous page","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#000000","borderTopRightRadius":"100px","borderBottomRightRadius":"100px","borderBottomLeftRadius":"100px","borderTopLeftRadius":"100px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"previous-posts"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"55622f43","hasUrl":true,"ariaLabel":"Next page","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#000000","borderTopRightRadius":"100px","borderBottomRightRadius":"100px","borderBottomLeftRadius":"100px","borderTopLeftRadius":"100px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"next-posts"} --\x3e \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},ne={template_1:{label:(0,p._x)("Basic single post page hero","label","gp-premium"),thumbnail:"page-hero-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8b6d1c4b","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.3,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"150px","paddingRight":"40px","paddingBottom":"150px","paddingLeft":"40px"},"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"3f517a84","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"62a8b2cc","element":"h1","blockVersion":3,"typography":{"fontSize":"50px"},"gpDynamicTextType":"title","gpDynamicTextReplace":"Page Title"} --\x3e Page Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"f49b9f49","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","justifyContent":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2e715b13","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px","marginLeft":"10px"},"gpDynamicTextType":"post-author","gpDynamicTextReplace":"Author name"} --\x3e Author name
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dedbe2c8","element":"p","blockVersion":3,"spacing":{"paddingLeft":"20px","marginBottom":"0px","marginLeft":"20px"},"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e Post date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]},template_2:{label:(0,p._x)("Single post hero with excerpt","label","gp-premium"),thumbnail:"page-hero-excerpt.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"70385d72","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"80px","paddingRight":"40px","paddingBottom":"80px","paddingLeft":"40px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"01bfa731","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"5dc55b95","columns":2,"horizontalGap":80,"verticalGap":20,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"579e5b87","isGrid":true,"gridId":"5dc55b95","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"45%","widthTablet":"60%","widthMobile":"100%","height":"100%","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d909e043","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9fdb86dc","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"900","textTransform":"uppercase"},"spacing":{"paddingRight":"10px","marginRight":"10px","marginBottom":"0px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid"},"textColor":"#000000","linkColor":"#000000","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e Category
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1ee4cbcf","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e Date
\x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"56c7eb13","blockVersion":3,"spacing":{"marginBottom":"10px"},"gpDynamicTextType":"title","gpDynamicTextReplace":"Title"} --\x3e Title \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4e92c4e8","isGrid":true,"gridId":"5dc55b95","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"element","opacity":1,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"isDynamic":true,"blockVersion":4,"sizing":{"width":"55%","widthTablet":"40%","widthMobile":"100%","minHeight":"400px","minHeightMobile":"250px","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpDynamicImageBg":"featured-image","gpUseFallbackImageBg":true} /--\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]}},ie=window.wp.plugins,ae=window.wp.editPost,oe=window.wp.data,re=window.wp.domReady,pe=n.n(re),le=n(893);function ce(e,t){return String(e)===String(t)}function ge(e,t){return Array.isArray(e)?e.map((e=>t.find((t=>ce(t.value,e))))).filter((e=>e)):t.find((t=>ce(t.value,e)))||null}function se(e){return Array.isArray(e)?e:[e]}function de(e,t,n){if(!e&&!n)return t&&t.length&&t[0].name||"";const i=Array.isArray(e);return e||i?i?e.map((e=>e.name)).filter(Boolean).join(", "):e.name||"":""}function me(e){return e?Array.isArray(e)?e.filter(Boolean).map((e=>e.value)):e.value||null:null}function ue(e,t){return t.length?e.filter((e=>function(e,t){const n=e.length,i=t.length;if(n>i)return!1;if(t.indexOf(e)>=0)return!0;e:for(let a=0,o=0;a"group"===e.type?e.items.map((n=>({...n,group:e.name,index:t++}))):{...e,index:t++})).flat()}const xe=()=>{};function he({options:e,defaultValue:t,value:n,multiple:i,search:o,onChange:r=xe,onFocus:p=xe,onBlur:l=xe,closeOnSelect:c=!0,placeholder:g,getOptions:s,filterOptions:d,useFuzzySearch:m=!0,debounce:u}){const b=(0,a.useRef)(),[x,h]=(0,a.useState)(null),[f,y]=(0,a.useState)(""),[_,k]=(0,a.useState)(!1),[v,w]=function(e,t,n,i){const[o,r]=(0,a.useState)((()=>be(e))),[p,l]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{let e;if(t)return e=setTimeout((()=>{const e=t(i,o);l(!0),Promise.resolve(e).then((e=>r(be(e)))).finally((()=>l(!1)))}),n),()=>{clearTimeout(e)}}),[i]),(0,a.useEffect)((()=>{r(be(e))}),[e]),[o,p]}(e,s,u,f),T=e=>{const t=function(e,t,n){if(!e)return t;if(!n)return e;if(!t)return se(e);const i=se(t),a=i.findIndex((t=>ce(t.value,e.value)));return a>=0?i.splice(a,1):i.push(e),i}(ge(decodeURIComponent(e),v),x,i);void 0===n&&h(t),r(me(t),t),setTimeout((()=>{b.current&&c&&b.current.blur()}),0)},C=function(e){const t=[];return e.forEach((e=>{if(e.group){const n=t.findIndex((t=>"group"===t.type&&t.name===e.group));n>=0?t[n].items.push(e):t.push({items:[e],type:"group",name:e.group})}else t.push(e)})),t}((E=[m?ue:null,...d||[]],M=v,z=f,E.filter(Boolean).reduce(((e,t)=>t(e,z)),M).map(((e,t)=>({...e,index:t}))))),[D,R,S]=function(e,t,n){const[i,o]=(0,a.useState)(-1);return[{onKeyDown:t=>{const n=t.key.replace("Arrow","").toLowerCase();"down"!==n&&"up"!==n||(t.preventDefault(),o(function(e,t,n){const i=n.length-1;let a=null,o=-1,r=e;for(;o++<=i&&(!a||a.disabled);)r="down"===t?r+1:r-1,r<0?r=i:r>i&&(r=0),a=n[r];return r}(i,n,e)))},onKeyUp:a=>{"Escape"===a.key?(a.preventDefault(),n.current.blur()):"Enter"===a.key&&(a.preventDefault(),e[i]&&t(e[i].value))}},i,o]}(C,T,b),I={search:f,focus:_,option:x,value:me(x),fetching:w,highlighted:R,options:C,displayValue:de(x,v,g)},B={tabIndex:"0",readOnly:!o,placeholder:g,value:_&&o?f:I.displayValue,ref:b,...D,onFocus:e=>{k(!0),p(e)},onBlur:e=>{k(!1),y(""),S(-1),l(e)},onMouseDown:e=>{_&&(e.preventDefault(),b.current.blur())},onChange:o?({target:e})=>y(e.value):null},L={tabIndex:"-1",onMouseDown(e){e.preventDefault(),T(e.currentTarget.value)}};var E,M,z;return(0,a.useEffect)((()=>{h(ge(void 0===n?t:n,v))}),[n,v]),[I,B,L]}const fe=e=>"string"==typeof e,ye=(e,t)=>fe(t)?`${t}-${e}`:t[e];function _e({optionProps:e,highlighted:t,selected:n,option:i,cls:a,renderOption:o,disabled:r}){const p={...e,value:encodeURIComponent(i.value),disabled:r},l=a({option:!0,"is-selected":n,"is-highlighted":t});return(0,le.jsxs)("li",{className:a("row"),role:"menuitem","data-index":i.index,children:[o&&o(p,i,{selected:n,highlighted:t},l),!o&&(0,le.jsx)("button",{type:"button",className:l,...p,children:i.name})]})}var ke=(0,a.memo)(_e);function ve(e){const{options:t,cls:n,renderOption:i,renderGroupHeader:a,optionProps:o,snapshot:r,disabled:p}=e;return(0,le.jsx)("ul",{className:n("options"),children:t.map((t=>{return"group"===t.type?(0,le.jsx)("li",{role:"none",className:n("row"),children:(0,le.jsxs)("div",{className:n("group"),children:[(0,le.jsx)("div",{className:n("group-header"),children:a?a(t.name):t.name}),(0,le.jsx)(ve,{...e,options:t.items})]})},t.name):(0,le.jsx)(ke,{option:t,optionProps:o,cls:n,renderOption:i,selected:(l=t,c=r.option,!!c&&(Array.isArray(c)?c.findIndex((e=>e.value===l.value))>=0:c.value===l.value)),highlighted:r.highlighted===t.index,disabled:t.disabled||p},t.value);var l,c}))})}var we=(0,a.memo)(ve);const Te=(0,a.forwardRef)((({disabled:e,placeholder:t,multiple:n,search:i,autoFocus:o,autoComplete:r,id:p,closeOnSelect:l,className:c,renderValue:g,renderOption:s,renderGroupHeader:d,fuzzySearch:m,emptyMessage:u,value:b,...x},h)=>{const f=(0,a.useRef)(null),y=e=>function(e,t){return fe(e)?ye(e,t):Object.entries(e).filter((([e,t])=>e&&t)).map((([e])=>ye(e,t))).join(" ")}(e,c),[_,k]=(0,a.useState)(b),[v,w,T]=he({value:_,placeholder:t,multiple:n,search:i,closeOnSelect:l&&!n,useFuzzySearch:m,...x}),{highlighted:C,value:D,fetching:R,focus:S}=v,I={...w,autoFocus:o,autoComplete:r,disabled:e};return(0,a.useEffect)((()=>{const{current:e}=f;if(e){const t=Array.isArray(D)?D[0]:D,n=e.querySelector(C>-1?`[data-index="${C}"]`:`[value="${encodeURIComponent(t)}"]`);if(n){const t=e.getBoundingClientRect(),i=n.getBoundingClientRect();e.scrollTop=n.offsetTop-t.height/2+i.height/2}}}),[D,C,f.current]),(0,a.useEffect)((()=>k(b)),[b]),(0,le.jsxs)("div",{ref:h,id:p,className:y({container:!0,"is-multiple":n,"is-disabled":e,"is-loading":R,"has-focus":S}),children:[(!n||t||i)&&(0,le.jsxs)("div",{className:y("value"),children:[g&&g(I,v,y("input")),!g&&(0,le.jsx)("input",{...I,className:y("input")})]}),(0,le.jsxs)("div",{className:y("select"),ref:f,onMouseDown:e=>e.preventDefault(),children:[v.options.length>0&&(0,le.jsx)(we,{options:v.options,optionProps:T,renderOption:s,renderGroupHeader:d,disabled:e,snapshot:v,cls:y}),!v.options.length&&(0,le.jsx)("ul",{className:y("options"),children:!v.options.length&&u&&(0,le.jsx)("li",{className:y("not-found"),children:u})})]})]})}));Te.defaultProps={options:[],fuzzySearch:!0,printOptions:"auto",closeOnSelect:!0,debounce:250,autoComplete:"on",className:"select-search"},Te.displayName="SelectSearch";var Ce=(0,a.memo)(Te);function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Re(e){return(0,a.createElement)("div",{className:"gp-select-search"},(0,a.createElement)(Ce,function(e){for(var t=1;t0&&S(o)}},void 0!==V[e].thumbnail&&!!V[e].thumbnail&&(0,a.createElement)("img",{src:gpPremiumBlockElements.templateImageUrl+"/"+V[e].thumbnail,alt:V[e].label}),(0,a.createElement)("div",{className:"gpp-block-template-label"},V[e].label))})))),("right-sidebar"===l||"left-sidebar"===l)&&(0,a.createElement)(g.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,p.__)("This will remove the current sidebar widgets for the selected sidebar. Your layout must have a sidebar set for this Element to show.","gp-premium")),"site-footer"===l&&(0,a.createElement)(g.BaseControl,null,(0,a.createElement)(g.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,p.__)("This Element will replace your site footer area that holds your copyright message. It will not replace footer widgets if they exist.","gp-premium"))),"post-meta-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Location","gp-premium"),value:b,options:[{label:(0,p.__)("After post title","gp-premium"),value:"after-post-title"},{label:(0,p.__)("Before post title","gp-premium"),value:"before-post-title"},{label:(0,p.__)("After content","gp-premium"),value:"after-content"},{label:(0,p.__)("Custom","gp-premium"),value:"custom"}],onChange:function(e){S({_generate_post_meta_location:e})}})),P.length>1&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Quick hook select","gp-premium"),value:s||"",options:P,onChange:function(e){S({_generate_hook:e})}}),(!l||"hook"===l||"page-hero"===l||"post-navigation-template"===l||"archive-navigation-template"===l||"post-meta-template"===l&&"custom"===b)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.BaseControl,{id:"gpp-hook-select",label:(0,p.__)("Hook name","gp-premium"),className:"gpp-hook-select"},(0,a.createElement)(Re,{options:M,value:s,placeholder:(0,p.__)("Choose your hook","gp-premium"),search:!0,onChange:function(e){e!==s&&S({_generate_hook:e||""})}})),"custom"===s&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Custom hook name","gp-premium"),type:"text",onChange:function(e){S({_generate_custom_hook:e||""})},value:d||""}),!!s&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Priority","gp-premium"),type:"text",onChange:function(e){S({_generate_hook_priority:e||""})},value:m||"",placeholder:"10"})),"post-meta-template"===l&&(0,a.createElement)(c.Fragment,null,(""===b||"after-post-title"===b||"before-post-title"===b||"custom"===b)&&(0,a.createElement)(g.ToggleControl,{checked:!!x,label:(0,p.__)("Replace default primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}}),("after-content"===b||"custom"===b)&&(0,a.createElement)(g.ToggleControl,{checked:!!h,label:(0,p.__)("Replace default secondary post meta","gp-premium"),onChange:function(e){S({_generate_disable_secondary_post_meta:e})}})),"content-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Tag name","gp-premium"),value:u,options:[{label:"article",value:"article"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"aside",value:"aside"}],onChange:function(e){S({_generate_post_loop_item_tagname:e})}}),(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Apply to","gp-premium"),value:k,options:[{label:(0,p.__)("All posts","gp-premium"),value:""},{label:(0,p.__)("Posts with term","gp-premium"),value:"has-term"},{label:(0,p.__)("Posts with custom field","gp-premium"),value:"has-post-meta"},{label:(0,p.__)("First post","gp-premium"),value:"is-first-post"}],onChange:function(e){S({_generate_post_loop_item_display:e})}}),""!==k&&(0,a.createElement)(c.Fragment,null,"has-term"===k&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Taxonomy","gp-premium"),value:v,options:z,onChange:function(e){S({_generate_post_loop_item_display_tax:e})}}),!!v&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Term name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_term:e||""})},value:w||""})),"has-post-meta"===k&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Post meta name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_post_meta:e||""})},value:T||""}),q.length>0&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.BaseControl,null,(0,a.createElement)(g.ComboboxControl,{className:"editor-page-attributes__parent",label:(0,p.__)("Parent Element","gp-premium"),help:(0,p.__)("Set a parent Element to inherit in case the above conditions do not apply.","gp-premim"),value:L,options:q,onFilterValueChange:function(e){e&&$()(I(e),300)},onChange:function(e){I(e)}})),!!L&&(0,a.createElement)(g.TextControl,{type:"number",label:(0,p.__)("Display Order","gp-premium"),onChange:function(e){B(e)},value:E}))),(0,a.createElement)(g.ToggleControl,{checked:!!_,label:(0,p.__)("Keep default post container","gp-premium"),onChange:function(e){S({_generate_use_theme_post_container:e})}})),"page-hero"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!f,label:(0,p.__)("Disable title","gp-premium"),onChange:function(e){S({_generate_disable_title:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!y,label:(0,p.__)("Disable featured image","gp-premium"),onChange:function(e){S({_generate_disable_featured_image:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!x,label:(0,p.__)("Disable primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}})),"site-footer"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{className:"gpp-block-dynamic-year",type:"text",readOnly:!0,value:"{{current_year}}",label:(0,p.__)("Current year template tag","gp-premium"),help:(0,p.__)("Use the above template tag to add the current year to your footer.","gp-premium")})),"post-navigation-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!C,label:(0,p.__)("Disable default post navigation","gp-premium"),onChange:function(e){S({_generate_disable_post_navigation:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!R,label:(0,p.__)("Add default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}})),"archive-navigation-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!D,label:(0,p.__)("Disable default pagination","gp-premium"),onChange:function(e){S({_generate_disable_archive_navigation:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!R,label:(0,p.__)("Keep default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}}))))}}]),o}(c.Component),Le=(0,oe.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{meta:t("meta"),elementParent:t("parent"),elementMenuOrder:t("menu_order")}})),Ee=(0,oe.withDispatch)((function(e,t){var n=t.meta,i=e("core/editor").editPost;return{updateMeta:function(e){i({meta:Ie(Ie({},n),e)})},updateParentId:function(e){i({parent:e})},updateOrder:function(e){i({menu_order:e})}}})),Me=(0,s.compose)([Le,Ee])(Be);(0,ie.registerPlugin)("generatepress-block-element",{icon:null,render:Me}),pe()((function(){return(0,ie.unregisterPlugin)("generatepress-content-width")}))}()}();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.asset.php b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.asset.php
deleted file mode 100644
index ee571e28..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.asset.php
+++ /dev/null
@@ -1 +0,0 @@
- array('wp-hooks', 'wp-i18n'), 'version' => '4ec1543129b0728cd3b0');
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.js
deleted file mode 100644
index 3a201d2e..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/customizer.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){"use strict";function e(o){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(o)}function o(o){var r=function(o,r){if("object"!==e(o)||null===o)return o;var t=o[Symbol.toPrimitive];if(void 0!==t){var n=t.call(o,"string");if("object"!==e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(o);return"symbol"===e(r)?r:String(r)}var r=window.wp.hooks,t=window.wp.i18n;function n(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,t)}return r}function a(e){for(var r=1;r array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '0ab64c3a1832f10e060d');
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/dashboard.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/dashboard.js
deleted file mode 100644
index 861ddff5..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/dashboard.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){var e,t={373:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,"string");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:u;a(!0),S(!!e);var t=document.querySelector(".generatepress-dashboard__section-item-message");t.classList.remove("generatepress-dashboard__section-item-message__show"),p()({path:"/generatepress-pro/v1/license",method:"POST",data:{key:e,status:f}}).then((function(e){a(!1),t.classList.add("generatepress-dashboard__section-item-message__show"),e.success&&e.response?(t.classList.remove("generatepress-dashboard__section-item-message__error"),"valid"===e.response.license?t.textContent=(0,c.__)("License key activated.","gp-premium"):"deactivated"===e.response.license?t.textContent=(0,c.__)("License key deactivated.","gp-premium"):t.textContent=e.response,h(e.response.license),setTimeout((function(){t.classList.remove("generatepress-dashboard__section-item-message__show")}),3e3)):(t.classList.add("generatepress-dashboard__section-item-message__error"),t.textContent=e.response)}))};return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"generatepress-dashboard__section generatepress-license-key-area"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-title"},(0,i.createElement)("h2",null,(0,c.__)("License Key","gp-premium")),(0,i.createElement)("span",{className:"generatepress-dashboard__section-item-message"})),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item"},(0,i.createElement)(l.Notice,{className:"generatepress-dashboard__section-license-notice",isDismissible:!1,status:"valid"===f?"success":"warning"},"valid"===f?(0,i.createElement)("span",null,(0,c.__)("Receiving premium updates.","gp-premium")):(0,i.createElement)("span",null,(0,c.__)("Not receiving premium updates.","gp-premium"))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-license-key"},w?(0,i.createElement)(l.TextControl,{type:"text",autoComplete:"off",value:u,disabled:!0}):(0,i.createElement)(i.Fragment,null,(0,i.createElement)(l.TextControl,{placeholder:(0,c.__)("Enter your license key to activate updates.","gp-premium"),type:"text",autoComplete:"off",onChange:function(e){return g(e)}}),!!u&&(0,i.createElement)(l.Button,{variant:"primary",disabled:!!s,onClick:function(){return O()}},s&&(0,i.createElement)(l.Spinner,null),!s&&(0,c.__)("Save key"))),!!w&&!!u&&(0,i.createElement)(l.Button,{variant:"primary",onClick:function(){g(""),O("")}},(0,c.__)("Clear key","generateblocks"))),""!==u&&(0,i.createElement)("div",{className:"generatepress-dashboard__section-beta-tester"},(0,i.createElement)(l.ToggleControl,{label:(0,c.__)("Receive development version updates"),help:(0,c.__)("Get alpha, beta, and release candidate updates directly to your Dashboard.","gp-premium"),checked:!!v,onChange:function(e){y(e),function(e){var t=document.querySelector(".generatepress-dashboard__section-item-message");t.classList.remove("generatepress-dashboard__section-item-message__show"),p()({path:"/generatepress-pro/v1/beta",method:"POST",data:{beta:e}}).then((function(e){a(!1),t.classList.add("generatepress-dashboard__section-item-message__show"),e.success&&e.response?(t.classList.remove("generatepress-dashboard__section-item-message__error"),t.textContent=e.response,setTimeout((function(){t.classList.remove("generatepress-dashboard__section-item-message__show")}),3e3)):(t.classList.add("generatepress-dashboard__section-item-message__error"),t.textContent=e.response)}))}(e)}})))))};window.addEventListener("DOMContentLoaded",(function(){(0,m.render)((0,i.createElement)(b,null),document.getElementById("generatepress-license-key"))}));var v=function(){var e=o((0,m.useState)(!1),2),t=e[0],n=e[1],s=o((0,m.useState)(!1),2),a=s[0],d=s[1],u=o((0,m.useState)(!1),2),_=u[0],f=u[1],h=o((0,m.useState)(!1),2),b=h[0],v=h[1],y=o((0,m.useState)("all"),2),E=y[0],w=y[1];return(0,m.useEffect)((function(){t||n(!0)})),t?(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"generatepress-dashboard__section"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-title"},(0,i.createElement)("h2",null,(0,c.__)("Import / Export","gp-premium"))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-content"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-title"},(0,c.__)("Export","gp-premium")),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-description"},(0,c.__)("Export your customizer settings.","gp-premium"))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-action"},(0,i.createElement)("span",{className:"generatepress-dashboard__section-item-message"}),(0,i.createElement)(l.ButtonGroup,{className:"generatepress-dashboard__section-item-export-type"},(0,i.createElement)(l.Button,{isPrimary:"all"===E,onClick:function(){return w("all")}},(0,c.__)("All","gp-premium")),(0,i.createElement)(l.Button,{isPrimary:"global-colors"===E,onClick:function(){return w("global-colors")}},(0,c.__)("Global Colors","gp-premium")),(0,i.createElement)(l.Button,{isPrimary:"typography"===E,onClick:function(){return w("typography")}},(0,c.__)("Typography","gp-premium"))),(0,i.createElement)(l.Button,{disabled:!!a,isPrimary:!0,onClick:function(e){return function(e){d(!0);var t=e.target.previousElementSibling.previousElementSibling;p()({path:"/generatepress-pro/v1/export",method:"POST",data:{items:!1,type:E}}).then((function(e){if(d(!1),t.classList.add("generatepress-dashboard__section-item-message__show"),"object"===r(e.response)?t.textContent=(0,c.__)("Options exported","gp-premium"):t.textContent=e.response,e.success&&e.response){var n=(new Date).toISOString().slice(0,10),s="generatepress-settings-"+E+"-"+n+".json",a=new Blob([JSON.stringify(e.response)],{type:"application/json",name:s});g()(a,s),setTimeout((function(){t.classList.remove("generatepress-dashboard__section-item-message__show")}),3e3)}else t.classList.add("generatepress-dashboard__section-item-message__error")}))}(e)}},!!a&&(0,i.createElement)(l.Spinner,null),!a&&(0,c.__)("Export","gp-premium")))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-content"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-title"},(0,c.__)("Import","gp-premium")),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-description"},(0,c.__)("Import your customizer settings.","gp-premium"))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-action"},(0,i.createElement)("span",{className:"generatepress-dashboard__section-item-message"}),(0,i.createElement)("input",{type:"file",accept:".json",onChange:function(e){var t=new FileReader;t.onloadend=function(){var e=t.result;(e=JSON.parse(e))&&v(e)},t.readAsText(e.target.files[0])}}),(0,i.createElement)(l.Button,{disabled:!!_||!b,isPrimary:!0,onClick:function(e){window.confirm((0,c.__)("This can overwrite existing settings and cannot be undone.","gp-premium"))&&function(e){f(!0);var t=e.target.previousElementSibling.previousElementSibling,n=e.target.previousElementSibling;n.style.display="none",p()({path:"/generatepress-pro/v1/import",method:"POST",data:{import:b}}).then((function(e){f(!1),t.classList.add("generatepress-dashboard__section-item-message__show"),"object"===r(e.response)?t.textContent=(0,c.__)("Options imported.","gp-premium"):t.textContent=e.response,e.success&&e.response?setTimeout((function(){t.classList.remove("generatepress-dashboard__section-item-message__show"),n.style.display="block",n.value=""}),3e3):t.classList.add("generatepress-dashboard__section-item-message__error")}))}(e)}},!!_&&(0,i.createElement)(l.Spinner,null),!_&&(0,c.__)("Import","gp-premium")))))):(0,i.createElement)(l.Placeholder,{className:"generatepress-dashboard__placeholder"},(0,i.createElement)(l.Spinner,null))};window.addEventListener("DOMContentLoaded",(function(){(0,m.render)((0,i.createElement)(v,null),document.getElementById("generatepress-import-export-pro"))}));var y=function(){var e=o((0,m.useState)(!1),2),t=e[0],n=e[1],s=o((0,m.useState)(!1),2),a=s[0],d=s[1];return(0,m.useEffect)((function(){t||n(!0)})),t?(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"generatepress-dashboard__section"},(0,i.createElement)("div",{className:"generatepress-dashboard__section-title",style:{marginBottom:0}},(0,i.createElement)("h2",null,(0,c.__)("Reset","gp-premium"))),(0,i.createElement)("div",{className:"generatepress-dashboard__section-item-description",style:{marginTop:0}},(0,c.__)("Reset your customizer settings.","gp-premium")),(0,i.createElement)(l.Button,{className:"generatepress-dashboard__reset-button",style:{marginTop:"10px"},disabled:!!a,isPrimary:!0,onClick:function(e){window.confirm((0,c.__)("This will delete all of your customizer settings. It cannot be undone.","gp-premium"))&&function(e){d(!0);var t=e.target.nextElementSibling;p()({path:"/generatepress-pro/v1/reset",method:"POST",data:{items:!1}}).then((function(e){d(!1),t.classList.add("generatepress-dashboard__section-item-message__show"),"object"===r(e.response)?t.textContent=(0,c.__)("Settings reset.","gp-premium"):t.textContent=e.response,e.success&&e.response?setTimeout((function(){t.classList.remove("generatepress-dashboard__section-item-message__show")}),3e3):t.classList.add("generatepress-dashboard__section-item-message__error")}))}(e)}},!!a&&(0,i.createElement)(l.Spinner,null),!a&&(0,c.__)("Reset","gp-premium")),(0,i.createElement)("span",{className:"generatepress-dashboard__section-item-message",style:{marginLeft:"10px"}}))):(0,i.createElement)(l.Placeholder,{className:"generatepress-dashboard__placeholder"},(0,i.createElement)(l.Spinner,null))};window.addEventListener("DOMContentLoaded",(function(){(0,m.render)((0,i.createElement)(y,null),document.getElementById("generatepress-reset-pro"))}))},162:function(e,t,n){var r,s;void 0===(s="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),i=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,n,o){var i=a.URL||a.webkitURL,c=document.createElement("a");n=n||e.name||"download",c.download=n,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?s(c):r(c.href)?t(e,n,o):s(c,c.target="_blank")):(c.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(c.href)}),4e4),setTimeout((function(){s(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),n);else if(r(e))t(e,n,a);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout((function(){s(o)}))}}:function(e,n,r,s){if((s=s||open("","_blank"))&&(s.document.title=s.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var i="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&c||o)&&"undefined"!=typeof FileReader){var m=new FileReader;m.onloadend=function(){var e=m.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),s?s.location.href=e:location=e,s=null},m.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,p=d.createObjectURL(e);s?s.location=p:location.href=p,s=null,setTimeout((function(){d.revokeObjectURL(p)}),4e4)}});a.saveAs=i.saveAs=i,e.exports=i})?r.apply(t,[]):r)||(e.exports=s)}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,n,s,a){if(!n){var o=1/0;for(m=0;m=a)&&Object.keys(r.O).every((function(e){return r.O[e](n[c])}))?n.splice(c--,1):(i=!1,a0&&e[m-1][2]>a;m--)e[m]=e[m-1];e[m]=[n,s,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={966:0,100:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,a,o=n[0],i=n[1],c=n[2],l=0;if(o.some((function(t){return 0!==e[t]}))){for(s in i)r.o(i,s)&&(r.m[s]=i[s]);if(c)var m=c(r)}for(t&&t(n);l array('react', 'wp-edit-post', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins'), 'version' => 'd1ae659d7b937f65b15d');
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.css
deleted file mode 100644
index 4d7bafd0..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.css
+++ /dev/null
@@ -1 +0,0 @@
-.gpp-active-element-type{color:#555;font-size:11px;text-transform:uppercase}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.js
deleted file mode 100644
index 6044d7b4..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/editor.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var r=0;r array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '6e43dc7500e77c46bb9b');
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.css
deleted file mode 100644
index 82d72955..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.css
+++ /dev/null
@@ -1 +0,0 @@
-.generatepress-site-library{box-sizing:border-box;margin:40px auto 0;max-width:1200px;padding:0 20px}.generatepress-site-library .generatepress-site-library-opened{bottom:0;display:flex;height:100vh;left:0;position:fixed;right:0;top:0;width:100%;z-index:99999}.generatepress-site-library .generatepress-site-library-info{background:#fff;border-left:1px solid #ddd;padding-bottom:50px;position:relative;width:300px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-header{border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding-left:20px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-header .has-author{margin-bottom:0}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-header .site-library-author{color:#777;display:block;font-size:11px;margin-bottom:1em;margin-top:3px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-header button{border-left:1px solid #ddd;height:auto}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-footer{border-top:1px solid #ddd;bottom:0;display:flex;left:0;position:absolute;right:0}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-footer button{flex-grow:1;font-size:20px;height:50px;justify-content:center}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-footer button:not(:last-child){border-right:1px solid #ddd}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-content{box-sizing:border-box;height:calc(100% - 53px);overflow-y:auto;padding:20px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-content>:first-child{margin-top:0}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-content h3{margin-top:30px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-content h3+.gpp-library-action-button{margin-top:10px}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-plugins{font-size:12px;list-style-type:disc;margin-bottom:0;margin-left:1.5em}.generatepress-site-library .generatepress-site-library-info .generatepress-site-library-plugins li{margin-bottom:0}.generatepress-site-library .generatepress-site-library-iframe{background:#fff;display:flex;justify-content:center;width:calc(100% - 300px)}.generatepress-site-library .generatepress-site-library-iframe iframe{height:100%;width:100%}.generatepress-site-library .gpp-library-action-button{align-items:center;display:flex;margin-top:30px}.generatepress-site-library .gpp-library-action-button button .components-spinner{margin:0}.generatepress-site-library .gpp-library-action-button .gpp-library-action-message{padding-left:10px}.generatepress-site-library .generatepress-site-library-filter{align-items:center;background:#fff;border:1px solid #ddd;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:40px;padding:20px}.generatepress-site-library .generatepress-site-library-filter>.components-base-control{margin-right:20px}.generatepress-site-library .generatepress-site-library-filter>.components-base-control .components-base-control__field{margin-bottom:0}.generatepress-site-library .generatepress-site-library-filter .components-select-control label{font-size:11px}.generatepress-site-library-list{display:flex;flex-wrap:wrap;list-style:none;margin-left:-30px;padding:0}.generatepress-site-library-list>.generatepress-site-library-list-item{box-sizing:border-box;flex:0 0 33.333%;padding-bottom:30px;padding-left:30px;width:33.333%}@media screen and (max-width:840px){.generatepress-site-library-list>.generatepress-site-library-list-item{flex:0 0 50%;width:50%}}@media screen and (max-width:450px){.generatepress-site-library-list>.generatepress-site-library-list-item{flex:0 0 100%;width:100%}}.generatepress-site-library-list>.generatepress-site-library-list-item>button{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 0 0 2px transparent;cursor:pointer;display:block;padding:5px;text-align:center;transition:border-color .2s,box-shadow .2s;width:100%}.generatepress-site-library-list>.generatepress-site-library-list-item>button:active,.generatepress-site-library-list>.generatepress-site-library-list-item>button:focus,.generatepress-site-library-list>.generatepress-site-library-list-item>button:hover{box-shadow:0 0 0 2px #216eb7}.generatepress-site-library-list>.generatepress-site-library-list-item>button .generatepress-site-library-list-item-image{display:block;position:relative}.generatepress-site-library-list>.generatepress-site-library-list-item>button .generatepress-site-library-list-item-image img{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:auto;width:100%}.generatepress-site-library-list>.generatepress-site-library-list-item .generatepress-site-library-list-item-title{font-size:20px;padding:20px 20px 10px}.generatepress-site-library-list>.generatepress-site-library-list-item .generatepress-site-library-list-item-title .generatepress-site-library-required-version{color:#000;display:block;font-size:12px;padding-top:5px}.generatepress-site-library-restore{background:#fff;border:1px solid #ddd;padding:40px}.generatepress-site-library-restore h2{font-size:25px;margin-top:0}.components-placeholder.gpp-library-placeholder{background:transparent;border:0;box-shadow:0 0 0}.components-placeholder.gpp-library-placeholder .components-placeholder__fieldset{justify-content:center}.generatepress-site-library-no-results{padding:50px;text-align:center}.generatepress-site-library-no-results button .components-spinner,.generatepress-site-library-refresh button .components-spinner{margin:0}.generatepress-site-library-refresh{text-align:center}.appearance_page_generatepress-library #wpbody-content .metabox-holder,.appearance_page_generatepress-library #wpcontent{padding:0}.site-library-header{background-color:#fff;box-shadow:0 1px 0 rgba(200,215,225,.5),0 1px 2px #ddd;margin-bottom:40px;padding:20px}.site-library-header .site-library-container{box-sizing:border-box;display:flex;margin:0 auto;max-width:1200px;padding:0 20px}.site-library-header .library-links{margin-left:auto}.site-library-header .library-links a{display:inline-block;margin:0 10px}.site-library-header .library-title{color:#000;font-size:20px;font-weight:500}.generatepress-dashboard-tabs{box-sizing:border-box;margin:0 auto;max-width:1200px;padding:0 20px}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.js b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.js
deleted file mode 100644
index 54359955..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/site-library.js
+++ /dev/null
@@ -1,6 +0,0 @@
-!function(){var e={703:function(e,t,n){"use strict";var r=n(414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},216:function(e,t,n){"use strict";t.be=void 0;var r=function(){function e(e,t){for(var n=0;n=0&&_-E[0]<=h&&_+v+E[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,r=void 0;try{var i=t.getBoundingClientRect();n=i.top,r=i.height}catch(e){n=0,r=0}var a=window.innerHeight||document.documentElement.clientHeight,s=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-s[0]<=a&&n+r+s[1]>=0}(e);r?e.visible||(e.props.once&&g.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},y=function(){for(var e=0;e=0?r=setTimeout(l,t-p):(r=null,n||(o=e.apply(a,i),r||(a=null,i=null)))};return function(){a=this,i=arguments,s=+new Date;var p=n&&!r;return r||(r=setTimeout(l,t)),p&&(o=e.apply(a,i),a=null,i=null),o}}},81:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,r){r=r||!1,e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,r){r=r||!1,e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)}},315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,r=e;r;){if(!r.parentNode)return e.ownerDocument||document.documentElement;var i=window.getComputedStyle(r),a=i.position,s=i.overflow,o=i["overflow-x"],l=i["overflow-y"];if("static"===a&&t)r=r.parentNode;else{if(n.test(s)&&n.test(o)&&n.test(l))return r;r=r.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i;return t||(t=250),function(){var a=n||this,s=+new Date,o=arguments;r&&se.length)&&(t=e.length);for(var n=0,r=new Array(t);ns[l]?1:-1}return a.length!==s.length?-1:0}var c=window.wp.i18n,m=window.wp.components,h=window.wp.element,g=window.wp.htmlEntities,f=window.wp.apiFetch,d=n.n(f);function v(e){var t=e.allSites,n=e.value,r=e.onChange;if(!t)return null;var i=[""];return Object.keys(t).forEach((function(e){t[e].category.forEach((function(e){i.includes(e)||i.push(e)}))})),i.length<2?null:(0,l.createElement)("div",null,i.map((function(e){return(0,l.createElement)(m.Button,{key:e,variant:e===n?"primary":"",onClick:function(){return r(e)}},""===e?(0,c.__)("All","gp-premium"):e)})))}function b(e){var t=e.onChange,n=e.value;return(0,l.createElement)("div",null,(0,l.createElement)("input",{type:"search",onChange:function(e){var n;return t(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:n,placeholder:(0,c.__)("Search site name or author","gp-premium")}))}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(w,e);var n,f,y,_,E=(y=w,_=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=o(y);if(_){var n=o(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function w(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),(e=E.apply(this,arguments)).state={allSites:{},isAPIWorking:!1,siteOpened:!1,siteData:{},siteSlug:"",sitePlugins:{},hasData:{},hasWidgets:!1,importOptions:!0,importContent:!0,confirmImport:!1,importComplete:!1,installablePlugins:[],activePlugins:[],manualPlugins:[],refreshingSites:!1,hasBackup:gppSiteLibrary.hasBackup,category:"",search:"",device:"desktop"},e.importThemeOptions=e.importThemeOptions.bind(a(e)),e.installPlugins=e.installPlugins.bind(a(e)),e.activatePlugins=e.activatePlugins.bind(a(e)),e.importContent=e.importContent.bind(a(e)),e.importSiteOptions=e.importSiteOptions.bind(a(e)),e.importWidgets=e.importWidgets.bind(a(e)),e}return n=w,(f=[{key:"componentDidMount",value:function(){var e=this;d()({path:"/generatepress-site-library/v1/get_sites",method:"POST",data:{forceRefresh:!1}}).then((function(t){e.setState({isAPILoaded:!0,allSites:t.response})}))}},{key:"importThemeOptions",value:function(e){var t=this,n=e.target.nextElementSibling;n.classList.add("gpp-library-action-message--show"),n.textContent=(0,c.__)("Importing theme options","gp-premium"),d()({path:"/generatepress-site-library/v1/import_theme_options",method:"POST",data:{siteData:this.state.siteData,siteSlug:this.state.siteData.name.replace(/\s+/g,"_").toLowerCase(),importOptions:this.state.importOptions,importContent:this.state.importContent}}).then((function(e){n.textContent=e.response,e.success&&e.response||n.classList.add("gblocks-action-message--error"),setTimeout((function(){t.state.importContent?Object.keys(t.state.hasData.plugin_data).length>0?t.installPlugins(n):t.importContent(n):(n.textContent=(0,c.__)("Import Complete","gp-premium"),t.setState({isAPIWorking:!1,importComplete:!0,hasBackup:!0}))}),2e3)}))}},{key:"installPlugins",value:function(e){var n=this;void 0!==e.target&&(e=e.target.nextElementSibling),e.classList.add("gpp-library-action-message--show"),e.textContent=(0,c.__)("Installing plugins","gp-premium"),Object.entries(this.state.hasData.plugin_data).forEach((function(r){var i=t(r,2),a=i[0],s=i[1],o=s.slug.split("/")[0],l=s.name;s.installed?(delete n.state.hasData.plugin_data[a],0===Object.keys(n.state.hasData.plugin_data).length&&n.activatePlugins(e)):("bb-plugin"===o&&(o="beaver-builder-lite-version",l="Beaver Builder Lite"),e.textContent=(0,c.sprintf)(/* translators: Installing "Plugin Name" */
-(0,c.__)("Installing %s","gp-premium"),l),wp.updates.installPlugin({slug:o,success:function(t){console.log(t),delete n.state.hasData.plugin_data[a],0===Object.keys(n.state.hasData.plugin_data).length&&n.activatePlugins(e)},error:function(t){console.log(t),delete n.state.hasData.plugin_data[a],0===Object.keys(n.state.hasData.plugin_data).length&&n.activatePlugins(e)}}))}))}},{key:"activatePlugins",value:function(e){var t=this;e.classList.add("gpp-library-action-message--show"),e.textContent=(0,c.__)("Activating plugins","gp-premium"),d()({path:"/generatepress-site-library/v1/activate_plugins",method:"POST",data:{siteData:this.state.siteData,siteSlug:this.state.siteData.name.replace(/\s+/g,"_").toLowerCase(),importOptions:this.state.importOptions,importContent:this.state.importContent}}).then((function(n){e.textContent=n.response,n.success&&n.response||e.classList.add("gblocks-action-message--error"),setTimeout((function(){t.importContent(e)}),2e3)}))}},{key:"importContent",value:function(e){var t=this;e.classList.add("gpp-library-action-message--show"),e.textContent=(0,c.__)("Importing content","gp-premium"),d()({path:"/generatepress-site-library/v1/import_content",method:"POST",data:{siteData:this.state.siteData,siteSlug:this.state.siteData.name.replace(/\s+/g,"_").toLowerCase(),importOptions:this.state.importOptions,importContent:this.state.importContent}}).then((function(n){e.textContent=n.response,n.success&&n.response||e.classList.add("gblocks-action-message--error"),setTimeout((function(){t.importSiteOptions(e)}),2e3)}))}},{key:"importSiteOptions",value:function(e){var t=this;e.classList.add("gpp-library-action-message--show"),e.textContent=(0,c.__)("Importing site options","gp-premium"),d()({path:"/generatepress-site-library/v1/import_site_options",method:"POST",data:{siteData:this.state.siteData,siteSlug:this.state.siteData.name.replace(/\s+/g,"_").toLowerCase(),importOptions:this.state.importOptions,importContent:this.state.importContent}}).then((function(n){e.textContent=n.response,n.success&&n.response||e.classList.add("gblocks-action-message--error"),setTimeout((function(){t.state.hasWidgets?t.importWidgets(e):(e.textContent=(0,c.__)("Import Complete","gp-premium"),t.setState({isAPIWorking:!1,importComplete:!0,hasBackup:!0}))}),2e3)}))}},{key:"importWidgets",value:function(e){var t=this;e.classList.add("gpp-library-action-message--show"),e.textContent=(0,c.__)("Importing widgets","gp-premium"),d()({path:"/generatepress-site-library/v1/import_widgets",method:"POST",data:{siteData:this.state.siteData,siteSlug:this.state.siteData.name.replace(/\s+/g,"_").toLowerCase(),importOptions:this.state.importOptions,importContent:this.state.importContent}}).then((function(n){e.textContent=n.response,n.success&&n.response||e.classList.add("gblocks-action-message--error"),setTimeout((function(){e.textContent=(0,c.__)("Import Complete","gp-premium"),t.setState({isAPIWorking:!1,importComplete:!0,hasBackup:!0})}),2e3)}))}},{key:"restoreBackup",value:function(e){var t=this,n=e.target.nextElementSibling;n.classList.add("gpp-library-action-message--show"),n.textContent=(0,c.__)("Restoring theme options","gp-premium"),d()({path:"/generatepress-site-library/v1/restore_theme_options",method:"POST"}).then((function(e){n.textContent=e.response,e.success&&e.response||n.classList.add("gblocks-action-message--error"),setTimeout((function(){n.textContent=(0,c.__)("Restoring content","gp-premium"),d()({path:"/generatepress-site-library/v1/restore_content",method:"POST"}).then((function(e){n.textContent=e.response,e.success&&e.response||n.classList.add("gblocks-action-message--error"),t.setState({isAPIWorking:!1,hasBackup:!1})}))}),2e3)}))}},{key:"render",value:function(){var e=this;if(!this.state.isAPILoaded)return(0,l.createElement)(m.Placeholder,{className:"gpp-library-placeholder"},(0,l.createElement)(m.Spinner,null));var n=this.state.allSites;if(!n||"no results"===n)return(0,l.createElement)("div",{className:"generatepress-site-library-no-results"},(0,l.createElement)("p",null,(0,c.__)("No sites were found.","gp-premium")," ",(0,l.createElement)("a",{href:"https://docs.generatepress.com/article/site-library-unavailable/",target:"_blank",rel:"noreferrer noopener"},(0,c.__)("Why?","gp-premium"))),(0,l.createElement)(m.Button,{variant:"primary",onClick:function(){e.setState({refreshingSites:!0}),d()({path:"/generatepress-site-library/v1/get_sites",method:"POST",data:{forceRefresh:!0}}).then((function(t){e.setState({isAPILoaded:!0,allSites:t.response,refreshingSites:!1})}))}},this.state.refreshingSites&&(0,l.createElement)(m.Spinner,null),!this.state.refreshingSites&&(0,c.__)("Try again","gp-premium")));var r="";"tablet"===this.state.device&&(r="768px"),"mobile"===this.state.device&&(r="480px");var i=this.state.siteData.author_name&&this.state.siteData.author_url&&"GeneratePress"!==this.state.siteData.author_name;return(0,l.createElement)(h.Fragment,null,(0,l.createElement)("div",{className:"generatepress-site-library"},!!this.state.hasBackup&&(0,l.createElement)("div",{className:"generatepress-site-library-restore"},(0,l.createElement)("h2",null,(0,c.__)("Existing Site Import Detected","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("It is highly recommended that you remove the last site you imported before importing a new one.","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("This process restores your previous options, widgets and active plugins. It will also remove your imported content and CSS.","gp-premium")),(0,l.createElement)("div",{className:"gpp-library-action-button"},(0,l.createElement)(m.Button,{variant:"primary",onClick:function(t){window.confirm((0,c.__)("This process makes changes to your website. If it contains important data, we suggest backing it up before proceeding.","gp-premium"))&&(e.setState({isAPIWorking:!0}),e.restoreBackup(t))}},this.state.isAPIWorking&&(0,l.createElement)(m.Spinner,null),!this.state.isAPIWorking&&(0,c.__)("Remove imported site","gp-premium")),(0,l.createElement)("span",{className:"gpp-library-action-message"}),!this.state.isAPIWorking&&(0,l.createElement)(m.Button,{onClick:function(){e.setState({hasBackup:!1})}},(0,c.__)("No thanks","gp-premium")))),!this.state.siteOpened&&!this.state.hasBackup&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("div",{className:"generatepress-site-library-filter"},(0,l.createElement)(v,{allSites:n,value:this.state.category,onChange:function(t){e.setState({category:t}),setTimeout((function(){(0,p.be)()}),100)}}),(0,l.createElement)(b,{value:this.state.search,onChange:function(t){e.setState({search:t,category:""}),setTimeout((function(){(0,p.be)()}),100)}})),(0,l.createElement)("ul",{className:"generatepress-site-library-list"},Object.keys(n).map((function(t){if(""!==e.state.category&&!n[t].category.includes(e.state.category))return null;var r=n[t].name,i=(0,g.decodeEntities)(r);if(""!==e.state.search&&!i.toLowerCase().includes(e.state.search.toLowerCase())&&!n[t].author_name.toLowerCase().includes(e.state.search.toLowerCase()))return null;var a=n[t].directory+"/screenshot.png",s=gppSiteLibrary.gppVersion.split("-")[0],o=n[t].min_version.split("-")[0],m=gppSiteLibrary.gpVersion.split("-")[0],h=gppSiteLibrary.generateblocksVersion.split("-")[0],f=n[t].min_theme_version?n[t].min_theme_version.split("-")[0]:m,d=n[t].min_generateblocks_version?n[t].min_generateblocks_version.split("-")[0]:h,v=n[t].image_width,b=n[t].image_height,y=u(o,s)>0||u(f,m)>0||h&&u(d,h)>0;return(0,l.createElement)("li",{className:"generatepress-site-library-list-item",key:r+":"+t},(0,l.createElement)("button",{disabled:y,onClick:function(){e.setState({siteOpened:!0,siteData:n[t],sitePlugins:JSON.parse(n[t].plugins)})}},(0,l.createElement)("div",{className:"generatepress-site-library-list-item-image"},(0,l.createElement)(p.ZP,{offset:100,once:!0},(0,l.createElement)("img",{src:a,alt:r,width:v,height:b}))),(0,l.createElement)("div",{className:"generatepress-site-library-list-item-title"},i,!!y&&u(o,s)>0&&(0,l.createElement)("span",{className:"generatepress-site-library-required-version"},(0,c.sprintf)(/* translators: Version number */
-(0,c.__)("Requires GP Premium %s.","gp-premium"),o)),!!y&&u(f,m)>0&&(0,l.createElement)("span",{className:"generatepress-site-library-required-version"},(0,c.sprintf)(/* translators: Version number */
-(0,c.__)("Requires GeneratePress %s.","gp-premium"),f)),!!y&&h&&u(d,h)>0&&(0,l.createElement)("span",{className:"generatepress-site-library-required-version"},(0,c.sprintf)(/* translators: Version number */
-(0,c.__)("Requires GenerateBlocks %s.","gp-premium"),d)))))}))),(0,l.createElement)("div",{className:"generatepress-site-library-refresh"},(0,l.createElement)(m.Button,{variant:"primary",onClick:function(){e.setState({refreshingSites:!0}),d()({path:"/generatepress-site-library/v1/get_sites",method:"POST",data:{forceRefresh:!0}}).then((function(t){e.setState({isAPILoaded:!0,allSites:t.response,refreshingSites:!1})}))}},this.state.refreshingSites&&(0,l.createElement)(m.Spinner,null),!this.state.refreshingSites&&(0,c.__)("Refresh sites","gp-premium")))),this.state.siteOpened&&(0,l.createElement)("div",{className:"generatepress-site-library-opened"},(0,l.createElement)("div",{className:"generatepress-site-library-iframe"},(0,l.createElement)("iframe",{title:"gpp-site-library-frame",src:this.state.siteData.preview_url,style:{width:r}})),(0,l.createElement)("div",{className:"generatepress-site-library-info"},(0,l.createElement)("div",{className:"generatepress-site-library-header"},(0,l.createElement)("div",{className:"generatepress-site-library-header__title"},(0,l.createElement)("h2",{className:i?"has-author":""},(0,g.decodeEntities)(this.state.siteData.name)),i&&(0,l.createElement)("span",{className:"site-library-author"},/* translators: Site library site built by "author name" */
-(0,c.__)("Built by","gp-premium")+" ",(0,l.createElement)("a",{href:this.state.siteData.author_url,target:"_blank",rel:"noreferrer noopener"},this.state.siteData.author_name))),(0,l.createElement)(m.Button,{onClick:function(){e.setState({isAPIWorking:!1,siteOpened:!1,siteData:{},siteSlug:"",sitePlugins:{},hasData:{},hasWidgets:!1,importOptions:!0,importContent:!0,confirmImport:!1,importComplete:!1,installablePlugins:[],activePlugins:[],manualPlugins:[]})}},(0,l.createElement)("svg",{width:"35",height:"35",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,l.createElement)("path",{d:"M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"})))),(0,l.createElement)("div",{className:"generatepress-site-library-content"},!!this.state.siteData.description&&(0,l.createElement)("p",null,(0,g.decodeEntities)(this.state.siteData.description)),!this.state.importComplete&&(0,l.createElement)(h.Fragment,null,0===Object.keys(this.state.hasData).length&&(0,l.createElement)(h.Fragment,null,gppSiteLibrary.isDebugEnabled&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Debug Mode Enabled","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("WordPress debug mode is currently enabled. With this, any errors from third-party plugins might affect the import process.","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("To disable it, find WP_DEBUG in your wp-config.php file and set it to false like the below.","gp-premium")),(0,l.createElement)("code",null,"define( 'WP_DEBUG', false );"),(0,l.createElement)("p",null,(0,l.createElement)("a",{href:"https://docs.generatepress.com/article/debug-mode-enabled/",target:"_blank",rel:"noreferrer noopener"},(0,c.__)("Learn more here","gp-premium")))),Object.keys(this.state.sitePlugins).length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Plugins","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("This site uses the following plugins.","gp-premium")),(0,l.createElement)("ul",{className:"generatepress-site-library-plugins"},Object.entries(this.state.sitePlugins).map((function(e){var n=t(e,1)[0];return(0,l.createElement)("li",{key:n},n)})))),(0,l.createElement)("div",{className:"gpp-library-action-button"},(0,l.createElement)(m.Button,{variant:"primary",disabled:this.state.isAPIWorking,onClick:function(n){e.setState({isAPIWorking:!0});var r=n.target.nextElementSibling;r.textContent=(0,c.__)("Gathering information","gp-premium"),d()({path:"/generatepress-site-library/v1/get_site_data",method:"POST",data:{siteData:e.state.siteData}}).then((function(n){var i=[],a=[],s=[];Object.entries(n.response.plugin_data).forEach((function(e){var r=t(e,1)[0],o=n.response.plugin_data[r];o.repo&&!o.installed?i.push(o.name):o.installed||o.active?a.push(o.name):s.push(o.name)})),e.setState({isAPIWorking:!1,hasData:n.response,sitePlugins:n.response.plugins,hasWidgets:n.response.widgets,installablePlugins:i,activePlugins:a,manualPlugins:s}),r.classList.add("gpp-library-action-message--show"),r.textContent=n.response,n.success&&n.response?setTimeout((function(){r.classList.remove("gpp-library-action-message--show")}),3e3):r.classList.add("gpp-library-action-message--error")}))}},this.state.isAPIWorking&&(0,l.createElement)(m.Spinner,null),!this.state.isAPIWorking&&(0,c.__)("Get Started","gp-premium")),(0,l.createElement)("span",{className:"gpp-library-action-message"}))),Object.keys(this.state.hasData).length>0&&Object.keys(this.state.sitePlugins).length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Plugins","gp-premium")),this.state.installablePlugins.length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("p",null,(0,c.__)("These plugins can be installed automatically.","gp-premium")),(0,l.createElement)("ul",{className:"generatepress-site-library-plugins"},this.state.installablePlugins.map((function(e){return(0,l.createElement)("li",{key:e},e)})))),this.state.activePlugins.length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("p",null,(0,c.__)("These plugins are already installed.","gp-premium")),(0,l.createElement)("ul",{className:"generatepress-site-library-plugins"},this.state.activePlugins.map((function(e){return(0,l.createElement)("li",{key:e},e)})))),this.state.manualPlugins.length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("p",null,(0,c.__)("These plugins need to be installed manually.","gp-premium")),(0,l.createElement)("ul",{className:"generatepress-site-library-plugins"},this.state.manualPlugins.map((function(e){return(0,l.createElement)("li",{key:e},e)}))))),Object.keys(this.state.hasData).length>0&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Import","gp-premium")),this.state.hasData.options&&!this.state.isAPIWorking&&(0,l.createElement)(m.Tooltip,{text:(0,c.__)("This will import the options from the Customizer.","gp-premium")},(0,l.createElement)(m.ToggleControl,{checked:!!this.state.importOptions,label:(0,c.__)("Import Theme Options","gp-premium"),onChange:function(t){e.setState({importOptions:t})}})),this.state.hasData.content&&!this.state.isAPIWorking&&(0,l.createElement)(m.Tooltip,{text:(0,c.__)("This will install and activate needed plugins, import demo content, and import site options.","gp-premium")},(0,l.createElement)(m.ToggleControl,{checked:!!this.state.importContent,label:(0,c.__)("Import Demo Content","gp-premium"),onChange:function(t){e.setState({importContent:t})}})),(!!this.state.importOptions||!!this.state.importContent)&&(0,l.createElement)(h.Fragment,null,!this.state.isAPIWorking&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Confirm Import","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("This process makes changes to your website. If it contains important data, we suggest backing it up before proceeding.","gp-premium")),(0,l.createElement)(m.ToggleControl,{checked:!!this.state.confirmImport,label:(0,c.__)("I understand","gp-premium"),onChange:function(t){e.setState({confirmImport:t})}})),!!this.state.confirmImport&&!this.state.importComplete&&(0,l.createElement)("div",{className:"gpp-library-action-button"},(0,l.createElement)(m.Button,{variant:"primary",disabled:this.state.isAPIWorking,onClick:function(t){e.setState({isAPIWorking:!0}),e.state.importOptions?e.importThemeOptions(t):e.state.importContent&&e.installPlugins(t)}},this.state.isAPIWorking&&(0,l.createElement)(m.Spinner,null),!this.state.isAPIWorking&&(0,c.__)("Begin Import","gp-premium")),(0,l.createElement)("span",{className:"gpp-library-action-message"}))))),!!this.state.importComplete&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Import Complete","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("Check out your new site and start making it yours!","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("Note: We do our best to ensure all imported images are licensed for open use. However, image licenses can change, so we strongly advise that you replace all imported images with your own.","gp-premium")),(0,l.createElement)("a",{className:"components-button is-primary",href:gppSiteLibrary.homeUrl},(0,c.__)("View Site","gp-premium")),this.state.siteData.uploads_url&&Object.values(this.state.sitePlugins).includes("elementor/elementor.php")&&(0,l.createElement)(h.Fragment,null,(0,l.createElement)("h3",null,(0,c.__)("Additional Cleanup","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("This site is using Elementor which means you will want to replace the imported image URLs.","gp-premium")),(0,l.createElement)("p",null,(0,c.__)("Take note of the old and new URLs below, then head over to the Elementor Tools area to replace them.","gp-premium")),(0,l.createElement)(m.TextControl,{label:(0,c.__)("Old URL","gp-premium"),readOnly:!0,value:this.state.siteData.uploads_url}),(0,l.createElement)(m.TextControl,{label:(0,c.__)("New URL","gp-premium"),readOnly:!0,value:gppSiteLibrary.uploadsUrl}),(0,l.createElement)("a",{href:gppSiteLibrary.elementorReplaceUrls,className:"components-button is-primary",target:"_blank",rel:"noopener noreferrer"},(0,c.__)("Elementor Tools","gp-premium")))),(0,l.createElement)("div",{className:"generatepress-site-library-footer"},(0,l.createElement)(m.Tooltip,{text:(0,c.__)("Preview desktop","gp-premium")},(0,l.createElement)(m.Button,{variant:"desktop"===this.state.device?"primary":"",onClick:function(){e.setState({device:"desktop"})}},(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 24 24"},(0,l.createElement)("path",{d:"M21 14H3V4h18m0-2H3c-1.11 0-2 .89-2 2v12a2 2 0 002 2h7l-2 3v1h8v-1l-2-3h7a2 2 0 002-2V4a2 2 0 00-2-2z",fill:"currentColor"})))),(0,l.createElement)(m.Tooltip,{text:(0,c.__)("Preview tablet","gp-premium")},(0,l.createElement)(m.Button,{variant:"tablet"===this.state.device?"primary":"",onClick:function(){e.setState({device:"tablet"})}},(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 24 24"},(0,l.createElement)("path",{d:"M19 19H4V3h15m-7.5 20a1.5 1.5 0 01-1.5-1.5 1.5 1.5 0 011.5-1.5 1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m7-23h-14A2.5 2.5 0 002 2.5v19A2.5 2.5 0 004.5 24h14a2.5 2.5 0 002.5-2.5v-19A2.5 2.5 0 0018.5 0z",fill:"currentColor"})))),(0,l.createElement)(m.Tooltip,{text:(0,c.__)("Preview mobile","gp-premium")},(0,l.createElement)(m.Button,{variant:"mobile"===this.state.device?"primary":"",onClick:function(){e.setState({device:"mobile"})}},(0,l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:"1em",height:"1em",viewBox:"0 0 24 24"},(0,l.createElement)("path",{d:"M17 19H7V5h10m0-4H7c-1.11 0-2 .89-2 2v18a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2z",fill:"currentColor"}))))))))))}}])&&i(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),w}(h.Component);(0,h.render)((0,l.createElement)(y,null),document.getElementById("gpp-site-library"))}()}();
\ No newline at end of file
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/style-dashboard.css b/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/style-dashboard.css
deleted file mode 100644
index f226f072..00000000
--- a/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/style-dashboard.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.generatepress-module-action{display:inline-block;font-size:12px;font-weight:400;line-height:1;margin-left:10px;text-decoration:none}.generatepress-dashboard__section-item-settings{align-items:center;display:flex}.generatepress-dashboard__section-item-settings button{font-size:11px;height:30px;justify-content:center!important}.generatepress-dashboard__section-item-settings button .components-spinner{margin-top:0}.generatepress-dashboard__section-item-settings button svg{height:20px;margin:0!important;width:20px}.generatepress-dashboard__section-item-settings button:not(:last-child){margin-right:5px}
-.generatepress-license-key-area .generatepress-dashboard__section-item-message{background:#fff}.generatepress-license-key-area .generatepress-dashboard__section-item{flex-wrap:wrap;justify-content:flex-start}.generatepress-license-key-area .generatepress-dashboard__section-license-key{display:flex;flex:1}.generatepress-license-key-area .generatepress-dashboard__section-license-key .components-base-control{flex:1}.generatepress-license-key-area .generatepress-dashboard__section-license-key button{height:31px;margin-left:8px}.generatepress-license-key-area .generatepress-dashboard__section-beta-tester{align-items:center;display:flex;flex-basis:100%;margin-top:30px}.generatepress-license-key-area .generatepress-dashboard__section-license-notice{flex-basis:100%;margin:0 0 20px}.generatepress-license-key-area .components-base-control__field,.generatepress-license-key-area .components-base-control__help{margin-bottom:0}
-.generatepress-dashboard__section-item-action input[type=file]{border:1px solid #ddd;padding:5px}.generatepress-dashboard__section-item-export-popover .components-popover__content{padding:20px}
-.generatepress-dashboard__section-item-modules{margin-top:20px}
diff --git a/wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/author-image-placeholder.png b/wp-content/upgrade-temp-backup/plugins/gp-premium/elements/assets/admin/author-image-placeholder.png
deleted file mode 100644
index f8bdda75e9c137e170da559fa6526a8bfb11fbe0..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 138
zcmeAS@N?(olHy`uVBq!ia0y~yVEh8YjLblhj}pEoffRFqPl)UP|NoaCkv;+BGL{7S
z1xxL1QIr94Og&v3Ln>~)J!r@X(}tF
zUn9H$9t0G`=LZEF1q}uG#Ky$IK*zwrB*n+Y#V4g8AtIrmr>3T7XJr=`*L(55=fC>@
zr{Jj_go*G{3w|E%1qJ9O<_kE?7f+oa;%77AUH}j1e?2c=!o7lj^BUo47KHHMuOF8|
zpzLfg1OkkO7PUL)Gw9zU04czu
zs3AdcPnidOmv&NKScCtGp(6@|0XP9is{}y+pU?*Ya4HK|CO$Io3rSrV3PYY<4+ICI
zFeDo=^BFb(RIoZc4j3x>r4|3Ia))JNrtNY`3~KgI66CIigoFbDO#6qgI{dR*KB<0CuTBRhsYEjM*n9{
zjz5qb&pvxz0`Tc`l!V`mEb~8sl#)<+uTESQ4d&Tqm-u}AN-w|sn{)yXj|8j&OnZ(7
zH6Y?%hQrgXc#GKyDRJthEPB;zN>)UqHrvl6*-buyB>zo%6AFM>0_c}`PC;A|U>cC+
z=}Q>LK7QEKYh%r4tra9%=KE9CzI^PXHPK`gGUmnN}TkTP;r@
zJ`K;5{jti*v|KwbR}xNVr(5h@p_2cm0&WLj1Tg&1Se$H?FF8@jYrMyEmETG=1@Vq=
z@xNB0z%uxK6NgBeZdvvol*V1ZJkNE{3HnDP&wxHBb520e%Wxh+o;3wcCZ=J19j+0+
z#^6KS=7H@q=Y6~B$(9r!zkl|=SdIS|Y|r}xk_(^+BnS@VdMRq8XS%N~%I{6u-YHKD
z3U`a3z}$@&`$eJnl0G5d6UgbV?0MlAt3^OkJyX~7ClKafa5hxrS}FPB%xd5b=OUB$
zEz8+0ue%q|rL)5=p`9d;!GZRL(*GOL(=nbRJ+z4P-hE#QpC1%VvH@clW9=Qzp=-fFUj@TVMfqaAk6{M`sc?p>C
zAIH&ufePopI7NSxr0JHGTd3N*z0gg<`Nz4L6u
zNzp&{{Z9q(Ef`=evcQ`xO;SD%r>#oGwk|J&NH53fsmi!!QnW*Z3>_aqGO?^e+lueJ
zF2f6am#z=k7w-T?{PsXa0pbk_a0w6# Vi_-0+N(Q@nH)b-rakZ7V~_*_$Qi)R0L
z=J)nS$HK_W$O8Mt?o5_s`Q5qm&O_li8=&V+Bp7hbGpzIhMgKw>3Br)H`qSN_LrDs*
zeqcK*<-+q5QSHHWWuc^i-q|N2XP0?Tm%|=kF5i}E+lqrF{qtXdgL>${l>7@y0APSN
zf#M|D(ahVtTG8OQONqa<1NB-_ylqXCd<_$G86r
zfG-a~mFoY<8(>SI0{F|mFbuq@5ForcLU*GT(!@7RS}HUY(jauTnQBv5`aP4Gam#x$
zFJRsDG9AIaGl(`R8o^n47lP(}nrJ!v>K)B>cMWp0!3n
z)1D4n`#o9JS-ypz$rOieDl&a;cD7Tjj>g(-E0Rjj{hpb~10G15ATUrCpMw`*3OW(F
zz7tX#ohJ7Jz2?t?Paw8R1*ajmtfteWVVjMkOh4zDZ@F>RuLrqy_Qu)-yv}ykjwa59
z764`Z;s3buxw-&V79g~oFQrkvZ4C99cAL|gxAlFPYmX6eA6-7z<-=9+Vho%DrNPNSJhrYN>Co9U&<2f>gDA!)!5
z(m+H3If4uD1i*?oKsTbj?CnS5VL1^$5nNV%*6dO5k$Sp*FLi>ScD}SXGVWwI?Cf|;
zusiH*R9ZQ5FjL8>|I>%henity$hM+TW_s`8(-#n_3;-U$1AtEe9(cAB$3Q9c#Cm-$
zi{?P*t&s<>2W)LBYQ^uHA9oh?G5@yBdum~1s&=ezCW&Uj=eG9Ta<0<1MSsz*uryby
zxWZ-rMo8v-2?BbtUMyS!lzpIa02(Qv6A5}*CMa{G?NPrs{W)uDAo$ScJ}C-KXf-NT
zCg#F$&(2OsLm(+_yxnGMZp-a+-*n`X(CEU})%Nb@;qt-$M4Mow;GLZ8LyQ;dTHg5$rmEw|4+s?Lo%-Sj+VGkppX>*&CTo=DL
z3NR7?9{g5M;=}JVpD~}I>v6~9BWU}euj3_9S#kh^>whkrK;k_Y4j`<64kcvkQ7E{K
z%V}pW_-7;M=^BU4+1c1B^O^vb9udpT^aI~jrk|LAPZR6;O?6Kxlj4we+D%hq(~oU?
z&qvL|dOsn{m3<$f8PJ;qz;^&W{A#@M
zK&aQe#+@CXdj9(5__;MJ8T2_GZcT4HeJ-rn-P>9iTByvLSlOSNF03a$TgoleJQ55N
zev^mYf9~}onkyyIbvCNbaNh2aJY>q^Gdvy{shW=Li}*OavHb*6
z_31z>Shyz*9^|w*+#1Q%&}qK8v|ZVq*!FmgpB>@9+})kNWzO}?ev^pT|F3TX)==?R
zdl`?U#jut2btBQpetM`ms`4wN-Vkr?6X?Seh1obsq-wQ!8eJ3^5+r(FzPdhy(~uBxX#L;;pI{k%=Bhk*;sl
zZra72pZYoIbVsxZSGWe?HlVBT2QpME$2;VV;It~O;oQYyYkPAbDvin7PvBnWMu2-z
z`_?dLZ)>UY>lty;08bK7&Z>l@mNErAJvrB!lP1+|wm%r{-%
zIo@jS`EN}9FQkAn0U(78_P#oPyWM14{_{RF7LX
z#S>^32&^_GTkjUdLH1kX=2};MeO}wlM}q}jmkXoPI-3^nj0Ho@3ng}NPWb<{J>f6I
zUyei8uamN>QQyiH?AV;y4zioC53G}Q&+ofbDz)v|3^3V-*{1?=A+TX2pK@n7;pg;u
zYGkHs=Wr}xZ*ym^WTQT=+Q8jKU%>m0)5Y;huh4DRH_Ce)I1K#rKF)JO!xF(t(Y~s_
z=`MTKh*5%vinf{74fju=VL#;ShP7@wpEJ{Os;aY2Dg3GgoapWLB=Nea-xy
z>@I`VJ#JhY6~hJvk%NvMl?Dp}jYnh6=;IG;%4z^F;{cqG1IY&3>Mw#$XWLCQExI?b
zo-_gC3_;%`q3%bzd&vyP!3V>!OSx(i9bP6LlZ1|t(|axK_pqzBa^I?8FSn!ha~i$7
z+ndWeAgYg-f)z9M?;NM6xyih0yfoA2u=9~Tt&|~($+42=DG$>Br>Yzz)blRN$
za8`LL)$TN1=IK{(2(#`gG;!4#HyT-S*V*WKU%mYp{rKhFX>M#_x^OK0;paknYw+8{
z6sz5hz0JL`ZKtD*^cLOscSaIO{~F<(pm?AogFtwEsXKTa8jh9+J~L^pZMxYXoZa|k
z`6XQp+9y??8`S1(jKJo{cdHH2H?B|An+2mDf{r%Eh8BW-Jb5`T&W`3P-I$9zsx@=F
zrh@l9S!U|_`7V88o{s|0y(@4Oz(In4>1}t`+)(>DD3#-AtZ%F@*t_xA`w4Vi-Pyes
zv~Y`VXC>geKJ6&yn0nH1_UP2p-Zda(cYCzmnwk0Y(6fb+XE+4Es%s)d314C^H<#b@
zlZW%p{+-tInFctXW2Vw2^ylUT
z2rOk`s4%f1#+lnrgX5*s?tolW<-o!E=G4%A%l%C$@h8Qj30IrBV3YzkjbWb@wt{B*
zl|sX)n*;Jp?I)1*6G-Clxo~_|)c4kJYGQY`TR!LEI=ST+NcABhVaq+De?G-3Kledk
zAn}D+u9vnh_8L#t5_Mcwa^#&A75tDNWv4%M^Z7~be~Z+q?w2Xe)#z(}{dPX)L&vu>
zJ%p5nwl<*TW|E|R*z2g*05as%WpAl(F85Pwh3y~r^M@O=f9)0>&=iEj$5#oHvE1V;
z;SJj~-JJE1uw{N8sw5LSUg}8KV(C7*Y7?m^PT7@ohi%Q4r^4b;lP3r`9-X?{yVd6&
zn6IMb1V|(KKATNXj5I6xrOol)aB-eptwo)SJZFj8b1$bXToMHG{k(c(y*|8Bs<*T?
zH#qQB(C*Fk=TqLle|)oculhf;^nYicKlHRw)|$8Fy&oAmMe2W`y*)cmy|weLHyuH1
zwTgHfpDxh=RA)qtMwl!6lwn^4S_@e_QtxfE}I*r<>
z>hK99>vlL@xhzyL
z6Nb4{RdHKwZ|~0(YD+n_>Llunf){-4vTp9px~k?LNFGQkt2MLJ9QN1uttX}cvdh{r
z18RIcaFrGi1dodY;t?cTKTrR=R-MEoc&PVbYbpsn;LmT#u5bIF#Mg(hF703G8;Z(;>=6j=zne!;1oK2fG3p4{|Le~H|YGv@>xjun_
zJ4>AZ*JUMeD0zPV-BrHC`0t1R`}O}=1knFK+za=A-TQy6U;oGOXZMO=fL^?O1^4>p
zn>VjsynF+Uya2s~!@y*DMJ|HHDynScK;aLM{qBRx#~5RKM`+dWF&s)Zu~^{%Dsfe(
zuRq%V=e5KOp_f3%+vzojTH#fOgCa-i-+mPMu&|nYJ9_YS1&*n>Ibt7bQV0HfSvP%J
zdF8Ofo#2m+Hla`@h1pw_`BsV%?B7d^6!e;J#l?;qje#Qk$HSa4rDvk%HwnaHS2UtU
z8K*Q&?7>3YhI4HQEg{Nus#W@gMnlcH7Qb7i?Vu}y1Lrrpm_p`eDQ=eh;UCJz$&pSY
z)M$~vJM!yZepAx8g(f4>h>?%!48VfvY6Qn1EViG6X>7KNM1HrIbC9`eeU~ctO6Jn>
zEuNWzet7*mc+p>cs8Hfsb=bghigQyw3JWe(+r%C!WondgLFW3lVUo1Co=YsM=?B;^
zoa}wvmFfK`d)pr|ZBiU!ks_X=x4({1tfPdQ_9e-GaOytxOq;qkif^edh^^gA2=-)P
zJBFY*Bi;rjH!(CV43g8DDW3ga%@H-x#Yu`9Vma_~O|}%=onP)w;{7cdw#Q=QL2z5I
zTB|Z8lwk=<~@D=GH1G`^w;wBXHVb@8=f<4wtS;eraNCDovI2gk6h{agxJ
zdk`Vi_#M)PZn>8
z$5AWM^DlLa)NXOLm81BibisTWuZgx}Vi0S)mbFu-^bh0ks%CcA#%vK>GH34O#o9^R
zZF$nyHI7QlWR`|ENq+lLQ!XMzwDy4yGeW6H@oCUK^s=ap}{cuaK)YFI5h{Y(J-IyEG_3U&uYi!>Hl`POw
z>(uw5j?G}IjC=IuM0)IJjEO#hhy|Us!jmyA`bb~hw-eA_r?Iq3$q05KBRVkk&gw({
zNUka_(64dW_7!^Zmoyb|A7O;xCx|_PvKqbh>@K*5h`)LDH#YKip|Xi@&LFp#t8%^N
zm{Hc%QX;_~wkA=%lFvE35RQp!g{`u>ek`yJaxuiEvMwtL>W7u*xeT#SqK)GVOgTxp
zgSkUQcNb-1h%lSwg&bqnJPRIj&5#PPiTBd`SFKyAti>bdXwb1oSTkL9uAJ$~u4ksQ
zi}E;$Vtz7r=3)^D&!z^VPl;Cy>$NuxwItzs%JhYZQb}4a#K5rdS?OV)_Dq>fZO6^(
zuGPJm05&sTcXXSNTYNjdnt6sf>>xU{A9-drWUfBe>^)XuCSuQjO4klu2)7H0*w1+a
zg&h{gh6+2=FIiDzxA!-vXC;g#@N3gQC@U-=EhJ&YYzGC_I##kDPJG%eN9gy=pTAYIV?Ny3kh&~cp`
z=@fFdfO#=tD#|igAubx0xSHjbtCmyXC&d@93M3?^(EO$MQLUh|PJ>``CJTO_Y(>8Bi&vflG
zrKpR_BBJ|GuM^4|<)!7qV|nHNbOlZez97=eFj)|e{F`llXy|~sb~}y1CCUYoT`$zp
zGf=^kQrvx%Go)kRFer-1KB$lkD?g4Lki8I}fGwU7Xn3pI6jhVNG{lgp_3<8Pmt*`$
zERd3M5*6JrZ3xV;%c}tsfw^1XE}h;5cS!=5N#0}ZdU+g&5iw%kk2sJYip^dFkr`BI
z3zA<_b1Thqgqrw%(ayX&pzd>!{W;1RLlA`y9NW{Wawri2+&6QSxHT|});vRTnP
zRM4(ve)x5T2UZ7JWuDP}X+$%Lg0(1dbzXLZ4nX@!Rk
z;~>nM(jg?dZ~cltl3_4g*lJBg``2%b$6fX82s}|)<*89b(|qmTgp@6cvB=t*RPJ6m
z!Nrg7G^vZ?{Dv@lR%~#iHzVRa3U!D0$3|NxiZZ>yq{ZVUe{5>ftFf%ZlKWoS;+sNr
zX!hQh(%PoDD!dCr-J-7`XF7eGWaJ+TufxU&$z}a8YjJvWMMU)LT0tmG3nf9Q*|6#^
zm)scwqveb|-OMnd{MqHqHSa}{8fi|OH6?ib1j0Hm%+n1bEl=qZiv8uOT`?0vLScu`>RNeoY&B7*GOMdHjI2hwpaESG!?4WhYARm2yO
z7SKMCt~b}lrbp9TKgI3TW>MEncca(wG52f0<=zPz-;`&_hBy~3<`cu_21OhQkX7{K
zPR$LXyV;P@@;mPVa?7WQz_gq6ywYU86-NE%~|5hGny`s3$5VkxEM`j&C~j=PVH&=h_-2)b$IMi-Ns<
zsiGmjz$%g4g6S20r`Lja%&?fpcK-&+cmOTStmt^jq_lo-{G_9Zrx@k~Ke~3}u~xcR
z6{g;m)xJolL`Rz~Q78laj=Os}E3^L-C`PAuuEZwqfUlyLc(ggsQN65|zNX3Vh%;><
zOr6hFV;^eE8T$k>>9HUs;2$f1QDhgS2ZkJhUCNX%OD`a+O_-(V$Jwjo-MywK4ri?t
zTxD)Ecwz?IXV&Q7JeOof0C?-kC2A}i2%`n3u<_R=8aora7
zYE6Y`ng@+(dxN~vS^X3_Vj(cV)mNo?u0NI_$xVVyu&+B!!qbYFbaN#;J*{PFjsezg
zLa{ifiaE*^k{hp<^@y2qp=t(Oz2rj27I8oV9H
zbn-{T$qd_VhcekQNOQughJgHOY-(hzYwDbRnx%G=8O&OXn*mIs
zDK5q}Q@hkt5t3J_jifM3=Z1{+8g-aU!l|Btbb$fws`z&Bwn0Mo6G-k=hsEQ*NRr5q
z6MgGOrIX@>q7~eZYv<#SgitMT6o%>+-2+^9I@&{s6^tS=Yox1+g3kTTX~(8|z}XJNgZyy9bZ2
zwwSEqH(r%A@fJjeF0?w@8WGj0_vvIzX_yxr2Htr9ub1K;`%vnhK$wY?Sc6Pt)8eDL
zDeJl2z7&*e{MYF|hsfhGAC;r{mAqAsl8a0woIL{8eawm0%m%o1hoh;D;fBdNyLF5$dF5Zzba@
zrc!m?W4xN`7t#2^_wkWfD>~GP_y=jCsi)|-6~A=|fJF(`DiP4TY^xQTqDSRZ?Lx8@
zVT4y|`3aV~l$^Gk<<1LNk>h;(0#nMcT})9i8I(D4GvL6bGoMI?jf^pFlrbR%XYXs>
z)jcxB^?0;`^S(BR2W|!xuT(TBU{$IsF{}(hZmN4S^*R6I`Zl?Uhr!z1rHGhcQiu
zjb%k;X_ftuE4;1!gAIP%~n+*e*h3raD
zii&mL<%|mq6X6meJv1mDvIAs-z}>yE5_U{qkYY*GiP@kDB(9q-`A<``WT0#6)yvk%
zQL6J^msAvUc8t~zq#}~yP0jW#RX622$je?`?76MKhE5F9G*-MA;vi$|bPsO7qUG=6
zQ~V>@t(qnq<1Sts>K6aPk+L3lprf||lO{AeF>F*qjWMU`8s=?p*7N`3LQjU4Q&>@QbH*C1gvbCjI@
zBQ~Z7J+691{tB!2vb)1rE=gwgL4m1ui+U28sTGb@aS1Uzn(-OYl@uZ3hghfx^skwN
zx$av{yLv{ZIOnAYQdtQ%N_gGW6{-}86z$&m@u14OB&m0L$%!ADSJ3B})3?w@JQmQI
zpkJo?7S6LPb3m)72macZc=PJctBXY7!F5V2F*ch^3XZ7O{
zhMG>}DsU5ii~h!}NvT1;%qU;C4d4j~3ZR2c4k%ORl(=S0tJzSRskuqVEZ9%6Pr5-)
z6u)pdz0PVkl@vF3LNolZYI0jQ*4(Yv&mS$tpSS3v+)SO1%cd!!*MH;|AN-NlcSWNm
zrtjv|Ah~Ch_&sG7!9&Y01sj2{g;gHBBu+4jq$_T8If)K;3ilOXBjHZbPPRWH_D+yR
z=kV8}36ABgboV5i6VX_!^b0Y=A7{msnJ7HMNN|;71hLiLhrfBh{+?=1rjZ@>6;#}b
zUxDYb1dY6kwYt?X4D&~--nzkdCf7VPg+C5<+e;iXF517@f(e78vIS%GnS(Rh!&kvu
zv9<~?c+@?W-p;c*4zmRj^0^3M@_>d#uTmO$C|7_ZRFQc>>QF8(Y=)RWk`6)VV}u|u!4_v
zGhD;B@=DYGg#V(oSTH`3Zx>-PT<6J@<#+1|-L68_^ZAjyP|@qCafzCkIincVhavIM
zW&T4j#fy{N*vYP^2(ikjE7({xlz3K;<}geL#%Wkm$-c;R`fd_e%^CvRO|@fmRF_gb
zb;(n8G#7@>xQc!ISsT5``bKb@5dwDCJ1Y4~avZ50Dbo;2GCyFZus7-uW}z4WYd=G%pO!q=O!J!|^k
zzt#U@HNSdMD9$=DQx@DJFpx|V>xAqxh$3%JWK6U@9nQ@xxt84%(5tH!{>NXetTw}x
zLA6gGTilPsz@iR|XgD!Pv7Cl#N`90l#Zo=7J~2lp%rPOoB(p#D>**gFt`eKqH}`qg
zmQ6G>nu4*rwUPtbVrpiN8OFiRdZLE-E;^|tm2xHzPHlyO-k?p7yDx&p<%JFSg1cd(
zk7SPHI%26#$Z$KQVqH(5ksIOKt~}!Jd&58#aVZ!;^1)U2_Ell!2?$KHKew|u_D80QS`TEME+o*1(VN24RX#@Ka-6M
zm0P}FiEHV^+Xw##D#}&9t;;JA4T$ZM{nF*Ke1D85g6?4E3RjCvMxq@9JsiJd0M@Ze
zZmhjW&YP=^sM*aYoo!x{`twg?AJ7MA)BKeto~JGuWTNTorDZDWoq1)gei)YPbYnS_
z5E`+UF{LcAT;hY~PFwxF-&Q5g(F+;X;*MQV)3t_Md^cda)u;tAn=IIjQV1taSZ
zm+^4mQ=iVNd-<`#cc>+{cwm0q6d7k*ZBTdqSEpo0vn}#~?5|rzy!Wr0JBU^uu~A+A
zNFK0)brg7-q-6M9km+6IU4CydQ3A9(K*w!~t6Y;|meYhcJdT%_W|o83hn~n1v+E0brh
zQ&F*bB1YV?D+)EmU^LI1S%b%|7dvh%_n7zcTb)n|(@zM|88s6nyb6hlB{k|vrgJKy
znJh!PMe3!g;#ouLyj^;fYK$~9YBcG26CP+(7zTz6&&0J~@BSz~VcCMOlI}rn=BQLv
zBmwUj5vK5CKVn)vhs%g-R>DPz?_Hdc%MP(ql_HA8;{fAyWxe=o|JUP-3j!r~6^>^y
zHWJt=)iY!c!Cl?$Lbiwl8rvG!;}8e`@`^#juh$~#@Y?ZcFoKc^iiQXt>21+ByBQY5
z(LbV#)DeG*D6?OuQ+Jv&Gb;6;7$e9tfm_D-ZFyoVl*FAcIk1qw^${_{8VlY12`z&X
zRyBoZPbBC>(K|kldg{vd=?;-
z`Z|P%cXwL-1d;F!L%CFc=NEbndZBWv<8S02@jGi34J?0!M3cQy6Y|_mAvJ00I?$gR66S$tSd<*e`;oD=dCvMtl&5uUn3|!e
z_4u)&=9Ab8BKMLm>p_V{Gy2{tbUA5yeI*Xrhw9C_T|>mFn)DRjYTH%U-OI}d4jE%p
z0*9fiTd57HaR*sWIB2fu1a9E>N)oP(3j~oCA5@=C1XVIw*}QYyDw~J
zY)|f!$UZ$5{~1xiHBVkhw!zf|4_ZbsQafwZid_LjYil;OnPIjd75-PjS+nU2${#iy
zpra7?X^ePlm**-<0cVQf5ojNBiZ3+eGPTwb=C5ge=p90gj}Z&m$6n@AzG`*6^a#G@z6NSP8uH?ZH&0Z#q+EbO(fdz$=Y`^Bg=NBPO
z4Z883wrgf7@>dos%)3+<s-3D|!#91rP_@S@s~&ZXjtfT?5=MNmL7VqKhLzrvJj
zQ#r?tbo2`v;0X2SfKSA1j5Fm*(?w08o#zgJ2xrntV<2ZzWincdbq2kUY{Bz084L{z
zv+V}`;E)iTNbzwG*1qE7W7RZQLFkB}E!oi?X?~KyRP|Omnys0q7rO6u$^US-5)hjI
zFbp?75^y{(_HAXhDX{l@_~^AQnnf*kIp>UJt@{N_mL%leNJs;$5}(f=ol&Kf}UwV?XFzLaIi*iY+Q$lnQD5(A>8f3NAprpK$w()l09OW|C
z)=yKAclQx&vkLY~EBcT@`Yw22HwE>FQ84GE+CU#Nd}ncnr%LL3rQGXf^gF*GSwf<_
zD4|=dQQP#PET^yC-M`x`2})fosNo2R*W1V4#KV2%@Lv{ybSb{QkC5!-^v^
zMAF}*9nTDbH-rorpqIe&0uB!TfBj?93runr5#ZIJe+(3(>i0+cv6bU@Cm(+N?{|UZ
zPoUFIqYsT{4)j^eTbGB-uGV#1*E}o;ccS^HAwGUa>|q6|?pBwpu5$<+xsxtA;nbP%
z2B~=tJo1*Y2Y$a@(#tF7OgUH;Y3$^JXPBf%I>*eM$w|iacra=P(7xzkZE<-E%}I5M
zsJRBU>tNz+kTvX3;Gm@`rWTRnQ)efwiw~r?_HZV8MZb4Xx|S}<<+?M?kn(WkNawB}
zgImQ*DmM7x7gHp&(L+I46#RqMLY2PnntF+{WZ#}%4!D+stpw?pUUp2ywJ%!*i+j-B
zj)lj=E;DdUr5Sm8XHCk{=mTq0s<>L;Y3GI-<51Q7kq%9h)7*-h-8*1+2d)%Qtov-o
zbrjfFFG-3nMK`{2=HGvnl`0i@Wm@CF!@H~_!Vq#z#HD>PO
zaDPQjNAGCO$4dg>=``N0r&Z-l)>wy9|M6#^EEAe_>qe2%hhzFqm~FJhJarW_
zJ8g$*|3ki7|F%*eRfv;^b$X5bihb~kF8&23vS2X83p)osdi#=uCX6c1?(19aPgr^Z
z76rYeB&c;}Brudxi-Rzdzc4*~-B25`zd?)$AC2}pE+cMKhz7dsQ?Ymp&QKa7zVFx;
zlWG|&Hi_;hxf+iT-;(*vj*Eu)kO9M*Bm|yeO5Po
zb4Il!7ZkIWtrmcWN0fJJYw^e&LSgi90&>T^14NhBB1^=^8P6Glb?k2krac
zI5}2Yw?h-BH|*><8-0ZcdgO!&GxS6XP&*3Fmf#4JPoEHYt}io?h7T%d3e(6|Q8SF}
z8_2N{C^DZwXQ7@zZr$9Vc&)Rz>4!h&$;{P{;8LpntQ`%KpQ=_
zcVHz>N&5Rjgz0-K4#k%aCZZmvq7~D>WtUS_tI?SYY2O&@CYXO^z%>Z#`8ClJZh~ic
za>vGHgYQt)7;s^dsKT#o72IXf9xB;fY5d3WoH_pHS8S@Kp9yjh=4(ri!DFF-1i^0I
z&e6!e8?pX;V9}~Pe*Vp9hEq`+F`D_TiHbi1NfYxPru_lf5g``9-+PS(8^yWpQ54(b
zs`iuq_{MdSYPN0URz3&pDInz754N1{A_HrEfazf*6>(&m})CF4a4&GNk;!hT}E)vGE}
z8G_cnYG})qVId%e_xPCbfMu&p!Y;uPSh}2h8Q7$?ArnJu&ufa5c+5e6Ru!w$NWh`|
zhAMBi^RF>vPP++LpsRgdHiM@?wo2^W(bjieu3psIm0V#zlGn6$Ee_6a=F!+Tun1cL
z>?-B6f81>1BpLcqZ=SD`KU9XZ!?5ZaFF`JZ`5wAb$^0t;Hvp$qOwwVr;yk}QxcFTr
zPQ*DhVs*Kj$iTG`Z>~xAZMHZrrpDSKV|77K;#5_mV}7a+izPSZ3K$~L8^6g`C5~c&
zZyGyV=V%WDOUH(x|im>#~H7{%_
zp1PxQhlF?kPFD74AG1U34pT{cTbH|~5Q
z(!QG*P3~WA4{AgOjHVQtq^Pgj7fgzq5^iv=MRj4&UcVhm3s0;7k19FQiUPDqhDj-=
z1N@MOXvTt}%D?Gq%rR$9-MIm(w)U-3Dj#f_r2>R{dMD+Glap>@Hf|`~DB|MScVt*7
z=BJw7xe?;zPe$2j@)lFEZeyby%6^t9o6VPCP3FGI9=E!tE*f`yA2&$;2e_k%F$|n7oh-EFd|E@EFY*NOb{5yvBYic9j
zjaU#f6#E1_@$q+oU_VSwo*mp(J*v<}yz$X>uCgH9{=%PMT`KMnyLSQd+oGyrn1yoe
z?>?`|&-g3Rp_nEQPNLL6_52+nJJDg{dUo@H&j_p#1~GHtoKPoVaoiiil#kBQYVd%Ij_Q+(1~
z6=zxZcVJP$70Y7+4r8Z`=zV!Mp;sk-n{q6J)tx{Eg!gx;-MU0IomnHI9_(Imx2b$yEmxD2BQ)+jBSFK6iZ?U@
zK5}!cX!!PBSOM3MsgsybI=t8kU5ARx3NLF{E^ny|-&^Q?kVSUW!HwUSzfI%$D18Cn
zmRCx?axB%4MYyfN9;yEJn6@QNYz$p5j#XQMo?<5769;Qw>193sjF2OEpQ5UM-pojq
z@c6;Mi|~f0Nc0RkT#gOTO9vkLwK%CnZ9P{vxUFP={GQY3IFP1B%(R(sI9#recw>FJ
zbh3^*@vQe`ozTNNz)?ajH)j8fajd)=)9ba)us>MO{q#pkSym
zyN5b4()+gFsj5EbFto?ea
zNl}#EVZSot{RP54L&T*o^Z-J{##Tc0ZMC8N6ss{ehOm9Bw{Icd+!o6Ku7RZXS$sRB
zks(I3Shpup#H6C0{r*;CtY=0SOVf-L$yZ8p8qdI1Qu%ktZ}iw@QRA%T962;daK7m`
zQOQz@J{zn;xRW?ijNO(vV|k{BFz8ymtV31i4WSc#rj$y=^fCl()qunGyXR}x|UUKW|r!=F(SNk?koRKhIE3n`q1+M^A;T`6~U
zRSh)vW@^mse&evKFRzb>l;T55zU7a`nX=R2MOr)Cw3#AJi%!(jB1>8rF_=M`@6aP(
z$-rZM6=a}nu&9qItEuBWH@YG?i*k9}{fQzek=e)6+cO4xlG|cP=ylSJ;!^e)5&iIe
z`t`5W=5-x4C55&Ph++j_5EnZ!Ebu*tahd5i_r>2zd9
zu`rLSCi|mu7Jn~srVXI>J4Ng)+15Hv#f_-%*9gdt>C$pnned=(9Xr`=}LRR&O>jv#p5f`F5c0A+W?G>Gin5J9BS>
zM(WvX8XU7rffa40&slvwXb=4RsXU_@bs?@?B8L_KpL9xCkD
zyy;=Y2O}>7ZsaJWE%+#8FCH?jsLW7$7;wa81
zB_*uAMs<`RP#x5|asQBs30L?_IcZn3+S&mw@U%D5jcq+KLEB|>IvrCE92%-SAL+^id8jgM5V16G
zVq)kvp~`1irT*+3iUQ$v7PYT91^LmGiV6BI*;BDU-bBYgj2LlCSY#Em&Nu%~JOLkY
zQ;iq2u3s|5gbO6!&jYJ~cVSnc{U%gLzz12Q
zZyU-*hd=<1L7sEotAq|bfmna|y@GPo!=&YJMfd|BuMzEY6Zd|NE;{usYsoTlT1SZu
zcm7mBtrNxY>z(*y+$){3F=VRbo0n;<&47(FRWSVSasRbcQcH
z2D~3(#eOyW7E*C@ER5^QYI5%~P1sYuMjA-jXrY#RoPTh@V#`bC+};yStSJB0?iyEY
zCLry4gAoh<`ul)}3@^Hs6N9JD{VxcT9
zGPbm;DP-$3xuZE_obQE|GQ|}dkn%$+kY)yQZahSj_0U-afJ;3J#LxJnZRec)(TAE>
zoG#X%9bYFEMNy#6vH2jJ>Y-%BiS-Mh>L46b@UtbqO^ZK=4SdK5O{KpozQLBE;o6Qh
zX(1%ExKAM!xR3TFQtH`zqp73U`g%i--#G~$CbwQ<78qXG>uwkmWNw~a|Ejuvn<}K@
z&92$9b%M35qFxjPHWuEn9H=s&h5J6Dz%ROiXIeytvw=9npYb;f58BE24muhM8edm}
z4qi;N$#w|JF^yNcM(3)Yk>vn8%
znh6QBTUVRXW9f=R$jv_MP09E|VjNb~fQ*XzKsk=XVrtLS+Z@RQgw
zl3|v_%$ym8mRjbKBrZTB06=oLE0q9uapI
zD2KO!D%*;{)~>VmLwt2w*n*ub!=hFf%zeQEQ-^+{lZK&;g}o@`
zl+pGAn)1wAVsTk=J6we%V{qvnwaWD~1|6-U&oa!O=)7%x$RyxS7qlvVNQyXudLs=o
ze3#f}8fnf>y#_IHPg9}plQh?Z!V&)fi~Ut{adf#Iw%@s+@S|pj2(7F*zQ#<=@k6AW
z^c7I|M)19brm;p+wiJ)hjSSw4V#&tGZmcI_#XF=dN`^P)2f(oU?D#oXC1IyLo%v&G
zZ@}fYLVG8Vr4u4l*qq&jH6@dra#^qWl36RsZ}||CyNv$ao=l=d9OrlC(
zZi{uuihns8+XG~IQ1haX$dAxYOw&-tO5ZRzWFoCWm@jg-$t0@eOX-crv}BiJMsOjk
zG|8rB3&@`SODEHhQGYUQHx
z3zxw9>-z-dy%1JM9-^7-T>O26P&Y%C^a_pjzA18Sf%=un}NaEm1gjaJfMI=I0
zO}NkCggp;UKe55&iv+)cs?k`_X?fq!bXH_;NAP0|oDqipsXYsM{=pcH5+zF;yeQw4
z;EI3uYXWVOOHETub6<=l%JC(bo=mXTnkRw7ixgoG$oMh2o8+HRPbO4oK_Z?s#VM#_
zl(@N#O*!;B1grHI$)P5EHiYdjVSa%U#gpdFVLVRQg?x!M=wMGi;%Vf;>W)+&!u^Sr
zeu9}Tvx0vF#JiJYwH*EUrtX0
z6PBkl{-%j(`FlbVXNeQr$%jbE`IEC0pD0q3YQ)oB4&3=;Q+yKH;?(jgQ`r9iDH?7V
zf)_)e^&!dj4OjGdg6s;KBS6OG9b2*8c#52doy_
zd{FfKr7o?BVPu6IvDR~Zz~#u3CoTrF)g71gIFax(ZFm!f!V*=SxL+eVV{RQ8AkQ0k
z9OS_2-_lp1JpCu>Zk9&1WtaWH`QKO_lmD58np#ZE;WeG=AS*~(-I4Zb)MI#tOQn}j))@WxlVVuH=dc$#oupk_Q5
zb3q7v2S(OOa=*3@4m(muw3lGlA+oY
z@;9`Nv_>c0k7`9@QR+0``iM93V7m)v{{Tb5BolY=X$ir5{{WT9u;s|)ov~^E0HjmL
zBq`;wl=+dyR)~x-s+a0TJ&LXcq%A(<+7r-^rbzz)hs1gaRO;@&q)u#8<#|Rl!lI~@
zXMV*LNR1-cp!r6LbuUk}G@6x8#I3l4LP|)=StFl-)MYFpE6}Q3SARs&Qd;H(h?Oe(
zW&Z$>w##j3z0{bY6K9$v#5dmq+CE7;Z{-d5Fw>WkQ_HHJf@!3V
zQ`-GF+D6Dq+Zf!!+&V3sh2Vd2ZUpFU*%TU`lj&d3*Mtqhz36b1#c||>%PfgXUI?U|
zyY&vMCfqy<6?(VXgrhVy4N{<=M5w|+n#@-2At!?`u9rpqI*R`Qg^?1MK{#mAax2vh
zZ7Sm<XZS~<4_>lpYJCLdU{mkF!V(!DL{HX4%|BuwEMIy{B-|>=A1+!&
zG$xrJ8xzMv%dHCV>9aizDGBI7XqPF-r%yZ|0J=fpT$Mu!&$--uknYh!(dUCVftB3l
z4(BQV0N|T}CQ&VpMBEp}hPlA)v}2U{7I4JU%`zTzi18yPoKX~lopgE@MLt^h5HIoQ
zpEh=rFVlL&$#S$cCQ2p9ks&+$jbxQb@~#WF1B6#8dWgW)1eb(mi=!zMI5MV2hbcdh
z-7$oyWOB>UfhtfEWiCDQ6xNi6~Xc=lC*~$u29$grXz00QK$J5sq*WF*Cf(p
zsPhG;hSWI7nZsv&TN%ZlIr%r+uL~dx;ym8E+6eyHF`54M6!#rTS{a
zqPlWzu`Cmz1d)NtFdSKR#cacJPO+AT>?!Jk>J}6T$#@xhb|OZ4!87We!oaZ^wo7iXZ&4sz<5ck!LwGB(h;vNv|aJqGzYBO6!~ylZJSS`f4L%uX1eX
zuYxx6HI7VhJxfXGgCF+VDbkv7(5Kro9HW
z$`Tc$5O~m_-HK}iI+e0y_AM1l#gj5-Ra+Wv8g@F8Z)V7pOIjeCgT@Qg;G`NPxgo9p
z0ApEJbQfAiD%1Om$dtbVmE7A8r1b*9IKE2m37l0Kr+k4G4^mXCpWg)=I~MQcBd1
zH=}ze12mzTP$dfXAc9z>p|(AWG|
zEbTq;PY)ulza{OH>>kvMN=uLS2vL%hmc*65jR`FaFiC9WS>)Z8vB1;+05QofU|TV9
zp^bm`xjPa+{>Bh={z>=QO4G5WJ`6@#NFv1U3AFYxA=>*8s-d!%EP0iN#W86PA7rIQ
z9SJ-8uS~h+8x5YIWAyfn2Yi#%F7m6
zjOjme+Yrs6$Hk~GW)CF>>|xHIT!XRs-xnCO_A=$Pd6Ez(}4r~H_x_b_z^9Fdnc
zhZGYf%XnK(a!4;_l3HrVD5
zE=L;`u81yJW$bI264#ubOwti#t+`@RcCtn%bCPnsB#`3E6N~=R^izQD#AI0D>xJ~eoN=_A`BGd@IgYv$$@RrW(4u_GAB1Blfcr3hIEfY
zOBE%tiJR6+Fbh!X{i0_+&3W
zL&A~n250Heq{-a*LX{`S+@+R0z_6J&`4mL_Gh&pPopL7*@?Oy?Zhx_2Jq(nqCDzoO
zqsduEpqr&?iNu;rUMBvBubDVVG@SBY5*~@W`vix|{{Xy{V%fe_XM$4Smc~vz9SJ2X
zY)RvzEgZuV6skmtCQi+dmjj`j&(JgW6-^f0c{I8feu!Irlb0W1?i_z6zMG*xr#K!T
zVC^cI!8U~N{bF4c1huOfC)G*K6B2us&*^VMHOm}1Pd4M*(F*+Nll+Yi3u94y*_!Ij
z_CG>ONzVoe^Rc&Bp2EX;vSuaZS<;bk(XPf1V^d0dZ01=?{{WHeM_v&*Fq_`Qmu#!p
zo{Z#_G5uEpI6{`lmu=<*o0$0eYXYhEK@R)b=s@S^Lgn3+49)rqwUMqkCCskqbAtVN
zGOEhglb6rZHeHi};O-5Gi-Q^~DhowE+-PMUfA}#F5z1I4PQHJeLfYQ1)>M)>Sc4r%4`Ya`+UXqSIL^Jm`rx(%D4A
zeu5O(wO|`1nnrcV8ZpfWO?5f9V3LYmeZC))BqRW5Y&5C|<{u
zDXf`NQXMw`0A^%qGJJ&h_Y*E0jdG2R#F`8exMNTCVQ6w~mrWo^)sK}d9
z6=Xa-4MhI{)SjjXAwxpssYWn(uej2Rgwu1#q=m_Q3CL6B6mFI5qFprLo`2Kyc9Pr)
ztW1wjm!OuR!{le$g!2Zu9mJ}6Lrxn=#GH=l4lAN?{V#vx53cr*?
zi+-ioL{})eh|!LrKlrbfYHq(Eq${p$`=B*%oAiMkK{LK%JB3a7?!vbnBZoPoPLw^
zb6ma#$=9(Y@Ko<(CFDD2_7rF+62Yy=t**ok{#cSq-ItDJq)FJ)+T$h{nI0Tfn09=D
zIQxBwwB?vP+D_kuK&`^(qe@}llV9|*O9}3T5UiGor*=PfCaFKroiKTb=!PA+my8*Y
z7$R9Gq9D4$Vt>H?BQs(6ADT&(!P9J(j@|{Nb)h_^;7KV|Z#*2;$&I*Fctt9UJ#;7j
zXOD4oGiaN}q@!gd#A&3^qieyEEh_`CU(t{IVjJk=52m;$V(xzEPc{>eB6XV4(yf?a
zVAPi=czq;W{)gCY9?>#S2FCV(B|~pJGbX-An4FeR#1{m^oIipaV}aW01Zd%gCYsN<
zkrj5w%Rqy))nA{|OiB?;V_L+9mGS(sVRVBh-QaX<4iK%aP)fUb9Wyk!vJ$_z{{Wz9
zU5MeiyOH26&Gcg%I)CCYfK1bVqC!eN$MB?n2Abt#!<{s(g)jr~d#KdZ|rm
z{F%p#20BXT4H=Y6O5Jj6iNB&bXr+1>*5cwx7L+NN6Im&>`iP$%i7WRIP18OE<2p`7
zB-aAQHJ(PyicH()HbZp%B@bHWj4uoBHw$ouTk1(hHe+dU2XNlfkls{h0#K`aGYt@?
zlaFC(x#&(2zhOqHr%$&eINWW-jMl7
zw&<}msjNI4^khAQ+Ph-SpcO-i{h6Q3eNQY?xZ
zKE(}2$dt+-V3Du7e49qZVaKsAEJS%Q?8@eh6gv4KKK}qn*>JySBSn}i$iXse@N`*G
zGqjlwsV*-u9tW*4cpXbhXZjiwZ3Ls(9X6~LcJs#tM2R~1AnHXG=L3dQDh7#q1<7jPH-o&+h|P^zsN+TL;H$+64$Wtc1h6B|#>V9L+8cNGuFs6eK|iWYx73)Q`@*rYKS5a;J_+
zczRyLvV+F~Fdlk1wy$P)SBZWsFVYsmzXL56*Ki!dI+3y8K
zU}+^xQA~S}oT*x5f6kZFnk7kQUE|9_VYy5AL+lw@;XR7gkDz>Ej*uUyo8(rMF=W2O
zR{`a8FYqFVZIafd4Kte0x6)>N$%85J{0@2_|HJ?+5CH)I0s{a70RjdB0|5a5009vI
zAu&NwVR38TtO38S#II
zAJd+Hhu`w7{$%6$ZP)bd{+w$MpXuM{IDe-GqF0{Ap^ybzE
zn@i$<-J>*mNx)>6cM*jiJAs%QBL2J=lWpm
z`p=R704EuJ)XuELsM}TB*!*NK1S6p3aYWh?`;HJoi^+e>j1)p0F1*IWukxRK%e25d
z==w9I3N74lRTc`%5Pc^eGaU&0nR+Z9jVjth5+tRdz5SuJQwh0$~bB7cqqgbe95!EM=5W3
z1Qn-8zWm_bqc|q(kTgwb@q>U4$#`7rJE%9WA3vpX5G(!w`EVY!JH)viFlbKhBcB0y
zu?|>gfZn4rQb7#%9A<{gXWMzcdLVB(!9?JnIL!!k9?woD1Y*!O6BK3Ght5d|6OrJ)
zVLhb~z;+aaFo$x1^{;cO(x=+s=W3-)^vEpYHOKl@ouVFpAN??Pr(o0_I@1Us=KW@g
z8wbmX6QX^az+3{~fn;P<>S(Ea$7v9Rk&@-?Xu#XfAs3Gq0yOipgy$$++9!#PKcR}M
z2#n}>b8ZdnN33=OwO1OWv}vqXRPbB#hp+`LT^%RMj1+VP-^3r}z)m4V*pKt1{{ZQ~
zMXe!i{5i%!bQ?G7`J1$5Hj!AnaTB5*7-a-STURQkjc=wvZRYd@*_&8{S=i-w12oz6
z;}rz~{{VSlDTe(pk`Fv#0D}>o&&CZ7cSQKYl3G7+j7L?ivB2o_0So)5h4m)U5
ze9FaCSXCZAoO%)(dcQ6#V0x{m$jmD>0*QKV^i4*pjQk!X(l
z9pi)$%sUfqGzR?rKWtEoZoLg3lUQCvBc7ZIh&*`u
zFbATZR^mhr#dX3uOy7F|yT5>*?%oX%SCqeu
zssx72ErIY3_nS_X70!e=R#_~ouUy>TRQax5yBvC)xRolXo#udP<%$3(M0FfTd@$gc
z1E)qiz2kFW1$GhKdcxXjB_HVqjk+*z44psyc*!XlROs=->kk{f?U*H{v)*yKK&+kU
z`r|hN3=WSR4f#d&ya`uYYii;`R8Gc+5-3#waE<{Jf!7+vR0@UZxH_1f4-P#i019sg
z$pT-C#y1j8@?k1C@0+~4XcE(@?rX`dZ^jhODTPMYTzuovVL{&4Oelz66ACyfE!AL#%#&PoL=ir-u|HXQQj&%e5hE+27U?5oH33oZu&J
zf$({Au&&!Z!YIR47B%%UIs$U*@suVOA_`8u%Am9WDy%~C3;nQV@*fxc;rl2j5x)77
zWy4eFydsbY`i@qry++XbGE^Lyiu3cm{+TiXXw8SvikD_Fp*37q-Ldhm6AyB2%~BdI
zmFJ0(Sb1#XFLbO)E@Ihm>uBmS5G`jp~KWJ($w*W9uI
zw4Wu-2OH&Z!5av1P+5D?_`#?TK(l-u1>aLdEV2$&n$aM+`kOYB@adycX+AYg|BW
z%A<)U(h%L9Ox!9RHm)z5HQGUA1s^#wRWT0;7S6C$|QmdL?15}&%z_cLA+_wa<
zHX>E`c$CPzQecg)w2IufH#j{wL^Kw2A?8I|;dkBW_|7QQpV2=*^MeujS3vn)8Cyg_
z-^BXLev9I!J`O(y+sCv?)2bdYnhhn|iPzx4A&a-S08>H0fL*YZAHxAM#IuyQn~atx
zR)Owo4+0I>?>I*aqlB@EqW3Lf^VSeBR|-^u-@b
z`YU+~y#D~UX~%G?`LIh&Ag`7kTrOD$(`bF+1@VROI{3Pnbu?twlOdcS4gOA?5Uz?3
zzXl9rQ;&z^oFHoH?*9OcVQ|trNraU^EXoi>`d^HSx*UK8M6nI2%KhcaG}aNDsm@J+
z{{SP1r=w3Z1Ph?-`Ql>O?#v@$#7RQG`MX5Jd(7zwR)1I^$~*~>Jh
zH20eT8c&4B%5j9|9F9hdr-z0EKnYF&11LvWyMb}56xewaE=nrMIXL^vIT0G}kBlIw
zU{LL@a28ZJ`N{x+a)%=b5FAdNMBpu4{V+hg0jc+JA!H`8Jz&u&h6n;7ynHu@0clAa
ztGrluO?+>x6{~M9BAO#b%Eyg24b*^%0
z&9>G50P&roz&FieK%sjaD}WY(DEu%)M_PNQMs7fiNRhnwfE?fRl7___wXq&>p(bkb
z`g{2Q0PD~FuYZtR)^;0LLGtBdB@#nNz`~@WQPUwki2HG(V)ZvZakANvS}-@Ba0TaX
z^O`_4;P}PP$a6dl91EJE@Ivs2fX2gN{TqWr(c7PB;o#s~%Ir+DmW)qbU!wCX$Yh_Zn#;^6H$$YRk&wszt)u&DGn
zP>e~&xxx7XXbs#t=`q0tQV-vUq~yfc0Y%=q{{UFqQyu&aRNJ{?;vZaO<)E
z2L_%(UtFQld3b)D(}1O=X#Mj}HK`>t(wotDh1MbKj1Xvv34wq_Rscs9g>4552@rA8W`s0(
zAR~e{gh#3e$Jo(2l
z5woUcKm?;)CK$?>9XX*df8*yAMUojNxXO+Z#h-k2j)}u_hJcWfzWIT_lyAI_ScTCW
zoPW
z)v6uV>idd_Mh8tVIF5OA9IiqcyZL6JZ3l(JwTUX?9V91oFbcj4eEESwRYrGtnD*&J
z9v%CPdJ2!eVIw*RZlkYXOp7Ofv(bQ&BZGiB$|kEjw9S+PeRN=maTfEgu-_U@S0v(t
zmz@6qse$v}ZFK0@#z3X0djpF~io>=(V$$`=&QcUOHv?{lj?nn@#5s|7!0TD6j*rGr
zP>dPf?0isCIKRP_W@86^weOcpk`el
z;GqW%sQqhKcfHAw(795bkO<5#ZqJ=`&78
zuEaGDILm5KcIS{_4+^Ag7Yqb)?9NGy)X~;G$)(okc^O1+Hv8~LKY8H-3VWKX-#E$^
z26QmVfv4iWVZNo^Ju{unw4UK%wx^m0m}HUX+lF2NJ(uS=(~6e9N8DP+DeAEL;0jew
zGqa&zGZ%LuJvGBHLf}L~^Ok0Shb|+V1*ywBi>=CMC3Lm&>k&0T*=_ci6J_TQ-NaOd
zG+-B2emL`UV18%TZcWvFjv$<{;!`55t_XC}UCfy9N^9Gad<~c#3>Qz$bpC^=6#x}o
zK+Ulj@kcEA>lnkN%M7pwADspp8a7i@=HXM=5@@bMRVRE*7be8~;!$I8f%R5uU+&En
zsGdjX;}p;}AR6v|LpyIneCc?Z7H3F4U^1|(nh*NIKtrVABTra~-5bumWVE`YyMzEm
zuR$=4oS*gn+)3inbPOp8efxR9P&GA*N5dv+PNU$sgb`C?hzV;*?|9i!I2`4h%gv(&
ztc$nS&%B68h!kDSw2CRMp_W=E4l%86?f09TMv!GYn43jHyl|4hb@b~lw$Mob0Bj{2
zdpDdFl8}Sx^Ml*0!?qw1M|dHEy)PLiG;JpCLd=7QG)pd{j6{0Zf|CjrcJN}7R1_w%
zls0g@H~1MAXUz2(3sj9Em~4_^DxR4S^MD}axc}(M${&z
zt{^B4Q-O_Yd5&9go+qGmGrY2tZQzbS7=WZxU2B}^;Z!+fh6Ds2Uh#;5ZRt+(H|bTk
z5gQQGh-lp0y4DKnt!cLd9VzlICY(Fy-Ui!UI8gKyT9fCe5^xD8A2|fxpPq3GRVP<1
zg?to$80cz)v(3U<5w-U5iRDk7>o1<@YO^^Mb??qdf-aFFetdDA0}>z@;Do
z#pgFRBXm$axvae(knZBo>nt@%Vk4B`;hJfsYx9Mch1a;r2dLo?(2E`1Q7PT{
z{jq^owCJGYArry*_c$G5{KFPEwAFIKbQQl|XJF{C=Vy4@A1d;=ZlS8jydzw&Yg6YP
z!Xq`pOjH5MrktcesNNbOz`WvBw_ftNkCM=R^O`2zJBJ&_1rbJT&ai*+?}yK(561Cy
z8dm=RkLUQ|iEKRwE1<`ZS?CP`g%QQze^C0s4|wd|$lF?WP#$DC4bmTF#)yOq%U&?h
z;M4tO8WD5X))=u;^Lnu|1P+oM;^g2@1mh)qs}0wD2`-u^bt{~>;=V3F0^D7$T)WzQ
zZxUFmquYUZ`UPCDl|-K=ZXoYQ{yq#u@kNt!5ga_rfx!XJ1Cfj`kerhM;F}Bo065SA
zZN3<^bevu_-f~EHUHmwjfc>trQhK`mvZ!vEbBdDbSI4-(_!HwB$S8#P9Nbb2bYqq&
zIN8Jgu`vM^qo?B$M6jw7-y`NbWN9jGep*>h{0EF1nfWc|DYwzneUv2d?XD?%9
z<2UE_IB>xNI^FK@LX!II_;GFtxZOC?>t_D|-VZn(HK)b{rvu-;+%!(ddfTszV@mH{
z+)}Wzi=Sm*tADO_T^k4g0PE)gn^aLhpN`R}Kpd*!v?Ilzy1igiqKm|XG~7DB6RhPT
z2I(KXEO5el@aM{`UGXrk70`I+oYs}U2EyOB5QG}jI2=aszaB7>%Hq)6c_K_tW+`1u
z6qNPHT7#9oW08sOQI`Hoj9@7mU0@Or==NoXV6}l144XK^-Cl8cF7lyeekK?0U<>M(
z&n68b3QUmaXqXYKax;pvF`pJcdY!E48G*7?Iw_Ve#OBJT2(L
zQ_x4Yas2jt{{RBis{=VZ{{Wm(k3dA>9EjRIx!V1vHFq5zTvkJq*7S9j>O)(jofBFo
zr&vU_l?^ka8X}wnK&t+5DIXkP*AqV}1Lq-xr~AHdqZZdE
zHLG&64oExr%Q#enn&yLs>Seh|3Gv(am4JW*@%22wA~fgOlLtt;*9Q$CxasjSwj~68
zp0ZJCq!$7lm7$XAWL^*>hX!;wdu9tp*ca{Z);81Hetb8)Y9VNjzD5!CbqCCJOP~`s
zds@CL=Z-ZZE>1%Sc93~{aM7mlhi*s=stnWfn1_wd