• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CondeNast / purgely / 140
100%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2016 02:57AM UTC
Jobs 4
Files 9
Run time 31s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
140

push

travis-ci

tollmanz
Send headers using the `wp` action.

The `wp` action represents the first point in the WordPress execution
in which the context for the request is 100% set. At this point, code
can determine the type of request, access the query object, etc. Is
it sufficient to set headers at this point.

This commit moves the header setting *and* sending to the `wp` action.
The primary issue is that if we wait until `template_redirect` to send
the headers, requests that never get to `template_redirect` will not
have any headers sent. For example, RSS feeds and WP API endpoints
will not have surrogate key headers set. By bumping the action to
`wp`, more WordPress requests will get headers set.

Note that the priority is 101 to ensure that the action that sets
the surrogate keys has run. This will also make it easier for devs
to set their own headers without having to worry too much about
priorities.

416 of 416 relevant lines covered (100.0%)

29.1 hits per line

Jobs
ID Job ID Ran Files Coverage
2 140.2 11 Jan 2016 02:57AM UTC 0
100.0
Travis Job 140.2
4 140.4 11 Jan 2016 02:57AM UTC 0
100.0
Travis Job 140.4
5 140.5 11 Jan 2016 02:57AM UTC 0
100.0
Travis Job 140.5
6 140.6 11 Jan 2016 02:57AM UTC 0
100.0
Travis Job 140.6
Source Files on build 140
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #140
  • f8c03aaf on github
  • Prev Build on master (#139)
  • Next Build on master (#141)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc