Commit Graph

63 Commits

Author SHA1 Message Date
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
Ryan Boren
ecf41b5b88 Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: https://develop.svn.wordpress.org/trunk@8261 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:40:15 +00:00
Ryan Boren
cd8d510b27 Fix wp_get_attachment_thumb_url() tumbnail back compat. Props DD32. fixes #7242
git-svn-id: https://develop.svn.wordpress.org/trunk@8257 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 16:15:29 +00:00
Ryan Boren
45ac770299 Image captions from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
4d7ef70c39 New filter and phpdoc for get_image_tag(). Props jacobsantos. fixes #7065 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8029 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-31 19:12:55 +00:00
Ryan Boren
f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren
468ac2a54e get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7892 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 15:46:32 +00:00
Ryan Boren
a9086170fb Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7838 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:58:38 +00:00
Mark Jaquith
24a68a43b4 Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: https://develop.svn.wordpress.org/trunk@7814 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:43:44 +00:00
Ryan Boren
c3502e11bf image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7703 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:59:23 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Mark Jaquith
ba4dab3cd6 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:05:49 +00:00
Mark Jaquith
288211a88b Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7575 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:41:43 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren
78c85d5222 Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: https://develop.svn.wordpress.org/trunk@7516 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:34:55 +00:00
Ryan Boren
cf9618758d Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:57:19 +00:00
Matt Mullenweg
64760ccecf Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@7478 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 19:34:21 +00:00
Matt Mullenweg
22ef105581 Better default quality.
git-svn-id: https://develop.svn.wordpress.org/trunk@7474 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 17:14:53 +00:00
Ryan Boren
e2145503bf pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7466 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 23:21:27 +00:00
Peter Westwood
0c47f0d9d9 Add a filter to the jpeg_quality to allow for it to be modified. Fixes #6289.
git-svn-id: https://develop.svn.wordpress.org/trunk@7444 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 08:31:50 +00:00
Matt Mullenweg
afcbc3d0e6 Simpler gallery markup in feeds. Fixs #6225. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7298 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:23:56 +00:00
Ryan Boren
00c6484a3b Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
git-svn-id: https://develop.svn.wordpress.org/trunk@7271 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 23:15:31 +00:00
Ryan Boren
32e414dbf4 Image fixes from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7263 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 08:10:00 +00:00
Matt Mullenweg
4888358aad Turn off the fullsize argument, which was accidentally toggled earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@7233 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 07:45:31 +00:00