[wp-trac] [WordPress Trac] #16935: Add filter to selected text in press-this.php
WordPress Trac
noreply at wordpress.org
Fri Sep 20 03:22:22 UTC 2013
#16935: Add filter to selected text in press-this.php
--------------------------+-----------------------------
Reporter: topdownjimmy | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Press This | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by helen):
* milestone: 3.7 => Future Release
Comment:
I don't know how useful this filter really is as it stands - you're going
to be string replacing or [http://stackoverflow.com/questions/1732348
/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
regex-ing HTML] and praying no other filters are there. It should pass the
original `$selection` for context, probably, so one could just wrap that
with whatever.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16935#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list