Helen Hou-Sandi
4fd8f9915d
Add a filter for get_the_url(). Make sure get_the_url() also checks for the quote post format, as it currently has a URL field. see #23570 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23775 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 07:28:56 +00:00
Mark Jaquith
a5cb6404d4
Add functions to extract a URL from an arbitrary string, HTML, or the current $post
...
props wonderboymusic. see #23570
git-svn-id: https://develop.svn.wordpress.org/trunk@23773 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 05:25:20 +00:00
Helen Hou-Sandi
987251f582
Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570 , #23347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23753 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 17:18:07 +00:00
Mark Jaquith
0132e8100c
Introduce [audio] and [video] shortcodes, and use MediaElement.js to play them.
...
props wonderboymusic. see #23282 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23729 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 05:25:44 +00:00
Sergey Biryukov
44e0f5ff09
Pass the post ID to the_title filter in post_formats_compat(). see #23347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23655 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 02:29:29 +00:00
Helen Hou-Sandi
8b26ed504c
Remove default content from post format compat output. We shouldn't magically create content for display not specified by the user, especially given that the current compat is handling the case of new data, old theme. see #23347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23499 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 22:10:08 +00:00
Helen Hou-Sandi
a3afd6e989
Post formats compat output:
...
* Check for theme support of `structured-post-formats` rather than `post-formats`.
* Use \n instead of PHP_EOL constant.
* Add new lines after opening compat wrapper tag for some `wpautop()` treatment.
props SergeyBiryukov. see #23347 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23468 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 23:02:00 +00:00
Andrew Nacin
e1b603bbc3
Move revisions/autosave and post format functions from wp-includes/post.php into revision.php and post-formats.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23466 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 21:24:34 +00:00