diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index c7bfe3668..b8b1a5fd0 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -4,12 +4,11 @@ on: push: branches: - develop - - develop-v1 - trunk pull_request: branches: - develop - - develop-v1 + jobs: build: name: NPM Install @@ -101,7 +100,7 @@ jobs: run: npm run copy-htaccess - name: Test - run: npm run cypress:run --config-file tests/cypress/config.js + run: npm run cypress:run - name: Update summary if: always() diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fac984b2f..8c4917b62 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,12 +8,10 @@ on: push: branches: - develop - - develop-v1 - trunk pull_request: branches: - develop - - develop-v1 jobs: eslint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa78ef9a0..ca7acc32e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,12 +10,10 @@ on: push: branches: - develop - - develop-v1 - trunk pull_request: branches: - develop - - develop-v1 jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index e95fe682c..651ca48d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,22 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] - TBD -## [2.0.0] - TBD +## [2.0.1] - 2023-09-18 +### Changed +- Update from Cypress v10 to v13 (props [@dkotter](https://github.com/dkotter), [@iamdharmesh](https://github.com/iamdharmesh), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1128](https://github.com/10up/distributor/pull/1128)). +- Documentation updates (props [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1131](https://github.com/10up/distributor/pull/1131)). + +### Removed +- GitHub Actions for version 1.x releases (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul) via [#1135](https://github.com/10up/distributor/pull/1135)). + +### Fixed +- Invalid author IDs being set when pushing and pulling posts (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@joemcgill](https://github.com/joemcgill), [@margaretschneider](https://github.com/margaretschneider) via [#1133](https://github.com/10up/distributor/pull/1133)). +- Featured image delete push issue (props [@ravichdev](https://github.com/ravichdev), [@helen](https://github.com/helen), [@dkotter](https://github.com/dkotter), [@adamsilverstein](https://github.com/adamsilverstein), [@jeffpaul](https://github.com/jeffpaul), [@arsendovlatyan](https://github.com/arsendovlatyan), [@ravinderk](https://github.com/ravinderk), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#310](https://github.com/10up/distributor/pull/310)). +- Allow clicking on the `Save to draft` confirmation modal buttons (props [@av3nger](https://github.com/av3nger), [@peterwilsoncc](https://github.com/peterwilsoncc), [@ravinderk](https://github.com/ravinderk), [@pdewouters](https://github.com/pdewouters) via [#1042](https://github.com/10up/distributor/pull/1042)). +- Admin icon has been updated so it has the same width and height (props [@zach-adams](https://github.com/zach-adams), [@ravinderk](https://github.com/ravinderk), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1132](https://github.com/10up/distributor/pull/1132)). +- Ensure our E2E tests pass on WordPress 6.3 (props [@dkotter](https://github.com/dkotter), [@iamdharmesh](https://github.com/iamdharmesh), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1128](https://github.com/10up/distributor/pull/1128)). + +## [2.0.0] - 2023-09-05 **Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.** Please see the [migration guide](https://10up.github.io/distributor/tutorial-migration-guide-version-1-to-version-2.html) for important changes between version 1 and version 2 that may require your action. @@ -30,7 +45,7 @@ Please see the [migration guide](https://10up.github.io/distributor/tutorial-mig - Toggles the Distributor admin bar element in Gutenberg based on the post status (props [@ggutenberg](https://github.com/ggutenberg), [@jeffpaul](https://github.com/jeffpaul), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1022](https://github.com/10up/distributor/pull/1022), [#1114](https://github.com/10up/distributor/pull/1114)). - Reduced duplicate code pushing posts to connections (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@cadic](https://github.com/cadic), [@jeffpaul](https://github.com/jeffpaul), [@faisal-alvi](https://github.com/faisal-alvi), [@aaronware](https://github.com/aaronware) via [#999](https://github.com/10up/distributor/pull/999)). - Unified translator comments (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@cadic](https://github.com/cadic) via [#949](https://github.com/10up/distributor/pull/949)). -- WordPress "tested up to" version 6.3 (props [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#1047](https://github.com/10up/distributor/pull/1047), [#1123](https://github.com/10up/distributor/pull/1123)). +- WordPress "tested up to" version 6.3 (props [@jayedul](https://github.com/jayedul), [@faisal-alvi](https://github.com/faisal-alvi), [@jeffpaul](https://github.com/jeffpaul), [@QAharshalkadu](https://github.com/QAharshalkadu), [@dkotter](https://github.com/dkotter) via [#1047](https://github.com/10up/distributor/pull/1047), [#1118](https://github.com/10up/distributor/issues/1118), [#1123](https://github.com/10up/distributor/pull/1123)). - Browserlist database updated to version 1.0.30001489 (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@dkotter](https://github.com/dkotter) via [#1059](https://github.com/10up/distributor/pull/1059)). - Build process now uses `@wordpress/scripts` in place of Gulp (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@dinhtungdu](https://github.com/dinhtungdu), [@dkotter](https://github.com/dkotter) via [#916](https://github.com/10up/distributor/pull/916)). - Migrated E2E tests to Cypress (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh) via [#1070](https://github.com/10up/distributor/pull/1070)). @@ -471,6 +486,7 @@ This adds a post type selector when viewing the Pull Content list for both exter - Initial closed release. [Unreleased]: https://github.com/10up/distributor/compare/trunk...develop +[2.0.1]: https://github.com/10up/distributor/compare/2.0.0...2.0.1 [2.0.0]: https://github.com/10up/distributor/compare/1.9.1...2.0.0 [1.9.1]: https://github.com/10up/distributor/compare/1.9.0...1.9.1 [1.9.0]: https://github.com/10up/distributor/compare/1.8.0...1.9.0 diff --git a/assets/img/icon.svg b/assets/img/icon.svg index a658330c3..998a0980f 100644 --- a/assets/img/icon.svg +++ b/assets/img/icon.svg @@ -1,24 +1,4 @@ - -distributor-icon -Created using Figma - - - - - - - - - - - - - - - - - - - - + + + diff --git a/dist/css/admin-syndicated-post.min.css b/dist/css/admin-syndicated-post.min.css index 1c55c0832..22355c688 100644 --- a/dist/css/admin-syndicated-post.min.css +++ b/dist/css/admin-syndicated-post.min.css @@ -1 +1 @@ -body.dt-linked-post #content_ifr,body.dt-linked-post .button,body.dt-linked-post button,body.dt-linked-post input,body.dt-linked-post select,body.dt-linked-post textarea{cursor:default;opacity:.5;pointer-events:none}body.dt-linked-post #contextual-help-link,body.dt-linked-post #post-status-select .button,body.dt-linked-post #post_status,body.dt-linked-post #publish,body.dt-linked-post #screen-options-wrap input,body.dt-linked-post #screen-options-wrap select,body.dt-linked-post #screen-options-wrap textarea,body.dt-linked-post #show-settings-link,body.dt-linked-post #timestampdiv .button,body.dt-linked-post #timestampdiv input,body.dt-linked-post #timestampdiv select,body.dt-linked-post .save_post_status{cursor:pointer;opacity:1;pointer-events:auto}body.dt-linked-post #remove-post-thumbnail,body.dt-linked-post #set-post-thumbnail-desc,body.dt-linked-post #visibility{display:none}body.dt-linked-post #postimagediv{position:relative}body.dt-linked-post #postimagediv:before{background-color:#fff;bottom:0;content:" ";left:0;opacity:0;position:absolute;right:0;top:0;z-index:2}body.dt-linked-post label[for=revisionsdiv-hide]{display:none}#syndicate-time,#syndicate-time strong{vertical-align:top}#syndicate-time:before{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzNiAzOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHht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yAzMi4xNzIyIDEzIDMwLjc5MTUgMTNDIDI5LjQxMDggMTMgMjguMjkxNSAxMS44ODA3IDI4LjI5MTUgMTAuNUMgMjguMjkxNSA5LjExOTI5IDI5LjQxMDggOCAzMC43OTE1IDhDIDMyLjE3MjIgOCAzMy4yOTE1IDkuMTE5MjkgMzMuMjkxNSAxMC41WiIvPgo8cGF0aCBpZD0icGF0aDZfZmlsbCIgZD0iTSAxMC4yOTE1IDI1LjVDIDEwLjI5MTUgMjYuODgwNyA5LjE3MjIyIDI4IDcuNzkxNSAyOEMgNi40MTA3OSAyOCA1LjI5MTUgMjYuODgwNyA1LjI5MTUgMjUuNUMgNS4yOTE1IDI0LjExOTMgNi40MTA3OSAyMyA3Ljc5MTUgMjNDIDkuMTcyMjIgMjMgMTAuMjkxNSAyNC4xMTkzIDEwLjI5MTUgMjUuNVoiLz4KPC9kZWZzPgo8L3N2Zz4K) no-repeat 0 0;background-size:contain;content:" ";display:inline-block;height:20px;padding-right:5px;position:relative;top:-1px;width:20px}#distributed-from,#distributed-from a{vertical-align:top}#distributed-from:before{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzNiAzOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KPHRpdGxlPmRpc3RyaWJ1dG9yLWljb248L3RpdGxlPgo8ZGVzYz5DcmVhdGVkIHVzaW5nIEZpZ21hPC9kZXNjPgo8ZyBpZD0iQ2FudmFzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDAyNCAzNjUpIj4KPGcgaWQ9ImRpc3RyaWJ1dG9yLWljb24iPgo8dXNlIHhsaW5rOmhyZWY9IiNwYXRoMF9maWxsIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MDI0LjcxIC0zN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1LjI5MTUgMjUuNUMgNS4yOTE1IDI0LjExOTMgNi40MTA3OSAyMyA3Ljc5MTUgMjNDIDkuMTcyMjIgMjMgMTAuMjkxNSAyNC4xMTkzIDEwLjI5MTUgMjUuNVoiLz4KPC9kZWZzPgo8L3N2Zz4K) no-repeat 0 0;background-size:contain;content:" ";display:inline-block;height:20px;padding-right:25px;position:relative;top:5px;width:20px} +body.dt-linked-post #content_ifr,body.dt-linked-post .button,body.dt-linked-post button,body.dt-linked-post input,body.dt-linked-post select,body.dt-linked-post textarea{cursor:default;opacity:.5;pointer-events:none}body.dt-linked-post #contextual-help-link,body.dt-linked-post #post-status-select .button,body.dt-linked-post #post_status,body.dt-linked-post #publish,body.dt-linked-post #screen-options-wrap input,body.dt-linked-post #screen-options-wrap select,body.dt-linked-post #screen-options-wrap textarea,body.dt-linked-post #show-settings-link,body.dt-linked-post #timestampdiv .button,body.dt-linked-post #timestampdiv input,body.dt-linked-post #timestampdiv select,body.dt-linked-post .save_post_status{cursor:pointer;opacity:1;pointer-events:auto}body.dt-linked-post #remove-post-thumbnail,body.dt-linked-post #set-post-thumbnail-desc,body.dt-linked-post #visibility{display:none}body.dt-linked-post #postimagediv{position:relative}body.dt-linked-post #postimagediv:before{background-color:#fff;bottom:0;content:" ";left:0;opacity:0;position:absolute;right:0;top:0;z-index:2}body.dt-linked-post label[for=revisionsdiv-hide]{display:none}#syndicate-time,#syndicate-time strong{vertical-align:top}#syndicate-time:before{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MiIgdmlld0JveD0iMTMuNCA4LjggNTczLjIgNTczLjIiPgogIDxwYXRoIGZpbGw9IiNBMEE1QUEi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NMjYyLjIzNyA3Mi45ODVDMTQ4LjggOTEuMTAxIDYyIDE4OS40OTQgNjIgMzA4YzAgMTMxLjM1NiAxMDYuNjQ0IDIzOCAyMzggMjM4czIzOC0xMDYuNjQ0IDIzOC0yMzhjMC0zNC4wNTktNy4xNjgtNjYuNDU4LTIwLjA4LTk1Ljc2Ni0xNS4xMjEuOTktMzAuMzIzLTYuMDE0LTM5LjEzNy0xOS42MjYtMTIuOTU5LTIwLjAxNC03LjIzMS00Ni43ODMgMTIuNzgzLTU5Ljc0MiAyMC4wMTQtMTIuOTU4IDQ2Ljc4My03LjIzMSA1OS43NDIgMTIuNzgzIDEwLjA5NSAxNS41OTIgOC44NDkgMzUuMjg0LTEuNjU3IDQ5LjM1MkM1NjUuMjg4IDIyOS40NjEgNTc0IDI2Ny43MjEgNTc0IDMwOGMwIDE1MS4yMjUtMTIyLjc3NSAyNzQtMjc0IDI3NFMyNiA0NTkuMjI1IDI2IDMwOEMyNiAxNzAuNTM5IDEyNy40NDMgNTYuNTg0IDI1OS40ODcgMzYuOTggMjY1LjU5NCAyMC41MzMgMjgxLjQzOCA4LjggMzAwIDguOGMyMy44NDMgMCA0My4yIDE5LjM1NyA0My4yIDQzLjIgMCAyMy44NDMtMTkuMzU3IDQzLjItNDMuMiA0My4yLTE2LjIyOSAwLTMwLjM4LTguOTY4LTM3Ljc2My0yMi4yMTVaIi8+Cjwvc3ZnPgo=) no-repeat 0 0;background-size:contain;content:" ";display:inline-block;height:20px;padding-right:5px;position:relative;top:-1px;width:20px}#distributed-from,#distributed-from a{vertical-align:top}#distributed-from:before{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6M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Q2NiAyOS4zNzcuNTk1IDQyLjEzM1oiLz4KICA8cGF0aCBmaWxsPSIjQTBBNUFBIiBkPSJNMjYyLjIzNyA3Mi45ODVDMTQ4LjggOTEuMTAxIDYyIDE4OS40OTQgNjIgMzA4YzAgMTMxLjM1NiAxMDYuNjQ0IDIzOCAyMzggMjM4czIzOC0xMDYuNjQ0IDIzOC0yMzhjMC0zNC4wNTktNy4xNjgtNjYuNDU4LTIwLjA4LTk1Ljc2Ni0xNS4xMjEuOTktMzAuMzIzLTYuMDE0LTM5LjEzNy0xOS42MjYtMTIuOTU5LTIwLjAxNC03LjIzMS00Ni43ODMgMTIuNzgzLTU5Ljc0MiAyMC4wMTQtMTIuOTU4IDQ2Ljc4My03LjIzMSA1OS43NDIgMTIuNzgzIDEwLjA5NSAxNS41OTIgOC44NDkgMzUuMjg0LTEuNjU3IDQ5LjM1MkM1NjUuMjg4IDIyOS40NjEgNTc0IDI2Ny43MjEgNTc0IDMwOGMwIDE1MS4yMjUtMTIyLjc3NSAyNzQtMjc0IDI3NFMyNiA0NTkuMjI1IDI2IDMwOEMyNiAxNzAuNTM5IDEyNy40NDMgNTYuNTg0IDI1OS40ODcgMzYuOTggMjY1LjU5NCAyMC41MzMgMjgxLjQzOCA4LjggMzAwIDguOGMyMy44NDMgMCA0My4yIDE5LjM1NyA0My4yIDQzLjIgMCAyMy44NDMtMTkuMzU3IDQzLjItNDMuMiA0My4yLTE2LjIyOSAwLTMwLjM4LTguOTY4LTM3Ljc2My0yMi4yMTVaIi8+Cjwvc3ZnPgo=) no-repeat 0 0;background-size:contain;content:" ";display:inline-block;height:20px;padding-right:25px;position:relative;top:5px;width:20px} diff --git a/dist/css/gutenberg-syndicated-post.min.css b/dist/css/gutenberg-syndicated-post.min.css index 00aed4355..b01ab7665 100644 --- a/dist/css/gutenberg-syndicated-post.min.css +++ b/dist/css/gutenberg-syndicated-post.min.css @@ -1 +1 @@ -body.dt-linked-post .button,body.dt-linked-post .components-form-token-field__input-container,body.dt-linked-post .edit-post-visual-editor,body.dt-linked-post .editor-post-excerpt__textarea,body.dt-linked-post button,body.dt-linked-post input,body.dt-linked-post label,body.dt-linked-post select,body.dt-linked-post textarea{cursor:default;opacity:.5;pointer-events:none}body.dt-linked-post .components-menu-item__button,body.dt-linked-post .components-panel__body-toggle,body.dt-linked-post .components-panel__header .button,body.dt-linked-post .components-panel__header .components-form-token-field__input-container,body.dt-linked-post .components-panel__header button,body.dt-linked-post .components-panel__header input,body.dt-linked-post .components-panel__header label,body.dt-linked-post .components-panel__header select,body.dt-linked-post .components-panel__header textarea,body.dt-linked-post .components-time-picker .button,body.dt-linked-post .components-time-picker .components-form-token-field__input-container,body.dt-linked-post .components-time-picker button,body.dt-linked-post .components-time-picker input,body.dt-linked-post .components-time-picker label,body.dt-linked-post .components-time-picker select,body.dt-linked-post .components-time-picker textarea,body.dt-linked-post .edit-post-header__settings .button,body.dt-linked-post .edit-post-header__settings .components-form-token-field__input-container,body.dt-linked-post .edit-post-header__settings button,body.dt-linked-post .edit-post-header__settings input,body.dt-linked-post .edit-post-header__settings label,body.dt-linked-post .edit-post-header__settings select,body.dt-linked-post .edit-post-header__settings textarea,body.dt-linked-post .edit-post-post-schedule__toggle,body.dt-linked-post .edit-post-post-visibility__toggle,body.dt-linked-post .edit-post-welcome-guide .button,body.dt-linked-post .edit-post-welcome-guide .components-form-token-field__input-container,body.dt-linked-post .edit-post-welcome-guide button,body.dt-linked-post .edit-post-welcome-guide input,body.dt-linked-post .edit-post-welcome-guide label,body.dt-linked-post .edit-post-welcome-guide select,body.dt-linked-post .edit-post-welcome-guide textarea,body.dt-linked-post .editor-post-publish-button,body.dt-linked-post .editor-post-publish-panel button,body.dt-linked-post .editor-post-trash,body.dt-linked-post .react-datepicker .button,body.dt-linked-post .react-datepicker .components-form-token-field__input-container,body.dt-linked-post .react-datepicker button,body.dt-linked-post .react-datepicker input,body.dt-linked-post .react-datepicker label,body.dt-linked-post .react-datepicker select,body.dt-linked-post .react-datepicker textarea{cursor:pointer;opacity:1;pointer-events:auto}body.dt-linked-post #post-sticky-toggle-0{cursor:pointer;pointer-events:auto}body.dt-linked-post .edit-post-last-revision__panel{display:none}#distributed-from,#distributed-from a,#distributed-from strong{vertical-align:top} +body.dt-linked-post .button,body.dt-linked-post .components-form-token-field__input-container,body.dt-linked-post .edit-post-visual-editor,body.dt-linked-post .editor-post-excerpt__textarea,body.dt-linked-post button,body.dt-linked-post input,body.dt-linked-post label,body.dt-linked-post select,body.dt-linked-post textarea{cursor:default;opacity:.5;pointer-events:none}body.dt-linked-post .components-confirm-dialog button,body.dt-linked-post .components-menu-item__button,body.dt-linked-post .components-panel__body-toggle,body.dt-linked-post .components-panel__header .button,body.dt-linked-post .components-panel__header .components-form-token-field__input-container,body.dt-linked-post .components-panel__header button,body.dt-linked-post .components-panel__header input,body.dt-linked-post .components-panel__header label,body.dt-linked-post .components-panel__header select,body.dt-linked-post .components-panel__header textarea,body.dt-linked-post .components-time-picker .button,body.dt-linked-post .components-time-picker .components-form-token-field__input-container,body.dt-linked-post .components-time-picker button,body.dt-linked-post .components-time-picker input,body.dt-linked-post .components-time-picker label,body.dt-linked-post .components-time-picker select,body.dt-linked-post .components-time-picker textarea,body.dt-linked-post .edit-post-header__settings .button,body.dt-linked-post .edit-post-header__settings .components-form-token-field__input-container,body.dt-linked-post .edit-post-header__settings button,body.dt-linked-post .edit-post-header__settings input,body.dt-linked-post .edit-post-header__settings label,body.dt-linked-post .edit-post-header__settings select,body.dt-linked-post .edit-post-header__settings textarea,body.dt-linked-post .edit-post-post-schedule__toggle,body.dt-linked-post .edit-post-post-visibility__toggle,body.dt-linked-post .edit-post-welcome-guide .button,body.dt-linked-post .edit-post-welcome-guide .components-form-token-field__input-container,body.dt-linked-post .edit-post-welcome-guide button,body.dt-linked-post .edit-post-welcome-guide input,body.dt-linked-post .edit-post-welcome-guide label,body.dt-linked-post .edit-post-welcome-guide select,body.dt-linked-post .edit-post-welcome-guide textarea,body.dt-linked-post .editor-post-publish-button,body.dt-linked-post .editor-post-publish-panel button,body.dt-linked-post .editor-post-switch-to-draft,body.dt-linked-post .editor-post-trash,body.dt-linked-post .react-datepicker .button,body.dt-linked-post .react-datepicker .components-form-token-field__input-container,body.dt-linked-post .react-datepicker button,body.dt-linked-post .react-datepicker input,body.dt-linked-post .react-datepicker label,body.dt-linked-post .react-datepicker select,body.dt-linked-post .react-datepicker textarea{cursor:pointer;opacity:1;pointer-events:auto}body.dt-linked-post #post-sticky-toggle-0{cursor:pointer;pointer-events:auto}body.dt-linked-post .edit-post-last-revision__panel{display:none}#distributed-from,#distributed-from a,#distributed-from strong{vertical-align:top} diff --git a/dist/js/admin-syndicated-post-css.min.asset.php b/dist/js/admin-syndicated-post-css.min.asset.php index 4a785aca8..fd7baab8c 100644 --- a/dist/js/admin-syndicated-post-css.min.asset.php +++ b/dist/js/admin-syndicated-post-css.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'fd50621f3462d03366c5'); + array('wp-polyfill'), 'version' => '457c2a0d12b52f2a0016'); diff --git a/dist/js/gutenberg-plugin.min.asset.php b/dist/js/gutenberg-plugin.min.asset.php index 94711e3cd..10e32d72c 100644 --- a/dist/js/gutenberg-plugin.min.asset.php +++ b/dist/js/gutenberg-plugin.min.asset.php @@ -1 +1 @@ - array('wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '715f53eabc2b98948590'); + array('wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'e098cedb2b7751ef5b39'); diff --git a/dist/js/gutenberg-plugin.min.js b/dist/js/gutenberg-plugin.min.js index 6553fe680..1eebca4f8 100644 --- a/dist/js/gutenberg-plugin.min.js +++ b/dist/js/gutenberg-plugin.min.js @@ -1 +1 @@ -(()=>{"use strict";const t=window.wp.element,e=window.wp.primitives,i=(0,t.createElement)(e.SVG,{width:"36",height:"39",viewBox:"0 0 36 39",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(e.Path,{d:"M7.938 23.11c-.93 0-1.646.794-1.646 1.826 0 .953.715 1.826 1.575 1.826a12.226 12.226 0 0 0 4.152 3.968 10.2 10.2 0 0 0 4.94 1.27c4.152 0 8.161-2.54 10.166-6.984 1.36-3.016 1.503-6.35.573-9.524-1.003-3.175-3.007-5.715-5.728-7.223-5.584-3.016-12.314-.476-15.106 5.714l-.215.397h.072c-.286.635-.501 1.508.072 1.826l5.942 2.54c0 .238-.072.476-.072.714 0 2.619 1.933 4.762 4.296 4.762 2.362 0 4.295-2.143 4.295-4.762 0-2.62-1.933-4.762-4.295-4.762-1.432 0-2.72.793-3.508 1.984l-4.869-2.064c1.146-2.38 3.007-4.206 5.298-5.08 2.363-.872 4.94-.713 7.231.477 4.654 2.54 6.587 8.81 4.296 13.969-1.074 2.54-3.007 4.365-5.441 5.317-2.363.873-4.94.715-7.231-.476-1.36-.714-2.506-1.825-3.437-3.174.072-.238.144-.477.144-.715.143-.952-.645-1.825-1.504-1.825Z"}),(0,t.createElement)(e.Path,{fillRule:"evenodd",d:"M12.019 30.73a12.226 12.226 0 0 1-4.152-3.968c-.86 0-1.575-.873-1.575-1.826 0-1.032.715-1.825 1.646-1.825.86 0 1.647.873 1.504 1.825 0 .238-.072.477-.144.715.931 1.349 2.077 2.46 3.437 3.174 2.29 1.19 4.868 1.35 7.23.477 2.435-.953 4.368-2.778 5.442-5.318 2.29-5.16.358-11.43-4.296-13.969-2.29-1.19-4.868-1.35-7.23-.476-2.204.84-4.01 2.56-5.165 4.81-.045.09-.09.179-.134.27l4.869 2.063c.787-1.19 2.076-1.984 3.508-1.984 2.362 0 4.295 2.143 4.295 4.762 0 2.619-1.933 4.762-4.295 4.762-2.363 0-4.296-2.143-4.296-4.762 0-.12.018-.238.036-.357.018-.12.036-.238.036-.358l-5.942-2.54c-.487-.269-.405-.94-.194-1.525a4.051 4.051 0 0 1 .122-.3H6.65l.215-.397c2.792-6.19 9.522-8.73 15.106-5.714 2.72 1.508 4.725 4.048 5.728 7.223.93 3.174.787 6.508-.573 9.524C25.12 29.46 21.111 32 16.959 32a10.2 10.2 0 0 1-4.94-1.27ZM6.595 13.85c2.858-6.323 9.765-8.952 15.518-5.845l.003.002c2.793 1.548 4.844 4.153 5.868 7.394l.002.006c.94 3.223.791 6.662-.588 9.732-2.05 4.544-6.16 7.161-10.44 7.161a10.631 10.631 0 0 1-5.085-1.307l-.004-.003a12.653 12.653 0 0 1-4.17-3.937c-.985-.103-1.708-1.103-1.708-2.117 0-1.167.822-2.125 1.947-2.125 1.04 0 1.96 1.028 1.803 2.15-.006.22-.058.439-.114.636.896 1.271 1.962 2.29 3.246 2.962 2.216 1.152 4.704 1.304 6.986.462 2.359-.924 4.23-2.69 5.271-5.154l.003-.005c2.233-5.03.338-11.123-4.163-13.582-2.215-1.15-4.703-1.303-6.984-.46-2.12.808-3.868 2.465-4.993 4.647l4.35 1.844c.845-1.149 2.155-1.913 3.616-1.913 2.556 0 4.595 2.307 4.595 5.062 0 2.755-2.039 5.062-4.595 5.062-2.557 0-4.596-2.307-4.596-5.062.001-.142.021-.283.04-.402l.002-.017.015-.104-5.76-2.461-.013-.008c-.43-.238-.533-.68-.512-1.072.014-.23.072-.48.149-.716h-.138l.45-.83Z"}),(0,t.createElement)(e.Path,{d:"M32.128 10.017c0-1.01-.733-1.788-1.685-1.788-.952 0-1.685.777-1.685 1.788 0 .933.733 1.71 1.612 1.788 2.49 4.586 2.71 10.26.513 15.08-1.832 3.886-4.909 6.762-8.718 8.083-3.81 1.4-7.912 1.089-11.502-.777C3.191 30.305.113 20.666 3.777 12.737c2.197-4.741 6.52-8.006 11.355-8.783.293.388.732.622 1.245.622.953 0 1.685-.778 1.685-1.788S17.33 1 16.377 1c-.659 0-1.172.389-1.465.933-5.494.855-10.403 4.586-12.894 9.95a19.201 19.201 0 0 0-.805 13.835c1.465 4.587 4.542 8.24 8.571 10.417C12.201 37.378 14.766 38 17.256 38c6.3 0 12.381-3.731 15.312-10.105 2.49-5.441 2.27-11.893-.586-17.1.073-.234.146-.467.146-.778Z"}),(0,t.createElement)(e.Path,{fillRule:"evenodd",d:"M2.018 11.882c2.491-5.363 7.4-9.094 12.894-9.95.293-.543.806-.932 1.465-.932.953 0 1.685.777 1.685 1.788 0 1.01-.732 1.788-1.685 1.788-.512 0-.952-.234-1.245-.622-4.835.777-9.158 4.042-11.355 8.783-3.663 7.929-.586 17.568 6.886 21.454 3.59 1.866 7.692 2.177 11.502.777 3.81-1.32 6.886-4.197 8.718-8.084 2.198-4.819 1.978-10.493-.513-15.08-.88-.077-1.612-.854-1.612-1.787 0-1.01.733-1.788 1.685-1.788.952 0 1.685.777 1.685 1.788 0 .31-.073.544-.146.777 2.857 5.208 3.077 11.66.586 17.101C29.638 34.269 23.557 38 17.256 38c-2.49 0-5.055-.622-7.472-1.865-4.03-2.177-7.106-5.83-8.571-10.416a19.201 19.201 0 0 1 .805-13.837Zm30.288-1.12c.061-.207.12-.45.122-.745 0-1.16-.85-2.088-1.985-2.088-1.134 0-1.985.929-1.985 2.088 0 1.029.762 1.897 1.72 2.065 2.378 4.479 2.569 9.99.433 14.676-1.8 3.82-4.818 6.635-8.544 7.927l-.006.002c-3.727 1.37-7.742 1.066-11.26-.762C3.482 30.117.45 20.656 4.05 12.863c2.132-4.599 6.297-7.776 10.963-8.585.343.375.821.598 1.365.598 1.135 0 1.985-.929 1.985-2.088 0-1.16-.85-2.088-1.985-2.088-.735 0-1.307.405-1.653.959-5.54.913-10.468 4.693-12.978 10.097v.002a19.624 19.624 0 0 0-.82 14.052c1.49 4.66 4.618 8.375 8.715 10.588l.006.003c2.45 1.258 5.083 1.897 7.61 1.899 6.419 0 12.605-3.801 15.583-10.28 2.512-5.487 2.31-11.986-.535-17.258Z"}),(0,t.createElement)(e.Path,{d:"M19.291 2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM33.291 10.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10.291 25.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"})),n=window.wp.components,s=window.wp.data,r=window.wp.editPost,o=window.wp.i18n,l=window.wp.plugins,{document:c,dt:a,dtGutenberg:u,MouseEvent:d}=window,p=()=>{const e=c.body.classList;if(0!==parseInt(u.syndicationTime))return null;const i=c.querySelector("#wp-admin-bar-distributor"),n=c.querySelector("#wp-admin-bar-distributor > a");if(!i||!n)return(0,t.createElement)("div",{className:"distributor-toggle"},(0,t.createElement)("span",null,(0,o.__)("Refresh page to see distribution options","distributor")));const r=(0,s.select)("core/edit-post").isFeatureActive("fullscreenMode");return(0,t.createElement)("div",{className:"distributor-toggle"},(0,t.createElement)("button",{className:"components-button is-secondary",type:"button",onClick:()=>{const t=new d("mouseenter");r?e.add("is-showing-distributor"):e.remove("is-showing-distributor"),i.classList.toggle("hover"),n.dispatchEvent(t)}},(0,o.sprintf)((0,o.__)("Distribute %1$s","distributor"),u.postTypeSingular.toLowerCase()||(0,o._x)("content","generic term for post content","distributor"))))},m=()=>0!==parseInt(u.syndicationTime)?null:(0,t.createElement)("p",null,(0,o.__)("Distribution options available once published","distributor")),b=()=>0(0,t.createElement)("span",{id:"distributed-to"},(0,o.sprintf)((0,o._n)("Distributed to %1$s connection.","Distributed to %1$s connections.",1*u.syndicationCount,"distributor"),u.syndicationCount)),g=()=>(0,t.createElement)("span",{id:"distributed-from"},(0,o.sprintf)((0,o.__)("Distributed on: %1$s","distributor"),u.syndicationTime)),E=()=>(0,t.createElement)(n.Icon,{className:"components-panel__icon",icon:i,size:20});(0,l.registerPlugin)("distributor-plugin",{render:()=>{if(u.noPermissions&&1===parseInt(u.noPermissions))return null;const e=(0,s.useSelect)((t=>t("core/editor").getCurrentPostType())),i=(0,s.useSelect)((t=>t("core/editor").getCurrentPostAttribute("status")));if(u.supportedPostTypes&&void 0===u.supportedPostTypes[e])return null;const n=c.querySelector("#wp-admin-bar-distributor"),l=(0,s.useSelect)((t=>t("core/editor").getCurrentPost()));return a.postTitle=l.title,a.postStatus=l.status,u.supportedPostStati&&!u.supportedPostStati.includes(i)?(n?.classList.add("hide"),(0,t.createElement)(r.PluginDocumentSettingPanel,{title:(0,o.__)("Distributor","distributor"),icon:E,className:"distributor-panel"},(0,t.createElement)(m,null),(0,t.createElement)(b,null))):(n?.classList.remove("hide"),(0,t.createElement)(r.PluginDocumentSettingPanel,{title:(0,o.__)("Distributor","distributor"),icon:E,className:"distributor-panel"},(0,t.createElement)(p,null),(0,t.createElement)(b,null)))}})})(); \ No newline at end of file +(()=>{"use strict";const t=window.wp.element,e=window.wp.primitives,i=(0,t.createElement)(e.SVG,{width:"20",height:"20",viewBox:"13.4 8.8 573.2 573.2",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(e.Path,{d:"M195.113 411.033c45.835 46.692 119.124 58.488 178.387 24.273 70.262-40.566 94.371-130.544 53.806-200.806-40.566-70.262-130.544-94.371-200.806-53.806-19.873 11.474-36.055 26.899-48.124 44.715l64.722 33.186c22.201-25.593 59.796-33.782 91.279-17.639 37.002 18.973 51.64 64.418 32.667 101.421-18.973 37.002-64.418 51.64-101.421 32.667-31.483-16.143-46.776-51.45-38.951-84.415l-81.702-41.892c-8.838-4.532-12.335-15.367-7.814-24.211 15.514-30.346 39.658-56.715 71.344-75.009 87.469-50.5 199.482-20.486 249.983 66.983 50.5 87.469 20.486 199.482-66.983 249.983-75.235 43.437-168.63 27.307-225.419-33.717-17.809 3.778-36.797-4.055-46.387-20.666-11.922-20.648-4.837-47.091 15.812-59.012 20.648-11.922 47.091-4.836 59.012 15.812 7.77 13.458 7.466 29.377.595 42.133Z"}),(0,t.createElement)(e.Path,{d:"M262.237 72.985C148.8 91.101 62 189.494 62 308c0 131.356 106.644 238 238 238s238-106.644 238-238c0-34.059-7.168-66.458-20.08-95.766-15.121.99-30.323-6.014-39.137-19.626-12.959-20.014-7.231-46.783 12.783-59.742 20.014-12.958 46.783-7.231 59.742 12.783 10.095 15.592 8.849 35.284-1.657 49.352C565.288 229.461 574 267.721 574 308c0 151.225-122.775 274-274 274S26 459.225 26 308C26 170.539 127.443 56.584 259.487 36.98 265.594 20.533 281.438 8.8 300 8.8c23.843 0 43.2 19.357 43.2 43.2 0 23.843-19.357 43.2-43.2 43.2-16.229 0-30.38-8.968-37.763-22.215Z"})),n=window.wp.components,s=window.wp.data,r=window.wp.editPost,o=window.wp.i18n,l=window.wp.plugins,{document:c,dt:u,dtGutenberg:a,MouseEvent:d}=window,p=()=>{const e=c.body.classList;if(0!==parseInt(a.syndicationTime))return null;const i=c.querySelector("#wp-admin-bar-distributor"),n=c.querySelector("#wp-admin-bar-distributor > a");if(!i||!n)return(0,t.createElement)("div",{className:"distributor-toggle"},(0,t.createElement)("span",null,(0,o.__)("Refresh page to see distribution options","distributor")));const r=(0,s.select)("core/edit-post").isFeatureActive("fullscreenMode");return(0,t.createElement)("div",{className:"distributor-toggle"},(0,t.createElement)("button",{className:"components-button is-secondary",type:"button",onClick:()=>{const t=new d("mouseenter");r?e.add("is-showing-distributor"):e.remove("is-showing-distributor"),i.classList.toggle("hover"),n.dispatchEvent(t)}},(0,o.sprintf)((0,o.__)("Distribute %1$s","distributor"),a.postTypeSingular.toLowerCase()||(0,o._x)("content","generic term for post content","distributor"))))},m=()=>0!==parseInt(a.syndicationTime)?null:(0,t.createElement)("p",null,(0,o.__)("Distribution options available once published","distributor")),b=()=>0(0,t.createElement)("span",{id:"distributed-to"},(0,o.sprintf)((0,o._n)("Distributed to %1$s connection.","Distributed to %1$s connections.",1*a.syndicationCount,"distributor"),a.syndicationCount)),g=()=>(0,t.createElement)("span",{id:"distributed-from"},(0,o.sprintf)((0,o.__)("Distributed on: %1$s","distributor"),a.syndicationTime)),E=()=>(0,t.createElement)(n.Icon,{className:"components-panel__icon",icon:i,size:20});(0,l.registerPlugin)("distributor-plugin",{render:()=>{if(a.noPermissions&&1===parseInt(a.noPermissions))return null;const e=(0,s.useSelect)((t=>t("core/editor").getCurrentPostType())),i=(0,s.useSelect)((t=>t("core/editor").getCurrentPostAttribute("status")));if(a.supportedPostTypes&&void 0===a.supportedPostTypes[e])return null;const n=c.querySelector("#wp-admin-bar-distributor"),l=(0,s.useSelect)((t=>t("core/editor").getCurrentPost()));return u.postTitle=l.title,u.postStatus=l.status,a.supportedPostStati&&!a.supportedPostStati.includes(i)?(n?.classList.add("hide"),(0,t.createElement)(r.PluginDocumentSettingPanel,{title:(0,o.__)("Distributor","distributor"),icon:E,className:"distributor-panel"},(0,t.createElement)(m,null),(0,t.createElement)(b,null))):(n?.classList.remove("hide"),(0,t.createElement)(r.PluginDocumentSettingPanel,{title:(0,o.__)("Distributor","distributor"),icon:E,className:"distributor-panel"},(0,t.createElement)(p,null),(0,t.createElement)(b,null)))}})})(); \ No newline at end of file diff --git a/dist/js/gutenberg-syndicated-post-css.min.asset.php b/dist/js/gutenberg-syndicated-post-css.min.asset.php index 884439a75..72ef0c66c 100644 --- a/dist/js/gutenberg-syndicated-post-css.min.asset.php +++ b/dist/js/gutenberg-syndicated-post-css.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'e341aaf3acd2f280327d'); + array('wp-polyfill'), 'version' => 'f152eba5a97c328c231a'); diff --git a/distributor.php b/distributor.php index 76505a34b..15130d8e1 100644 --- a/distributor.php +++ b/distributor.php @@ -4,7 +4,7 @@ * Plugin URI: https://github.com/10up/distributor * Update URI: https://distributorplugin.com * Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web. - * Version: 2.0.0 + * Version: 2.0.1 * Requires at least: 5.7 * Requires PHP: 7.4 * Author: 10up Inc. @@ -28,7 +28,7 @@ exit; // Exit if accessed directly. } -define( 'DT_VERSION', '2.0.0' ); +define( 'DT_VERSION', '2.0.1' ); define( 'DT_PLUGIN_FILE', preg_replace( '#^.*plugins/(.*)$#i', '$1', __FILE__ ) ); define( 'DT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'DT_PLUGIN_FULL_FILE', __FILE__ ); diff --git a/includes/classes/API/SubscriptionsController.php b/includes/classes/API/SubscriptionsController.php index 15cc484ee..01813cf6d 100644 --- a/includes/classes/API/SubscriptionsController.php +++ b/includes/classes/API/SubscriptionsController.php @@ -287,6 +287,9 @@ public function receive_item( $request ) { if ( ! empty( $request['post_data']['distributor_media'] ) ) { \Distributor\Utils\set_media( $request['post_id'], $request['post_data']['distributor_media'] ); + } else { + // Remove any previously set featured image. + delete_post_meta( (int) $request['post_id'], '_thumbnail_id' ); } /** diff --git a/includes/classes/DistributorPost.php b/includes/classes/DistributorPost.php index 1a9c6c0fd..ce440013e 100644 --- a/includes/classes/DistributorPost.php +++ b/includes/classes/DistributorPost.php @@ -847,7 +847,7 @@ protected function to_insert( $args = array() ) { } // Additional data required for wp_insert_post(). - $insert['post_author'] = isset( $this->post->post_author ) ? $this->post->post_author : get_current_user_id(); + $insert['post_author'] = ! empty( $this->post->post_author ) ? $this->post->post_author : get_current_user_id(); // If the post has blocks, use the raw content. if ( $this->has_blocks() ) { diff --git a/includes/classes/ExternalConnections/WordPressExternalConnection.php b/includes/classes/ExternalConnections/WordPressExternalConnection.php index 99cf8d086..8c3c431e3 100644 --- a/includes/classes/ExternalConnections/WordPressExternalConnection.php +++ b/includes/classes/ExternalConnections/WordPressExternalConnection.php @@ -381,6 +381,7 @@ public function pull( $items ) { unset( $post_array['post_date_gmt'] ); unset( $post_array['post_modified'] ); unset( $post_array['post_modified_gmt'] ); + unset( $post_array['post_author'] ); if ( ! empty( $item_array['post_id'] ) ) { $update = true; diff --git a/includes/external-connection-cpt.php b/includes/external-connection-cpt.php index 937c3a932..1e2fb01f8 100644 --- a/includes/external-connection-cpt.php +++ b/includes/external-connection-cpt.php @@ -662,7 +662,7 @@ function add_menu_item() { apply_filters( 'dt_capabilities', 'manage_options' ), 'distributor', __NAMESPACE__ . '\dashboard', - 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzki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aWQ9InBhdGg1X2ZpbGwiIGQ9Ik0gMzMuMjkxNSAxMC41QyAzMy4yOTE1IDExLjg4MDcgMzIuMTcyMiAxMyAzMC43OTE1IDEzQyAyOS40MTA4IDEzIDI4LjI5MTUgMTEuODgwNyAyOC4yOTE1IDEwLjVDIDI4LjI5MTUgOS4xMTkyOSAyOS40MTA4IDggMzAuNzkxNSA4QyAzMi4xNzIyIDggMzMuMjkxNSA5LjExOTI5IDMzLjI5MTUgMTAuNVoiLz48cGF0aCBpZD0icGF0aDZfZmlsbCIgZD0iTSAxMC4yOTE1IDI1LjVDIDEwLjI5MTUgMjYuODgwNyA5LjE3MjIyIDI4IDcuNzkxNSAyOEMgNi40MTA3OSAyOCA1LjI5MTUgMjYuODgwNyA1LjI5MTUgMjUuNUMgNS4yOTE1IDI0LjExOTMgNi40MTA3OSAyMyA3Ljc5MTUgMjNDIDkuMTcyMjIgMjMgMTAuMjkxNSAyNC4xMTkzIDEwLjI5MTUgMjUuNVoiLz48L2RlZnM+PC9zdmc+' + Utils\get_admin_icon(), ); add_action( "load-$hook", __NAMESPACE__ . '\screen_option' ); diff --git a/includes/rest-api.php b/includes/rest-api.php index 2445df0a5..ac3bcaaa7 100644 --- a/includes/rest-api.php +++ b/includes/rest-api.php @@ -117,6 +117,9 @@ function process_distributor_attributes( $post, $request, $update ) { if ( isset( $request['distributor_media'] ) ) { \Distributor\Utils\set_media( $post->ID, $request['distributor_media'] ); + } else { + // Remove any previously set featured image. + delete_post_meta( $post->ID, '_thumbnail_id' ); } /** diff --git a/includes/settings.php b/includes/settings.php index c33eb58d7..b25603dc6 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -306,7 +306,7 @@ function admin_menu() { * @since 1.2 */ function network_admin_menu() { - add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMC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GwiIGQ9Ik0gMzMuMjkxNSAxMC41QyAzMy4yOTE1IDExLjg4MDcgMzIuMTcyMiAxMyAzMC43OTE1IDEzQyAyOS40MTA4IDEzIDI4LjI5MTUgMTEuODgwNyAyOC4yOTE1IDEwLjVDIDI4LjI5MTUgOS4xMTkyOSAyOS40MTA4IDggMzAuNzkxNSA4QyAzMi4xNzIyIDggMzMuMjkxNSA5LjExOTI5IDMzLjI5MTUgMTAuNVoiLz48cGF0aCBpZD0icGF0aDZfZmlsbCIgZD0iTSAxMC4yOTE1IDI1LjVDIDEwLjI5MTUgMjYuODgwNyA5LjE3MjIyIDI4IDcuNzkxNSAyOEMgNi40MTA3OSAyOCA1LjI5MTUgMjYuODgwNyA1LjI5MTUgMjUuNUMgNS4yOTE1IDI0LjExOTMgNi40MTA3OSAyMyA3Ljc5MTUgMjNDIDkuMTcyMjIgMjMgMTAuMjkxNSAyNC4xMTkzIDEwLjI5MTUgMjUuNVoiLz48L2RlZnM+PC9zdmc+' ); + add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', Utils\get_admin_icon() ); } /** diff --git a/includes/utils.php b/includes/utils.php index 2c751ac63..41aa5b8df 100644 --- a/includes/utils.php +++ b/includes/utils.php @@ -1271,3 +1271,17 @@ function is_distributed_post( $post ) { $original_post_id = get_post_meta( $post_id, 'dt_original_post_id', true ); return ! empty( $original_post_id ); } + +/** + * Returns the admin icon in data URL base64 format. + * + * @since 2.0.1 + * + * @param string $color The hex color if changing the color of the icon. Default `#a0a5aa`. + * @return string Data URL base64 encoded SVG icon string. + */ +function get_admin_icon( $color = '#a0a5aa' ) { + $svg_icon = sprintf( '', $color ); + + return sprintf( 'data:image/svg+xml;base64,%s', base64_encode( $svg_icon ) ); +} diff --git a/lang/distributor.pot b/lang/distributor.pot index e2fdbe6f8..da64fdeca 100644 --- a/lang/distributor.pot +++ b/lang/distributor.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv2 or later. msgid "" msgstr "" -"Project-Id-Version: Distributor 2.0.0\n" +"Project-Id-Version: Distributor 2.0.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/distributor\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-09-05T23:46:21+00:00\n" +"POT-Creation-Date: 2023-09-19T05:46:47+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: distributor\n" @@ -129,23 +129,23 @@ msgstr "" msgid "No post data for update." msgstr "" -#: includes/classes/API/SubscriptionsController.php:336 +#: includes/classes/API/SubscriptionsController.php:339 #: release/includes/classes/API/SubscriptionsController.php:336 msgid "Sorry, you are not allowed to create subscriptions." msgstr "" -#: includes/classes/API/SubscriptionsController.php:351 +#: includes/classes/API/SubscriptionsController.php:354 #: release/includes/classes/API/SubscriptionsController.php:351 msgid "Cannot create existing subscription." msgstr "" -#: includes/classes/API/SubscriptionsController.php:355 +#: includes/classes/API/SubscriptionsController.php:358 #: release/includes/classes/API/SubscriptionsController.php:355 msgid "Subscription post does not exist." msgstr "" -#: includes/classes/API/SubscriptionsController.php:407 -#: includes/classes/API/SubscriptionsController.php:430 +#: includes/classes/API/SubscriptionsController.php:410 +#: includes/classes/API/SubscriptionsController.php:433 #: release/includes/classes/API/SubscriptionsController.php:407 #: release/includes/classes/API/SubscriptionsController.php:430 msgid "Invalid post ID." @@ -348,7 +348,7 @@ msgid "Endpoint URL must be set." msgstr "" #: includes/classes/ExternalConnections/WordPressExternalConnection.php:256 -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:653 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:654 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:256 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:653 msgid "Could not connect to API endpoint." @@ -360,9 +360,9 @@ msgid "API endpoint error." msgstr "" #: includes/classes/ExternalConnections/WordPressExternalConnection.php:271 -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:502 -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:605 -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:659 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:503 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:606 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:660 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:271 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:502 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:605 @@ -385,26 +385,26 @@ msgstr "" msgid "No post found." msgstr "" -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:472 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:473 #: includes/classes/InternalConnections/NetworkSiteConnection.php:75 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:472 #: release/includes/classes/InternalConnections/NetworkSiteConnection.php:75 msgid "Post ID required to push." msgstr "" -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:476 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:477 #: includes/classes/InternalConnections/NetworkSiteConnection.php:79 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:476 #: release/includes/classes/InternalConnections/NetworkSiteConnection.php:79 msgid "Post does not exist." msgstr "" -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:510 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:511 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:510 msgid "Could not determine remote post type endpoint." msgstr "" -#: includes/classes/ExternalConnections/WordPressExternalConnection.php:611 +#: includes/classes/ExternalConnections/WordPressExternalConnection.php:612 #: release/includes/classes/ExternalConnections/WordPressExternalConnection.php:611 msgid "Could not determine remote post ID." msgstr "" diff --git a/readme.txt b/readme.txt index f91f92d2e..a81a98a9b 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: content, distribution, syndication, management Requires at least: 5.7 Tested up to: 6.3 Requires PHP: 7.4 -Stable tag: 2.0.0 +Stable tag: 2.0.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html