[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste
WordPress Trac
noreply at wordpress.org
Tue May 27 11:05:35 UTC 2014
#28195: Preview embeds with wpview and auto embed on paste
-------------------------+-------------------------
Reporter: avryl | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
-------------------------+-------------------------
Comment (by kovshenin):
There's no need to run that regex an extra time before calling
`do_shortcode()`, which already runs the same regular expression along
with a couple pre-checks, that can speed things up significantly. See
[attachment:28195.4.diff].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list