Reputation
293
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 6 17
Impact
~32k people reached

  • 0 posts edited
  • 0 helpful flags
  • 36 votes cast
Jan
19
comment TinyMCE editor is breaking my beautiful HTML
Bryan, that's a good idea, but I still need the entire <figure> to be clickable, so I'm back to wrapping it in an <a> tag (or using multiple <a> tags which I would rather not do).
Jan
16
accepted TinyMCE editor is breaking my beautiful HTML
Jan
16
comment TinyMCE editor is breaking my beautiful HTML
Just to close this out. I wound up using <span> tags. I hate that my markup is now white-space dependent, but it was the path of least resistance for now. I tried <figcaption> but it's a block level element, and TinyMCE wouldn't allow the <a> tags to wrap it, so I was back at square one. Thanks again for all the ideas.
Jan
16
comment TinyMCE editor is breaking my beautiful HTML
That's an interesting thought. I hadn't considered marking it up as a figure and caption. I'll give that a try.
Jan
15
comment TinyMCE editor is breaking my beautiful HTML
Thanks for catching that typo in my example HTML (I edited the question). Just to be clear, the real HTML in question does not have that issue. I will checkout the plugin you mentioned.
Jan
15
revised TinyMCE editor is breaking my beautiful HTML
Fixed typo in example HTML
Jan
15
asked TinyMCE editor is breaking my beautiful HTML
Jan
8
comment WP function/filter for modifying http headers?
I think you might be misunderstanding what the send_headers() function is doing in the Last-Modified bit. All that code block does is determine whether the Last-Modified header should be removed, and if so it removes it. If full page caching is being used, the function will never run and neither hook will do anything. I guess it doesn't really matter in the end though. Both hooks will allow you to set a header. It's like Milo commented on your linked question, one's a filter, one's an action. It's just a matter of how you like to code.
Jan
8
comment WP function/filter for modifying http headers?
@Bryan, that's an interesting explanation. I'm curious though: if a page is statically cached and it's served before wp_headers runs, how could send_headers work if it runs after wp_headers? Wouldn't execution of the entire send_headers() function, along with the rest of WordPress, be skipped?
Jan
1
awarded  Famous Question
Dec
12
comment WP function/filter for modifying http headers?
Keep in mind though that the WordPress team is trying to transition away from the codex towards the new code reference
Nov
20
awarded  Booster
Sep
8
revised Is there a good way to get all queried taxonomy terms?
added 935 characters in body
Sep
7
asked Is there a good way to get all queried taxonomy terms?
Aug
18
awarded  Notable Question
Jul
17
awarded  Notable Question
May
14
answered Can a shortcode included in post content add styles to the <head>?
Apr
24
comment How to make WordPress emails async
Thanks, that's good to hear.
Apr
24
asked How to make WordPress emails async
Apr
24
answered How to make WordPress emails async