Andrew Nacin
|
d5e5ccdd72
|
Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14360 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 05:49:19 +00:00 |
Dion Hulse
|
a897bc0275
|
Fix invalid paths in requires. See r14139. See #12594
git-svn-id: https://develop.svn.wordpress.org/trunk@14151 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 09:51:19 +00:00 |
Dion Hulse
|
044eb3afba
|
Use Alt Text for Image alt caption (Falling back to Caption, and finally title) in wp_get_attachment_image() and subsequently, WordPress Galleries. Props kallewangstedt for initial patch. Fixes #11846
git-svn-id: https://develop.svn.wordpress.org/trunk@14145 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 08:52:18 +00:00 |
Andrew Nacin
|
ec4f5b83bf
|
Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 06:14:45 +00:00 |
Andrew Nacin
|
a45a03c4c3
|
Consistently return WP_Error on failure in image_resize. props filosofo, fixes #12268
git-svn-id: https://develop.svn.wordpress.org/trunk@14105 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 13:53:22 +00:00 |
Andrew Nacin
|
7ad8304223
|
Register a dummy [media] shortcode for strip_shortcodes et al. props belg4mit, Viper007Bond. fixes #12505
git-svn-id: https://develop.svn.wordpress.org/trunk@14035 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-08 02:16:21 +00:00 |
Dion Hulse
|
c552d48674
|
Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: https://develop.svn.wordpress.org/trunk@13860 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 03:39:00 +00:00 |
Dion Hulse
|
dfee0416ec
|
Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297
git-svn-id: https://develop.svn.wordpress.org/trunk@13857 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 02:57:09 +00:00 |
Andrew Nacin
|
e34ca97ae0
|
Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:13:36 +00:00 |
Andrew Nacin
|
ddc506f01c
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:15:00 +00:00 |
Andrew Nacin
|
c9dfb91763
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 20:13:23 +00:00 |
Ryan Boren
|
66b081abd2
|
Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 19:07:21 +00:00 |
Mark Jaquith
|
af0d39b38b
|
Skip intermediate sizes of a different aspect ratio than the original image when considering which image to use in image_get_intermediate_size(). fixes #12218
git-svn-id: https://develop.svn.wordpress.org/trunk@13145 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 08:21:07 +00:00 |
Mark Jaquith
|
daea21aade
|
Revert r13103 and merely restrict \$content_width obeying to is_admin(). fixes #12146
git-svn-id: https://develop.svn.wordpress.org/trunk@13140 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 06:34:47 +00:00 |
Mark Jaquith
|
561cca07d5
|
Do not limit thumbnails by the content_width. props Viper007Bond. fixes #12146
git-svn-id: https://develop.svn.wordpress.org/trunk@13103 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 09:40:04 +00:00 |
Ryan Boren
|
9d44dc664c
|
Respect maximum embed height. Props Viper007Bond. fixes #11980
git-svn-id: https://develop.svn.wordpress.org/trunk@12875 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-27 14:38:48 +00:00 |
Ryan Boren
|
c01fb90ff1
|
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-25 18:50:01 +00:00 |
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
Peter Westwood
|
b5a43efa73
|
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-08 08:51:12 +00:00 |
Ryan Boren
|
7ccd64fbe7
|
Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 18:39:31 +00:00 |
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 |