Reputation
2,100
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 8 22
Newest
 Custodian
Impact
~183k people reached

Jan
21
awarded  Custodian
Jan
21
reviewed Reject Gravity Custom Merge Tags
Nov
30
awarded  Yearling
Sep
25
comment Too many redirects after added SSL redirect on port 80 virtual host
Do you have a reverse proxy like nginx? snippets.webaware.com.au/snippets/…
Jul
26
comment Chrome Version 44.0.2403.89 m is trying to force HTTPS
Someone wondering why their non-HTTPS pages are loading HTTPS resources might install your plugin and break their HTTPS pages :)
Jul
26
comment Chrome Version 44.0.2403.89 m is trying to force HTTPS
Solution 1 is good for Apache. Solution 2 is bad for any sites that actually do support HTTPS.
Jul
26
comment Chrome Version 44.0.2403.89 m is trying to force HTTPS
The second-last test will prevent some server configurations from correctly testing is_ssl(). It's unnecessary, since the Google Chrome header will only come through as HTTP_HTTPS. This Super User answer has more detail on the issue. Google Chrome no longer sends that header (on updated versions).
Jul
26
comment Chrome Version 44.0.2403.89 m is trying to force HTTPS
-1 -- is_ssl() would be true if $_SERVER['HTTPS'] was either 'on' or '1'.
Jul
26
comment Chrome Version 44.0.2403.89 m is trying to force HTTPS
Chrome changed to accommodate the WooCommerce bug. If you're worried about old WooCommerce sites and users not updating Chrome, SSL Insecure Content Fixer has incorporated a fix.
May
24
awarded  Revival
Apr
1
awarded  Announcer
Jan
28
awarded  Revival
Dec
28
awarded  Announcer
Nov
30
awarded  Yearling
Oct
16
awarded  Announcer
Jul
19
comment can register_post_type() be safely called before init
For completeness, translations also should be loaded on init, because locale can be filtered and the effective locale can differ from whatever WP_LANG is set to in wp-config.php. Translations can actually be loaded before init, but might get the wrong locale. Which raises another interesting point, translations should be loaded before CPT are registered, and both should happen on init... :)
Jul
19
awarded  Scholar
Jul
19
comment can register_post_type() be safely called before init
Ah, locale and l10n, of course. Thanks!
Jul
19
accepted can register_post_type() be safely called before init
Jul
19
revised can register_post_type() be safely called before init
seems like I can use init after all, with a high enough priority...