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

CondeNast / purgely / 140 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2016 02:57AM UTC
Files 9
Run time 1s
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

11 Jan 2016 02:51AM UTC coverage: 100.0%. Remained the same
140.5

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%)

7.83 hits per line

Source Files on job 140.5
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 140
  • Travis Job 140.5
  • f8c03aaf on github
  • Prev Job for on master (#139.5)
  • Next Job for on master (#141.5)
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