Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
akcssk
WP-API
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
WP-API
tests
test-rest-attachments-controller.php
on
develop
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 18, 2016
Add links tests to posts controller
joehoyle
committed
faf1cd2
View commit details
Copy full SHA for faf1cd2
View code at this point
Browse repository at this point
Commits on Feb 17, 2016
Fixed tests not sure if they are good enough though.
Show description for 217b757
BE-Webdesign
committed
217b757
View commit details
Copy full SHA for 217b757
View code at this point
Browse repository at this point
Second attempt at adding tests.
Show description for bec7c62
BE-Webdesign
committed
bec7c62
View commit details
Copy full SHA for bec7c62
View code at this point
Browse repository at this point
First Attempt at adding tests.
Show description for bcd010d
BE-Webdesign
committed
bcd010d
View commit details
Copy full SHA for bcd010d
View code at this point
Browse repository at this point
Commits on Feb 16, 2016
Moved before and after to top level and moved date query into filter.
Show description for c5c56ea
BE-Webdesign
committed
c5c56ea
View commit details
Copy full SHA for c5c56ea
View code at this point
Browse repository at this point
Commits on Feb 14, 2016
Merge remote-tracking branch 'refs/remotes/WP-API/develop' into Potential-enhancement-#2144
BE-Webdesign
committed
f21b471
View commit details
Copy full SHA for f21b471
View code at this point
Browse repository at this point
Commits on Feb 11, 2016
Revert "Distinguish between url, body, and query params in Attachments"
danielbachhuber
committed
f2adaac
View commit details
Copy full SHA for f2adaac
View code at this point
Browse repository at this point
Second attempt to fix testing failures
Show description for 73e8583
BE-Webdesign
committed
73e8583
View commit details
Copy full SHA for 73e8583
View code at this point
Browse repository at this point
Commits on Feb 10, 2016
Merge pull request #2262 from WP-API/2114-attachment
Show description for 4f460b2
rachelbaker
committed
4f460b2
View commit details
Copy full SHA for 4f460b2
View code at this point
Browse repository at this point
Distinguish between url, body, and query params in Attachments
Show description for b3c7ad2
danielbachhuber
committed
b3c7ad2
View commit details
Copy full SHA for b3c7ad2
View code at this point
Browse repository at this point
Commits on Feb 9, 2016
Failing test case for #2081
danielbachhuber
committed
b236054
View commit details
Copy full SHA for b236054
View code at this point
Browse repository at this point
Commits on Feb 8, 2016
Update existing tests to match corrected header
rmccue
committed
29ca98b
View commit details
Copy full SHA for 29ca98b
View code at this point
Browse repository at this point
Add tests for Content-Disposition parsing
rmccue
committed
3dd14d4
View commit details
Copy full SHA for 3dd14d4
View code at this point
Browse repository at this point
Commits on Feb 4, 2016
Multisite doesn't support `text`
danielbachhuber
committed
c257e50
View commit details
Copy full SHA for c257e50
View code at this point
Browse repository at this point
Introduce `media_type` and `mime_type` params for `GET /wp/v2/media`
Show description for d8bf53b
danielbachhuber
committed
d8bf53b
View commit details
Copy full SHA for d8bf53b
View code at this point
Browse repository at this point
Commits on Jan 31, 2016
Include or exclude multiple authors with GET Posts
danielbachhuber
committed
76d96d8
View commit details
Copy full SHA for 76d96d8
View code at this point
Browse repository at this point
Commits on Jan 30, 2016
Don't permit uploading attachments to other attachments or revisions
danielbachhuber
committed
28c333d
View commit details
Copy full SHA for 28c333d
View code at this point
Browse repository at this point
Commits on Jan 26, 2016
Clean up unneeded variable assignment in test controllers
danielbachhuber
committed
3190e8a
View commit details
Copy full SHA for 3190e8a
View code at this point
Browse repository at this point
Commits on Jan 22, 2016
Merge pull request #2079 from WP-API/fix-persist-title-caption
Show description for ee98cad
danielbachhuber
committed
ee98cad
View commit details
Copy full SHA for ee98cad
View code at this point
Browse repository at this point
Failing test case for persisting `title` and `caption` from the file
danielbachhuber
committed
a6a1898
View commit details
Copy full SHA for a6a1898
View code at this point
Browse repository at this point
Add `parent_exclude` param to `GET /wp/v2/posts`
Show description for 426216f
danielbachhuber
committed
426216f
View commit details
Copy full SHA for 426216f
View code at this point
Browse repository at this point
Add `slug` param for `GET /wp/v2/posts`
danielbachhuber
committed
78901d3
View commit details
Copy full SHA for 78901d3
View code at this point
Browse repository at this point
Commits on Jan 20, 2016
Add `offset` param to `GET /wp/v2/posts`
danielbachhuber
committed
cfe64c8
View commit details
Copy full SHA for cfe64c8
View code at this point
Browse repository at this point
Merge pull request #2053 from WP-API/helpful-error-create-update-post
Show description for baef92a
danielbachhuber
committed
baef92a
View commit details
Copy full SHA for baef92a
View code at this point
Browse repository at this point
Commits on Jan 19, 2016
Provide more helpful error message/code on Post Create/Update fail
Show description for 6ed1b71
danielbachhuber
committed
6ed1b71
View commit details
Copy full SHA for 6ed1b71
View code at this point
Browse repository at this point
Commits on Jan 14, 2016
As it turns out, attachments support `inherit`, `private` and `trash`
danielbachhuber
committed
54282e1
View commit details
Copy full SHA for 54282e1
View code at this point
Browse repository at this point
Add tests to verify `status` isn't available for attachments
danielbachhuber
committed
c6ee664
View commit details
Copy full SHA for c6ee664
View code at this point
Browse repository at this point
Commits on Jan 12, 2016
Add an explicit test for the response body
danielbachhuber
committed
d6b266a
View commit details
Copy full SHA for d6b266a
View code at this point
Browse repository at this point
Commits on Jan 11, 2016
Ensure media of private posts are private too
danielbachhuber
committed
f65ef09
View commit details
Copy full SHA for f65ef09
View code at this point
Browse repository at this point
Commits on Jan 8, 2016
Default to `inherit` when querying attachments
Show description for db71a55
danielbachhuber
committed
db71a55
View commit details
Copy full SHA for db71a55
View code at this point
Browse repository at this point
Failing test case for #1959
danielbachhuber
committed
3456d61
View commit details
Copy full SHA for 3456d61
View code at this point
Browse repository at this point
Commits on Dec 13, 2015
Remove unneeded calls to `assertNotInstanceOf` and `rest_ensure_response`
Show description for b38a5f9
danielbachhuber
committed
b38a5f9
View commit details
Copy full SHA for b38a5f9
View code at this point
Browse repository at this point
Commits on Dec 11, 2015
Add tests for `context` param across all controllers
danielbachhuber
committed
5cb2cc5
View commit details
Copy full SHA for 5cb2cc5
View code at this point
Browse repository at this point
Commits on Dec 9, 2015
Rename `register_api_field()` to `register_rest_field()`
Show description for dfebf0f
danielbachhuber
committed
dfebf0f
View commit details
Copy full SHA for dfebf0f
View code at this point
Browse repository at this point
Merge pull request #1808 from WP-API/757-authorization-error
Show description for 28b77bd
rmccue
committed
28b77bd
View commit details
Copy full SHA for 28b77bd
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.