Changeset 3454129
- Timestamp:
- 02/04/2026 09:15:30 PM (7 weeks ago)
- Location:
- publishpress-statuses
- Files:
-
- 8 edited
-
tags/1.2.0/PublishPress_Statuses.php (modified) (1 diff)
-
tags/1.2.0/common/js/post-block-edit.dev.js (modified) (1 diff)
-
tags/1.2.0/common/js/post-block-edit.js (modified) (1 diff)
-
tags/1.2.0/readme.txt (modified) (9 diffs)
-
trunk/PublishPress_Statuses.php (modified) (1 diff)
-
trunk/common/js/post-block-edit.dev.js (modified) (1 diff)
-
trunk/common/js/post-block-edit.js (modified) (1 diff)
-
trunk/readme.txt (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
publishpress-statuses/tags/1.2.0/PublishPress_Statuses.php
r3453967 r3454129 64 64 65 65 private $all_moderation_statuses = []; 66 public $filtered_post_status = []; 66 67 67 68 public $last_error = ''; -
publishpress-statuses/tags/1.2.0/common/js/post-block-edit.dev.js
r3453967 r3454129 181 181 if (ppObjEdit.lockStatus) { 182 182 $('.editor-change-status__options input').prop('disabled', true); 183 $('.publishpress-extended-post-privacy select').prop('disabled', true); 183 184 } 184 185 } -
publishpress-statuses/tags/1.2.0/common/js/post-block-edit.js
r3453967 r3454129 13 13 if((typeof forceRefresh!="undefined"&&forceRefresh)||(($('button.editor-post-publish-button').length||$('button.editor-post-publish-panel__toggle').length)&&($('button.editor-post-save-draft').length||($('div.publishpress-extended-post-status select option[value="_pending"]').length&&('pending'==$('div.publishpress-extended-post-status select').val()||'_pending'==$('div.publishpress-extended-post-status select').val()))))||((typeof window.PPCustomStatuses!='undefined')&&(typeof window.PPCustomStatuses['isRevision']!='undefined')&&(window.PPCustomStatuses.isRevision))){clearInterval(initInterval);initInterval=null;if($('button.editor-post-publish-panel__toggle').length){if(typeof ppObjEdit.prePublish!='undefined'&&ppObjEdit.prePublish){let status=wp.data.select('core/editor').getEditedPostAttribute('status');if(-1==window.PPCustomStatuses.publishedStatuses.indexOf(status)){PP_RecaptionButton('prePublish','button.editor-post-publish-panel__toggle',ppObjEdit.prePublish);}} 14 14 $(document).on('click','button.editor-post-publish-panel__toggle,span.pp-recaption-prepublish-button',function(){PP_SetPublishButtonCaption('',false);});}else{PP_SetPublishButtonCaption(ppObjEdit.publish,false);}} 15 if(ppObjEdit.lockStatus){$('.editor-change-status__options input').prop('disabled',true); }}15 if(ppObjEdit.lockStatus){$('.editor-change-status__options input').prop('disabled',true);$('.publishpress-extended-post-privacy select').prop('disabled',true);}} 16 16 var initInterval=setInterval(PP_InitializeBlockEditorModifications,50);setInterval(function(){if($('span.presspermit-editor-button button.is-busy').length){let saving=wp.data.select('core/editor').isSavingPost();if(!saving){$('span.presspermit-editor-button button.is-busy').removeClass('is-busy');}}},200);var ppLastPublishCaption='';setInterval(function(){if(ppObjEdit.moveParentUI){$('div.editor-post-panel__row-label').each(function(i,e){if($(e).html()==ppObjEdit.parentLabel){$(e).closest('div.editor-post-panel__row').insertAfter($('div.editor-post-panel__row-label:contains('+ppObjEdit.publishLabel+')').closest('div.editor-post-panel__row').next());}});} 17 17 if($('div.editor-post-publish-panel__header-cancel-button').length){PP_SetPublishButtonCaption(ppObjEdit.publish,false);} -
publishpress-statuses/tags/1.2.0/readme.txt
r3453965 r3454129 7 7 Requires PHP: 7.2.5 8 8 Tested up to: 6.8 9 Stable tag: 1. 1.149 Stable tag: 1.2.0 10 10 License: GPLv3 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 15 15 == Description == 16 16 17 Have you ever wanted to label a WordPress post something other than "Draft" or "Pending Review"? The [PublishPress Statuses](https://publishpress.com/statuses/) plugin can help. 17 Have you ever wanted to label a WordPress post something other than "Draft" or "Pending Review"? The [PublishPress Statuses](https://publishpress.com/statuses/) plugin can help. 18 18 19 19 PublishPress Statuses allows you to create additional statuses for your posts. For example, you can add statuses such as "In Progress", "Needs Work", or "Rejected". You can also control which users can move posts to each status. … … 21 21 ## Why Use PublishPress Statuses? 22 22 23 WordPress provides you with only two statuses for your post: "Draft" or "Pending Review". This means that before your content is published it can only be labeled as "Draft" or "Pending Review". 23 WordPress provides you with only two statuses for your post: "Draft" or "Pending Review". This means that before your content is published it can only be labeled as "Draft" or "Pending Review". 24 24 25 25 Those statuses are too limiting for many publishers. For example, what label should you use for content that is assigned to a writer? What label should you use for a post that needs work, or has been rejected? With the PublishPress Statuses plugin, you can add new statuses that accurately describe the stages of your publishing process. … … 32 32 ## Pre-Publication Statuses 33 33 34 Go to the "Statuses" area in your WordPress site and you'll six different statuses. This is the [main workflow](https://publishpress.com/knowledge-base/main-workflow/). Every post on your site must use this workflow. However, with PublishPress Statuses, you can move, rearrange and add to this workflow. 34 Go to the "Statuses" area in your WordPress site and you'll six different statuses. This is the [main workflow](https://publishpress.com/knowledge-base/main-workflow/). Every post on your site must use this workflow. However, with PublishPress Statuses, you can move, rearrange and add to this workflow. 35 35 36 - **Draft**: This is the WordPress default status and can not be modified. 36 - **Draft**: This is the WordPress default status and can not be modified. 37 37 - **Pitch**: This is a new status. You can use this status to indicate the post is just an idea. 38 38 - **Assigned**: This is a new status. You can use this status to show the post has been given to a writer. … … 51 51 [See how control access to statuses](https://publishpress.com/knowledge-base/statuses-options/). 52 52 53 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 53 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 54 54 55 55 [Click here to see add advanced capabilities to statuses](https://publishpress.com/knowledge-base/extended-capabilities-statuses/). … … 75 75 [See how control access to visibility statuses](https://publishpress.com/knowledge-base/custom-capabilities-visibility-statuses/). 76 76 77 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 77 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 78 78 79 79 ## Join PublishPress and get the Pro plugins ## … … 96 96 Together, these plugins are a suite of powerful publishing tools for WordPress. If you need to create a professional workflow in WordPress, with moderation, revisions, permissions and more, then you should try PublishPress. 97 97 98 ## Bug Reports 98 ## Bug Reports 99 99 100 100 Bug reports for PublishPress Statuses are welcomed in our [repository on GitHub](https://github.com/publishpress/publishpress-statuses). Please note that GitHub is not a support forum, and that issues that are not properly qualified as bugs will be closed. … … 102 102 == Screenshots == 103 103 104 1. Using PublishPress Statuses you can add custom workflow options that are available when editing posts. You can build one main workflow for your posts. This workflow will be available to your users on the post editing screen. 104 1. Using PublishPress Statuses you can add custom workflow options that are available when editing posts. You can build one main workflow for your posts. This workflow will be available to your users on the post editing screen. 105 105 2. In addition to the default workflow, PublishPress Statuses allows you to create alternate workflows. These statuses are for content that is not on a direct path to publication. Examples of these alternate workflows include "Deferred", "Needs Work" and "Rejected". 106 106 3. PublishPress Statuses supports branches in your workflows. You can create parent and child statuses. This allows posts to move through the individual branch before returning to the main workflow. … … 159 159 Yes, you can use the Scheduled status with this plugin. "Future" is one of the default post statuses available in WordPress. You will often see it called "Scheduled". 160 160 161 A post in the Future status is not published yet, but is scheduled to be published in a future date. 161 A post in the Future status is not published yet, but is scheduled to be published in a future date. 162 162 163 163 [Click here to see more about the Future status](https://publishpress.com/knowledge-base/future/). -
publishpress-statuses/trunk/PublishPress_Statuses.php
r3453967 r3454129 64 64 65 65 private $all_moderation_statuses = []; 66 public $filtered_post_status = []; 66 67 67 68 public $last_error = ''; -
publishpress-statuses/trunk/common/js/post-block-edit.dev.js
r3453967 r3454129 181 181 if (ppObjEdit.lockStatus) { 182 182 $('.editor-change-status__options input').prop('disabled', true); 183 $('.publishpress-extended-post-privacy select').prop('disabled', true); 183 184 } 184 185 } -
publishpress-statuses/trunk/common/js/post-block-edit.js
r3453967 r3454129 13 13 if((typeof forceRefresh!="undefined"&&forceRefresh)||(($('button.editor-post-publish-button').length||$('button.editor-post-publish-panel__toggle').length)&&($('button.editor-post-save-draft').length||($('div.publishpress-extended-post-status select option[value="_pending"]').length&&('pending'==$('div.publishpress-extended-post-status select').val()||'_pending'==$('div.publishpress-extended-post-status select').val()))))||((typeof window.PPCustomStatuses!='undefined')&&(typeof window.PPCustomStatuses['isRevision']!='undefined')&&(window.PPCustomStatuses.isRevision))){clearInterval(initInterval);initInterval=null;if($('button.editor-post-publish-panel__toggle').length){if(typeof ppObjEdit.prePublish!='undefined'&&ppObjEdit.prePublish){let status=wp.data.select('core/editor').getEditedPostAttribute('status');if(-1==window.PPCustomStatuses.publishedStatuses.indexOf(status)){PP_RecaptionButton('prePublish','button.editor-post-publish-panel__toggle',ppObjEdit.prePublish);}} 14 14 $(document).on('click','button.editor-post-publish-panel__toggle,span.pp-recaption-prepublish-button',function(){PP_SetPublishButtonCaption('',false);});}else{PP_SetPublishButtonCaption(ppObjEdit.publish,false);}} 15 if(ppObjEdit.lockStatus){$('.editor-change-status__options input').prop('disabled',true); }}15 if(ppObjEdit.lockStatus){$('.editor-change-status__options input').prop('disabled',true);$('.publishpress-extended-post-privacy select').prop('disabled',true);}} 16 16 var initInterval=setInterval(PP_InitializeBlockEditorModifications,50);setInterval(function(){if($('span.presspermit-editor-button button.is-busy').length){let saving=wp.data.select('core/editor').isSavingPost();if(!saving){$('span.presspermit-editor-button button.is-busy').removeClass('is-busy');}}},200);var ppLastPublishCaption='';setInterval(function(){if(ppObjEdit.moveParentUI){$('div.editor-post-panel__row-label').each(function(i,e){if($(e).html()==ppObjEdit.parentLabel){$(e).closest('div.editor-post-panel__row').insertAfter($('div.editor-post-panel__row-label:contains('+ppObjEdit.publishLabel+')').closest('div.editor-post-panel__row').next());}});} 17 17 if($('div.editor-post-publish-panel__header-cancel-button').length){PP_SetPublishButtonCaption(ppObjEdit.publish,false);} -
publishpress-statuses/trunk/readme.txt
r3453965 r3454129 7 7 Requires PHP: 7.2.5 8 8 Tested up to: 6.8 9 Stable tag: 1. 1.149 Stable tag: 1.2.0 10 10 License: GPLv3 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 15 15 == Description == 16 16 17 Have you ever wanted to label a WordPress post something other than "Draft" or "Pending Review"? The [PublishPress Statuses](https://publishpress.com/statuses/) plugin can help. 17 Have you ever wanted to label a WordPress post something other than "Draft" or "Pending Review"? The [PublishPress Statuses](https://publishpress.com/statuses/) plugin can help. 18 18 19 19 PublishPress Statuses allows you to create additional statuses for your posts. For example, you can add statuses such as "In Progress", "Needs Work", or "Rejected". You can also control which users can move posts to each status. … … 21 21 ## Why Use PublishPress Statuses? 22 22 23 WordPress provides you with only two statuses for your post: "Draft" or "Pending Review". This means that before your content is published it can only be labeled as "Draft" or "Pending Review". 23 WordPress provides you with only two statuses for your post: "Draft" or "Pending Review". This means that before your content is published it can only be labeled as "Draft" or "Pending Review". 24 24 25 25 Those statuses are too limiting for many publishers. For example, what label should you use for content that is assigned to a writer? What label should you use for a post that needs work, or has been rejected? With the PublishPress Statuses plugin, you can add new statuses that accurately describe the stages of your publishing process. … … 32 32 ## Pre-Publication Statuses 33 33 34 Go to the "Statuses" area in your WordPress site and you'll six different statuses. This is the [main workflow](https://publishpress.com/knowledge-base/main-workflow/). Every post on your site must use this workflow. However, with PublishPress Statuses, you can move, rearrange and add to this workflow. 34 Go to the "Statuses" area in your WordPress site and you'll six different statuses. This is the [main workflow](https://publishpress.com/knowledge-base/main-workflow/). Every post on your site must use this workflow. However, with PublishPress Statuses, you can move, rearrange and add to this workflow. 35 35 36 - **Draft**: This is the WordPress default status and can not be modified. 36 - **Draft**: This is the WordPress default status and can not be modified. 37 37 - **Pitch**: This is a new status. You can use this status to indicate the post is just an idea. 38 38 - **Assigned**: This is a new status. You can use this status to show the post has been given to a writer. … … 51 51 [See how control access to statuses](https://publishpress.com/knowledge-base/statuses-options/). 52 52 53 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 53 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 54 54 55 55 [Click here to see add advanced capabilities to statuses](https://publishpress.com/knowledge-base/extended-capabilities-statuses/). … … 75 75 [See how control access to visibility statuses](https://publishpress.com/knowledge-base/custom-capabilities-visibility-statuses/). 76 76 77 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 77 You can take this further and decide who assign, edit, and delete content in each status. This is possible if you also use the PublishPress Permissions Pro plugin. 78 78 79 79 ## Join PublishPress and get the Pro plugins ## … … 96 96 Together, these plugins are a suite of powerful publishing tools for WordPress. If you need to create a professional workflow in WordPress, with moderation, revisions, permissions and more, then you should try PublishPress. 97 97 98 ## Bug Reports 98 ## Bug Reports 99 99 100 100 Bug reports for PublishPress Statuses are welcomed in our [repository on GitHub](https://github.com/publishpress/publishpress-statuses). Please note that GitHub is not a support forum, and that issues that are not properly qualified as bugs will be closed. … … 102 102 == Screenshots == 103 103 104 1. Using PublishPress Statuses you can add custom workflow options that are available when editing posts. You can build one main workflow for your posts. This workflow will be available to your users on the post editing screen. 104 1. Using PublishPress Statuses you can add custom workflow options that are available when editing posts. You can build one main workflow for your posts. This workflow will be available to your users on the post editing screen. 105 105 2. In addition to the default workflow, PublishPress Statuses allows you to create alternate workflows. These statuses are for content that is not on a direct path to publication. Examples of these alternate workflows include "Deferred", "Needs Work" and "Rejected". 106 106 3. PublishPress Statuses supports branches in your workflows. You can create parent and child statuses. This allows posts to move through the individual branch before returning to the main workflow. … … 159 159 Yes, you can use the Scheduled status with this plugin. "Future" is one of the default post statuses available in WordPress. You will often see it called "Scheduled". 160 160 161 A post in the Future status is not published yet, but is scheduled to be published in a future date. 161 A post in the Future status is not published yet, but is scheduled to be published in a future date. 162 162 163 163 [Click here to see more about the Future status](https://publishpress.com/knowledge-base/future/).
Note: See TracChangeset
for help on using the changeset viewer.