From 60185ec7f69fda783e6bfc9f4e88f59e5b6131ff Mon Sep 17 00:00:00 2001 From: Derrick Koo Date: Thu, 1 Feb 2024 18:16:30 -0700 Subject: [PATCH 001/133] feat(ci): add epic/* release workflow and rename `master` to `trunk` (#199) * feat(ci): add epic/* release workflow and rename `master` to `trunk` * fix: missing branch name and delete contributing.md --- .circleci/config.yml | 2 + contributing.md | 23 - docs/installation.md | 4 +- includes/class-article-settings.php | 2 +- includes/class-settings.php | 2 +- package-lock.json | 1241 +-------------------------- package.json | 4 +- readme.txt | 8 +- republication-tracker-tool.php | 2 +- 9 files changed, 46 insertions(+), 1242 deletions(-) delete mode 100644 contributing.md diff --git a/.circleci/config.yml b/.circleci/config.yml index 2585aa7..921b8ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,6 +26,7 @@ workflows: - release - alpha - /^hotfix\/.*/ + - /^epic\/.*/ - newspack/release: requires: - newspack/build @@ -35,6 +36,7 @@ workflows: - release - alpha - /^hotfix\/.*/ + - /^epic\/.*/ - newspack/post-release: requires: - newspack/release diff --git a/contributing.md b/contributing.md deleted file mode 100644 index 4e912fa..0000000 --- a/contributing.md +++ /dev/null @@ -1,23 +0,0 @@ -# Contributing - -We welcome contributions and suggestions to help us improve this project. Please start by [reading our contribution guidelines](https://github.com/INN/docs/blob/master/how-to-work-with-us/contributing.md). - -### Workflow: - -1. [Fork this repo](https://help.github.com/articles/fork-a-repo) -2. Create a branch (git checkout -b my-branch) -3. Stage and commit your changes (git commit -am 'description of my changes') -4. Push the changes to your fork (git push origin my-branch) -5. [Submit a pull request to the parent repo](https://help.github.com/articles/creating-a-pull-request). Please read our [guide to submitting pull requests](https://github.com/inn/docs/blob/master/how-to-work-with-us/pull-requests.md) to see what we expect in a good pull request message. - -We have [a helpful how-to](https://github.com/INN/docs/blob/master/how-to-work-with-us/via-github.md) that walks through this process in more detail if you're new to using Git. - -Additionally, you can [create issues](https://github.com/INN/link-roundups/issues) on this repo to suggest changes or improvements. - -And of course you can always email us: [support@inn.org](mailto:support@inn.org). - -### Standards - -- Follow all standards from the INN Labs [coding style guide](https://github.com/INN/docs/tree/master/style-guides/code). -- Use [Markdown syntax](https://guides.github.com/features/mastering-markdown/) for all text documents. -- Pull requests for new functionality should be accompanied by tests wherever possible. \ No newline at end of file diff --git a/docs/installation.md b/docs/installation.md index 7bfbe3d..9f80909 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -2,13 +2,13 @@ ## WordPress Plugin Directory -Install from ()[] +Install from the (plugin repository)[https://wordpress.org/plugins/republication-tracker-tool/]. ## Your WordPress Dashboard ## Manual Install -1. Download the latest master .zip archive from GitHub, or git clone https://github.com/INN/creative-commons-sharing.git. +1. Download the latest trunk .zip archive from (GitHub)[https://github.com/Automattic/republication-tracker-tool/releases/latest]. 2. Extract the .zip archive. 3. Rename the plugin directory to republication-tracker-tool. If the directory the plugin files reside in is named anything else, the plugin will not work. 4. Upload the plugin directory to you server's wp-content/plugins directory. diff --git a/includes/class-article-settings.php b/includes/class-article-settings.php index 61a2c10..488acd7 100644 --- a/includes/class-article-settings.php +++ b/includes/class-article-settings.php @@ -160,7 +160,7 @@ public function render_hide_widget_metabox( $post, $args ) { $hide_republication_widget_by_filter = apply_filters( 'hide_republication_widget', $hide_republication_widget_by_filter, $post ); if ( true == $hide_republication_widget_by_filter ) { - echo '

The Republication sharing widget on this post is programatically disabled through the hide_republication_widget filter. Read more about this filter.

'; + echo '

The Republication sharing widget on this post is programatically disabled through the hide_republication_widget filter. Read more about this filter.

'; } else { echo '