You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4d52e02
Browse filesBrowse the repository at this point in the historyBrowse files
Fix bulk actions re-running on sort and pagination clicks (#928)
Fixed - Bulk actions no longer re-run when sorting or paginating the list after the action completes.
Co-authored-by: ekamran <ekamran@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>
Copy file name to clipboardExpand all lines: includes/Experiments/Alt_Text_Generation/Alt_Text_Generation.php
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,15 @@
27
27
* @since 0.3.0
28
28
*/
29
29
class Alt_Text_Generation extends Abstract_Feature {
30
+
/**
31
+
* One-shot query args the bulk action redirect uses to trigger generation.
32
+
*
33
+
* @since x.x.x
34
+
*
35
+
* @var list<string>
36
+
*/
37
+
privateconstBULK_QUERY_ARGS = array( 'wpai_bulk_alt_text', 'wpai_attachment_ids' ); // phpcs:ignore SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition -- This is used as an array const.
38
+
30
39
/**
31
40
* {@inheritDoc}
32
41
*/
@@ -67,6 +76,7 @@ public function register(): void {
Copy file name to clipboardExpand all lines: includes/Experiments/Comment_Moderation/Comment_Moderation.php
+50Lines changed: 50 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,15 @@ class Comment_Moderation extends Abstract_Feature {
136
136
*/
137
137
publicconstDEFAULT_MODERATE_GUESTS = true;
138
138
139
+
/**
140
+
* One-shot query args the bulk action redirect uses to show its notice.
141
+
*
142
+
* @since x.x.x
143
+
*
144
+
* @var list<string>
145
+
*/
146
+
privateconstBULK_NOTICE_QUERY_ARGS = array( 'wpai_analysis_queued', 'wpai_no_provider' ); // phpcs:ignore SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition -- This is used as an array const.
147
+
139
148
/**
140
149
* Gets the configuration for sentiment levels.
141
150
*
@@ -253,6 +262,8 @@ public function register(): void {
Copy file name to clipboardExpand all lines: includes/Experiments/Summarization/Summarization.php
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,15 @@
29
29
*/
30
30
class Summarization extends Abstract_Feature {
31
31
32
+
/**
33
+
* One-shot query args the bulk action redirect uses to trigger generation.
34
+
*
35
+
* @since x.x.x
36
+
*
37
+
* @var list<string>
38
+
*/
39
+
privateconstBULK_QUERY_ARGS = array( 'wpai_bulk_summary', 'wpai_post_ids' ); // phpcs:ignore SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition -- This is used as an array const.
40
+
32
41
/**
33
42
* {@inheritDoc}
34
43
*/
@@ -58,6 +67,27 @@ public function register(): void {
0 commit comments