Commit Graph

3065 Commits

Author SHA1 Message Date
matt 6ecded2a95 Handle GD errors correctly during image resizing. Fixes #6087. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:23:35 +00:00
matt 0456afb16d New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:21:37 +00:00
ryan 241d5fb011 Set autosave_interval for fresh installs. DEfault to 60 if autosave_interval is not set. see #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:41:49 +00:00
ryan 1365d48ac2 Update to TinyMCE 3.03. Define shortcuts. Relocate cached TMCE file. Props azaozz. fixes #6084
git-svn-id: http://svn.automattic.com/wordpress/trunk@7147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:07:29 +00:00
ryan 4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan 08ed4d3b40 Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: http://svn.automattic.com/wordpress/trunk@7145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:15:34 +00:00
ryan 5aabe0133c Set focus for some fields. Props nbachiyski. fixes #6080
git-svn-id: http://svn.automattic.com/wordpress/trunk@7143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:12:17 +00:00
ryan 6e181bb941 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: http://svn.automattic.com/wordpress/trunk@7140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:05:23 +00:00
ryan 5504c11b58 Only show "saved at" when the post was actually saved. Props mdawaffe. fixes #6053
git-svn-id: http://svn.automattic.com/wordpress/trunk@7138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 20:58:06 +00:00
ryan 0ab4077b3c Image sizing fix from andy. fixes #6074
git-svn-id: http://svn.automattic.com/wordpress/trunk@7137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 20:53:04 +00:00
matt bb22054028 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
matt bf18e2fd3f Deal correctly with empty upload_path option. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:14:16 +00:00
ryan bf8f7b0f28 Make sure avatar size is numeric. Props Martin2006. fixes #6069
git-svn-id: http://svn.automattic.com/wordpress/trunk@7132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 21:41:35 +00:00
ryan 48368e8a7f Set eol-style. Props nbachiyski. fixes #6065
git-svn-id: http://svn.automattic.com/wordpress/trunk@7131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 21:34:25 +00:00
ryan 04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan 7d9f5e76a0 max width fixes from azaozz. fixes #6051
git-svn-id: http://svn.automattic.com/wordpress/trunk@7121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 08:13:23 +00:00
ryan 73b84563d3 max width fixes from azaozz. fixes #6051
git-svn-id: http://svn.automattic.com/wordpress/trunk@7114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 23:27:02 +00:00
ryan 884be4169f Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 21:49:49 +00:00
ryan 03170d477f Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 18:28:32 +00:00
ryan 6fe2cd5873 Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:49:50 +00:00
ryan 577f12beae Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:09:44 +00:00
ryan d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan daf37cc98c Media Library updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 06:54:15 +00:00
ryan 3bf5a1849b Media icons. fixes #6039
git-svn-id: http://svn.automattic.com/wordpress/trunk@7099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 06:49:05 +00:00
ryan 259bc26542 urlencode only when needed. Props spikeyslam. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 22:01:56 +00:00
ryan 09f33b6865 Revert [7093]. Need a different method. see #6032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:57:39 +00:00
ryan c4bb6ba122 Fade approved comments from moderated list. Props filosofo. fixes #6032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:51:57 +00:00
ryan 282ed12fa4 Media library updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:29:51 +00:00
westi cf7e0adf8b Use a default size that gravatar supports rather than one it doesn't. Fixes #6033 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:11:47 +00:00
westi 717b7316bf Ensure email address is lower case in get_avatar(). Fixes #6028 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 16:34:59 +00:00
ryan f529aef82d Widget admin layout fixes from mdawaffe. fixes #5997
git-svn-id: http://svn.automattic.com/wordpress/trunk@7086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 09:11:11 +00:00
ryan 51a3623aed Unify comment display. Props mdawaffe. fixes #6025
git-svn-id: http://svn.automattic.com/wordpress/trunk@7082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:50:25 +00:00
ryan c313442072 Cast to array
git-svn-id: http://svn.automattic.com/wordpress/trunk@7081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:43:45 +00:00
ryan b2838e11c7 Fix widgets using old-style multi instance support. Props mdawaffe. fixes #6023
git-svn-id: http://svn.automattic.com/wordpress/trunk@7080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 00:31:46 +00:00
ryan d0dfa68b6a fix new-fangled multi widgets. Props mdawaffe. see #6022
git-svn-id: http://svn.automattic.com/wordpress/trunk@7077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:57:00 +00:00
ryan 363ddd3b4f Fix AJAX comment moderation on edit post view. Props mdawaffe. fixes #4245
git-svn-id: http://svn.automattic.com/wordpress/trunk@7075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:36:24 +00:00
ryan b9d443b574 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: http://svn.automattic.com/wordpress/trunk@7074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:28:18 +00:00
ryan affd57730c Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: http://svn.automattic.com/wordpress/trunk@7073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:38:02 +00:00
ryan 0b43776d5f For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 21:30:59 +00:00
ryan d236d4f3e1 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:36:02 +00:00
westi 9735b962ba A better in_category which supports category names that are all numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:25:25 +00:00
ryan 5367493b1e gettext fixes from takayukister. fixes #6018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 17:19:58 +00:00
ryan e1bb43b66b set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@7061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:37:13 +00:00
ryan 77aa40f291 TinyMCE 3.02 from azaozz. fixes #6012
git-svn-id: http://svn.automattic.com/wordpress/trunk@7060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:36:42 +00:00
ryan 354edc9544 Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:46:27 +00:00
ryan 83df1eb992 Use preg_replace_callback() instead of using the 'e' modifier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:37:40 +00:00
ryan 03b47d4ddc Revert [7054]. No idea how I managed that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:36:33 +00:00
ryan fb02817dfc Fix users query
git-svn-id: http://svn.automattic.com/wordpress/trunk@7054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:25:08 +00:00
ryan 2825626009 Remove listman from script loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@7053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 23:04:44 +00:00
ryan 5505b145af Bump jquery color ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@7052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:51:16 +00:00