Commit Graph

3469 Commits

Author SHA1 Message Date
ryan
c85f779dbb gettext fix from thenlich. fixes #6993 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 11:42:32 +00:00
ryan
7996d826e3 Fix serialization when adding meta via update_post_meta(). Props azaozz. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 11:33:11 +00:00
ryan
0aeb94233d inline docs for wp_admin_css(). Props mdawaffe. see #7033
git-svn-id: http://svn.automattic.com/wordpress/trunk@7994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 21:23:22 +00:00
ryan
62784a594f phpdoc updates from jacobsantos. see #7038
git-svn-id: http://svn.automattic.com/wordpress/trunk@7990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:45:05 +00:00
ryan
fba6b2415c Fixes timing issue in IE6 in the TB mod scripts. Reorders css files to load before js in the admin head. Props azaozz. fixes #7032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-24 17:06:26 +00:00
ryan
b70d3b2028 Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
git-svn-id: http://svn.automattic.com/wordpress/trunk@7988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-24 17:03:51 +00:00
ryan
81a8e065c6 Allow defining the number of revisions to save. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-23 15:27:56 +00:00
ryan
58e47dcb4a wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: http://svn.automattic.com/wordpress/trunk@7986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 17:28:54 +00:00
ryan
53ecaddb5f Remove unnecessary checks for the existence of post meta data. Props filosofo. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 16:33:06 +00:00
ryan
087c490eab Version bump, still bleeding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:45:50 +00:00
ryan
526476fbcf Use style loader for gears manifest. Props azaozz. fixes #7015
git-svn-id: http://svn.automattic.com/wordpress/trunk@7981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:27:28 +00:00
ryan
68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan
3846bff484 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:01:00 +00:00
ryan
9178934544 Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 23:24:23 +00:00
ryan
1519e51f89 wp-ajax.js is no longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 20:27:36 +00:00
ryan
5f8d0313a8 jQuery update
git-svn-id: http://svn.automattic.com/wordpress/trunk@7973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 18:19:44 +00:00
ryan
5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan
e9aa24cffb Style loader from mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:56:04 +00:00
ryan
d0e696c185 Allow lang and xml:lang for span. Props MtDewVirus. fixes #7003
git-svn-id: http://svn.automattic.com/wordpress/trunk@7969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 23:56:28 +00:00
ryan
ae3cca9951 Add space. Props MtDewVirus. fixes #6972
git-svn-id: http://svn.automattic.com/wordpress/trunk@7968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 23:50:29 +00:00
ryan
bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan
e9ea1ab0ef get_archives_link filter. Props codealsatian. fixes #5530 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 16:43:44 +00:00
ryan
01acf41355 Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 21:35:18 +00:00
ryan
3ce00adc38 Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:51:28 +00:00
ryan
96c73cc917 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:47:33 +00:00
ryan
85df87de5a Init array. Props DD32. fixes #6981
git-svn-id: http://svn.automattic.com/wordpress/trunk@7944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 16:33:11 +00:00
matt
2d8fa9ee21 get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 03:57:09 +00:00
matt
7b0c0703f5 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 02:35:24 +00:00
matt
691eccf400 Use TT ids instead of term ids. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 01:43:35 +00:00
ryan
e9c054e143 Support for Google Gears managed offline storage. Props azaozz. see #6965
git-svn-id: http://svn.automattic.com/wordpress/trunk@7938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 22:57:14 +00:00
ryan
4bf3397cb9 Clear out bad activation keys from 2.5.1. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 20:07:54 +00:00
ryan
0553790ede jQuery UI core and tabs 1.5b4
git-svn-id: http://svn.automattic.com/wordpress/trunk@7935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 03:45:42 +00:00
ryan
aa927d3859 Brand as Press This. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 16:59:07 +00:00
ryan
b76608029b Word count detection fix from ramenboy. fixes #6967
git-svn-id: http://svn.automattic.com/wordpress/trunk@7929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 04:07:42 +00:00
ryan
967ee06a32 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 22:12:52 +00:00
ryan
7b1e56dc06 default is a valid page template. see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 21:03:10 +00:00
ryan
9b7daff0b4 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 16:02:12 +00:00
ryan
dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
ryan
9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +00:00
ryan
359601b720 Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 16:14:15 +00:00
markjaquith
61881c0e82 Do not use the "home"-supplied host for canonical redirects if no host is there specified. props thenlich. fixes #6890
git-svn-id: http://svn.automattic.com/wordpress/trunk@7916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 18:23:05 +00:00
ryan
6d3c98a56f strtolower widget id. Props filosofo. fixes #6949
git-svn-id: http://svn.automattic.com/wordpress/trunk@7915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 16:29:17 +00:00
ryan
3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
markjaquith
25b49b2ceb Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: http://svn.automattic.com/wordpress/trunk@7912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 00:45:17 +00:00
ryan
938f29414f Use array calling style. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 19:19:58 +00:00
ryan
2abe38c548 number_format_i18n() for comments_number()
git-svn-id: http://svn.automattic.com/wordpress/trunk@7910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:54:40 +00:00
ryan
129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan
7a0f94ffa3 Query cleanups. Use absint, concat where instead of overwrite, make post_parent independent, sanitize post__in and post__not_in. Props mdawaffe. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 05:17:27 +00:00
ryan
c25a6fe381 Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:57:15 +00:00
ryan
d8ee8494be [7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:12:44 +00:00
ryan
87db175abe Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
git-svn-id: http://svn.automattic.com/wordpress/trunk@7903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:10:36 +00:00
ryan
5a9d1d9c8d Add arg as array. Props MtDewVirus. fixes #6924
git-svn-id: http://svn.automattic.com/wordpress/trunk@7902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-06 17:28:24 +00:00
ryan
15a9bac5ad wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 23:19:27 +00:00
ryan
a3bc5f60da Use array calling style. Props DD32. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
ryan
3d5a874774 get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:46:32 +00:00
ryan
76dfbdfb11 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 18:05:20 +00:00
westi
9962fa1f0b Always set the locale to something. Fixes #6872 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 17:28:42 +00:00
westi
38ebc1a0ee Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:44:44 +00:00
westi
3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan
7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan
d9fd98601e Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 20:08:32 +00:00
ryan
fbcbedc4f0 Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 00:56:16 +00:00
ryan
63d12e0b39 Use 'counts' cache group. see #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 19:42:44 +00:00
ryan
c75f6c7695 Fix post name check prepare. Props westi. see #6894
git-svn-id: http://svn.automattic.com/wordpress/trunk@7876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:28:19 +00:00
ryan
90f52c0fc3 Use array calling style. Props guillep2k for the find. fixes #6637 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 16:59:49 +00:00
ryan
2fd45c2192 Don't redirect robots. Props thenlich and DD32. fixes #6891
git-svn-id: http://svn.automattic.com/wordpress/trunk@7871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 21:38:40 +00:00
ryan
8c59e943d4 Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:52:48 +00:00
ryan
8cabdbc588 Bump script vers. see #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 23:33:57 +00:00
ryan
020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
ryan
123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan
88b23960fb widget_title filters from jhodgdon. fixes #6684
git-svn-id: http://svn.automattic.com/wordpress/trunk@7850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 16:08:19 +00:00
ryan
499ac46099 Multi-widget pattern documentation typo fixes from Jaymin Patel. fixes #6866
git-svn-id: http://svn.automattic.com/wordpress/trunk@7849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 20:08:23 +00:00
westi
b119ab7003 Bump the db version so [7841] has an affect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:19:33 +00:00
westi
5a375132ac Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:17:01 +00:00
ryan
7564d59d47 Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:58:38 +00:00
ryan
87b1154989 Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:12:25 +00:00
ryan
76a87862bf Add some sanity checks
git-svn-id: http://svn.automattic.com/wordpress/trunk@7821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:20:18 +00:00
markjaquith
60aab00ba1 Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 04:41:41 +00:00
markjaquith
ca6bd9ebd5 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:45:31 +00:00
markjaquith
6930439dfe Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@7814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:43:44 +00:00
ryan
f3d3b700f5 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:32:29 +00:00
ryan
123cd6550a Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:25:33 +00:00
ryan
0101f8809d strlen - 1. Props mdawaffe. see #6146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:13:35 +00:00
ryan
eb9c8420db hash_hmac is always available. Drop function_exists check
git-svn-id: http://svn.automattic.com/wordpress/trunk@7797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:30:49 +00:00
ryan
4680f8f084 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:19:09 +00:00
ryan
eaf44137c6 Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:00:31 +00:00
ryan
8709169ef9 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 02:22:55 +00:00
ryan
b82f47cc97 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 01:55:58 +00:00
ryan
6e23bed1fd wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 22:45:53 +00:00
ryan
bf40169710 Silence ini_get warnings. fixes #6787 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:24:34 +00:00
ryan
4bcb8222b5 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:16:42 +00:00
ryan
c77c239754 Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 20:54:51 +00:00
ryan
d95ea6777b Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 19:30:54 +00:00
matt
6943482d3b For some reason taxonomy pages also return is_home, so we need to put this check first.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 06:28:50 +00:00
ryan
5889755c66 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 21:26:10 +00:00
ryan
8591767741 Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:45:13 +00:00
ryan
35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan
17deb910aa Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:29:43 +00:00
ryan
fbe04fbf90 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:23:02 +00:00
ryan
38d7abdfea Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: http://svn.automattic.com/wordpress/trunk@7743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:23:50 +00:00
ryan
14ed05e98b Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:06:46 +00:00
ryan
80fbb3b27d Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 19:00:07 +00:00
ryan
3495bf80e0 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan
926754275c If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 02:19:45 +00:00
ryan
84bd7d6a00 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 21:21:13 +00:00
ryan
3389df53f2 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:42:47 +00:00
ryan
baba01caff Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:32:13 +00:00
ryan
d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan
e399f6ad54 Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:45:39 +00:00
ryan
957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan
7387154152 Bump script loader ver. see #6753
git-svn-id: http://svn.automattic.com/wordpress/trunk@7710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:58:15 +00:00
ryan
d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan
3b95476f1c image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:59:23 +00:00
ryan
4e74faa972 Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: http://svn.automattic.com/wordpress/trunk@7701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:56:03 +00:00
markjaquith
9df4077f95 Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@7699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:07:04 +00:00
ryan
7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan
62d5105c5b Fix usermeta escaping. fixes #6750
git-svn-id: http://svn.automattic.com/wordpress/trunk@7696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 18:23:48 +00:00
ryan
a60abc0904 Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 17:23:17 +00:00
ryan
82fd123c91 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 04:49:19 +00:00
ryan
ce1fed1a02 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: http://svn.automattic.com/wordpress/trunk@7690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:05:08 +00:00
ryan
47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan
f8cea0117c Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 16:03:24 +00:00
ryan
c92c2be2af Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 01:39:33 +00:00
ryan
cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan
6ec2c0877b tiny_mce_gzip.php no longer needed
git-svn-id: http://svn.automattic.com/wordpress/trunk@7681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:30:16 +00:00
ryan
713a705b52 TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:19:04 +00:00
ryan
b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan
02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan
8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
ryan
7d2a7755a3 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:56:58 +00:00
ryan
1a41abe289 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:18:53 +00:00
ryan
56f15cb1bf Add missing comma. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:45:12 +00:00
ryan
972851a755 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:23:29 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
36c9588f08 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 15:53:09 +00:00
ryan
132ac51a5a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
ryan
5b1208ebc3 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 19:02:13 +00:00
ryan
77be80f02c Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:33:42 +00:00
ryan
4a33d268ab Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:22:20 +00:00
ryan
9714b08b71 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:55:04 +00:00
ryan
c3e32dcd4e Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:05:45 +00:00
ryan
3794dc04b4 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:40:32 +00:00
ryan
27167db9c3 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 18:30:51 +00:00
ryan
81d1b488a9 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:23:05 +00:00
matt
6099258ff9 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 21:29:36 +00:00
matt
ad1c6ea083 The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 05:54:08 +00:00
westi
ca41e227ad Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 20:14:37 +00:00
markjaquith
6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
westi
3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
markjaquith
29a551d786 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 13:15:21 +00:00