Commit Graph

4101 Commits

Author SHA1 Message Date
ryan 4460d7efc9 phpdoc for site_url() and friends
git-svn-id: http://svn.automattic.com/wordpress/trunk@8333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-14 23:39:11 +00:00
ryan 4f5aa3fa57 Bumpage
git-svn-id: http://svn.automattic.com/wordpress/trunk@8331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-14 17:27:19 +00:00
ryan b1672442f8 RTL support for Press This. Props RanYanivHartstein. see #7289
git-svn-id: http://svn.automattic.com/wordpress/trunk@8328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 17:57:23 +00:00
ryan bc54bed035 RTL for Press This. Props RanYanivHartstein. see #7289 #6616
git-svn-id: http://svn.automattic.com/wordpress/trunk@8326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 16:26:16 +00:00
ryan 8750ed2ea1 Workaround PHP parse_url() bug. Props azaozz. fixes #7288
git-svn-id: http://svn.automattic.com/wordpress/trunk@8324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 05:16:54 +00:00
ryan 4846338eeb Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 04:57:01 +00:00
ryan 91ffbd5d4d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@8322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-12 18:04:41 +00:00
ryan e7e42b56d5 Run plugin checks both admin and blog side. Props DD32 and mdawaffe. fixes #7265
git-svn-id: http://svn.automattic.com/wordpress/trunk@8317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 22:04:03 +00:00
ryan e027fac4f6 Press This: Fix inserting the selection in the editor and stripping of paragraphs when saving, IE CSS styling fixes, fix continuous linking in editor. Props noel and azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 20:27:50 +00:00
ryan 752b0eb45b 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: http://svn.automattic.com/wordpress/trunk@8313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 15:59:14 +00:00
ryan 72295536c2 Don't LIMIT updates to 1. Props hailin. fixes #7272
git-svn-id: http://svn.automattic.com/wordpress/trunk@8311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 01:49:06 +00:00
ryan 6960418d18 Reduce size of Press This bookmarklet. see #7261
git-svn-id: http://svn.automattic.com/wordpress/trunk@8308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 16:54:32 +00:00
ryan 0022c2c510 Fix image resizing inside captions, add edit alt field to the advanced tab. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 16:39:14 +00:00
ryan 642bd53a67 Media Uploader improvements from azaozz: Improves the insert external image dialog, redirects to the gallery tab after "Save all changes" is clicked, shows the "Order" fields on the closed tabs, where they are easier to use, and only in the Gallery. see #7274
git-svn-id: http://svn.automattic.com/wordpress/trunk@8304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 03:49:52 +00:00
ryan e2aa6d619c Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 17:24:36 +00:00
ryan 100ed8a62d Prevent category looping. Props tellyworth. fixes #7267
git-svn-id: http://svn.automattic.com/wordpress/trunk@8299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 04:57:18 +00:00
ryan 0cd103e2a2 Hands off pre tags. Props nbachiyski. fixes #7056
git-svn-id: http://svn.automattic.com/wordpress/trunk@8298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 04:52:27 +00:00
ryan 0283fc3717 Install styling from azaozz. fixes #7266
git-svn-id: http://svn.automattic.com/wordpress/trunk@8297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 04:33:31 +00:00
ryan 3b48af4a6d Fix quotes in captions. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 23:38:53 +00:00
ryan 8a37dfa5b2 Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 23:37:56 +00:00
ryan 4cd0c96d03 Fix get_links_list deprecation doc. Props Otto42. fixes #6879
git-svn-id: http://svn.automattic.com/wordpress/trunk@8285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 17:38:12 +00:00
ryan 792b5dfd36 Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259
git-svn-id: http://svn.automattic.com/wordpress/trunk@8281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 00:14:06 +00:00
ryan cf566ef990 Return base dir and url from wp_upload_dir(). Props DD32. fixes #6762
git-svn-id: http://svn.automattic.com/wordpress/trunk@8280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 23:53:54 +00:00
ryan 4957f5a4cc Notice fixes from jacobsantos. fixes #7255
git-svn-id: http://svn.automattic.com/wordpress/trunk@8266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 14:21:47 +00:00
ryan 0f48fa0124 Don't split in the middle of a UTF-8 character. Props nbachiyski. fixes #7254
git-svn-id: http://svn.automattic.com/wordpress/trunk@8264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 21:14:47 +00:00
ryan ffc0077745 Don't try to match rewrite rules against AtomPub requests. Props josephscott. fixes #7249
git-svn-id: http://svn.automattic.com/wordpress/trunk@8263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 17:33:39 +00:00
ryan fac865a413 Bump version for gallery. Props nbachiyski. fixes #6988
git-svn-id: http://svn.automattic.com/wordpress/trunk@8262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 16:41:47 +00:00
ryan cc829f5f96 Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: http://svn.automattic.com/wordpress/trunk@8261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 16:40:15 +00:00
ryan e455091d0a Image caption fixes from azaozz: captions are properly created in tables and in lists, all tags are properly removed when deleting a caption, the align buttons can be used to align the captions. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-06 16:38:37 +00:00
ryan 4ead38ccbb Fix wp_get_attachment_thumb_url() tumbnail back compat. Props DD32. fixes #7242
git-svn-id: http://svn.automattic.com/wordpress/trunk@8257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-04 16:15:29 +00:00
ryan 897fa5bf62 Gears and styling updates for Press This from azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-04 16:12:31 +00:00
ryan e38b2bcaa8 Bumpage
git-svn-id: http://svn.automattic.com/wordpress/trunk@8254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-04 06:12:24 +00:00
ryan 59beabd5dc Allow underscore and dash in theme dirs when previewing. fixes #7236
git-svn-id: http://svn.automattic.com/wordpress/trunk@8252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 23:10:28 +00:00
ryan 3ceeaa6252 Use searchform.php for search widget, if available. Props ionfish. fixes #5567
git-svn-id: http://svn.automattic.com/wordpress/trunk@8250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 17:03:37 +00:00
ryan 48f963e437 Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: http://svn.automattic.com/wordpress/trunk@8248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:55:45 +00:00
ryan 03932fa14f pre_update_option_* filter from DD32. fixes #7233
git-svn-id: http://svn.automattic.com/wordpress/trunk@8247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:51:53 +00:00
ryan 4cd88d665a phpdoc for feed.php from jacobsantos. fixes #5636
git-svn-id: http://svn.automattic.com/wordpress/trunk@8246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:23:22 +00:00
ryan f79638378a Image caption fixes from azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 05:11:00 +00:00
ryan ce365c94a4 Use true swfupload version
git-svn-id: http://svn.automattic.com/wordpress/trunk@8243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 23:16:39 +00:00
ryan 88ca7797d1 Image captions from azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 18:41:11 +00:00
ryan 270555de54 Account for term exclusion filter when creating cache key. Props filosofo. fixes #7213
git-svn-id: http://svn.automattic.com/wordpress/trunk@8225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-01 15:54:58 +00:00
ryan af9c3b8896 Use WP_CONTENT_URL in wp_upload_dir(). Props sambauers. fixes #7206
git-svn-id: http://svn.automattic.com/wordpress/trunk@8216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 03:33:05 +00:00
ryan d3a532389d phpdoc updates from jacobsantos. see #5639
git-svn-id: http://svn.automattic.com/wordpress/trunk@8215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 03:23:44 +00:00
markjaquith b45101a5d5 Enable tag auto-suggest for multiple tags at once (without having to hit enter and send each one "down below"). fixes #5580
git-svn-id: http://svn.automattic.com/wordpress/trunk@8214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 00:04:22 +00:00
markjaquith eb3a3bae78 Silently add /index.php/ to category_base and tag_base for blogs using PATHINFO permalinks. fixes #4536
git-svn-id: http://svn.automattic.com/wordpress/trunk@8213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-29 08:20:25 +00:00
markjaquith a8dd6cb845 make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing
git-svn-id: http://svn.automattic.com/wordpress/trunk@8212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-29 07:44:32 +00:00
ryan 775ea980f3 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 22:54:21 +00:00
ryan 6ae5dbab86 Bumpity bump bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@8207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 19:47:28 +00:00
ryan c38fe7ecec Bump script loader versions for jQuery UI 1.5.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@8206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 19:44:13 +00:00
ryan cf447af2f0 jQuery UI 1.5.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@8205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 19:41:56 +00:00
ryan 48b43595a6 TinyMCE 3.1.1 from azaozz. fixes #7191
git-svn-id: http://svn.automattic.com/wordpress/trunk@8204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 16:13:27 +00:00
ryan f945453857 phpdoc updates for post.php from jacobsantos. fixes #3982
git-svn-id: http://svn.automattic.com/wordpress/trunk@8203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 15:32:57 +00:00
ryan 3f90dc2f58 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 22:39:57 +00:00
ryan 3489826131 Fix date() warning on Windows. Props ozh. fixes #7186
git-svn-id: http://svn.automattic.com/wordpress/trunk@8199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 18:34:28 +00:00
ryan 63b5bd26fe Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 16:40:04 +00:00
ryan f0935b49ae phpdoc for shortcodes from jacobsantos. fixes #7184
git-svn-id: http://svn.automattic.com/wordpress/trunk@8196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 15:55:33 +00:00
ryan 061e9c8097 Test for feature instead of browser to fix TB positioning for browsers pretending to be IE6. Props azaozz. fixes #6676
git-svn-id: http://svn.automattic.com/wordpress/trunk@8194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-25 16:58:27 +00:00
ryan a16f47dc09 SSL touchups for tiny_mce_config. fixes #6759
git-svn-id: http://svn.automattic.com/wordpress/trunk@8193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-25 16:55:16 +00:00
ryan 55b0c88e2c Edit image fixes from azaozz: : new link not created if the image has class "aligncenter" in Safari; recalculates the demo image size properly and applies any inline styles to it; if relative link is added, it's converted to absolute; "Unknown error" in IE6. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-25 16:30:28 +00:00
ryan 636c562256 SSL fixes. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 22:19:27 +00:00
ryan cdaefc84b8 Insert image fixes from azaozz. fixes #7177
git-svn-id: http://svn.automattic.com/wordpress/trunk@8189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 21:59:06 +00:00
markjaquith bf9f2f1cc7 Don't call loop_end hook if we don't have any posts. props Denis-de-Bernardy and DD32. fixes #6769 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 19:58:54 +00:00
ryan 42a058e986 Typo fixes from mark8barnes and AndrewFrazier. fixes #7174
git-svn-id: http://svn.automattic.com/wordpress/trunk@8187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 18:52:52 +00:00
ryan f8cc400a40 Disambiguate column. Props voxpelli. fixes #7073
git-svn-id: http://svn.automattic.com/wordpress/trunk@8185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:49:24 +00:00
ryan ad61789fa1 Grammar fix from Viper007Bond. fixes #7172
git-svn-id: http://svn.automattic.com/wordpress/trunk@8184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:45:33 +00:00
ryan 9e585b7c30 Add exclude_category argument to wp_list_bookmarks(). Props ionfish. fixes #6808
git-svn-id: http://svn.automattic.com/wordpress/trunk@8183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:44:30 +00:00
ryan ce2ed91698 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:36:21 +00:00
ryan 34a726ae12 Remove default feed function when adding new function to hook. fixes #6970
git-svn-id: http://svn.automattic.com/wordpress/trunk@8179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 00:29:04 +00:00
ryan 316e26ee39 Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 23:25:15 +00:00
ryan 3a3c029662 Don't get post ancestors if post not found. Props Sam_a. fixes #6953
git-svn-id: http://svn.automattic.com/wordpress/trunk@8173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 21:50:19 +00:00
ryan 94183a25cd widget_links_args filter from ionfish. fixes #7024
git-svn-id: http://svn.automattic.com/wordpress/trunk@8171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 17:21:14 +00:00
ryan 9e951d1505 Autosave when Preview is clicked. Props azaozz and DanCoulter. fixes #6682
git-svn-id: http://svn.automattic.com/wordpress/trunk@8170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 16:05:10 +00:00
ryan f42b96cd5e Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: http://svn.automattic.com/wordpress/trunk@8168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:40:43 +00:00
ryan 16dbf2fb1e Edit image updates from azaozz. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:26:03 +00:00
ryan 74353f9bcc Beta1
git-svn-id: http://svn.automattic.com/wordpress/trunk@8165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-22 20:45:07 +00:00
ryan 683acd8245 phpdoc updates from jacobsantos. see #7038
git-svn-id: http://svn.automattic.com/wordpress/trunk@8164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-22 20:23:23 +00:00
westi e6e0954dbb Minor phpdoc fixups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 20:56:40 +00:00
westi a9e944fee6 Bump the db_version so people get the new options for #7157.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 16:15:21 +00:00
westi 16126b67e4 Make the SAVEQUERIES define more flexible. Fixes #6764 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 15:17:09 +00:00
westi 829ac35bbe Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 13:54:23 +00:00
westi e3b575b617 Add new has_tag() template tag. Fixes #6590 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 13:52:18 +00:00
ryan 9482b05698 TinyMCE 3.1.0.1 from azaozz. fixes #7153 #7148 #7128
git-svn-id: http://svn.automattic.com/wordpress/trunk@8127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-19 16:55:50 +00:00
westi 27c4f3c987 Move another sizeof out of the loop. See #7147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-18 06:48:48 +00:00
westi 14adf33381 Ensure we initialise the position variable. See #5599 props codestyling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-18 06:38:30 +00:00
ryan 290dbc03e0 Don't do sizeof() in a loop. Props DD32. see #7147
git-svn-id: http://svn.automattic.com/wordpress/trunk@8111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-17 03:07:42 +00:00
ryan 9b181f0973 previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 22:27:07 +00:00
ryan d69adece5a category_name is not a valid arg. Use name__like. Props drdavid. fixes #6722 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 22:19:34 +00:00
ryan 7c878c14ad Don't trim strings in maybe_serialize(). Props hakre. fixes #7132 #7133 #4781 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 20:41:02 +00:00
ryan f5e12d887b Handle cc and bcc. Props MattyRob. fixes #6899
git-svn-id: http://svn.automattic.com/wordpress/trunk@8098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 20:02:10 +00:00
ryan b2e75c5194 Don't decode slug in get_page_uri(). Props nbachiyski. fixes #6723
git-svn-id: http://svn.automattic.com/wordpress/trunk@8096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 18:40:47 +00:00
westi 84a93d7c65 Fix the phpdoc comments so we don't lose a function :-(. Fixes #7144 props johnhennmacc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 19:11:15 +00:00
westi d9d640809b PHPDoc updates for functions.php. See #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 09:38:32 +00:00
westi bf35dedced PHPDoc updates for comment.php. See #5578 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 09:34:00 +00:00
westi c68af8c7db PHPDoc updates for category.php. Fixes #5633 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 09:32:19 +00:00
ryan d9d0a899db Add RTL stylesheet for edit image. Props azaozz. see #681!
git-svn-id: http://svn.automattic.com/wordpress/trunk@8088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 21:01:32 +00:00
westi 0dcd6e0e9c Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 20:58:43 +00:00
westi 437ba6e7b3 ** > *.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:57:20 +00:00
westi b2dd3f0dc4 phpdoc updates for IXR. See #7038 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:50:55 +00:00
ryan f8012b15fb Image popup improvements from azaozz. Added translation strings, RTL support, several layout improvements, image border, hspace and vspace can be used as shortcuts to add css styles, the preview is visible on both tabs, etc. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:38:08 +00:00
westi f8a32e8d47 Updated phpdoc for external libs. See #7038 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:36:13 +00:00
westi a9571e003a PHPdoc updates for wp-includes/post.php. See #7038 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:31:08 +00:00
ryan 6142025639 Encode < and > in wp_richedit_pre. Props azaozz. fixes #6449
git-svn-id: http://svn.automattic.com/wordpress/trunk@8073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-12 21:38:34 +00:00
ryan 6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan 2cc03f7d06 Unify TinyMCE image popup and insert image popup. Props azaozz. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 04:40:21 +00:00
ryan 0679f8501d Back compat fixes for load_plugin_textdomain() from nbachiyski. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@8065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-09 19:39:04 +00:00
ryan 39345ee61c jQuery UI 1.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@8064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-09 19:37:55 +00:00
ryan 385d3d9500 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: http://svn.automattic.com/wordpress/trunk@8060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 19:21:35 +00:00
ryan c790febe36 More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:39:11 +00:00
ryan ab39b3b321 Revert [8056], didn't quite work
git-svn-id: http://svn.automattic.com/wordpress/trunk@8057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:34:30 +00:00
ryan 23cfaa55e9 Update to swfupload 2.1.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@8056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:29:15 +00:00
ryan 570cb5374c Strip shortcodes when making excerpts. Props hailin. fixes #7100
git-svn-id: http://svn.automattic.com/wordpress/trunk@8054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-05 20:11:38 +00:00
ryan f7f3005004 close the socket in discover_pingback_server_uri
git-svn-id: http://svn.automattic.com/wordpress/trunk@8052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 23:36:55 +00:00
ryan 0c9006cc2d Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 20:21:02 +00:00
ryan f1b8d9596a TinyMCE 3.0.9 from azaozz. fixes #7088
git-svn-id: http://svn.automattic.com/wordpress/trunk@8047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 15:31:14 +00:00
ryan f9575ae66d Revert jQuery hack. see #7082
git-svn-id: http://svn.automattic.com/wordpress/trunk@8046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 05:31:56 +00:00
ryan aec22e8e72 Replace ref to dimensions with jquery core
git-svn-id: http://svn.automattic.com/wordpress/trunk@8045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 05:19:23 +00:00
ryan 17c0d8910b Add missing semi. see #7082
git-svn-id: http://svn.automattic.com/wordpress/trunk@8044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 01:52:27 +00:00
ryan 151bfc3ab1 Hacked up version of jQuery to workaround Safari 2.0.4 bug. see #7082
git-svn-id: http://svn.automattic.com/wordpress/trunk@8043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 01:47:11 +00:00
ryan b114864b84 Dimensions is now part of jquery core
git-svn-id: http://svn.automattic.com/wordpress/trunk@8042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 01:24:04 +00:00
ryan 4f3b306abe Make load_plugin_textdomain() work with WP_CONTENT_DIR. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@8041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 17:19:47 +00:00
ryan 51591b778b Use WP_CONTENT_DIR and URL when linking to theme screenshots. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@8040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 17:17:45 +00:00
ryan 6e6f0e753a Bump jQuery to latest svn.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 16:44:51 +00:00
ryan dbeefeb210 Enable autosave for fullscreen mode. Props azaozz. fixes #7069
git-svn-id: http://svn.automattic.com/wordpress/trunk@8037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 08:15:39 +00:00
ryan 4bb7f1c0c4 Don't unpublish posts when a user edit who can edit publised posts but not publih new posts edits a post. Props jeremyclarke. see #7070 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-02 21:01:42 +00:00
ryan f657d4cb64 New filter and phpdoc for get_image_tag(). Props jacobsantos. fixes #7065 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-31 19:12:55 +00:00
ryan e7c4a9de85 get_post_ancestors() fixes. fixes #7029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-30 20:31:45 +00:00
ryan 18fb540124 Validation fixes for post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@8012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 23:16:11 +00:00
ryan 0db872b5a1 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@8011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 22:21:36 +00:00
ryan f57354bf63 Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-28 15:37:59 +00:00
ryan af2c9dd301 Fix slashing in tag feed link. fixes #7044 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:56:46 +00:00
ryan 6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan 9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan c85f779dbb gettext fix from thenlich. fixes #6993 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 11:42:32 +00:00
ryan 7996d826e3 Fix serialization when adding meta via update_post_meta(). Props azaozz. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 11:33:11 +00:00
ryan 0aeb94233d inline docs for wp_admin_css(). Props mdawaffe. see #7033
git-svn-id: http://svn.automattic.com/wordpress/trunk@7994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 21:23:22 +00:00
ryan 62784a594f phpdoc updates from jacobsantos. see #7038
git-svn-id: http://svn.automattic.com/wordpress/trunk@7990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:45:05 +00:00
ryan fba6b2415c Fixes timing issue in IE6 in the TB mod scripts. Reorders css files to load before js in the admin head. Props azaozz. fixes #7032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-24 17:06:26 +00:00
ryan b70d3b2028 Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
git-svn-id: http://svn.automattic.com/wordpress/trunk@7988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-24 17:03:51 +00:00
ryan 81a8e065c6 Allow defining the number of revisions to save. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-23 15:27:56 +00:00
ryan 58e47dcb4a wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: http://svn.automattic.com/wordpress/trunk@7986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 17:28:54 +00:00
ryan 53ecaddb5f Remove unnecessary checks for the existence of post meta data. Props filosofo. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 16:33:06 +00:00
ryan 087c490eab Version bump, still bleeding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:45:50 +00:00
ryan 526476fbcf Use style loader for gears manifest. Props azaozz. fixes #7015
git-svn-id: http://svn.automattic.com/wordpress/trunk@7981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:27:28 +00:00
ryan 68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan 3846bff484 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:01:00 +00:00
ryan 9178934544 Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 23:24:23 +00:00
ryan 1519e51f89 wp-ajax.js is no longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 20:27:36 +00:00
ryan 5f8d0313a8 jQuery update
git-svn-id: http://svn.automattic.com/wordpress/trunk@7973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 18:19:44 +00:00
ryan 5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan e9aa24cffb Style loader from mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:56:04 +00:00
ryan d0e696c185 Allow lang and xml:lang for span. Props MtDewVirus. fixes #7003
git-svn-id: http://svn.automattic.com/wordpress/trunk@7969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 23:56:28 +00:00
ryan ae3cca9951 Add space. Props MtDewVirus. fixes #6972
git-svn-id: http://svn.automattic.com/wordpress/trunk@7968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 23:50:29 +00:00
ryan bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan e9ea1ab0ef get_archives_link filter. Props codealsatian. fixes #5530 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 16:43:44 +00:00
ryan 01acf41355 Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 21:35:18 +00:00
ryan 3ce00adc38 Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:51:28 +00:00
ryan 96c73cc917 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:47:33 +00:00
ryan 85df87de5a Init array. Props DD32. fixes #6981
git-svn-id: http://svn.automattic.com/wordpress/trunk@7944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 16:33:11 +00:00
matt 2d8fa9ee21 get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 03:57:09 +00:00
matt 7b0c0703f5 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 02:35:24 +00:00
matt 691eccf400 Use TT ids instead of term ids. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 01:43:35 +00:00
ryan e9c054e143 Support for Google Gears managed offline storage. Props azaozz. see #6965
git-svn-id: http://svn.automattic.com/wordpress/trunk@7938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 22:57:14 +00:00
ryan 4bf3397cb9 Clear out bad activation keys from 2.5.1. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 20:07:54 +00:00
ryan 0553790ede jQuery UI core and tabs 1.5b4
git-svn-id: http://svn.automattic.com/wordpress/trunk@7935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 03:45:42 +00:00
ryan aa927d3859 Brand as Press This. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 16:59:07 +00:00
ryan b76608029b Word count detection fix from ramenboy. fixes #6967
git-svn-id: http://svn.automattic.com/wordpress/trunk@7929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 04:07:42 +00:00
ryan 967ee06a32 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 22:12:52 +00:00
ryan 7b1e56dc06 default is a valid page template. see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 21:03:10 +00:00
ryan 9b7daff0b4 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 16:02:12 +00:00
ryan dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
ryan 9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +00:00
ryan 359601b720 Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 16:14:15 +00:00
markjaquith 61881c0e82 Do not use the "home"-supplied host for canonical redirects if no host is there specified. props thenlich. fixes #6890
git-svn-id: http://svn.automattic.com/wordpress/trunk@7916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 18:23:05 +00:00
ryan 6d3c98a56f strtolower widget id. Props filosofo. fixes #6949
git-svn-id: http://svn.automattic.com/wordpress/trunk@7915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 16:29:17 +00:00
ryan 3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
markjaquith 25b49b2ceb Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: http://svn.automattic.com/wordpress/trunk@7912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 00:45:17 +00:00
ryan 938f29414f Use array calling style. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 19:19:58 +00:00
ryan 2abe38c548 number_format_i18n() for comments_number()
git-svn-id: http://svn.automattic.com/wordpress/trunk@7910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:54:40 +00:00
ryan 129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan 7a0f94ffa3 Query cleanups. Use absint, concat where instead of overwrite, make post_parent independent, sanitize post__in and post__not_in. Props mdawaffe. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 05:17:27 +00:00
ryan c25a6fe381 Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:57:15 +00:00
ryan d8ee8494be [7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:12:44 +00:00
ryan 87db175abe Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
git-svn-id: http://svn.automattic.com/wordpress/trunk@7903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:10:36 +00:00
ryan 5a9d1d9c8d Add arg as array. Props MtDewVirus. fixes #6924
git-svn-id: http://svn.automattic.com/wordpress/trunk@7902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-06 17:28:24 +00:00
ryan 15a9bac5ad wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 23:19:27 +00:00
ryan a3bc5f60da Use array calling style. Props DD32. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
ryan 3d5a874774 get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:46:32 +00:00
ryan 76dfbdfb11 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 18:05:20 +00:00
westi 9962fa1f0b Always set the locale to something. Fixes #6872 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 17:28:42 +00:00
westi 38ebc1a0ee Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:44:44 +00:00
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan 7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan d9fd98601e Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 20:08:32 +00:00
ryan fbcbedc4f0 Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 00:56:16 +00:00
ryan 63d12e0b39 Use 'counts' cache group. see #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 19:42:44 +00:00
ryan c75f6c7695 Fix post name check prepare. Props westi. see #6894
git-svn-id: http://svn.automattic.com/wordpress/trunk@7876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:28:19 +00:00
ryan 90f52c0fc3 Use array calling style. Props guillep2k for the find. fixes #6637 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 16:59:49 +00:00
ryan 2fd45c2192 Don't redirect robots. Props thenlich and DD32. fixes #6891
git-svn-id: http://svn.automattic.com/wordpress/trunk@7871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 21:38:40 +00:00
ryan 8c59e943d4 Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:52:48 +00:00
ryan 8cabdbc588 Bump script vers. see #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 23:33:57 +00:00
ryan 020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
ryan 123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan 88b23960fb widget_title filters from jhodgdon. fixes #6684
git-svn-id: http://svn.automattic.com/wordpress/trunk@7850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 16:08:19 +00:00
ryan 499ac46099 Multi-widget pattern documentation typo fixes from Jaymin Patel. fixes #6866
git-svn-id: http://svn.automattic.com/wordpress/trunk@7849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 20:08:23 +00:00
westi b119ab7003 Bump the db version so [7841] has an affect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:19:33 +00:00
westi 5a375132ac Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:17:01 +00:00
ryan 7564d59d47 Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:58:38 +00:00
ryan 87b1154989 Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:12:25 +00:00
ryan 76a87862bf Add some sanity checks
git-svn-id: http://svn.automattic.com/wordpress/trunk@7821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:20:18 +00:00
markjaquith 60aab00ba1 Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 04:41:41 +00:00
markjaquith ca6bd9ebd5 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:45:31 +00:00
markjaquith 6930439dfe Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@7814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:43:44 +00:00
ryan f3d3b700f5 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:32:29 +00:00
ryan 123cd6550a Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:25:33 +00:00
ryan 0101f8809d strlen - 1. Props mdawaffe. see #6146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:13:35 +00:00
ryan eb9c8420db hash_hmac is always available. Drop function_exists check
git-svn-id: http://svn.automattic.com/wordpress/trunk@7797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:30:49 +00:00
ryan 4680f8f084 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:19:09 +00:00
ryan eaf44137c6 Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:00:31 +00:00
ryan 8709169ef9 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 02:22:55 +00:00
ryan b82f47cc97 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 01:55:58 +00:00
ryan 6e23bed1fd wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 22:45:53 +00:00
ryan bf40169710 Silence ini_get warnings. fixes #6787 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:24:34 +00:00
ryan 4bcb8222b5 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:16:42 +00:00
ryan c77c239754 Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 20:54:51 +00:00
ryan d95ea6777b Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 19:30:54 +00:00
matt 6943482d3b For some reason taxonomy pages also return is_home, so we need to put this check first.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 06:28:50 +00:00
ryan 5889755c66 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 21:26:10 +00:00
ryan 8591767741 Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:45:13 +00:00
ryan 35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan 17deb910aa Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:29:43 +00:00
ryan fbe04fbf90 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:23:02 +00:00
ryan 38d7abdfea Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: http://svn.automattic.com/wordpress/trunk@7743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:23:50 +00:00
ryan 14ed05e98b Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:06:46 +00:00
ryan 80fbb3b27d Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 19:00:07 +00:00
ryan 3495bf80e0 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan 926754275c If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 02:19:45 +00:00
ryan 84bd7d6a00 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 21:21:13 +00:00
ryan 3389df53f2 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:42:47 +00:00
ryan baba01caff Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:32:13 +00:00
ryan d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan e399f6ad54 Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:45:39 +00:00
ryan 957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan 7387154152 Bump script loader ver. see #6753
git-svn-id: http://svn.automattic.com/wordpress/trunk@7710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:58:15 +00:00
ryan d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan 3b95476f1c image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:59:23 +00:00
ryan 4e74faa972 Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: http://svn.automattic.com/wordpress/trunk@7701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:56:03 +00:00
markjaquith 9df4077f95 Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@7699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:07:04 +00:00
ryan 7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan 62d5105c5b Fix usermeta escaping. fixes #6750
git-svn-id: http://svn.automattic.com/wordpress/trunk@7696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 18:23:48 +00:00
ryan a60abc0904 Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 17:23:17 +00:00
ryan 82fd123c91 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 04:49:19 +00:00
ryan ce1fed1a02 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: http://svn.automattic.com/wordpress/trunk@7690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:05:08 +00:00
ryan 47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan f8cea0117c Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 16:03:24 +00:00
ryan c92c2be2af Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 01:39:33 +00:00
ryan cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan 6ec2c0877b tiny_mce_gzip.php no longer needed
git-svn-id: http://svn.automattic.com/wordpress/trunk@7681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:30:16 +00:00
ryan 713a705b52 TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:19:04 +00:00
ryan b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan 02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan 8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
ryan 7d2a7755a3 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:56:58 +00:00
ryan 1a41abe289 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:18:53 +00:00
ryan 56f15cb1bf Add missing comma. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:45:12 +00:00
ryan 972851a755 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:23:29 +00:00
ryan 248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan 36c9588f08 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 15:53:09 +00:00
ryan 132ac51a5a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
ryan 5b1208ebc3 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 19:02:13 +00:00
ryan 77be80f02c Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:33:42 +00:00
ryan 4a33d268ab Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:22:20 +00:00
ryan 9714b08b71 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:55:04 +00:00
ryan c3e32dcd4e Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:05:45 +00:00
ryan 3794dc04b4 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:40:32 +00:00
ryan 27167db9c3 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 18:30:51 +00:00
ryan 81d1b488a9 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:23:05 +00:00
matt 6099258ff9 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 21:29:36 +00:00
matt ad1c6ea083 The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 05:54:08 +00:00
westi ca41e227ad Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 20:14:37 +00:00
markjaquith 6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
westi 3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
markjaquith 29a551d786 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 13:15:21 +00:00
westi 8ca58c943e Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-01 21:12:35 +00:00
markjaquith 359fb2aced Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 07:56:58 +00:00
westi 74a7fc7923 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 17:56:27 +00:00
markjaquith 5ab9ee6a8f Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:41:43 +00:00
westi 88cbd04406 Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 13:42:03 +00:00
markjaquith 9eeb25a302 Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:11:30 +00:00
westi 9e849cc2ec Trunk is for 2.6 development now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 16:47:16 +00:00
matt 81f9a12d30 Live from WordCamp Dallas. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@7566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 14:39:28 +00:00
matt 214aaea94f In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 04:03:09 +00:00
westi 73768f4a8d Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 19:05:22 +00:00
matt a419491688 Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 15:23:09 +00:00
ryan 111549dfc0 RC3
git-svn-id: http://svn.automattic.com/wordpress/trunk@7560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 07:02:55 +00:00
ryan c4865c3418 Disable mod_security for uploader. Props andy. see #6406
git-svn-id: http://svn.automattic.com/wordpress/trunk@7558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 06:08:20 +00:00
ryan a29ec701f5 TinyMCE RTL and paste as plain text fixes from azaozz. fixes #6429
git-svn-id: http://svn.automattic.com/wordpress/trunk@7556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:49:35 +00:00
ryan 77d5b58105 Rehash old md5 hashes inside of wp_check_password() to make hashing more pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:44:47 +00:00
ryan 585f442ec5 Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:05:51 +00:00
ryan 6d81b777d7 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: http://svn.automattic.com/wordpress/trunk@7551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:10:29 +00:00
ryan 29839a2fb5 Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: http://svn.automattic.com/wordpress/trunk@7548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 08:09:06 +00:00
ryan a480e4e55b Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 06:30:20 +00:00
markjaquith feece21b1f Use attachment title instead of filename, unless it is empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@7533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:00:21 +00:00
markjaquith 740f33ea4b Autosave fixes for attachments from andy. fixes #6389
git-svn-id: http://svn.automattic.com/wordpress/trunk@7532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:28:40 +00:00
ryan bba593e250 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:17:31 +00:00
markjaquith e6f396880b Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan f2d7699045 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:26:22 +00:00
ryan 89fc6085db RC2
git-svn-id: http://svn.automattic.com/wordpress/trunk@7521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:50:42 +00:00
ryan e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan 65d22bd47c Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: http://svn.automattic.com/wordpress/trunk@7516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:34:55 +00:00
ryan 8895454664 Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: http://svn.automattic.com/wordpress/trunk@7513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:22:53 +00:00
ryan 8f35f1a817 Cleanup cat query var
git-svn-id: http://svn.automattic.com/wordpress/trunk@7511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 17:47:02 +00:00
ryan 064322eded Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 00:22:37 +00:00
ryan faff475746 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:43:20 +00:00
ryan f9f1f16dca in_category(): Return immediately if category is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:39:05 +00:00
ryan 1276a8283c Fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@7503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:30:33 +00:00
ryan 47dec4bad6 FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370
git-svn-id: http://svn.automattic.com/wordpress/trunk@7502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 16:18:30 +00:00
westi 5180584bfb Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 12:15:55 +00:00
matt f868d87004 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 05:15:28 +00:00
ryan 193b20c03f Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: http://svn.automattic.com/wordpress/trunk@7496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 02:57:19 +00:00
westi 84a5d17f6e Setup the class variable for when it's not used. Props dickie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 22:10:00 +00:00
matt 6be1f709f6 Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 18:19:03 +00:00
ryan cce67416a3 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan 9ff67a46b4 Maintain toolbar state. Props azaozz. fixes #6360
git-svn-id: http://svn.automattic.com/wordpress/trunk@7489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:37:06 +00:00
ryan 31d303ea1b Add default for post_excerpt. see #6355
git-svn-id: http://svn.automattic.com/wordpress/trunk@7482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:58:47 +00:00
ryan bc1e8fd755 Make sure IDs are >= 0. see #6305
git-svn-id: http://svn.automattic.com/wordpress/trunk@7481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:55:11 +00:00
westi da305bbce0 Tabindex for the Preview/View links. See #6352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 22:19:25 +00:00
matt 712f33944b Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 19:34:21 +00:00
ryan c7dcfa6261 Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 18:33:31 +00:00
matt fc2ee8bd18 Better default quality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 17:14:53 +00:00
westi ad583a7219 Improve the tabindex's on the Write>Post page. Need to do the others too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 09:14:49 +00:00
ryan e380fb0e15 Update background color of insert link dialog. Props azaozz. fixes #6304
git-svn-id: http://svn.automattic.com/wordpress/trunk@7471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:23:18 +00:00
ryan a370785fbc Fix custom field add/update/delete. Props mdawaffe. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:15:48 +00:00
ryan 6de702f183 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: http://svn.automattic.com/wordpress/trunk@7466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:21:27 +00:00
ryan 138770edd6 TinyMCE updates from azaozz. fixes #6340
git-svn-id: http://svn.automattic.com/wordpress/trunk@7464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 22:13:03 +00:00
markjaquith d93684e0c1 increment comment moderation counter when unapproving comment from approved comments screen. props mdawaffe. fixes #6338
git-svn-id: http://svn.automattic.com/wordpress/trunk@7462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 21:57:25 +00:00
ryan 8dcc9e02fa Close img tag. Props Otto42. fixes #6339
git-svn-id: http://svn.automattic.com/wordpress/trunk@7461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 21:39:28 +00:00
ryan e6e3b1aa35 Cleanup slashing in wp_mkdir_p
git-svn-id: http://svn.automattic.com/wordpress/trunk@7455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 18:27:56 +00:00
ryan 3ea6a438f9 Fix parens in walker. Props hailin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 18:11:47 +00:00
markjaquith fb1ad3901f make_clickable() trailing punctuation fixes from neodude. fixes #5081
git-svn-id: http://svn.automattic.com/wordpress/trunk@7452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:29:59 +00:00
ryan d0f6f37841 Change default phpmailer address
git-svn-id: http://svn.automattic.com/wordpress/trunk@7451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:11:47 +00:00
ryan 4f413d7437 W-P! rocks the CamelCase. Props lloydbudd. fixes #6335
git-svn-id: http://svn.automattic.com/wordpress/trunk@7450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:10:33 +00:00
westi 98a76f76c7 We use "do not" not "don't". Fixes #6328 props rnt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 09:25:03 +00:00
westi 6a50d730cb Add sanitization of option values to add_option. Fixes #5209 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 08:56:29 +00:00
westi 0c733599d4 Add a filter to the jpeg_quality to allow for it to be modified. Fixes #6289.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 08:31:50 +00:00
markjaquith f3e25d6df3 better Apache mod detection from andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:10:01 +00:00
markjaquith c5e0b789f6 Prevent uploads from overwriting each other. props neodude. fixes #6294
git-svn-id: http://svn.automattic.com/wordpress/trunk@7440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:03:33 +00:00
markjaquith 62642cb9fe "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan ef8ff2324c use explicit attachment permalink marker for int names. Props andy. fixes #6280
git-svn-id: http://svn.automattic.com/wordpress/trunk@7437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:08:22 +00:00
ryan 1ec1d3902d parseAjaxResponse fix from mdawaffe. fixes #6326
git-svn-id: http://svn.automattic.com/wordpress/trunk@7436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:03:38 +00:00
ryan 609f04c4b9 Make b0rked message slightly more informative.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:39:39 +00:00
ryan da37142561 Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: http://svn.automattic.com/wordpress/trunk@7431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:34:32 +00:00
ryan 4784e3bd97 Return error if term DB insert fails
git-svn-id: http://svn.automattic.com/wordpress/trunk@7430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 22:33:34 +00:00
markjaquith fda19a41bf don't time-throttle comments from Administrators
git-svn-id: http://svn.automattic.com/wordpress/trunk@7425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 20:32:18 +00:00
ryan a1154832ff Use uniqid if getmypid is disabled. Props Solar Designer. fixes #6293
git-svn-id: http://svn.automattic.com/wordpress/trunk@7421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:56:37 +00:00
ryan d919604a9e Don't error_log() if error_log file is not writable. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:16:38 +00:00
ryan c5d75f1195 Don't error_log() if error_log file is not writable. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:08:40 +00:00
markjaquith 26eff23f34 Multi-widgets should never be removed if you click cancel. props mdawaffe. fixes #6291
git-svn-id: http://svn.automattic.com/wordpress/trunk@7411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 04:39:23 +00:00
ryan a88ac8c62c Bump ver to distinguish ongoing trunk from the RC1 package.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:40:07 +00:00
ryan 95c51418d8 Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
git-svn-id: http://svn.automattic.com/wordpress/trunk@7406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:33:59 +00:00
ryan 7c83d7abd1 Suppress errors during option retrieval while installing. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 23:17:23 +00:00
markjaquith 0f026c38f9 Do not double-mark posts as "Private" in the admin. fixes #3146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 21:33:47 +00:00
ryan 81466f4604 TinyMCE cache fixes from markjaquith and azaozz. fixes #6295
git-svn-id: http://svn.automattic.com/wordpress/trunk@7402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 18:53:01 +00:00
ryan c66438659d ngettext fixes from nbachiyski. fixes #6261
git-svn-id: http://svn.automattic.com/wordpress/trunk@7397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:00:09 +00:00
markjaquith f704e592a9 wp_nonce_ays() HTML fixes from DD32. fixes #6270
git-svn-id: http://svn.automattic.com/wordpress/trunk@7395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 06:04:45 +00:00
markjaquith 0ebd2b681a Autosave when title has content and loses focus. props ryan. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@7394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 05:38:58 +00:00
markjaquith 15b17df867 moderation.php is no more. All hail edit-comments.php?comment_status=moderated
git-svn-id: http://svn.automattic.com/wordpress/trunk@7391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 23:24:04 +00:00
ryan afc92801a1 Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: http://svn.automattic.com/wordpress/trunk@7384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 19:20:18 +00:00
ryan 19e2cf5f61 Typo fix. fixes #6230
git-svn-id: http://svn.automattic.com/wordpress/trunk@7383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 17:29:30 +00:00
ryan 901703c63d Restore wp-langs changes. Props azaozz. fixes #6273
git-svn-id: http://svn.automattic.com/wordpress/trunk@7380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 16:32:05 +00:00
ryan 8427f15bca Buhbump
git-svn-id: http://svn.automattic.com/wordpress/trunk@7379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 07:01:01 +00:00
ryan b530b3b7dc TinyMCE fixes from azaozz. fixes #6272
git-svn-id: http://svn.automattic.com/wordpress/trunk@7378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 06:59:53 +00:00
ryan c700c87195 Add explanatory text for upgrade plugin nonce. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 05:04:18 +00:00
ryan cd4894370a More nonce renewals from andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 04:59:54 +00:00
ryan 34d67f9907 Renew autosave nonce. Props andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 02:43:20 +00:00
ryan f181ad63a6 Fix check all for IE. Props mdawaffe. fixes #6268
git-svn-id: http://svn.automattic.com/wordpress/trunk@7371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 02:04:54 +00:00
ryan 5f6bc326a4 Better protocol check from Łukasz Pilorz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 01:53:36 +00:00
ryan d9f9cd0375 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: http://svn.automattic.com/wordpress/trunk@7362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:25:05 +00:00
markjaquith 0f9573513d Bring Edit Page screen up to parity with Edit Post screen WRT timestamps. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:26:53 +00:00
ryan 385677b909 Better date editing from MarkJaquith. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 23:05:16 +00:00
westi 7039083a89 Update the allowed attributes for html list elements. Fixes #6253 props andy and lloydbudd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 22:16:27 +00:00
ryan 4f60026851 Don't allow duplicate category creation. Props westi and mdawaffe. fixes #3799
git-svn-id: http://svn.automattic.com/wordpress/trunk@7336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 20:37:02 +00:00
westi ef53fc4b54 Give the default avatar some class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 16:55:31 +00:00
westi e65d6369f2 Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:57:47 +00:00
matt 04ae1fc75a Don't let the auto-suggest overwrite the form field after the page has redrawn a bit. Fixes #6240. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:48:12 +00:00
westi 5cd2e835d8 Allow for wp_nonce_field, wp_referrer_field and wp_original_referer_field be able to return output. Fixes #3628 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:44:34 +00:00
westi b871aff737 Allow plugins to filter the redirect status as well as the location. See #4790.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 20:50:49 +00:00
westi ae747b14ef Make the preview message consistent. Fixes #6238 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 19:26:17 +00:00
matt 8734e3d1bf So fresh and so clean, clean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 17:02:16 +00:00
matt 44cb71faa1 Tooltips for media buttons. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 16:53:36 +00:00
westi b3709e1ddc Typo fix from johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:29:10 +00:00
westi 6c14cad3c9 Change the default size avatar back to 96 now we are using the new gravatar.com api which supports bigger sizes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:27:28 +00:00
markjaquith df240cb60c Use newer Gravatar URL style. props link2caro. fixes #6229
git-svn-id: http://svn.automattic.com/wordpress/trunk@7306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 02:23:27 +00:00
ryan d095605faa i18n fixes from nbachiyski. fixes #6226
git-svn-id: http://svn.automattic.com/wordpress/trunk@7303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 22:20:24 +00:00
matt 5ceb47d0c4 Simpler gallery markup in feeds. Fixs #6225. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 19:23:56 +00:00
matt 1f8838b373 Let's call a spade a spade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 07:58:04 +00:00
ryan e077b57335 Make RSS and text widget controls the same width. Props mdawaffe. fixes #6205
git-svn-id: http://svn.automattic.com/wordpress/trunk@7278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:30:41 +00:00
ryan c3b5c2cb4e Typo fix from nerrad. fixes #6216
git-svn-id: http://svn.automattic.com/wordpress/trunk@7277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:27:25 +00:00
westi 04543417c9 Better protection against double widget insertion. Fixes #6191 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-13 21:33:11 +00:00
ryan 6d0fa72e1d Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
git-svn-id: http://svn.automattic.com/wordpress/trunk@7271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 23:15:31 +00:00
ryan 2e439f5810 TinyMCE 3.05 from azaozz. fixes #6195
git-svn-id: http://svn.automattic.com/wordpress/trunk@7270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:47:11 +00:00
ryan eda7e0e8bc Suppress logging of DB errors when checking if blog is installed. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:41:43 +00:00
ryan f89ff6c5a0 Action oriented text for expired session notice. Props lloydbudd. fixes #6193
git-svn-id: http://svn.automattic.com/wordpress/trunk@7268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:21:14 +00:00
ryan 31abda9e0f Image fixes from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 08:10:00 +00:00
ryan 3d0435bb58 Attachment editing from mdawaffe. fixes #6181
git-svn-id: http://svn.automattic.com/wordpress/trunk@7262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 05:50:07 +00:00
ryan 2c535c4ca7 media handling fixes from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 23:15:17 +00:00
westi 0344154048 Allow plugins to filter the result of get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@7253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:37:23 +00:00
ryan 674e725d06 Fix edit links for attachments. Props mdawaffe. fixes #6168
git-svn-id: http://svn.automattic.com/wordpress/trunk@7250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:08:09 +00:00
ryan f0479dbc17 Admin color selector. see #6167
git-svn-id: http://svn.automattic.com/wordpress/trunk@7249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:06:03 +00:00
westi 77c0f608c8 Better self links for feeds. Fixes #5238 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 18:18:22 +00:00
ryan 0b22d34ee6 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: http://svn.automattic.com/wordpress/trunk@7240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:54:48 +00:00
ryan 7fa4744082 Upgrade message in dash. Props mdawaffe. fixes #6060
git-svn-id: http://svn.automattic.com/wordpress/trunk@7237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:13:07 +00:00
westi f14702fb65 Bring the bubble back when we have moderated a comment. Fixes #6010 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 08:55:57 +00:00
matt 4c715fbd58 Turn off the fullsize argument, which was accidentally toggled earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:45:31 +00:00
matt c3c45d74fc Abstract TinyMCE colors. Fixes #6154. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:31:19 +00:00
matt 13e2adae6b See #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 01:30:15 +00:00
matt 602266439f Parley voo crunching?
git-svn-id: http://svn.automattic.com/wordpress/trunk@7227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 01:10:48 +00:00
matt e16e98041b Smaller regex.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:43:07 +00:00
matt 93e92262cb Big regex for type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:37:29 +00:00
matt 77c8335821 Better media attachment template. See #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:09:14 +00:00
matt 9c8a54f24a Show a message after the upload has finished but before the return HTML is finished.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:55:26 +00:00
matt 355c09e6d0 More attachment thumbnail fixes, see #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:04:20 +00:00
matt 4f59f008ab Some more color updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 22:35:19 +00:00
matt 7807a9d116 Icon fixes. See #5911; hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 21:31:33 +00:00
ryan 8aab63b7cf Use default category when getting permalink if the post has no categories assigned. Props nbachiyski. see #6083
git-svn-id: http://svn.automattic.com/wordpress/trunk@7204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 07:15:01 +00:00
ryan b7f524580d Add sanitization to get_link() and get_link_to_edit(). Props mdawaffe. fixes #6125
git-svn-id: http://svn.automattic.com/wordpress/trunk@7193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:28:21 +00:00
westi fcddc04547 Remove the entity decoding and recoding from wp_html_excerpt. Fixes #6077 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-09 22:11:20 +00:00
ryan 589993b783 Make cancel mean cancel. Props mdawaffe. see #5886
git-svn-id: http://svn.automattic.com/wordpress/trunk@7176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 23:01:22 +00:00
ryan 1189e1fce8 Added filter for changing the languages selection for the spellchecker, fixed problems with valid_elements and added filter for extended_valid_elements, update to the latest version. Props azaozz. fixes #6111
git-svn-id: http://svn.automattic.com/wordpress/trunk@7173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:56:02 +00:00
ryan c506a8173c Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
ryan feb0644005 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 06:07:53 +00:00
markjaquith 1da923bdfd Post slug fixes from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 22:09:28 +00:00
matt e6b01542a5 Don't return early before filtering.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 18:49:56 +00:00
ryan 0e9ffe90bb 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: http://svn.automattic.com/wordpress/trunk@7160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 06:46:42 +00:00
ryan 71d63f9b3e Use wp_mkdir_p() to create js cache dir. Props DD32. see #6097
git-svn-id: http://svn.automattic.com/wordpress/trunk@7159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 05:53:56 +00:00
ryan 5ca43fe40b Update get_avatar() phpdoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@7158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 22:52:36 +00:00
ryan af95d56dc9 Comment bubble count fixes from mdawaffe. fixes #6090
git-svn-id: http://svn.automattic.com/wordpress/trunk@7153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:07:47 +00:00
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
ryan f4422c2842 Remove list-manipulation.js. No longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:48:47 +00:00
ryan 8ebf2db0c6 Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: http://svn.automattic.com/wordpress/trunk@7050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:45:46 +00:00
ryan 77f215393c fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:57:00 +00:00
ryan 1eaf857f7b Media upload updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:30:10 +00:00
ryan 1b08613a81 Add some defaults for wp_insert_attachment. fixes #6006
git-svn-id: http://svn.automattic.com/wordpress/trunk@7042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:51:45 +00:00
ryan de3ab9a05e image_resize() and friends from tellyworth. fixes #6005
git-svn-id: http://svn.automattic.com/wordpress/trunk@7041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:46:03 +00:00
ryan 4446c81177 Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: http://svn.automattic.com/wordpress/trunk@7038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 10:05:05 +00:00
ryan 5f5694ee64 Silence warnings if error_log is disabled. fixes #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 09:45:51 +00:00
ryan 16c4b30145 update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 08:54:11 +00:00
ryan fabda2a2d3 Fix edit comment form tab indices. fixes #5712
git-svn-id: http://svn.automattic.com/wordpress/trunk@7032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 04:53:48 +00:00
westi fdb26f5bae Support category names in in_category(). Fixes #4558 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:18:41 +00:00
westi 35a2e26b4d Add keyed object output to wpdb::get_results. Fixes #5286 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:00:27 +00:00
ryan 538126aff8 Workaround Safari crasher. Props azaozz. fixes #5945
git-svn-id: http://svn.automattic.com/wordpress/trunk@7025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 19:03:35 +00:00
ryan 68606d301e get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: http://svn.automattic.com/wordpress/trunk@7022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 18:40:46 +00:00
ryan 2e38b04136 Error page styling from mt. fixes #5977
git-svn-id: http://svn.automattic.com/wordpress/trunk@7001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:51 +00:00
ryan b793e1846f Revert changes to canonical that broke redirects. Props fitztrev. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 02:09:24 +00:00
westi 8d42a5d342 Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 22:11:47 +00:00
ryan 93f0c00cb7 Manage comments rework. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 08:33:44 +00:00
ryan 699b250926 Small code formatting tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@6986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 20:48:28 +00:00
ryan b49ff57e63 Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: http://svn.automattic.com/wordpress/trunk@6985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 19:59:12 +00:00
ryan 038910ae4e Upload path fixes from tellyworth. see #5953
git-svn-id: http://svn.automattic.com/wordpress/trunk@6984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:46:03 +00:00
ryan dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan 54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan c5d19aed9c Media library work from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan fa9f3af382 Move blockquote to first toolbar. Props azaozz. fixes #5709
git-svn-id: http://svn.automattic.com/wordpress/trunk@6973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:07:03 +00:00
ryan 2724f9479e Restore JIT script localization. Props azaozz. fixes #5921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 04:02:09 +00:00
ryan e6a1bade1c Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: http://svn.automattic.com/wordpress/trunk@6964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:49:05 +00:00
ryan e545cdadb1 TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: http://svn.automattic.com/wordpress/trunk@6959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:40:25 +00:00
ryan 1e755afb7b Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@6957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:03:43 +00:00
ryan a739979c12 Revert [6940]. Breaks atompub. see #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:47:15 +00:00
ryan ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan 833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan 2f7d3a377e Add a default for post_conten_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@6951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:52:51 +00:00
ryan 726b030412 Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:58:58 +00:00
ryan 3355f0c2af Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:57:21 +00:00
ryan 321845ffcd Skip main posts query if 404. Props misterbisson. fixes #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:52:40 +00:00
ryan 4bbe72cd41 shortcodes should not require var=val format. Props andy. fixes #5892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:47:50 +00:00
ryan b09e83ddca pre_post_update action from tellyworth. fixes #5815
git-svn-id: http://svn.automattic.com/wordpress/trunk@6938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:46:44 +00:00
ryan e6fae2dc51 Don't show Add Media when editing comments. Props azaozz. fixes #5910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:39:04 +00:00
ryan 2533bac2df Lose caching of user DB misses. Wasn't working out that well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:34:51 +00:00
ryan ecc8de81b9 Revert [6921]. see #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:55:36 +00:00
ryan 9e349220b5 Update edit comment form. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:41:16 +00:00
ryan e0e9db30d7 Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:16:44 +00:00
ryan 7c8c648554 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: http://svn.automattic.com/wordpress/trunk@6916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:28:54 +00:00
ryan 3e9b80d5ef Support positional attributes in shortcodes. Props tellyworth. fixes #5914
git-svn-id: http://svn.automattic.com/wordpress/trunk@6911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:52:30 +00:00
ryan 366cfe0d03 Media Library design updates from Andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:13:20 +00:00
ryan 0a875e8b22 Make user option name sanitization consistent. Props filosofo. fixes #5901
git-svn-id: http://svn.automattic.com/wordpress/trunk@6902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 20:16:02 +00:00
ryan d92d57bd14 TinyMCE compressor fixes from azaozz. fixes #5900
git-svn-id: http://svn.automattic.com/wordpress/trunk@6900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:25:56 +00:00
ryan 1ba0025c60 Add optional post ID arg to the_category and get_the_category_list. Props filosofo. fixes #5050
git-svn-id: http://svn.automattic.com/wordpress/trunk@6899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:46:26 +00:00
ryan bd8069aba7 Typo fix from rnt. fixes #5894
git-svn-id: http://svn.automattic.com/wordpress/trunk@6895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:13:21 +00:00
ryan 6bef16a574 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:11:12 +00:00
ryan 8efbdbbec1 Fix TinyMCE translation typo. Props rnt. fixes #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:07:23 +00:00
ryan 02292333f0 Bump js ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@6877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 22:05:37 +00:00
ryan 8db820753e Media handling updates from andy. fixes #5874
git-svn-id: http://svn.automattic.com/wordpress/trunk@6876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:54:47 +00:00
westi 86c55d6d67 More specific moderation emails for {ping|track}backs. Fixes #4986 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 17:03:05 +00:00
ryan 4cd65bf8d0 Default args to array. Props fitztrev. fixes #5866
git-svn-id: http://svn.automattic.com/wordpress/trunk@6861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 20:42:53 +00:00
ryan 30fa0eb3c7 Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 07:34:52 +00:00
ryan 1857fc1627 generic_ping() improvements from fitztrev. fixes #5855
git-svn-id: http://svn.automattic.com/wordpress/trunk@6853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 21:50:43 +00:00
ryan 5ed843d6d8 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan 467387c34f auto-add css class when using align on Image. Props azaozz. fixes #5856
git-svn-id: http://svn.automattic.com/wordpress/trunk@6844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:45:40 +00:00
ryan e3b7a9c202 Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:40:19 +00:00
ryan c19d47bb75 Revert [6835] as it breaks the depth arg. see#5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 02:51:12 +00:00
ryan 939cc4624a Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 00:54:52 +00:00
westi ab4ce8237d '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@6828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 21:56:56 +00:00
ryan 8bbf359295 Add comment_date_gmt key to comments table. Optimize _wp_get_comment_list() query. fixes #5785
git-svn-id: http://svn.automattic.com/wordpress/trunk@6825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:15:30 +00:00
ryan e5879ea923 Add RAND order option to wp_tag_cloud(). Props fitzrev. fixes #5726
git-svn-id: http://svn.automattic.com/wordpress/trunk@6824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:12:46 +00:00
ryan daf0d9a7e9 Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593
git-svn-id: http://svn.automattic.com/wordpress/trunk@6823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:02:08 +00:00
ryan 3b04c16b5e Add wp_list_bookmarks filter. Props codealsatian. fixes #5532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:47:34 +00:00
ryan 84a3a81bb8 Improve metadata for atom comment search feeds. Props ionfish. fixes #5493
git-svn-id: http://svn.automattic.com/wordpress/trunk@6819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:29:10 +00:00
ryan 0ac5af1f6e Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: http://svn.automattic.com/wordpress/trunk@6817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:14:38 +00:00
ryan 6199f2dc76 Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 17:39:40 +00:00
ryan c516aa6a42 Add gzip_compression() stub in case someone actually uses it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 11:21:09 +00:00
ryan c21c9af12a Reduce queries by wp_count_posts(). Props josephscott. fixes #5820
git-svn-id: http://svn.automattic.com/wordpress/trunk@6808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 09:30:26 +00:00
ryan 7aa24fb904 Use array keys instead of hard coded list when traversing post fields to sanitize. Props andy. fixes #5836
git-svn-id: http://svn.automattic.com/wordpress/trunk@6803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:49:23 +00:00
ryan f6cfa549fb Fix variable name typo. Props reinkim. fixes #5834
git-svn-id: http://svn.automattic.com/wordpress/trunk@6802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:39:45 +00:00
ryan 9900f35dd3 Fix floated left gallery layout breaks. Prop s nbachiyski. fixes #5828
git-svn-id: http://svn.automattic.com/wordpress/trunk@6801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:35:21 +00:00
ryan 8bd0691aa3 Manage categories redesign. Add categories search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 09:02:02 +00:00
ryan 1bd097fff0 Manage links redesign. Add link search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 08:01:32 +00:00
ryan fa53c462a9 tinyMCE compressor update from azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 20:19:29 +00:00
ryan 28e1d318bb tinyMCE compressor additions and deletion of unused lang files. Props azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 19:22:22 +00:00
ryan 9c7db11219 New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:45:18 +00:00
matt 3b82a74e29 Blow out mem limit, slightly larger thumbnails.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:02:44 +00:00
matt f55e3feab2 Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:02:01 +00:00
matt 76260edc29 A few places we were missing links to new stylesheet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 07:53:10 +00:00
matt d9738d6cfb Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 06:35:24 +00:00
ryan 1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan 6f108ce6f3 Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:12:33 +00:00
ryan 0a89479d1c Maintain hidden toolbar state when switching to fullscreen. Props azaozz. fixes #5806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 06:27:03 +00:00
ryan ce4fb5e015 Move editor js to editor.js. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
ryan f58f803b5b Automatically add classes to images for floated images. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 12:42:15 +00:00
ryan a96ae481ff htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: http://svn.automattic.com/wordpress/trunk@6767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 07:29:36 +00:00
ryan c25dd9912a gettext for tinymce strings. Props azaozz. see #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 06:43:15 +00:00
ryan 9e6593de20 add "select class" to the Image pop-up. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 05:00:13 +00:00
ryan bf2f730177 Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: http://svn.automattic.com/wordpress/trunk@6763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 00:19:48 +00:00
ryan bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan 9989d4c23e Allow rand post ordering. Props Otto42 and Nazgul. fixes #4617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:50:10 +00:00
ryan 2ebcad280b jQuery 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:33:51 +00:00
ryan 4a662f1776 Precompute the hash of the unknown avatar user to save an md5 call. Props Viper007Bond. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:09:01 +00:00
ryan 7646d94d88 Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267
git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 18:01:33 +00:00
ryan 596f6b0583 Gonna serve default avatars from gravatar. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:58:38 +00:00
ryan 36a651ef92 get_avatar(). see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:07:12 +00:00
ryan 2d7252544b Show media upload buttons when RTE is not enabled. Props tellyworth. fixes #5764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 04:21:22 +00:00
markjaquith 21d3dd2a76 Make sure the theme_dir is a dir before we attempt to closedir(). fixes #5768
git-svn-id: http://svn.automattic.com/wordpress/trunk@6744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 23:17:13 +00:00
markjaquith 302ac4890e Allow redirect_canonical filter to cancel a redirect (just return FALSE). see #5766
git-svn-id: http://svn.automattic.com/wordpress/trunk@6743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:57:15 +00:00
markjaquith 5b22db23d1 Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:33:21 +00:00
ryan bddedf8c3e Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:21:22 +00:00
ryan 7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan 6c312db33c Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
git-svn-id: http://svn.automattic.com/wordpress/trunk@6738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 20:42:03 +00:00
ryan ab0ea44dc7 Page permalink fixes from josephscott. fixes #5781
git-svn-id: http://svn.automattic.com/wordpress/trunk@6737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 18:11:49 +00:00
ryan 8fecb97b09 Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 23:29:59 +00:00
ryan ed5224f393 Enum to varchar. fixes #4778
git-svn-id: http://svn.automattic.com/wordpress/trunk@6732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:05:56 +00:00
ryan b85271e8ed Add wp_count_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@6730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 19:08:14 +00:00
ryan b67bbb9e4e Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 18:04:17 +00:00
ryan 95781cf290 Fix interface sortables for IE7. Props filosofo. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 16:32:20 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan 9f643af85d Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:38:48 +00:00
ryan 25788ba179 Add filters to comments_open() and pings_open(). Props tellyworth. fixes #5761
git-svn-id: http://svn.automattic.com/wordpress/trunk@6716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:27:45 +00:00
ryan 45ebbd5bb8 Fix edit link form categories a bit. AJAX add still needs work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 20:31:56 +00:00
ryan d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan 8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan 7f4d8b2f27 New dashboard from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 07:57:51 +00:00
ryan 43852a57c3 is_front() from markjaquith and Nazgul. fixes #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 00:13:34 +00:00
ryan 08a89b8a11 Allow multiple db instances. Props Nazgul. fixes #2722
git-svn-id: http://svn.automattic.com/wordpress/trunk@6701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 22:09:17 +00:00
ryan 8945a17651 Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
git-svn-id: http://svn.automattic.com/wordpress/trunk@6698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:47:35 +00:00
ryan ece19d2bfb Merge user-edit.php and profile.php. Props nbachiyski. fixes #5736
git-svn-id: http://svn.automattic.com/wordpress/trunk@6697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:44:17 +00:00
ryan e2d55ab832 Remove old tinymce files. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:48:33 +00:00
ryan 1266b9c53f Update edit link pages. Link categories need work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:04:54 +00:00
ryan c1a034bcbe TinyMCE 3.0 Final from azaozz. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 18:10:46 +00:00
ryan 2340b8dda6 Remove spurious dollar sign. fixes #6690
git-svn-id: http://svn.automattic.com/wordpress/trunk@6693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 00:58:54 +00:00
ryan 5481803d74 Widget i18n from nbachiyski. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 21:49:56 +00:00
ryan d88d4f85dd Add depth arg to wp_dropdown_categories(). Props pishmishy. fixes #2461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 20:07:52 +00:00
ryan f21c535f3f Add fullscreen plugin. Props andy. fixes #5735
git-svn-id: http://svn.automattic.com/wordpress/trunk@6689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 06:55:47 +00:00
ryan c52e264fde Don't advance post counter when resetting query. see #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:58:41 +00:00
ryan dd7370dbe9 Recent entries widget caching fixes from mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:28:58 +00:00
ryan 19de78b638 Add wp_authenticate_user filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 20:17:11 +00:00
ryan 7f4b870b15 Make sure we have a post when doing post comment feed query. Props ruckus. see #5185
git-svn-id: http://svn.automattic.com/wordpress/trunk@6683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 19:01:39 +00:00
westi 520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan 7d78a53a87 like_escape() from nbachiyski. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:20:27 +00:00
ryan 9d46888a48 Add missing close brace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 23:16:04 +00:00
ryan d5973814b7 Move postbox to postbox.js. Don't load cat and tag js for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 21:34:42 +00:00
ryan 8f6920d116 Fill edit slug box with current slug. Props johnbillion and nbachiyski. fixes #5704
git-svn-id: http://svn.automattic.com/wordpress/trunk@6674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:25:39 +00:00
ryan 71c278e89d Remove PHP 4.2 and 4.3 back compat functions. Props DD32. fixes #5415
git-svn-id: http://svn.automattic.com/wordpress/trunk@6672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:15:20 +00:00
ryan 80643d6ed9 doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: http://svn.automattic.com/wordpress/trunk@6669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 04:55:54 +00:00
westi 2ac5c0204f Remove the duplicate code for sanitising IP Addresses we only need to do it once. Fixes #4579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-26 10:18:33 +00:00
ryan 5602414fa7 Fix autosave dependencies
git-svn-id: http://svn.automattic.com/wordpress/trunk@6666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:27:33 +00:00
ryan 879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
matt f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
westi f9ba9a3802 Allow IPv6 addresses as well. Fixes #4579 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 18:50:52 +00:00
ryan 2e8ee3b0e0 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 03:19:34 +00:00
ryan 4b812eb11f Unescape user data before sending to wpdb::update() and wpdb::insert(), which expect unescaped data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 02:21:59 +00:00
ryan 6f7d120d5b Remove lingering bit of get_tags cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@6655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:59:06 +00:00
ryan e5c94063b0 Clear post_meta cache upon change. Props nbachiyski. fixes #5718
git-svn-id: http://svn.automattic.com/wordpress/trunk@6654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:55:21 +00:00
ryan 3c0db5ec37 Restore global post when resetting the query. Props ionfish. fixes #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:41:57 +00:00
ryan 2d656cdb15 Remove busted get_tags cache. get_terms does the caching for us. Props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@6651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:19:53 +00:00
ryan 35bd1677a1 check_ajax_referer() should look for *only* the auth_cookie, not others that look like they match. Autosave should know that an ajax response of -1 or 0 is a failure. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@6649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 21:19:42 +00:00
ryan f21535a6b1 Add check_password filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:36:45 +00:00
ryan a99e7c0cee Add wp_login_failed action
git-svn-id: http://svn.automattic.com/wordpress/trunk@6647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:32:21 +00:00
ryan e51dd5d7d1 Don't forget to pass the category
git-svn-id: http://svn.automattic.com/wordpress/trunk@6646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 23:38:30 +00:00
westi 839ea6c294 Fix the updated times when publishing/editing with APP. See #5680 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 20:25:08 +00:00
ryan 7eb704b71b Pass remember arg. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 18:20:59 +00:00
ryan 6afab28342 Refactor login. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 19:35:19 +00:00
ryan f283ceae87 Port wphelp plugin to tinyMCE 3.0. Props azaozz. see #5703
git-svn-id: http://svn.automattic.com/wordpress/trunk@6641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 06:23:46 +00:00