Commit Graph

3072 Commits

Author SHA1 Message Date
Ryan Boren 72d53b30d7 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7165 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:07:53 +00:00
Mark Jaquith 5330df3c0a Post slug fixes from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7162 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 22:09:28 +00:00
Matt Mullenweg d1a9adb980 Don't return early before filtering.
git-svn-id: https://develop.svn.wordpress.org/trunk@7161 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 18:49:56 +00:00
Ryan Boren dc3a3d242c Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7160 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 06:46:42 +00:00
Ryan Boren 91dd6face1 Use wp_mkdir_p() to create js cache dir. Props DD32. see #6097
git-svn-id: https://develop.svn.wordpress.org/trunk@7159 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 05:53:56 +00:00
Ryan Boren 2290c2ab2c Update get_avatar() phpdoc
git-svn-id: https://develop.svn.wordpress.org/trunk@7158 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 22:52:36 +00:00
Ryan Boren 9c7eb61265 Comment bubble count fixes from mdawaffe. fixes #6090
git-svn-id: https://develop.svn.wordpress.org/trunk@7153 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:07:47 +00:00
Matt Mullenweg 22cdc2b75e Handle GD errors correctly during image resizing. Fixes #6087. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7150 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:23:35 +00:00
Matt Mullenweg cc3147ab22 New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7149 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:21:37 +00:00
Ryan Boren 0f009c4b9f Set autosave_interval for fresh installs. DEfault to 60 if autosave_interval is not set. see #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7148 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:41:49 +00:00
Ryan Boren 2d5d310247 Update to TinyMCE 3.03. Define shortcuts. Relocate cached TMCE file. Props azaozz. fixes #6084
git-svn-id: https://develop.svn.wordpress.org/trunk@7147 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:07:29 +00:00
Ryan Boren 9df4b3f641 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7146 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:05:30 +00:00
Ryan Boren 742b6b7ceb Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: https://develop.svn.wordpress.org/trunk@7145 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:15:34 +00:00
Ryan Boren a87c748d19 Set focus for some fields. Props nbachiyski. fixes #6080
git-svn-id: https://develop.svn.wordpress.org/trunk@7143 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:12:17 +00:00
Ryan Boren cd9d655c72 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: https://develop.svn.wordpress.org/trunk@7140 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:05:23 +00:00
Ryan Boren b093ce1da2 Only show "saved at" when the post was actually saved. Props mdawaffe. fixes #6053
git-svn-id: https://develop.svn.wordpress.org/trunk@7138 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 20:58:06 +00:00
Ryan Boren 7aa9161dc3 Image sizing fix from andy. fixes #6074
git-svn-id: https://develop.svn.wordpress.org/trunk@7137 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 20:53:04 +00:00
Matt Mullenweg 88bb527a19 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:17:37 +00:00
Matt Mullenweg 8415bccde9 Deal correctly with empty upload_path option. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7134 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:14:16 +00:00
Ryan Boren fc8d871335 Make sure avatar size is numeric. Props Martin2006. fixes #6069
git-svn-id: https://develop.svn.wordpress.org/trunk@7132 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 21:41:35 +00:00
Ryan Boren edd3b12d0c Set eol-style. Props nbachiyski. fixes #6065
git-svn-id: https://develop.svn.wordpress.org/trunk@7131 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 21:34:25 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren c723a8ae20 max width fixes from azaozz. fixes #6051
git-svn-id: https://develop.svn.wordpress.org/trunk@7121 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 08:13:23 +00:00
Ryan Boren 4d02937e6d max width fixes from azaozz. fixes #6051
git-svn-id: https://develop.svn.wordpress.org/trunk@7114 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 23:27:02 +00:00
Ryan Boren 71f274c599 Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 21:49:49 +00:00
Ryan Boren 04ff7f125c Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: https://develop.svn.wordpress.org/trunk@7107 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 18:28:32 +00:00
Ryan Boren 0298b896eb Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: https://develop.svn.wordpress.org/trunk@7106 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 17:49:50 +00:00
Ryan Boren afc003cd20 Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: https://develop.svn.wordpress.org/trunk@7104 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 17:09:44 +00:00
Ryan Boren e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren a02dc6a240 Media Library updates from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7100 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 06:54:15 +00:00
Ryan Boren 1373e99625 Media icons. fixes #6039
git-svn-id: https://develop.svn.wordpress.org/trunk@7099 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 06:49:05 +00:00
Ryan Boren c542e9f9d0 urlencode only when needed. Props spikeyslam. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@7096 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 22:01:56 +00:00
Ryan Boren c76be06996 Revert [7093]. Need a different method. see #6032
git-svn-id: https://develop.svn.wordpress.org/trunk@7094 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:57:39 +00:00
Ryan Boren 9f57568f8f Fade approved comments from moderated list. Props filosofo. fixes #6032
git-svn-id: https://develop.svn.wordpress.org/trunk@7093 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:51:57 +00:00
Ryan Boren b2e8a6ac54 Media library updates from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7092 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:29:51 +00:00
Peter Westwood 41fe914d9e Use a default size that gravatar supports rather than one it doesn't. Fixes #6033 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7091 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:11:47 +00:00
Peter Westwood f36ec751be Ensure email address is lower case in get_avatar(). Fixes #6028 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7087 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 16:34:59 +00:00
Ryan Boren 5a1139a585 Widget admin layout fixes from mdawaffe. fixes #5997
git-svn-id: https://develop.svn.wordpress.org/trunk@7086 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 09:11:11 +00:00
Ryan Boren 992c3b92b7 Unify comment display. Props mdawaffe. fixes #6025
git-svn-id: https://develop.svn.wordpress.org/trunk@7082 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 06:50:25 +00:00
Ryan Boren 7940191d5c Cast to array
git-svn-id: https://develop.svn.wordpress.org/trunk@7081 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 06:43:45 +00:00
Ryan Boren 2b5f9d6440 Fix widgets using old-style multi instance support. Props mdawaffe. fixes #6023
git-svn-id: https://develop.svn.wordpress.org/trunk@7080 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 00:31:46 +00:00
Ryan Boren 007bcbb057 fix new-fangled multi widgets. Props mdawaffe. see #6022
git-svn-id: https://develop.svn.wordpress.org/trunk@7077 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 23:57:00 +00:00
Ryan Boren 71bc342e4c Fix AJAX comment moderation on edit post view. Props mdawaffe. fixes #4245
git-svn-id: https://develop.svn.wordpress.org/trunk@7075 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 23:36:24 +00:00
Ryan Boren 0808c1b9a1 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: https://develop.svn.wordpress.org/trunk@7074 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 23:28:18 +00:00
Ryan Boren 75512587f1 Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: https://develop.svn.wordpress.org/trunk@7073 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 22:38:02 +00:00
Ryan Boren f05150a50f For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@7070 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 21:30:59 +00:00
Ryan Boren e93de99379 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7067 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 19:36:02 +00:00
Peter Westwood fdb0fcbafe A better in_category which supports category names that are all numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@7064 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 18:25:25 +00:00
Ryan Boren a2af257bf4 gettext fixes from takayukister. fixes #6018
git-svn-id: https://develop.svn.wordpress.org/trunk@7063 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 17:19:58 +00:00
Ryan Boren 6344572bed set eol style
git-svn-id: https://develop.svn.wordpress.org/trunk@7061 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 05:37:13 +00:00