We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeaed24 commit 025d45eCopy full SHA for 025d45e
src/Data/Connection/AbstractConnectionResolver.php
@@ -787,7 +787,10 @@ public function get_page_info(): array {
787
* @return static
788
*/
789
public function set_query_arg( $key, $value ) {
790
- $this->query_args[ $key ] = $value;
+ $query_args = $this->get_query_args();
791
+ $query_args[ $key ] = $value;
792
+
793
+ $this->query_args = $query_args;
794
795
return $this;
796
}
0 commit comments