Commit Graph

3937 Commits

Author SHA1 Message Date
Mark Jaquith
c046d09fbd Whitespacing/coding standards cleanup for category.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8575 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:06:14 +00:00
Mark Jaquith
0649bb45b1 Whitespacing/coding standards cleanup for category-template.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8574 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:01:46 +00:00
Mark Jaquith
fc79b3fc69 Whitespacing/coding standards cleanup for capabilities.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8573 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:50:30 +00:00
Mark Jaquith
3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren
3937bd9530 Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8570 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 17:24:10 +00:00
Ryan Boren
f70269ff48 Fix tag cloud links. Props DD32. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8569 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:53:39 +00:00
Ryan Boren
07bd0bd9cf Strip tags from summary. Props dsader. fixes #7375 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8567 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:49:58 +00:00
Andrew Ozz
c4d5fd7ce9 Revert 8562
git-svn-id: https://develop.svn.wordpress.org/trunk@8564 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 00:44:40 +00:00
Andrew Ozz
b07aca4429 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8562 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 23:56:52 +00:00
Ryan Boren
17bc095dd1 Fix notice about body not having chunk formatting. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8560 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 22:22:07 +00:00
Ryan Boren
9ac24840ea Allow merging of similarly named text domains. Props sambauers. fixes #7376 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8556 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 21:28:50 +00:00
Ryan Boren
ace1dbc33e Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@8555 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 21:07:59 +00:00
Ryan Boren
c7ac46fe86 Fix chunked decoding. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8549 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 17:01:49 +00:00
Ryan Boren
f43f8fcc29 Streams transport fixes from jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8548 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 16:33:20 +00:00
Peter Westwood
5260a37685 Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@8547 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 06:40:44 +00:00
Ryan Boren
742aa7d933 Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:48:21 +00:00
Ryan Boren
973a10982b Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8545 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:45:34 +00:00
Ryan Boren
89223e4a84 Fix reversed encoding. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8544 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 04:14:55 +00:00
Ryan Boren
b370c7862c XML-RPC comments API. see #7446
git-svn-id: https://develop.svn.wordpress.org/trunk@8543 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 22:29:37 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
6cf0ede185 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8538 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 20:34:45 +00:00
Ryan Boren
2b63884467 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8537 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:19:05 +00:00
Ryan Boren
72e2ee06bb Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8536 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:12:26 +00:00
Ryan Boren
d64f028b60 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8535 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 18:45:44 +00:00
Ryan Boren
ab2239137f Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8534 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 17:03:05 +00:00
Ryan Boren
6a5662b4a5 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8533 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 16:28:12 +00:00
Ryan Boren
0f4aac8854 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8529 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:07:21 +00:00
Ryan Boren
53de042ebd Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8528 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:01:28 +00:00
Ryan Boren
5e982913b6 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@8525 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-02 17:32:25 +00:00
Ryan Boren
df0af53a86 Fixes process headers for fopen header return, fixes HTTP extension response array. Also adds Curl implementation and allows for it to be used when using headers. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8524 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 23:13:48 +00:00
Ryan Boren
4caa408fac Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8523 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 22:31:57 +00:00
Ryan Boren
b7d7804240 Various http fixes from santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8522 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 21:24:03 +00:00
Ryan Boren
2a1795ae26 Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8520 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 18:44:40 +00:00
Ryan Boren
0e54a9ce6b Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8519 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 16:36:50 +00:00
Ryan Boren
dca0f147b2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8518 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:45:13 +00:00
Andrew Ozz
8138570a20 When not using image captions, IE may add caption null, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8517 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:10:27 +00:00
Ryan Boren
086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00
Ryan Boren
cf2daaf071 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8514 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 04:26:32 +00:00
Andrew Ozz
0b3c278d63 Make sure meta is added to the post, not a revision.
git-svn-id: https://develop.svn.wordpress.org/trunk@8513 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 03:50:20 +00:00
Andrew Ozz
90e3261fd9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8512 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-31 04:01:30 +00:00
Ryan Boren
22497fb74f Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 17:17:38 +00:00
Andrew Ozz
b12c2edcf0 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8504 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 08:16:56 +00:00
Peter Westwood
c8c3da8f81 Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8503 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:04:57 +00:00
Peter Westwood
29d888d397 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8502 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:01:03 +00:00
Peter Westwood
16e673b165 Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:26:59 +00:00
Peter Westwood
8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren
a9751a9ee9 Walker improvements from hailin. fixes #7353
git-svn-id: https://develop.svn.wordpress.org/trunk@8494 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:50:57 +00:00
Ryan Boren
3437da6843 Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8492 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:16:39 +00:00
Ryan Boren
319051a7fa Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8490 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:14:53 +00:00
Peter Westwood
0737fd60d5 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: https://develop.svn.wordpress.org/trunk@8489 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 20:21:34 +00:00
Peter Westwood
f698dfbb3b Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: https://develop.svn.wordpress.org/trunk@8487 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:52:44 +00:00
Ryan Boren
3b56605062 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8485 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 17:03:00 +00:00
Ryan Boren
6c433a5dce Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8480 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:58:24 +00:00
Ryan Boren
79da5c32a9 Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8478 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:39:15 +00:00
Ryan Boren
8aaca8d367 No need to order results. Props dbuser123. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@8469 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-27 16:58:35 +00:00
Andrew Ozz
bf798dda32 Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8463 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 19:56:08 +00:00
Ryan Boren
c798e2041d Add macFFBgHack.png. fixes #6573 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8457 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-25 22:42:31 +00:00
Ryan Boren
6fbbcbfb6e Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8433 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-24 19:28:40 +00:00
Ryan Boren
ee18970580 Work around fatal error caused by mbstring.func_overload = 2. Props codestyling . fixes #5599 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8420 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 18:56:17 +00:00
Ryan Boren
28ae8ab3dc Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: https://develop.svn.wordpress.org/trunk@8415 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 16:44:06 +00:00
Peter Westwood
a619cbba87 Mark kses callbacks as private. Fixes #7363.
git-svn-id: https://develop.svn.wordpress.org/trunk@8410 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 08:36:15 +00:00
Andrew Ozz
595c17fc10 Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8406 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 05:12:57 +00:00
Ryan Boren
eb99bdcadf Use WP_LANG_DIR. fixes #7378 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8404 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 21:09:30 +00:00
Ryan Boren
797a3c335d Add timezone var to IXR_date. Add timezone back to getIso(). Comment WP specific additions. see #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8403 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 19:53:03 +00:00
Andrew Ozz
f577a436c0 Gears integration update in anticipation of Safari support. Fixes #7371 for 2.6.1
git-svn-id: https://develop.svn.wordpress.org/trunk@8395 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 04:03:36 +00:00
Ryan Boren
09f42ecdc0 Don't allow empty term names. Props scohoust. fixes #7336 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8393 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 21:53:32 +00:00
Andrew Ozz
e5655cff31 kses - don't use create_function in preg_replace_callback. Fixes #7363.
git-svn-id: https://develop.svn.wordpress.org/trunk@8387 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 05:11:00 +00:00
Andrew Ozz
11bac00854 kses - properly escape non-Unicode entities. Fixes #6583. Props schiller.
git-svn-id: https://develop.svn.wordpress.org/trunk@8386 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 03:21:09 +00:00
Andrew Ozz
a9868e9fd5 Take first attribute and ignore later duplicate attributes. Fixes #6602 for trunk. Props schiller.
git-svn-id: https://develop.svn.wordpress.org/trunk@8384 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 01:12:49 +00:00
Andrew Ozz
124ca7ff00 Prevent adjacent hyphens in a HTML/XML comment. Fixes #6642 for trunk. Props schiller.
git-svn-id: https://develop.svn.wordpress.org/trunk@8382 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 00:32:43 +00:00
Ryan Boren
4cd1b1c3a0 Make get_edit_post_link() and get_edit_comment_link() SSL aware. Props robertaccettura. fixes #7359 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8380 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-20 04:46:59 +00:00
Ryan Boren
78d7917be7 Resurrect 7615. see #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8378 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 19:01:35 +00:00
Ryan Boren
686e7e79aa Revert accidental bits that snuck in with [8376]. see #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8377 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 19:00:56 +00:00
Ryan Boren
9ba30a1b30 IXR 0.71. Props jacobsantos. fixes #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8376 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 17:56:35 +00:00
Ryan Boren
2be6bcf255 Don't return if is_string(). Proceed to check if is_serialized(). fixes #7347 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8372 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-18 16:43:23 +00:00
Ryan Boren
5000a39eb0 Image sideload and wp_upload_dir() fixes from noel. fixes #7342 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8369 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-18 03:19:12 +00:00
Mark Jaquith
80f79a7fed Better solution for #4536. Slashless normalization of tag/category bases. fixes #7306 for trunk. see #4536
git-svn-id: https://develop.svn.wordpress.org/trunk@8365 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-17 19:41:48 +00:00
Ryan Boren
a118de6487 Fix is_term query prepare() so that tag slugs that percent signs in them don't break. fixes #6867 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8363 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-17 16:59:40 +00:00
Peter Westwood
5b2a4bb837 Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8359 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:53:32 +00:00
Andrew Ozz
491b47b300 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8358 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:36:17 +00:00
Andrew Ozz
35b0176876 fixes #7311 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8356 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 20:34:46 +00:00
Ryan Boren
55ee349c2e Derive the upload url from the upload path if no url given. fixes #7308 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8352 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 16:49:22 +00:00
Ryan Boren
da0277cebd Add jquery dependency to admin-forms. Props 082net. fixes #7321 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8347 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 16:16:45 +00:00
Peter Westwood
cb056bbf1c Update the version number for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8344 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 07:17:06 +00:00
Ryan Boren
71c6b81617 Typo fix from robertdimarco. fixes #7297 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8341 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-15 16:21:26 +00:00
Ryan Boren
fcd681da15 plugins_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@8334 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-15 00:10:07 +00:00
Ryan Boren
b8824f4057 phpdoc for site_url() and friends
git-svn-id: https://develop.svn.wordpress.org/trunk@8333 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-14 23:39:11 +00:00
Ryan Boren
ff4142320f Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@8331 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-14 17:27:19 +00:00
Ryan Boren
87ea4a1d8d RTL support for Press This. Props RanYanivHartstein. see #7289
git-svn-id: https://develop.svn.wordpress.org/trunk@8328 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 17:57:23 +00:00
Ryan Boren
8e25c6694a RTL for Press This. Props RanYanivHartstein. see #7289 #6616
git-svn-id: https://develop.svn.wordpress.org/trunk@8326 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 16:26:16 +00:00
Ryan Boren
20611718e2 Workaround PHP parse_url() bug. Props azaozz. fixes #7288
git-svn-id: https://develop.svn.wordpress.org/trunk@8324 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 05:16:54 +00:00
Ryan Boren
3becff10c3 Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8323 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 04:57:01 +00:00
Ryan Boren
be46d3e59b Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@8322 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-12 18:04:41 +00:00
Ryan Boren
9cac41c84a Run plugin checks both admin and blog side. Props DD32 and mdawaffe. fixes #7265
git-svn-id: https://develop.svn.wordpress.org/trunk@8317 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 22:04:03 +00:00
Ryan Boren
be517f46d7 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: https://develop.svn.wordpress.org/trunk@8316 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 20:27:50 +00:00
Ryan Boren
afd113dcf2 Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:59:14 +00:00
Ryan Boren
822ae638e1 Don't LIMIT updates to 1. Props hailin. fixes #7272
git-svn-id: https://develop.svn.wordpress.org/trunk@8311 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 01:49:06 +00:00
Ryan Boren
bea854ed2e Reduce size of Press This bookmarklet. see #7261
git-svn-id: https://develop.svn.wordpress.org/trunk@8308 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 16:54:32 +00:00
Ryan Boren
83e091f297 Fix image resizing inside captions, add edit alt field to the advanced tab. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8307 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 16:39:14 +00:00
Ryan Boren
261e73a0ff 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: https://develop.svn.wordpress.org/trunk@8304 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 03:49:52 +00:00
Ryan Boren
0fba0a6d4a Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8301 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 17:24:36 +00:00
Ryan Boren
22635c32c2 Prevent category looping. Props tellyworth. fixes #7267
git-svn-id: https://develop.svn.wordpress.org/trunk@8299 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 04:57:18 +00:00
Ryan Boren
6b75258ab7 Hands off pre tags. Props nbachiyski. fixes #7056
git-svn-id: https://develop.svn.wordpress.org/trunk@8298 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 04:52:27 +00:00
Ryan Boren
435710f599 Install styling from azaozz. fixes #7266
git-svn-id: https://develop.svn.wordpress.org/trunk@8297 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 04:33:31 +00:00
Ryan Boren
304340a9b0 Fix quotes in captions. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8290 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:38:53 +00:00
Ryan Boren
f0f5316a1d Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8289 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:37:56 +00:00
Ryan Boren
62ada88df8 Fix get_links_list deprecation doc. Props Otto42. fixes #6879
git-svn-id: https://develop.svn.wordpress.org/trunk@8285 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 17:38:12 +00:00
Ryan Boren
ef48901e65 Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259
git-svn-id: https://develop.svn.wordpress.org/trunk@8281 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 00:14:06 +00:00
Ryan Boren
7d39052d9e Return base dir and url from wp_upload_dir(). Props DD32. fixes #6762
git-svn-id: https://develop.svn.wordpress.org/trunk@8280 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 23:53:54 +00:00
Ryan Boren
8887dcc0a2 Notice fixes from jacobsantos. fixes #7255
git-svn-id: https://develop.svn.wordpress.org/trunk@8266 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 14:21:47 +00:00
Ryan Boren
3cbb31b495 Don't split in the middle of a UTF-8 character. Props nbachiyski. fixes #7254
git-svn-id: https://develop.svn.wordpress.org/trunk@8264 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 21:14:47 +00:00
Ryan Boren
57532d83dd Don't try to match rewrite rules against AtomPub requests. Props josephscott. fixes #7249
git-svn-id: https://develop.svn.wordpress.org/trunk@8263 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 17:33:39 +00:00
Ryan Boren
7040784e97 Bump version for gallery. Props nbachiyski. fixes #6988
git-svn-id: https://develop.svn.wordpress.org/trunk@8262 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:41:47 +00:00
Ryan Boren
ecf41b5b88 Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: https://develop.svn.wordpress.org/trunk@8261 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:40:15 +00:00
Ryan Boren
7dccf2c37c 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: https://develop.svn.wordpress.org/trunk@8260 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:38:37 +00:00
Ryan Boren
cd8d510b27 Fix wp_get_attachment_thumb_url() tumbnail back compat. Props DD32. fixes #7242
git-svn-id: https://develop.svn.wordpress.org/trunk@8257 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 16:15:29 +00:00
Ryan Boren
99fdb4ee9e Gears and styling updates for Press This from azaozz. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8256 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 16:12:31 +00:00
Ryan Boren
5162696748 Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@8254 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 06:12:24 +00:00
Ryan Boren
ac50ccc1a2 Allow underscore and dash in theme dirs when previewing. fixes #7236
git-svn-id: https://develop.svn.wordpress.org/trunk@8252 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 23:10:28 +00:00
Ryan Boren
5ffc4fbcef Use searchform.php for search widget, if available. Props ionfish. fixes #5567
git-svn-id: https://develop.svn.wordpress.org/trunk@8250 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 17:03:37 +00:00
Ryan Boren
93240aef3b Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: https://develop.svn.wordpress.org/trunk@8248 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:55:45 +00:00
Ryan Boren
64f744edc9 pre_update_option_* filter from DD32. fixes #7233
git-svn-id: https://develop.svn.wordpress.org/trunk@8247 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:51:53 +00:00
Ryan Boren
e1d642299e phpdoc for feed.php from jacobsantos. fixes #5636
git-svn-id: https://develop.svn.wordpress.org/trunk@8246 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:23:22 +00:00
Ryan Boren
7b03393372 Image caption fixes from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8245 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 05:11:00 +00:00
Ryan Boren
cc267eee8a Use true swfupload version
git-svn-id: https://develop.svn.wordpress.org/trunk@8243 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 23:16:39 +00:00
Ryan Boren
45ac770299 Image captions from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
e0f44cba0c Account for term exclusion filter when creating cache key. Props filosofo. fixes #7213
git-svn-id: https://develop.svn.wordpress.org/trunk@8225 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-01 15:54:58 +00:00
Ryan Boren
5bb069702e Use WP_CONTENT_URL in wp_upload_dir(). Props sambauers. fixes #7206
git-svn-id: https://develop.svn.wordpress.org/trunk@8216 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 03:33:05 +00:00
Ryan Boren
12c069a943 phpdoc updates from jacobsantos. see #5639
git-svn-id: https://develop.svn.wordpress.org/trunk@8215 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 03:23:44 +00:00
Mark Jaquith
93aa40cbff 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: https://develop.svn.wordpress.org/trunk@8214 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 00:04:22 +00:00
Mark Jaquith
cab4a6a625 Silently add /index.php/ to category_base and tag_base for blogs using PATHINFO permalinks. fixes #4536
git-svn-id: https://develop.svn.wordpress.org/trunk@8213 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-29 08:20:25 +00:00
Mark Jaquith
817cb02671 make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing
git-svn-id: https://develop.svn.wordpress.org/trunk@8212 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-29 07:44:32 +00:00
Ryan Boren
b980b3f310 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8209 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 22:54:21 +00:00
Ryan Boren
203257fd4d Bumpity bump bump
git-svn-id: https://develop.svn.wordpress.org/trunk@8207 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 19:47:28 +00:00
Ryan Boren
20e5ea1578 Bump script loader versions for jQuery UI 1.5.1
git-svn-id: https://develop.svn.wordpress.org/trunk@8206 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 19:44:13 +00:00
Ryan Boren
fbeba9a88a jQuery UI 1.5.1
git-svn-id: https://develop.svn.wordpress.org/trunk@8205 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 19:41:56 +00:00
Ryan Boren
d8d5181c77 TinyMCE 3.1.1 from azaozz. fixes #7191
git-svn-id: https://develop.svn.wordpress.org/trunk@8204 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 16:13:27 +00:00
Ryan Boren
80c836b58a phpdoc updates for post.php from jacobsantos. fixes #3982
git-svn-id: https://develop.svn.wordpress.org/trunk@8203 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 15:32:57 +00:00
Ryan Boren
9cf90ec524 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8202 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 22:39:57 +00:00
Ryan Boren
dd23b72d1c Fix date() warning on Windows. Props ozh. fixes #7186
git-svn-id: https://develop.svn.wordpress.org/trunk@8199 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 18:34:28 +00:00
Ryan Boren
1d3ec18c2d Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8197 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 16:40:04 +00:00
Ryan Boren
99fd205707 phpdoc for shortcodes from jacobsantos. fixes #7184
git-svn-id: https://develop.svn.wordpress.org/trunk@8196 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 15:55:33 +00:00
Ryan Boren
f920c9bcaf Test for feature instead of browser to fix TB positioning for browsers pretending to be IE6. Props azaozz. fixes #6676
git-svn-id: https://develop.svn.wordpress.org/trunk@8194 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:58:27 +00:00
Ryan Boren
f7524dfd14 SSL touchups for tiny_mce_config. fixes #6759
git-svn-id: https://develop.svn.wordpress.org/trunk@8193 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:55:16 +00:00
Ryan Boren
99e1ad77bc 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: https://develop.svn.wordpress.org/trunk@8191 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:30:28 +00:00
Ryan Boren
3f0d3c8055 SSL fixes. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8190 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 22:19:27 +00:00
Ryan Boren
29dcc51d1f Insert image fixes from azaozz. fixes #7177
git-svn-id: https://develop.svn.wordpress.org/trunk@8189 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 21:59:06 +00:00
Mark Jaquith
91eeb5ff47 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: https://develop.svn.wordpress.org/trunk@8188 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 19:58:54 +00:00
Ryan Boren
ed29b5321f Typo fixes from mark8barnes and AndrewFrazier. fixes #7174
git-svn-id: https://develop.svn.wordpress.org/trunk@8187 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 18:52:52 +00:00
Ryan Boren
1e8fc2ce19 Disambiguate column. Props voxpelli. fixes #7073
git-svn-id: https://develop.svn.wordpress.org/trunk@8185 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:49:24 +00:00
Ryan Boren
2a3fcecdc1 Grammar fix from Viper007Bond. fixes #7172
git-svn-id: https://develop.svn.wordpress.org/trunk@8184 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:45:33 +00:00
Ryan Boren
edcde97e0f Add exclude_category argument to wp_list_bookmarks(). Props ionfish. fixes #6808
git-svn-id: https://develop.svn.wordpress.org/trunk@8183 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:44:30 +00:00
Ryan Boren
ce2dafe0e5 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: https://develop.svn.wordpress.org/trunk@8182 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:36:21 +00:00
Ryan Boren
86bfd4952f Remove default feed function when adding new function to hook. fixes #6970
git-svn-id: https://develop.svn.wordpress.org/trunk@8179 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 00:29:04 +00:00
Ryan Boren
672ca87116 Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457
git-svn-id: https://develop.svn.wordpress.org/trunk@8177 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 23:25:15 +00:00
Ryan Boren
64b5e801d0 Don't get post ancestors if post not found. Props Sam_a. fixes #6953
git-svn-id: https://develop.svn.wordpress.org/trunk@8173 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 21:50:19 +00:00
Ryan Boren
120044cec3 widget_links_args filter from ionfish. fixes #7024
git-svn-id: https://develop.svn.wordpress.org/trunk@8171 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 17:21:14 +00:00
Ryan Boren
5757d74348 Autosave when Preview is clicked. Props azaozz and DanCoulter. fixes #6682
git-svn-id: https://develop.svn.wordpress.org/trunk@8170 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 16:05:10 +00:00
Ryan Boren
69ce37d463 Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: https://develop.svn.wordpress.org/trunk@8168 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:40:43 +00:00
Ryan Boren
94bd9ef781 Edit image updates from azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8167 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:26:03 +00:00
Ryan Boren
026ecf9198 Beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@8165 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-22 20:45:07 +00:00
Ryan Boren
ef20031e40 phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@8164 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-22 20:23:23 +00:00
Peter Westwood
97d67b7f80 Minor phpdoc fixups.
git-svn-id: https://develop.svn.wordpress.org/trunk@8149 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 20:56:40 +00:00
Peter Westwood
9fc155d599 Bump the db_version so people get the new options for #7157.
git-svn-id: https://develop.svn.wordpress.org/trunk@8138 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 16:15:21 +00:00
Peter Westwood
6869890baf Make the SAVEQUERIES define more flexible. Fixes #6764 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@8134 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 15:17:09 +00:00
Peter Westwood
c273f5e8d4 Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@8132 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 13:54:23 +00:00
Peter Westwood
27f6aaeb80 Add new has_tag() template tag. Fixes #6590 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@8131 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 13:52:18 +00:00
Ryan Boren
ddc798ad6f TinyMCE 3.1.0.1 from azaozz. fixes #7153 #7148 #7128
git-svn-id: https://develop.svn.wordpress.org/trunk@8127 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-19 16:55:50 +00:00
Peter Westwood
5abf4bfe1b Move another sizeof out of the loop. See #7147.
git-svn-id: https://develop.svn.wordpress.org/trunk@8118 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-18 06:48:48 +00:00
Peter Westwood
a1c42c6c0b Ensure we initialise the position variable. See #5599 props codestyling.
git-svn-id: https://develop.svn.wordpress.org/trunk@8117 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-18 06:38:30 +00:00
Ryan Boren
f46c926a06 Don't do sizeof() in a loop. Props DD32. see #7147
git-svn-id: https://develop.svn.wordpress.org/trunk@8111 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-17 03:07:42 +00:00
Ryan Boren
55a2ea611f previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8108 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 22:27:07 +00:00
Ryan Boren
408e467fd1 category_name is not a valid arg. Use name__like. Props drdavid. fixes #6722 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8104 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 22:19:34 +00:00
Ryan Boren
b56481f330 Don't trim strings in maybe_serialize(). Props hakre. fixes #7132 #7133 #4781 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8100 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 20:41:02 +00:00
Ryan Boren
f6ee577705 Handle cc and bcc. Props MattyRob. fixes #6899
git-svn-id: https://develop.svn.wordpress.org/trunk@8098 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 20:02:10 +00:00
Ryan Boren
8ef3dea136 Don't decode slug in get_page_uri(). Props nbachiyski. fixes #6723
git-svn-id: https://develop.svn.wordpress.org/trunk@8096 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 18:40:47 +00:00
Peter Westwood
578941e41a Fix the phpdoc comments so we don't lose a function :-(. Fixes #7144 props johnhennmacc.
git-svn-id: https://develop.svn.wordpress.org/trunk@8094 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 19:11:15 +00:00
Peter Westwood
69c9cd5ccc PHPDoc updates for functions.php. See #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8092 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 09:38:32 +00:00
Peter Westwood
5c2ffbf45f PHPDoc updates for comment.php. See #5578 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8091 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 09:34:00 +00:00
Peter Westwood
8949d59d94 PHPDoc updates for category.php. Fixes #5633 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8090 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 09:32:19 +00:00
Ryan Boren
e719ad71ee Add RTL stylesheet for edit image. Props azaozz. see #681!
git-svn-id: https://develop.svn.wordpress.org/trunk@8088 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 21:01:32 +00:00
Peter Westwood
0cd764aac4 Make sure force_ssl_login and force_ssl_admin work as designed. Fixes #7140 props wet.
git-svn-id: https://develop.svn.wordpress.org/trunk@8087 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 20:58:43 +00:00
Peter Westwood
244c4a66c6 ** > *.
git-svn-id: https://develop.svn.wordpress.org/trunk@8085 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:57:20 +00:00
Peter Westwood
f67c0eb921 phpdoc updates for IXR. See #7038 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8084 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:50:55 +00:00
Ryan Boren
761c8cef28 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: https://develop.svn.wordpress.org/trunk@8083 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:38:08 +00:00
Peter Westwood
b4a108815f Updated phpdoc for external libs. See #7038 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8082 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:36:13 +00:00
Peter Westwood
96511b2ca2 PHPdoc updates for wp-includes/post.php. See #7038 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8081 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:31:08 +00:00
Ryan Boren
6866ceae15 Encode < and > in wp_richedit_pre. Props azaozz. fixes #6449
git-svn-id: https://develop.svn.wordpress.org/trunk@8073 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-12 21:38:34 +00:00
Ryan Boren
bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren
4c1b6184ba Unify TinyMCE image popup and insert image popup. Props azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8066 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 04:40:21 +00:00
Ryan Boren
250e5f0717 Back compat fixes for load_plugin_textdomain() from nbachiyski. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8065 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-09 19:39:04 +00:00
Ryan Boren
92ae28e17d jQuery UI 1.5
git-svn-id: https://develop.svn.wordpress.org/trunk@8064 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-09 19:37:55 +00:00
Ryan Boren
8c3e7d7283 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: https://develop.svn.wordpress.org/trunk@8060 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 19:21:35 +00:00
Ryan Boren
5d786d179c 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: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:39:11 +00:00
Ryan Boren
4e998bcdf2 Revert [8056], didn't quite work
git-svn-id: https://develop.svn.wordpress.org/trunk@8057 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:34:30 +00:00
Ryan Boren
94fab7dd73 Update to swfupload 2.1.0
git-svn-id: https://develop.svn.wordpress.org/trunk@8056 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:29:15 +00:00
Ryan Boren
daef9ff12d Strip shortcodes when making excerpts. Props hailin. fixes #7100
git-svn-id: https://develop.svn.wordpress.org/trunk@8054 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-05 20:11:38 +00:00
Ryan Boren
dfe33306a1 close the socket in discover_pingback_server_uri
git-svn-id: https://develop.svn.wordpress.org/trunk@8052 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 23:36:55 +00:00
Ryan Boren
f88b6a9f92 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@8050 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 20:21:02 +00:00
Ryan Boren
29cf061640 TinyMCE 3.0.9 from azaozz. fixes #7088
git-svn-id: https://develop.svn.wordpress.org/trunk@8047 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 15:31:14 +00:00
Ryan Boren
9e870ca780 Revert jQuery hack. see #7082
git-svn-id: https://develop.svn.wordpress.org/trunk@8046 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 05:31:56 +00:00
Ryan Boren
ab8655babc Replace ref to dimensions with jquery core
git-svn-id: https://develop.svn.wordpress.org/trunk@8045 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 05:19:23 +00:00
Ryan Boren
0a52e8a66e Add missing semi. see #7082
git-svn-id: https://develop.svn.wordpress.org/trunk@8044 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 01:52:27 +00:00
Ryan Boren
1453182c34 Hacked up version of jQuery to workaround Safari 2.0.4 bug. see #7082
git-svn-id: https://develop.svn.wordpress.org/trunk@8043 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 01:47:11 +00:00
Ryan Boren
95ccaf3f21 Dimensions is now part of jquery core
git-svn-id: https://develop.svn.wordpress.org/trunk@8042 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 01:24:04 +00:00
Ryan Boren
9ce7676e72 Make load_plugin_textdomain() work with WP_CONTENT_DIR. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8041 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 17:19:47 +00:00
Ryan Boren
a099e4c12f Use WP_CONTENT_DIR and URL when linking to theme screenshots. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8040 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 17:17:45 +00:00
Ryan Boren
5ae5914e23 Bump jQuery to latest svn.
git-svn-id: https://develop.svn.wordpress.org/trunk@8039 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 16:44:51 +00:00
Ryan Boren
0c34dcfb37 Enable autosave for fullscreen mode. Props azaozz. fixes #7069
git-svn-id: https://develop.svn.wordpress.org/trunk@8037 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 08:15:39 +00:00
Ryan Boren
8c766f4960 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: https://develop.svn.wordpress.org/trunk@8032 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-02 21:01:42 +00:00
Ryan Boren
4d7ef70c39 New filter and phpdoc for get_image_tag(). Props jacobsantos. fixes #7065 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8029 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-31 19:12:55 +00:00
Ryan Boren
e1faf662e8 get_post_ancestors() fixes. fixes #7029 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8019 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-30 20:31:45 +00:00
Ryan Boren
66c719f214 Validation fixes for post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8012 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 23:16:11 +00:00
Ryan Boren
163aa65807 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren
e68bc53d0d Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8004 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-28 15:37:59 +00:00
Ryan Boren
85c6d10658 Fix slashing in tag feed link. fixes #7044 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8000 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:56:46 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren
b3a5f219ee gettext fix from thenlich. fixes #6993 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7996 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 11:42:32 +00:00
Ryan Boren
1d2d2c3835 Fix serialization when adding meta via update_post_meta(). Props azaozz. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7995 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 11:33:11 +00:00
Ryan Boren
3aa6501d8e inline docs for wp_admin_css(). Props mdawaffe. see #7033
git-svn-id: https://develop.svn.wordpress.org/trunk@7994 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 21:23:22 +00:00
Ryan Boren
be87986f7a phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@7990 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:45:05 +00:00
Ryan Boren
44084888b7 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: https://develop.svn.wordpress.org/trunk@7989 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-24 17:06:26 +00:00
Ryan Boren
8925593aea Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
git-svn-id: https://develop.svn.wordpress.org/trunk@7988 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-24 17:03:51 +00:00
Ryan Boren
a8a396d656 Allow defining the number of revisions to save. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7987 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-23 15:27:56 +00:00
Ryan Boren
66bb3c870e wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: https://develop.svn.wordpress.org/trunk@7986 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 17:28:54 +00:00
Ryan Boren
66b9c9ea6d Remove unnecessary checks for the existence of post meta data. Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7985 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 16:33:06 +00:00
Ryan Boren
16f62693a7 Version bump, still bleeding.
git-svn-id: https://develop.svn.wordpress.org/trunk@7982 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 15:45:50 +00:00
Ryan Boren
ab6c52cdf7 Use style loader for gears manifest. Props azaozz. fixes #7015
git-svn-id: https://develop.svn.wordpress.org/trunk@7981 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 15:27:28 +00:00
Ryan Boren
0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Ryan Boren
36f755bf12 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7978 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:01:00 +00:00
Ryan Boren
ce3388a5ea Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7976 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 23:24:23 +00:00
Ryan Boren
50c79cf2a7 wp-ajax.js is no longer used
git-svn-id: https://develop.svn.wordpress.org/trunk@7975 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 20:27:36 +00:00
Ryan Boren
9e20f1b7db jQuery update
git-svn-id: https://develop.svn.wordpress.org/trunk@7973 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 18:19:44 +00:00
Ryan Boren
e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Ryan Boren
6fad8c567f Style loader from mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7970 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:56:04 +00:00
Ryan Boren
2a31d10af7 Allow lang and xml:lang for span. Props MtDewVirus. fixes #7003
git-svn-id: https://develop.svn.wordpress.org/trunk@7969 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 23:56:28 +00:00
Ryan Boren
668380be55 Add space. Props MtDewVirus. fixes #6972
git-svn-id: https://develop.svn.wordpress.org/trunk@7968 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 23:50:29 +00:00
Ryan Boren
58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren
9d294b6342 get_archives_link filter. Props codealsatian. fixes #5530 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7959 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 16:43:44 +00:00
Ryan Boren
6c16408dce Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7956 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 21:35:18 +00:00
Ryan Boren
1dbd76720f Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7955 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:51:28 +00:00
Ryan Boren
a150c4d549 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7952 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:47:33 +00:00
Ryan Boren
524b45d6ba Init array. Props DD32. fixes #6981
git-svn-id: https://develop.svn.wordpress.org/trunk@7944 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 16:33:11 +00:00
Matt Mullenweg
ea8035697d get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7941 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 03:57:09 +00:00
Matt Mullenweg
fc437f1276 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7940 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 02:35:24 +00:00
Matt Mullenweg
06f7fea95e Use TT ids instead of term ids. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7939 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 01:43:35 +00:00
Ryan Boren
9702d81692 Support for Google Gears managed offline storage. Props azaozz. see #6965
git-svn-id: https://develop.svn.wordpress.org/trunk@7938 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-15 22:57:14 +00:00
Ryan Boren
7706846865 Clear out bad activation keys from 2.5.1. fixes #6842 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7936 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-15 20:07:54 +00:00
Ryan Boren
441bc35e80 jQuery UI core and tabs 1.5b4
git-svn-id: https://develop.svn.wordpress.org/trunk@7935 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-15 03:45:42 +00:00
Ryan Boren
b14c207c1d Brand as Press This. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7931 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-14 16:59:07 +00:00
Ryan Boren
85ab1548dc Word count detection fix from ramenboy. fixes #6967
git-svn-id: https://develop.svn.wordpress.org/trunk@7929 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-14 04:07:42 +00:00
Ryan Boren
e4bccb85d2 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7927 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 22:12:52 +00:00
Ryan Boren
ad0f22e9d4 default is a valid page template. see #6098
git-svn-id: https://develop.svn.wordpress.org/trunk@7925 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 21:03:10 +00:00
Ryan Boren
5b27fcb794 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7924 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 16:02:12 +00:00
Ryan Boren
9faab00411 Add some page template validation
git-svn-id: https://develop.svn.wordpress.org/trunk@7921 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:51:54 +00:00
Ryan Boren
eb744058fb Quick post bookmarklet. First cut. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7919 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 19:08:39 +00:00
Ryan Boren
bb09f56b88 Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7917 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 16:14:15 +00:00
Mark Jaquith
abbb8b8da3 Do not use the "home"-supplied host for canonical redirects if no host is there specified. props thenlich. fixes #6890
git-svn-id: https://develop.svn.wordpress.org/trunk@7916 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 18:23:05 +00:00
Ryan Boren
192442345d strtolower widget id. Props filosofo. fixes #6949
git-svn-id: https://develop.svn.wordpress.org/trunk@7915 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 16:29:17 +00:00
Ryan Boren
1c4f5de9a1 Revisioning for pages from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7913 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 15:59:17 +00:00
Mark Jaquith
9ae97a6602 Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: https://develop.svn.wordpress.org/trunk@7912 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 00:45:17 +00:00
Ryan Boren
020a8cacad Use array calling style. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7911 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 19:19:58 +00:00
Ryan Boren
3fa0a54c74 number_format_i18n() for comments_number()
git-svn-id: https://develop.svn.wordpress.org/trunk@7910 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:54:40 +00:00
Ryan Boren
a1be16cf86 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:25:07 +00:00
Ryan Boren
ae3e557def 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: https://develop.svn.wordpress.org/trunk@7906 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 05:17:27 +00:00
Ryan Boren
b288e5a8af Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7905 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-07 19:57:15 +00:00
Ryan Boren
007689ab77 [7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@7904 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-07 19:12:44 +00:00
Ryan Boren
a2e8b5bfd7 Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
git-svn-id: https://develop.svn.wordpress.org/trunk@7903 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-07 19:10:36 +00:00
Ryan Boren
493329d0ac Add arg as array. Props MtDewVirus. fixes #6924
git-svn-id: https://develop.svn.wordpress.org/trunk@7902 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-06 17:28:24 +00:00
Ryan Boren
2af2724cef 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: https://develop.svn.wordpress.org/trunk@7900 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 23:19:27 +00:00
Ryan Boren
0a7374085b Use array calling style. Props DD32. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7894 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 16:03:27 +00:00
Ryan Boren
468ac2a54e get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7892 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 15:46:32 +00:00
Ryan Boren
1288013605 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: https://develop.svn.wordpress.org/trunk@7886 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 18:05:20 +00:00
Peter Westwood
e668d3e404 Always set the locale to something. Fixes #6872 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7885 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 17:28:42 +00:00
Peter Westwood
232bc0c1e2 Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7884 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:44:44 +00:00
Peter Westwood
f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren
38bcb99561 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7881 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 02:05:18 +00:00
Ryan Boren
2341bcc764 Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7880 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-03 20:08:32 +00:00
Ryan Boren
9e1c1c303a Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: https://develop.svn.wordpress.org/trunk@7879 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-03 00:56:16 +00:00
Ryan Boren
d44e29da33 Use 'counts' cache group. see #6884
git-svn-id: https://develop.svn.wordpress.org/trunk@7878 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 19:42:44 +00:00
Ryan Boren
81c20ec884 Fix post name check prepare. Props westi. see #6894
git-svn-id: https://develop.svn.wordpress.org/trunk@7876 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 17:28:19 +00:00
Ryan Boren
ab3b479868 Use array calling style. Props guillep2k for the find. fixes #6637 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7872 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 16:59:49 +00:00
Ryan Boren
cc6a396a84 Don't redirect robots. Props thenlich and DD32. fixes #6891
git-svn-id: https://develop.svn.wordpress.org/trunk@7871 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-01 21:38:40 +00:00
Ryan Boren
920d0717dd Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: https://develop.svn.wordpress.org/trunk@7868 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-01 16:52:48 +00:00
Ryan Boren
3cc58bc479 Bump script vers. see #6843
git-svn-id: https://develop.svn.wordpress.org/trunk@7864 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 23:33:57 +00:00
Ryan Boren
2335a57b06 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: https://develop.svn.wordpress.org/trunk@7862 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:21:09 +00:00
Ryan Boren
67d3c5a09d Word count from azaozz. see #4807
git-svn-id: https://develop.svn.wordpress.org/trunk@7854 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-29 19:17:23 +00:00
Ryan Boren
4b8125f180 widget_title filters from jhodgdon. fixes #6684
git-svn-id: https://develop.svn.wordpress.org/trunk@7850 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-29 16:08:19 +00:00
Ryan Boren
b2a796245a Multi-widget pattern documentation typo fixes from Jaymin Patel. fixes #6866
git-svn-id: https://develop.svn.wordpress.org/trunk@7849 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 20:08:23 +00:00
Peter Westwood
ee56df7d83 Bump the db version so [7841] has an affect.
git-svn-id: https://develop.svn.wordpress.org/trunk@7842 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 06:19:33 +00:00
Peter Westwood
97df84ee03 Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7841 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 06:17:01 +00:00
Ryan Boren
a9086170fb Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7838 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:58:38 +00:00
Ryan Boren
dcfa61678b Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7836 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:12:25 +00:00
Ryan Boren
0a9b5ade89 Add some sanity checks
git-svn-id: https://develop.svn.wordpress.org/trunk@7821 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:20:18 +00:00
Mark Jaquith
b7699db39e Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7817 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 04:41:41 +00:00
Mark Jaquith
1c68bb873d Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7815 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:45:31 +00:00
Mark Jaquith
24a68a43b4 Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: https://develop.svn.wordpress.org/trunk@7814 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:43:44 +00:00
Ryan Boren
eae779df32 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: https://develop.svn.wordpress.org/trunk@7813 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:32:29 +00:00
Ryan Boren
5a70341e37 Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7804 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:25:33 +00:00
Ryan Boren
f6f110f7de strlen - 1. Props mdawaffe. see #6146
git-svn-id: https://develop.svn.wordpress.org/trunk@7802 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:13:35 +00:00
Ryan Boren
8bc2920aae hash_hmac is always available. Drop function_exists check
git-svn-id: https://develop.svn.wordpress.org/trunk@7797 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:30:49 +00:00
Ryan Boren
07b72e6dd9 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7796 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:19:09 +00:00
Ryan Boren
f1d4f49057 Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@7792 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:00:31 +00:00
Ryan Boren
563f49278e Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7790 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 02:22:55 +00:00
Ryan Boren
d1d6825fa2 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7788 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:55:58 +00:00
Ryan Boren
8c81b54425 wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7777 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 22:45:53 +00:00
Ryan Boren
76db359fb2 Silence ini_get warnings. fixes #6787 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7774 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:24:34 +00:00
Ryan Boren
d9b6584881 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7772 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:16:42 +00:00
Ryan Boren
5837ef3998 Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7769 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:54:51 +00:00
Ryan Boren
9e8d5079c6 Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7761 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:30:54 +00:00
Matt Mullenweg
e0ebaaceed For some reason taxonomy pages also return is_home, so we need to put this check first.
git-svn-id: https://develop.svn.wordpress.org/trunk@7754 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 06:28:50 +00:00
Ryan Boren
06200c33f4 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@7752 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 21:26:10 +00:00
Ryan Boren
c54046696b Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7749 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:45:13 +00:00
Ryan Boren
c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Ryan Boren
bfcd9e8fc4 Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7746 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 22:29:43 +00:00
Ryan Boren
f74903d3c2 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7745 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 22:23:02 +00:00
Ryan Boren
a40491ce38 Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: https://develop.svn.wordpress.org/trunk@7743 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:23:50 +00:00
Ryan Boren
0ef4c243d9 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@7742 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:06:46 +00:00
Ryan Boren
cc3f89ad7c Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@7741 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 19:00:07 +00:00
Ryan Boren
84a2c7f980 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7738 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:42:13 +00:00
Ryan Boren
844fb9d2a4 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: https://develop.svn.wordpress.org/trunk@7736 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 02:19:45 +00:00
Ryan Boren
1a62535f32 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: https://develop.svn.wordpress.org/trunk@7729 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 21:21:13 +00:00
Ryan Boren
f0c73873c4 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7728 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:42:47 +00:00
Ryan Boren
3199d65079 Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7724 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:32:13 +00:00
Ryan Boren
2d413e83cd Revert [7689], gonna try another approach. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7720 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:32:38 +00:00
Ryan Boren
c3348047a8 Cache comment count and use count API in menu.php
git-svn-id: https://develop.svn.wordpress.org/trunk@7714 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:45:39 +00:00
Ryan Boren
b5a1a0e113 array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7713 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:09:51 +00:00
Ryan Boren
54c4cd2e76 Bump script loader ver. see #6753
git-svn-id: https://develop.svn.wordpress.org/trunk@7710 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:58:15 +00:00
Ryan Boren
4dce6df7a7 Preserve author during autosave. fixes #6753 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7708 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:56:37 +00:00
Ryan Boren
c3502e11bf image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7703 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:59:23 +00:00
Ryan Boren
357304b1ce Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: https://develop.svn.wordpress.org/trunk@7701 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:56:03 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Ryan Boren
1ed52ed5d7 Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7698 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:58:03 +00:00
Ryan Boren
de590e4055 Fix usermeta escaping. fixes #6750
git-svn-id: https://develop.svn.wordpress.org/trunk@7696 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 18:23:48 +00:00
Ryan Boren
860c60d05b Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7694 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 17:23:17 +00:00
Ryan Boren
73cdb808d1 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7692 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:49:19 +00:00
Ryan Boren
cd0641c856 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: https://develop.svn.wordpress.org/trunk@7690 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:05:08 +00:00
Ryan Boren
97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren
c3dda2241e Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7687 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:03:24 +00:00
Ryan Boren
b3dbfd3b48 Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7685 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 01:39:33 +00:00
Ryan Boren
a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren
307c2ac093 tiny_mce_gzip.php no longer needed
git-svn-id: https://develop.svn.wordpress.org/trunk@7681 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:30:16 +00:00
Ryan Boren
98b3f7d11f TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7679 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:19:04 +00:00
Ryan Boren
2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren
14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Ryan Boren
06fc36b142 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7667 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:56:58 +00:00
Ryan Boren
1795ef877c Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7665 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:18:53 +00:00
Ryan Boren
91aa0954a4 Add missing comma. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7657 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:45:12 +00:00
Ryan Boren
7e5969a1f9 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7647 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:23:29 +00:00
Ryan Boren
fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren
763a6d5537 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7642 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 15:53:09 +00:00
Ryan Boren
a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00
Ryan Boren
357e5567c7 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7635 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 19:02:13 +00:00
Ryan Boren
5b1eff3aaf Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:33:42 +00:00
Ryan Boren
f9290af15d Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7631 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:22:20 +00:00
Ryan Boren
2bb5262cdd Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7626 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:04 +00:00
Ryan Boren
11f65056f9 Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7622 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:05:45 +00:00
Ryan Boren
a36e390a73 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7620 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:40:32 +00:00
Ryan Boren
33520df2b6 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7615 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 18:30:51 +00:00
Ryan Boren
9b41523d8f Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: https://develop.svn.wordpress.org/trunk@7605 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:23:05 +00:00
Matt Mullenweg
e43a4674a6 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7602 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 21:29:36 +00:00
Matt Mullenweg
e1ae860b7d 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: https://develop.svn.wordpress.org/trunk@7601 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-05 05:54:08 +00:00
Peter Westwood
ae0f2b688f Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7597 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 20:14:37 +00:00
Mark Jaquith
ba4dab3cd6 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:05:49 +00:00
Peter Westwood
414be415cd Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7588 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:18:11 +00:00
Mark Jaquith
15490b8df5 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: https://develop.svn.wordpress.org/trunk@7586 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 13:15:21 +00:00
Peter Westwood
4196a8a505 Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7584 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-01 21:12:35 +00:00
Mark Jaquith
1f101350ba Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7581 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-31 07:56:58 +00:00
Peter Westwood
4589dad387 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7579 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 17:56:27 +00:00
Mark Jaquith
288211a88b Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7575 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:41:43 +00:00
Peter Westwood
f12bcad806 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: https://develop.svn.wordpress.org/trunk@7574 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 13:42:03 +00:00
Mark Jaquith
dcc47cfaaa Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7572 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:11:30 +00:00
Peter Westwood
eca11d871d Trunk is for 2.6 development now.
git-svn-id: https://develop.svn.wordpress.org/trunk@7569 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 16:47:16 +00:00
Matt Mullenweg
f7e67d31f8 Live from WordCamp Dallas. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@7566 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 14:39:28 +00:00
Matt Mullenweg
e0c55d6d00 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: https://develop.svn.wordpress.org/trunk@7563 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 04:03:09 +00:00
Peter Westwood
cc2dd59c98 Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: https://develop.svn.wordpress.org/trunk@7562 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 19:05:22 +00:00
Matt Mullenweg
c85f10781c Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: https://develop.svn.wordpress.org/trunk@7561 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 15:23:09 +00:00
Ryan Boren
cbeae2c1f4 RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@7560 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 07:02:55 +00:00
Ryan Boren
36b19bb6ad Disable mod_security for uploader. Props andy. see #6406
git-svn-id: https://develop.svn.wordpress.org/trunk@7558 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 06:08:20 +00:00
Ryan Boren
657b4a3725 TinyMCE RTL and paste as plain text fixes from azaozz. fixes #6429
git-svn-id: https://develop.svn.wordpress.org/trunk@7556 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 03:49:35 +00:00
Ryan Boren
243ff8e889 Rehash old md5 hashes inside of wp_check_password() to make hashing more pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@7555 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 22:44:47 +00:00
Ryan Boren
6bda12dfad Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7554 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 22:05:51 +00:00
Ryan Boren
39ee18d8f3 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: https://develop.svn.wordpress.org/trunk@7551 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 20:10:29 +00:00
Ryan Boren
93e1a716a6 Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: https://develop.svn.wordpress.org/trunk@7548 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 08:09:06 +00:00
Ryan Boren
8bb8033d6c Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@7545 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 06:30:20 +00:00
Mark Jaquith
f7c21d131d Use attachment title instead of filename, unless it is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@7533 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:00:21 +00:00
Mark Jaquith
bfc779927b Autosave fixes for attachments from andy. fixes #6389
git-svn-id: https://develop.svn.wordpress.org/trunk@7532 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:28:40 +00:00
Ryan Boren
9ce77cf8d8 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: https://develop.svn.wordpress.org/trunk@7531 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:17:31 +00:00
Mark Jaquith
5e779414fd 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: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Ryan Boren
da531d6aa9 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7526 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 18:26:22 +00:00
Ryan Boren
12a0a8fbbf RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@7521 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:50:42 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren
78c85d5222 Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: https://develop.svn.wordpress.org/trunk@7516 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:34:55 +00:00
Ryan Boren
35c126a10a 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: https://develop.svn.wordpress.org/trunk@7513 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:22:53 +00:00
Ryan Boren
0daeb9bf4e Cleanup cat query var
git-svn-id: https://develop.svn.wordpress.org/trunk@7511 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 17:47:02 +00:00
Ryan Boren
500e630afc 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: https://develop.svn.wordpress.org/trunk@7508 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 00:22:37 +00:00
Ryan Boren
98b27528d7 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7507 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 22:43:20 +00:00
Ryan Boren
d32e5b2e7c in_category(): Return immediately if category is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@7505 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:39:05 +00:00