markjaquith
|
dc8492b9f5
|
Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-08 21:08:19 +00:00 |
westi
|
2bfe9c548b
|
Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-08 12:45:32 +00:00 |
ryan
|
ba3275b123
|
Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-06 17:40:36 +00:00 |
azaozz
|
16ebe3bc82
|
Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
git-svn-id: http://svn.automattic.com/wordpress/trunk@12280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 06:58:21 +00:00 |
ryan
|
424cc274f1
|
Add a bunch of new filters. Use one of them to remove new lines from Scribd embeds. Invalid oEmbed post meta cache without using JS. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-06 14:22:23 +00:00 |
ryan
|
cca2279a4d
|
Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-02 14:41:35 +00:00 |
ryan
|
deaf8bd758
|
Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-23 19:33:24 +00:00 |
ryan
|
bf96c01551
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 20:26:21 +00:00 |
markjaquith
|
1310ecbd1c
|
Add wp-post-image CSS class to post images. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 14:27:04 +00:00 |
markjaquith
|
0dc4500e09
|
Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 12:31:48 +00:00 |
ryan
|
18f11f1fbc
|
Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-13 22:36:24 +00:00 |
ryan
|
410fcc2e42
|
Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-13 17:04:22 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
azaozz
|
1c161c23c2
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 22:07:33 +00:00 |
azaozz
|
5d14b38278
|
Revert rotating images based on EXIF Orientation. Better time for this would be immediately after an image is uploaded, perhaps in media_handle_upload(), see #7042
git-svn-id: http://svn.automattic.com/wordpress/trunk@11899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-04 02:36:34 +00:00 |
ryan
|
8513b29792
|
Prophylactic escapes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-18 16:05:07 +00:00 |
azaozz
|
947807219e
|
Check if EXIF extension is loaded, props dd32, fixes #10613
git-svn-id: http://svn.automattic.com/wordpress/trunk@11825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-16 04:50:10 +00:00 |
azaozz
|
e15de47ed7
|
Sanitize $include and $exclude in the gallery shortcode
git-svn-id: http://svn.automattic.com/wordpress/trunk@11776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-05 05:56:00 +00:00 |
azaozz
|
bbefcaca3b
|
Add support for 'include' and 'exclude' to [gallery] (include="123,456" would show only these attachments regardless of the parent post, exclude="789,123" would exclude these attachments and show the rest).
git-svn-id: http://svn.automattic.com/wordpress/trunk@11771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-04 07:32:18 +00:00 |
azaozz
|
06370d4f9e
|
Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
git-svn-id: http://svn.automattic.com/wordpress/trunk@11746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-27 18:32:30 +00:00 |
azaozz
|
2cc87216e8
|
Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
git-svn-id: http://svn.automattic.com/wordpress/trunk@11737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-22 03:02:44 +00:00 |
ryan
|
a6e6817154
|
Initialize var. Props dd32. fixes #10050
git-svn-id: http://svn.automattic.com/wordpress/trunk@11529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-06 15:02:55 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
azaozz
|
8fcacb951d
|
Support more than one gallery on the same page, props jamescollins, fixes #7678
git-svn-id: http://svn.automattic.com/wordpress/trunk@11339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-15 08:52:04 +00:00 |
azaozz
|
457e211d22
|
Escape the captions in the gallery with wptexturize() instead of wp_specialchars(), props Denis-de-Bernardy, fixes #8763
git-svn-id: http://svn.automattic.com/wordpress/trunk@11336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 23:15:28 +00:00 |
markjaquith
|
6c2ffddf31
|
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 19:43:53 +00:00 |
azaozz
|
62b2e5e278
|
Escape caption in [gallery] output, props MattyRob, fixes #8763
git-svn-id: http://svn.automattic.com/wordpress/trunk@11200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 07:35:03 +00:00 |
ryan
|
2d489767bb
|
s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:58:45 +00:00 |
azaozz
|
565dba7c8f
|
Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: http://svn.automattic.com/wordpress/trunk@10744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-08 05:42:17 +00:00 |
westi
|
43ba2effcd
|
Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-02 21:55:40 +00:00 |
azaozz
|
ca82eb1133
|
Allow shortcodes inside caption boxes, props Viper007Bond, fixes #9022
git-svn-id: http://svn.automattic.com/wordpress/trunk@10498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-04 17:07:26 +00:00 |
azaozz
|
6bb375e113
|
wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: http://svn.automattic.com/wordpress/trunk@10495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-04 15:12:24 +00:00 |
ryan
|
980a3bc810
|
Avoid division by zero
git-svn-id: http://svn.automattic.com/wordpress/trunk@10227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-19 07:04:18 +00:00 |
ryan
|
e89192b1a8
|
Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-09 18:03:31 +00:00 |
azaozz
|
ddead422a1
|
Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-26 02:27:37 +00:00 |
azaozz
|
3c15f6a8d3
|
Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-23 06:37:15 +00:00 |
ryan
|
e9dc3d0fa7
|
Use dir not url. Props DD32. fixes #8207
git-svn-id: http://svn.automattic.com/wordpress/trunk@9688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-14 18:32:10 +00:00 |
ryan
|
b28b00594c
|
Init var. see #7692
git-svn-id: http://svn.automattic.com/wordpress/trunk@9283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-22 18:45:09 +00:00 |
ryan
|
c2701b1a61
|
Remove unused var. see #7692
git-svn-id: http://svn.automattic.com/wordpress/trunk@9282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-22 18:39:50 +00:00 |
ryan
|
ef44f75f79
|
icon_dir_uri filter instead of icon_dir. Props jmini. fixes #7947
git-svn-id: http://svn.automattic.com/wordpress/trunk@9280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-22 17:09:03 +00:00 |
ryan
|
d68fd16abf
|
phpdoc for media.php. Props jacobsantos. fixes #7658
git-svn-id: http://svn.automattic.com/wordpress/trunk@8925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-18 06:14:46 +00:00 |
ryan
|
0526870900
|
phpdoc for media.php. Props jacobsantos. see #7658
git-svn-id: http://svn.automattic.com/wordpress/trunk@8792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-01 05:45:41 +00:00 |
ryan
|
ff7b8ffe1b
|
Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-11 03:54:26 +00:00 |
ryan
|
35b18e5034
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-09 05:36:14 +00:00 |
azaozz
|
99fd979933
|
Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-16 21:36:17 +00:00 |
ryan
|
752b0eb45b
|
Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-11 15:59:14 +00:00 |
ryan
|
8a37dfa5b2
|
Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-08 23:37:56 +00:00 |
ryan
|
cc829f5f96
|
Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: http://svn.automattic.com/wordpress/trunk@8261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-06 16:40:15 +00:00 |
ryan
|
4ead38ccbb
|
Fix wp_get_attachment_thumb_url() tumbnail back compat. Props DD32. fixes #7242
git-svn-id: http://svn.automattic.com/wordpress/trunk@8257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-04 16:15:29 +00:00 |
ryan
|
88ca7797d1
|
Image captions from azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-02 18:41:11 +00:00 |