Skip to content

Conversation

mgol
Copy link
Member

@mgol mgol commented Mar 17, 2025

Summary

Also, fix mock.php formatting to not fail the
jQuery.get( String, null, String ) test in PHP mode.

Ref gh-4989
Ref jquery/api.jquery.com#1208

Checklist

Also, fix `mock.php` formatting to not fail the
`jQuery.get( String, null, String )` test in PHP mode.

Ref jquerygh-4989
Ref jquery/api.jquery.com#1208
@mgol
Copy link
Member Author

mgol commented Mar 17, 2025

@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 25, 2025
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 31, 2025
@mgol mgol merged commit 7668756 into jquery:main Mar 31, 2025
17 checks passed
@mgol mgol deleted the jquery-get-test-fixes branch March 31, 2025 16:09
@mgol mgol removed the Needs review label Mar 31, 2025
@mgol mgol added this to the 4.0.0 milestone Mar 31, 2025
mgol added a commit to mgol/jquery that referenced this pull request Mar 31, 2025
Also, fix `mock.php` formatting to not fail the
`jQuery.get( String, null, String )` test in PHP mode.

Ref jquerygh-5640
Ref jquerygh-4989
Ref jquery/api.jquery.com#1208
mgol added a commit to mgol/jquery that referenced this pull request Mar 31, 2025
The original test's `text` variant just repeated the previous test with 3
parameters; the goal was to use 4 ones. This fixes it.

Ref jquerygh-5640
Ref jquerygh-5645
@mgol
Copy link
Member Author

mgol commented Mar 31, 2025

mgol added a commit to mgol/jquery that referenced this pull request Apr 1, 2025
The original test's `text` variant just repeated the previous test with 3
parameters; the goal was to use 4 ones. This fixes it.

Ref jquerygh-5640
Ref jquerygh-5645
mgol added a commit to mgol/jquery that referenced this pull request Apr 1, 2025
Also, fix `mock.php` formatting to not fail the
`jQuery.get( String, null, String )` test in PHP mode.

Ref jquerygh-5640
Ref jquerygh-4989
Ref jquery/api.jquery.com#1208
mgol added a commit that referenced this pull request May 12, 2025
The original test's `text` variant just repeated the previous test with 3
parameters; the goal was to use 4 ones. This fixes it.

Closes gh-5646
Ref gh-5640
Ref gh-5645
mgol added a commit that referenced this pull request May 12, 2025
Also, fix `mock.php` formatting to not fail the
`jQuery.get( String, null, String )` test in PHP mode.

Closes gh-5645
Ref gh-5640
Ref gh-4989
Ref jquery/api.jquery.com#1208
mgol added a commit to mgol/api.jquery.com that referenced this pull request May 12, 2025
In jQuery 3.x and older, when providing a `null` value for `success` you also
have to provide the `data` parameter; you can set it to `undefined`.

Document this restriction of `jQuery.get` & `jQuery.post`.

Closes jquerygh-1208
Ref jquery/jquery#4989
Ref jquery/jquery#5139
Ref jquery/jquery#5640
Ref jquery/jquery#5645
Ref jquery/jquery#5646
mgol added a commit to jquery/api.jquery.com that referenced this pull request May 12, 2025
In jQuery 3.x and older, when providing a `null` value for `success` you also
have to provide the `data` parameter; you can set it to `undefined`.

Document this restriction of `jQuery.get` & `jQuery.post`.

Closes gh-1208
Ref jquery/jquery#4989
Ref jquery/jquery#5139
Ref jquery/jquery#5640
Ref jquery/jquery#5645
Ref jquery/jquery#5646
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants