ryan
d81c59d985
Convert in_category() and has_tags() to use the same is_object_in_term(), which accepts one object, one taxonomy, and 0, 1 or multiple term term_ids/names/slugs.
...
In those functions, compare ints only to term_ids. Strings are compared to term_ids, names, slugs.
Document all three better, and note how they've changed with WP versions. Prop mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@10159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 23:31:11 +00:00
markjaquith
bb643f3ecb
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 21:51:23 +00:00
markjaquith
a32e0dd9ba
Fix a few trailing spaces/tabs
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 21:50:35 +00:00
azaozz
85038d2678
Fix dismiss button is too large in IE7, fixes #8293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 21:49:18 +00:00
markjaquith
04ca943f18
More strongly worded, active voice Gears warning
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 21:43:54 +00:00
ryan
dd816fc740
Show 'Post submitted' insted of published when submitting for review from Quick Press. fixes #8547
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:38:44 +00:00
ryan
556965cfed
Show media buttons for quick press only if user can upload_files. see #8547
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:31:51 +00:00
ryan
1c1bd4576b
Remove Lucida San. Props demetris. fixes #8541
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:25:12 +00:00
ryan
a70ea36065
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:32:55 +00:00
ryan
e89192b1a8
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
393bd6abf4
Set eol-style
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:54:05 +00:00
ryan
c5ccfa0e22
Fixed undefined var notice when user can't edit the post
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:44:04 +00:00
ryan
064e0e74f9
RTL updates from kashani. fixes #8047
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:36:36 +00:00
ryan
28cc8c8b56
Don't show preview link if user can't edit post/page. fixes #8544
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:31:43 +00:00
ryan
12dbb4b2e3
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:17:18 +00:00
azaozz
c8de1d3a74
Fix styles for upload error
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 13:12:40 +00:00
markjaquith
fc9076f6e9
Allow IP comment search to search spam if initiated from spam page. props vladimir_kolesnikov. fixes #8394
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:31:41 +00:00
markjaquith
91082d58b1
More informative error for when there are no popular tags. fixes #8522
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:24:14 +00:00
markjaquith
445884684a
Hide scrollbar on plugin reactivation iframe. fixes #8498
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:08:40 +00:00
azaozz
169bbfa0a6
Keep the menu closed while loading
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:00:44 +00:00
markjaquith
379faab1b0
Remove third party logo, pending a better gallery icon image.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 10:22:37 +00:00
markjaquith
d04406a031
Fix typo in last commit
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:14:31 +00:00
markjaquith
19177023c9
Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374 . props azaozz, FFEMTcJ
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00
markjaquith
85d594a716
Only count specific comment approval types for the types we know about, to avoid a potential notice. fixes #8503
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 08:07:52 +00:00
azaozz
11ba27a054
Fix external dependencies in class.wp-scripts.php, fixes #8505
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 02:50:28 +00:00
azaozz
0aa6a6039c
Updated icons for excerpt/list view from Ben
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 01:26:24 +00:00
azaozz
7f822f67a3
Fix menu placement after folding/unfolding it several times, props vladimir_kolesnikov, fixes #8463
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 23:59:30 +00:00
azaozz
b52efe507f
Remove bottom background gradient for open favorites drop-down, fixes #8531
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 23:23:49 +00:00
azaozz
a5b02fdb5d
Kill text-shadows on header elements, props iammattthomas, fixes #8530
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 22:13:15 +00:00
ryan
918d84ef68
Get all children. Props filosofo. fixes #8527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 21:00:25 +00:00
ryan
504bc044d8
Check for circular post parent dependencies. Exclude the current post and its children from the parent dropdown.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 19:29:42 +00:00
ryan
fd64845396
CSS bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 17:55:36 +00:00
azaozz
319f68a479
Update for Press This from noel, see #7949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 17:44:17 +00:00
azaozz
678ffe49b9
Use transparent GIFs for IE6's sake (hopefully for the last time), props vladimir_kolesnikov, fixes #8447
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 11:25:18 +00:00
azaozz
34a17a5188
Fix inserting images, uploader buttons add Press This nag after submitting in Quick Press
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 10:52:23 +00:00
azaozz
5426f43c7d
Do not show Gallery tab in the uploader if no files have been uploaded.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 07:38:05 +00:00
azaozz
535b79426a
Filter menu IDs, fixes #8523
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 03:46:26 +00:00
azaozz
797f203e2f
Straighten comment bubbles for FF
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 01:39:23 +00:00
westi
19e69cce8a
Append don't overwrite. See #8649 props rboren.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 22:13:00 +00:00
ryan
0f927649f8
Introduce NONCE_SALT and NONCE_KEY
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 21:31:13 +00:00
ryan
12158b4e26
Bump
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 20:37:34 +00:00
ryan
3b5ef2f644
gettext image size names
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 20:35:50 +00:00
ryan
5382d2b80e
Fix raw_response code in Streams transport. Props jacobsantos. fixes #8476
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 20:30:59 +00:00
azaozz
ac89cab565
Fix comment actions after using QE when listing pending and spam comments
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:18:04 +00:00
westi
fed0c5df20
Make wp_page_menu() respect is_front_page(). Fixes #8469 props AaronCampbell.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:14:14 +00:00
westi
350be7f979
Use classes instead of ids to allow the wp_page_menu() to be used more than once per-page. Fixes #8439 props corischlegel.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:11:37 +00:00
westi
78a94a036a
remove extra " props azaozz.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:30:30 +00:00
westi
80a0472d7b
Balance.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:26:16 +00:00
westi
ed48953fde
Improve Press this descriptions. See #8186 props noel.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:23:43 +00:00
westi
02b3467afb
Make scriptaculous use the script-loader properly. Fixes #7642 props codestyling and vladimir_kolesnikov.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:07:18 +00:00