Commit Graph

3628 Commits

Author SHA1 Message Date
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
Ryan Boren
6ab2307892 Fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@7503 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:30:33 +00:00
Ryan Boren
a2920b21b6 FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370
git-svn-id: https://develop.svn.wordpress.org/trunk@7502 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 16:18:30 +00:00
Peter Westwood
deee165c74 Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@7499 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 12:15:55 +00:00
Matt Mullenweg
440a4d8076 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: https://develop.svn.wordpress.org/trunk@7497 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 05:15:28 +00:00
Ryan Boren
cf9618758d Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:57:19 +00:00
Peter Westwood
63bff04221 Setup the class variable for when it's not used. Props dickie.
git-svn-id: https://develop.svn.wordpress.org/trunk@7493 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 22:10:00 +00:00
Matt Mullenweg
58714b0c30 Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.
git-svn-id: https://develop.svn.wordpress.org/trunk@7492 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 18:19:03 +00:00
Ryan Boren
cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Ryan Boren
b675793f6d Maintain toolbar state. Props azaozz. fixes #6360
git-svn-id: https://develop.svn.wordpress.org/trunk@7489 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 16:37:06 +00:00