Ryan Boren
|
60bbd214b3
|
Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-15 21:16:00 +00:00 |
Andrew Ozz
|
35ded05d09
|
Typecast to int the return of image_resize_dimensions(), fixes #7748
git-svn-id: https://develop.svn.wordpress.org/trunk@12381 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-12 08:06:24 +00:00 |
Mark Jaquith
|
ab97039f96
|
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-10 06:14:36 +00:00 |
Mark Jaquith
|
54410e03f6
|
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: https://develop.svn.wordpress.org/trunk@12342 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-08 21:08:19 +00:00 |
Peter Westwood
|
009fe3e343
|
Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
git-svn-id: https://develop.svn.wordpress.org/trunk@12338 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-08 12:45:32 +00:00 |
Ryan Boren
|
5831826b77
|
Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12326 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-06 17:40:36 +00:00 |
Andrew Ozz
|
53872d2218
|
Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
git-svn-id: https://develop.svn.wordpress.org/trunk@12280 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-26 06:58:21 +00:00 |
Ryan Boren
|
87a8ae176a
|
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: https://develop.svn.wordpress.org/trunk@12153 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-06 14:22:23 +00:00 |
Ryan Boren
|
b552dbdd9b
|
Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12136 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-02 14:41:35 +00:00 |
Ryan Boren
|
8c4c0f29fe
|
Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12096 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-23 19:33:24 +00:00 |
Ryan Boren
|
a4789b3cc1
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 20:26:21 +00:00 |
Mark Jaquith
|
066c4520df
|
Add wp-post-image CSS class to post images. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12039 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 14:27:04 +00:00 |
Mark Jaquith
|
45b4ea5807
|
Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12035 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 12:31:48 +00:00 |
Ryan Boren
|
05458bb414
|
Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12027 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-13 22:36:24 +00:00 |
Ryan Boren
|
e71f15a979
|
Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-13 17:04:22 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Andrew Ozz
|
4f22e99cf5
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-10 22:07:33 +00:00 |
Andrew Ozz
|
30bae2a1a7
|
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: https://develop.svn.wordpress.org/trunk@11899 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-04 02:36:34 +00:00 |
Ryan Boren
|
f4f70a6479
|
Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-18 16:05:07 +00:00 |
Andrew Ozz
|
8c31996e6a
|
Check if EXIF extension is loaded, props dd32, fixes #10613
git-svn-id: https://develop.svn.wordpress.org/trunk@11825 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-16 04:50:10 +00:00 |
Andrew Ozz
|
dd4f9603cb
|
Sanitize $include and $exclude in the gallery shortcode
git-svn-id: https://develop.svn.wordpress.org/trunk@11776 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-05 05:56:00 +00:00 |
Andrew Ozz
|
6508558092
|
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: https://develop.svn.wordpress.org/trunk@11771 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-04 07:32:18 +00:00 |
Andrew Ozz
|
eb4b483e8b
|
Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
git-svn-id: https://develop.svn.wordpress.org/trunk@11746 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-27 18:32:30 +00:00 |
Andrew Ozz
|
b4b59e27e5
|
Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
git-svn-id: https://develop.svn.wordpress.org/trunk@11737 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-22 03:02:44 +00:00 |
Ryan Boren
|
efeffe1d53
|
Initialize var. Props dd32. fixes #10050
git-svn-id: https://develop.svn.wordpress.org/trunk@11529 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-06 15:02:55 +00:00 |
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
Andrew Ozz
|
1de8d80346
|
Support more than one gallery on the same page, props jamescollins, fixes #7678
git-svn-id: https://develop.svn.wordpress.org/trunk@11339 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-15 08:52:04 +00:00 |
Andrew Ozz
|
29252dc3d1
|
Escape the captions in the gallery with wptexturize() instead of wp_specialchars(), props Denis-de-Bernardy, fixes #8763
git-svn-id: https://develop.svn.wordpress.org/trunk@11336 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-14 23:15:28 +00:00 |
Mark Jaquith
|
c638e8d8de
|
_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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 19:43:53 +00:00 |
Andrew Ozz
|
6ca8e3b935
|
Escape caption in [gallery] output, props MattyRob, fixes #8763
git-svn-id: https://develop.svn.wordpress.org/trunk@11200 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 07:35:03 +00:00 |
Ryan Boren
|
fe7c34b6fd
|
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 05:58:45 +00:00 |
Andrew Ozz
|
0f0186dc3c
|
Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: https://develop.svn.wordpress.org/trunk@10744 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-08 05:42:17 +00:00 |
Peter Westwood
|
0560f26f76
|
Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10682 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-02 21:55:40 +00:00 |
Andrew Ozz
|
e29eda95c4
|
Allow shortcodes inside caption boxes, props Viper007Bond, fixes #9022
git-svn-id: https://develop.svn.wordpress.org/trunk@10498 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 17:07:26 +00:00 |
Andrew Ozz
|
75c6fc4c3a
|
wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10495 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 15:12:24 +00:00 |
Ryan Boren
|
bf2cfefdff
|
Avoid division by zero
git-svn-id: https://develop.svn.wordpress.org/trunk@10227 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-19 07:04:18 +00:00 |
Ryan Boren
|
baaaa352ba
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-09 18:03:31 +00:00 |
Andrew Ozz
|
bcfde60872
|
Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-26 02:27:37 +00:00 |
Andrew Ozz
|
4fa6ae8fa5
|
Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-23 06:37:15 +00:00 |
Ryan Boren
|
44b2293ae7
|
Use dir not url. Props DD32. fixes #8207
git-svn-id: https://develop.svn.wordpress.org/trunk@9688 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-14 18:32:10 +00:00 |
Ryan Boren
|
c92ac3b6d2
|
Init var. see #7692
git-svn-id: https://develop.svn.wordpress.org/trunk@9283 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-22 18:45:09 +00:00 |
Ryan Boren
|
61068c87d1
|
Remove unused var. see #7692
git-svn-id: https://develop.svn.wordpress.org/trunk@9282 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-22 18:39:50 +00:00 |
Ryan Boren
|
a5f43eaf65
|
icon_dir_uri filter instead of icon_dir. Props jmini. fixes #7947
git-svn-id: https://develop.svn.wordpress.org/trunk@9280 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-22 17:09:03 +00:00 |
Ryan Boren
|
696db5f758
|
phpdoc for media.php. Props jacobsantos. fixes #7658
git-svn-id: https://develop.svn.wordpress.org/trunk@8925 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-18 06:14:46 +00:00 |
Ryan Boren
|
243ce31e7b
|
phpdoc for media.php. Props jacobsantos. see #7658
git-svn-id: https://develop.svn.wordpress.org/trunk@8792 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-01 05:45:41 +00:00 |
Ryan Boren
|
da4e0eca48
|
Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-11 03:54:26 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Andrew Ozz
|
491b47b300
|
Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8358 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-16 21:36:17 +00:00 |
Ryan Boren
|
afd113dcf2
|
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: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-11 15:59:14 +00:00 |
Ryan Boren
|
f0f5316a1d
|
Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8289 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-08 23:37:56 +00:00 |