Compare commits

..

1675 Commits
2.6.5 ... 2.7

Author SHA1 Message Date
ryan
05343e02b5 2.7
git-svn-id: http://svn.automattic.com/wordpress/tags/2.7@10186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 22:48:48 +00:00
ryan
f5d0e367ae 2.7
git-svn-id: http://svn.automattic.com/wordpress/tags/2.7@10184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 22:44:31 +00:00
ryan
c08f309815 Sort by 'menu_order, post_title'. see #8549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 22:22:30 +00:00
westi
129d2296d1 Sort page_parent dropdown by menu_order. Fixes #8549.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:48:41 +00:00
ryan
8c1c46d5f0 Update func name. see #8550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:13:32 +00:00
ryan
e372e7f39a Change default add_below. see #8550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:08:20 +00:00
ryan
7105e62a48 Post reply API updates. see #8550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:06:13 +00:00
azaozz
637d90aa96 Fix HTML issue with the single page comment form in the default theme, props vladimir_kolesnikov, fixes #8560
git-svn-id: http://svn.automattic.com/wordpress/trunk@10177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 19:45:44 +00:00
ryan
046c47f1b0 Remove unneeded lines. Props matthewh84. fixes #8563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 19:43:24 +00:00
ryan
0eede66e7f OPML import fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 18:43:43 +00:00
ryan
47b68e1400 Update form action
git-svn-id: http://svn.automattic.com/wordpress/trunk@10174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 18:22:56 +00:00
ryan
c1692f42a7 Remove blank line. fixes #8562
git-svn-id: http://svn.automattic.com/wordpress/trunk@10173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 18:08:34 +00:00
ryan
4df81bd7fe Shorten to 40
git-svn-id: http://svn.automattic.com/wordpress/trunk@10172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 18:05:12 +00:00
ryan
e97297b217 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 17:43:43 +00:00
ryan
7b81f9f354 JS and CSS bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 17:42:26 +00:00
azaozz
1dca6a90ec Enable support for threaded comments and comment reply on index page, props yoavf, fixes #8550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 11:49:37 +00:00
matt
04c819feca Bringing "Visit Site" link back because lack thereof caused massive confusion from people who didn't know to click on the blog title, so a helpful hint.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 09:26:23 +00:00
ryan
5d05d1dc5c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 08:11:21 +00:00
ryan
5b86bfc9c1 Fix reinstall
git-svn-id: http://svn.automattic.com/wordpress/trunk@10166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 07:59:05 +00:00
ryan
6aa69d6500 Excerpt title at 60 characters
git-svn-id: http://svn.automattic.com/wordpress/trunk@10165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 06:19:24 +00:00
ryan
4483f075d5 ref not rel. Props oddthinking. fixes #8292
git-svn-id: http://svn.automattic.com/wordpress/trunk@10164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 05:51:56 +00:00
azaozz
852b2722e8 Updated menu icons from Ben, minor a.button tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@10163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 05:27:56 +00:00
azaozz
3304493c7d Change Actions to Bulk Actions in edit-comments.php, props FFEMTcJ, fixes #8554
git-svn-id: http://svn.automattic.com/wordpress/trunk@10162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 02:27:08 +00:00
ryan
4480bf0d2a RC2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 00:10:15 +00:00
azaozz
df0ffed12e Replace ui.sortable.js with the minified version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 00:05:41 +00:00
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
markjaquith
3f5b838ee2 Less Engrish-y Gears Denied text from mrmist and filosofo. fixes #8509
git-svn-id: http://svn.automattic.com/wordpress/trunk@10109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:19:11 +00:00
markjaquith
c7e8e8d9d0 urldecode slugs in the Edit Post screen permalink. props janbrasna. fixes #8418
git-svn-id: http://svn.automattic.com/wordpress/trunk@10108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:12:28 +00:00
azaozz
7162109255 Don't select hidden rows' checkboxes when selecting all, fixes #8520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:04:38 +00:00
markjaquith
bf698116e0 Need to blank the password when visibility is public, not unset() it
git-svn-id: http://svn.automattic.com/wordpress/trunk@10106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:04:11 +00:00
markjaquith
b11357a497 Pad wp_die() error messages to be over 512 chars, so IE always displays our text. props DD32. fixes #7890
git-svn-id: http://svn.automattic.com/wordpress/trunk@10105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 08:51:38 +00:00
markjaquith
19938ff3ee Make AJAX comment river post_id and comment_type aware
git-svn-id: http://svn.automattic.com/wordpress/trunk@10104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:31:27 +00:00
markjaquith
d64dc84e14 Remove blank CSS rule
git-svn-id: http://svn.automattic.com/wordpress/trunk@10103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:11:41 +00:00
markjaquith
8a527f4d95 Much better In Response To column, with pretty comment bubble
git-svn-id: http://svn.automattic.com/wordpress/trunk@10102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:10:47 +00:00
azaozz
57b4d9966c Fix urlencoded chars in links after using QE
git-svn-id: http://svn.automattic.com/wordpress/trunk@10101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 05:14:49 +00:00
ryan
7050ada441 get_search_form() fixes from juergen. fixes #8512
git-svn-id: http://svn.automattic.com/wordpress/trunk@10100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 05:09:47 +00:00
ryan
b455fc3845 CSS bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:52:57 +00:00
ryan
48c618bc32 Make user-settings per blog
git-svn-id: http://svn.automattic.com/wordpress/trunk@10098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:51:22 +00:00
ryan
9f56c8eba4 Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: http://svn.automattic.com/wordpress/trunk@10097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:49:22 +00:00
ryan
e9e703969b Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:00:26 +00:00
ryan
3897eef6c9 Make wp_user_settings() options global again. Clarify flag on get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@10095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 03:53:28 +00:00
azaozz
5fec33de25 Show "Post submitted" message when contributors submit a post for review, props mdawaffe, fixes #8519
git-svn-id: http://svn.automattic.com/wordpress/trunk@10094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 03:39:00 +00:00
azaozz
696e009118 Remove extra screen icons, fixes #8514
git-svn-id: http://svn.automattic.com/wordpress/trunk@10093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 01:55:06 +00:00
azaozz
0e125cae08 Add colspan for IE, fixes #8513
git-svn-id: http://svn.automattic.com/wordpress/trunk@10092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 23:42:22 +00:00
azaozz
49a667aa09 Remove blank line from edit-page-form.php, props vladimir_kolesnikov, see #8335
git-svn-id: http://svn.automattic.com/wordpress/trunk@10091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 23:22:18 +00:00
azaozz
c647bdc9bb Improve the recent comments dashboard widget, props matt, fixes #8510
git-svn-id: http://svn.automattic.com/wordpress/trunk@10090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 21:23:36 +00:00
azaozz
c25fbefaea Some basic help for screens that have postboxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 20:54:51 +00:00
markjaquith
fc5e8dfe58 Make Password protected and private mutually exclusive when using Quick Edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 11:10:24 +00:00
westi
d9778f61f3 Ensure the curl transport supports HEAD requests. Merge from BackPress props sambauers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 10:09:05 +00:00
westi
55968bde15 Move convertEntities js function into the BackPress scriptloader. Fixes #8505 props sambauers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 09:54:24 +00:00
matt
7ac8d16de1 Updating FSF address at their request.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 07:47:04 +00:00
matt
65029aef6b </anal>
git-svn-id: http://svn.automattic.com/wordpress/trunk@10084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 07:18:04 +00:00
matt
a04000fdcc Continuation to [10060] to have both get_ and update_ use same $check_global setting. Coding style updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 07:14:22 +00:00
markjaquith
56935938b0 Cron order for single-post Edit Comments page. Remember Single Post when searching, switching comment statuses, and filtering comment types
git-svn-id: http://svn.automattic.com/wordpress/trunk@10082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 03:59:03 +00:00
azaozz
c800a64625 Make header logo replaceable from css
git-svn-id: http://svn.automattic.com/wordpress/trunk@10081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 02:16:28 +00:00
ryan
af91c84737 Limit to 5
git-svn-id: http://svn.automattic.com/wordpress/trunk@10080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 23:49:47 +00:00
ryan
eeefaa41f8 Speed up Recent Comments dash module query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 23:42:06 +00:00
ryan
b3745318f4 Allow plugins to hook in a custom comment counter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 23:40:09 +00:00
westi
3533c19fa2 Fix documentation for get_alloptions. Fixes #8491 props jeremyclarke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 22:39:59 +00:00
ryan
c288466b8f Use wp_count_comments() for Right Now. Eliminated a query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 22:33:45 +00:00
ryan
0e9eb0b080 Fix not defined error
git-svn-id: http://svn.automattic.com/wordpress/trunk@10075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 21:45:57 +00:00
ryan
26c5e5ba79 Fix not defined error
git-svn-id: http://svn.automattic.com/wordpress/trunk@10074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 21:45:49 +00:00
ryan
74a52d0c55 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 20:52:58 +00:00
ryan
332477a986 user_agent, not user-agent, for Streams transport. Props alexrabe. fixes #8500
git-svn-id: http://svn.automattic.com/wordpress/trunk@10072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 20:12:51 +00:00
ryan
d2394de2d7 Add quick_edit_dropdown_pages_args filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 19:40:30 +00:00
ryan
ae7bb0d440 post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 19:19:24 +00:00
ryan
b13f38f6e3 Use wp_dropdown_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 18:03:24 +00:00
ryan
34f737b984 Remove uuml. Props nbachiyski. fixes #8464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 17:33:24 +00:00
markjaquith
741b31a0c6 Allow bulk approval of comments from the spam queue
git-svn-id: http://svn.automattic.com/wordpress/trunk@10067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 09:29:10 +00:00
azaozz
a5c3371dcb Add colors to comment actions on edit comments screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@10066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 08:05:52 +00:00
markjaquith
90ec026142 Prevent hotkeys from clicking hidden links -- keeps U and A from both acting as moderated/approved toggles. Now each one just does its own function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 08:01:10 +00:00
markjaquith
6d0ea0e3e9 Remove some whitespace and old inactive code
git-svn-id: http://svn.automattic.com/wordpress/trunk@10064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 07:36:53 +00:00
markjaquith
569a1ff339 Fix Shift-X toggling of comments on Edit Comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@10063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 07:15:31 +00:00
azaozz
bdb5cde322 Attach orphan attachments when inserting into a post, fixes #8490
git-svn-id: http://svn.automattic.com/wordpress/trunk@10062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 06:21:42 +00:00
azaozz
00aa613c43 Fix postbox title action links overlapping
git-svn-id: http://svn.automattic.com/wordpress/trunk@10061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 06:16:50 +00:00
ryan
420eef18f2 Don't check blog options for user-settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@10060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 06:08:46 +00:00
ryan
47c1924213 Run wp_user_settings() from admin-header
git-svn-id: http://svn.automattic.com/wordpress/trunk@10059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:33:36 +00:00
ryan
06303fe3a7 Return description not name. Props josephscott. fixes #8494
git-svn-id: http://svn.automattic.com/wordpress/trunk@10058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:13:27 +00:00
ryan
164546b068 wp-lists: catch the whole class, pending comments: silently accept approval of already approved comment. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@10057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:10:38 +00:00
ryan
9629712581 Don't check user settings if doing ajax.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:10:05 +00:00
ryan
75a6579d2b User term IDs returned from wp_update_term() in case a plugin that remaps IDs is in use
git-svn-id: http://svn.automattic.com/wordpress/trunk@10055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 04:08:20 +00:00
ryan
10fef332d6 Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@10054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 01:44:26 +00:00
azaozz
2654405a3b Fix H2 in users.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 01:18:19 +00:00
ryan
6a9c462d33 Fix warning. fixes #8448
git-svn-id: http://svn.automattic.com/wordpress/trunk@10052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 23:20:41 +00:00
ryan
2780af1189 Check return of dir(). see #8478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 22:07:57 +00:00
ryan
535db0f29a Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:58:46 +00:00
azaozz
0927fbcc0d Action -> Bulk Action for manage screens, props FFEMTcJ, fixes #8375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:57:56 +00:00
ryan
6941ef0547 Use binary mode for fopen in download_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:47:45 +00:00
westi
781708a9ce Ensure that the theme-editor displays the correct files when a child theme overrides templates. Fixes #8236 props roganty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:29:55 +00:00
westi
8b192860f2 Fight back against browser autocomplete some more. Fixes #8462 props Ozh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:47:58 +00:00
westi
028b5648fc Update importing instructions in the WXR export file. Fixes #8483 props yoavf.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:34:00 +00:00
westi
1d72687cc5 Add the comment type to the data wp.getComment returns. Fixes #8486 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:31:40 +00:00
westi
7f357e7188 Link to comments on the page they are on. Fixes #8488 props johnconners.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:26:43 +00:00
westi
cfbc31027e Fix Notice on comment posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:26:05 +00:00
ryan
3ed7af59cf Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 19:15:58 +00:00
ryan
21510085f9 RTL updates from kashani. see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 19:13:22 +00:00
ryan
87141a219f Page comments from the first page of a multi-page post. Props Viper007Bond. fixes #8450
git-svn-id: http://svn.automattic.com/wordpress/trunk@10039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 19:11:53 +00:00
ryan
fd5a7d8a18 Delete update_plugins when plugins are deleted. Props thinlight. fixes #8451
git-svn-id: http://svn.automattic.com/wordpress/trunk@10038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 18:39:11 +00:00
ryan
302fd9f7bd Remove extra php open tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@10037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 18:18:15 +00:00
ryan
fe44ea7c48 No named entities in comment feeds. Props nbachiyski. fixes #8464
git-svn-id: http://svn.automattic.com/wordpress/trunk@10036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 17:47:50 +00:00
azaozz
0284ef6ae0 Easier translation for search strings in H2s
git-svn-id: http://svn.automattic.com/wordpress/trunk@10035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 12:01:02 +00:00
azaozz
e53337ede8 Add search string to H2s, fixes #8373
git-svn-id: http://svn.automattic.com/wordpress/trunk@10034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 09:20:52 +00:00
markjaquith
b9b1b76b0b Add the screen_icon() for Widgetless themes too
git-svn-id: http://svn.automattic.com/wordpress/trunk@10033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 07:47:11 +00:00
markjaquith
93b7e3bde7 Better display and wording for themes with no widget-enabled sidebars
git-svn-id: http://svn.automattic.com/wordpress/trunk@10032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 07:44:16 +00:00
azaozz
a6a324ac11 Do not show the Turbo link in the header if Gears is already being used, props markjaquith, fixes #8276
git-svn-id: http://svn.automattic.com/wordpress/trunk@10031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 06:35:21 +00:00
markjaquith
27e98ed75a Press This fixes from Noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@10030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 04:58:27 +00:00
azaozz
a58d2523de Make the menu css easier for localizations to extend, fix plugins bubble when menu is folded, fixes #8472 fixes #8473
git-svn-id: http://svn.automattic.com/wordpress/trunk@10029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 02:04:49 +00:00
ryan
7c05f83d73 Styles version bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 21:13:11 +00:00
ryan
b7aa9493d5 RTL updates from kashani. see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 21:00:23 +00:00
ryan
06373198c9 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 19:56:31 +00:00
ryan
b5f623a9ea Round timeouts less then 1 but greater than 0 to 1 for curl transport. see #8086
git-svn-id: http://svn.automattic.com/wordpress/trunk@10025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 19:56:05 +00:00
ryan
5517f4208d Add Slug column for link categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@10024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 19:18:41 +00:00
ryan
c2ba81dbb1 Don't show form when confirming password resets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 19:04:07 +00:00
ryan
84b65fabc4 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 18:13:26 +00:00
ryan
8ddfe0f101 Don't import cat and tags with empty string for name. Check for WP_Error after term insertion. fixes #8474
git-svn-id: http://svn.automattic.com/wordpress/trunk@10021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 17:47:44 +00:00
westi
18f3ab8a20 Put the link category delete warning in the correct place. Fixes #8434 props FFEMTcJ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 08:50:50 +00:00
azaozz
cb11271cb3 Make postboxes less "jumpy" when dragging, see #8364
git-svn-id: http://svn.automattic.com/wordpress/trunk@10019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 08:40:06 +00:00
azaozz
a4f2b6960b Fix field labels in file.php, fixes #8456
git-svn-id: http://svn.automattic.com/wordpress/trunk@10018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 01:43:11 +00:00
azaozz
7061676d80 Fix footer in IE7, Screen Options in IE6, fixes #8447, fixes #8457
git-svn-id: http://svn.automattic.com/wordpress/trunk@10017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 23:53:43 +00:00
ryan
f9069cffc0 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 20:03:21 +00:00
ryan
496ef46dae 'Add Link' when adding new link. fixes #8465
git-svn-id: http://svn.automattic.com/wordpress/trunk@10015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 19:52:12 +00:00
ryan
b35f4bf519 Assign comment post ID when importing existing posts. Props tott. fixes #8458
git-svn-id: http://svn.automattic.com/wordpress/trunk@10014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 19:25:42 +00:00
ryan
11a4ee8555 Notice fix from Malaiac. fixes #8453
git-svn-id: http://svn.automattic.com/wordpress/trunk@10013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 19:05:24 +00:00
ryan
dc4c461c89 Show actions on hover for links and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 19:00:48 +00:00
westi
84867318d6 Improve wp-mail utf8 support. Fixes #6788 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 18:40:16 +00:00
azaozz
6112842855 Simple iPhone detection, disable hiding of action links for iPhone
git-svn-id: http://svn.automattic.com/wordpress/trunk@10010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 12:32:54 +00:00
azaozz
3fa2427f0a Remove insert image default options (handled by state saving), fix URL buttons in uploader for newly uploaded images, fix font priority in global.css
git-svn-id: http://svn.automattic.com/wordpress/trunk@10009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 10:29:54 +00:00
azaozz
78e1b01a4f Improved icons from Ben, fixes #8381
git-svn-id: http://svn.automattic.com/wordpress/trunk@10008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 05:38:48 +00:00
ryan
d24130b77b No need to fake post_date for drafts anymore. fixes #6520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 02:46:21 +00:00
azaozz
c5f4675ae0 Fix highlighting of the comments/plugins bubble
git-svn-id: http://svn.automattic.com/wordpress/trunk@10006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 01:36:16 +00:00
ryan
3a4fceea37 RC1
git-svn-id: http://svn.automattic.com/wordpress/trunk@10005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 21:35:12 +00:00
azaozz
74a0e7cab9 Coding for new icons for List/Excerpt view switch
git-svn-id: http://svn.automattic.com/wordpress/trunk@10004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 21:32:51 +00:00
ryan
2845a70b28 do_settings_sections('reading'). fixes #7682
git-svn-id: http://svn.automattic.com/wordpress/trunk@10003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 21:23:22 +00:00
ryan
f30d6a29bf Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@10002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 19:35:46 +00:00
ryan
d30f857d8f Bump style vers
git-svn-id: http://svn.automattic.com/wordpress/trunk@10001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 19:21:19 +00:00
ryan
9c03e72c87 Re-order font families for better Windows font selection. Props iammattthomas. fixes #8443
git-svn-id: http://svn.automattic.com/wordpress/trunk@10000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 19:18:33 +00:00
ryan
939f6761e7 Feedback for post and page deletions. fixes #8415
git-svn-id: http://svn.automattic.com/wordpress/trunk@9999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 18:03:21 +00:00
ryan
45f579edf5 Feedback for post and page deletions. fixes #8415
git-svn-id: http://svn.automattic.com/wordpress/trunk@9998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 18:02:16 +00:00
ryan
f8f2ff942d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 05:34:35 +00:00
ryan
13ae14c6ee Give feedback after publishing a page. fixes #8414
git-svn-id: http://svn.automattic.com/wordpress/trunk@9996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 05:09:43 +00:00
azaozz
ad1d687e24 Fix widgets alignment in IE, fixes #8424
git-svn-id: http://svn.automattic.com/wordpress/trunk@9995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 01:55:27 +00:00
azaozz
52c4b634d5 Fix gravatars shifting in IE7, add title to postbox toggle, fixes #8436
git-svn-id: http://svn.automattic.com/wordpress/trunk@9994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 01:31:57 +00:00
azaozz
07df400a13 Remove deleted image from gears-manifest
git-svn-id: http://svn.automattic.com/wordpress/trunk@9993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 01:11:11 +00:00
azaozz
1a50285f14 Hide post meta select when meta table is empty, see #8182
git-svn-id: http://svn.automattic.com/wordpress/trunk@9992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-01 00:29:14 +00:00
azaozz
d6c96397df Fix avatar alignment, fixes #8435
git-svn-id: http://svn.automattic.com/wordpress/trunk@9991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 23:24:25 +00:00
azaozz
0ac3699921 Fix thead and tfoot background images for IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 22:47:42 +00:00
westi
cb9dd57472 Ensure we never have two seperators together.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 22:47:26 +00:00
westi
086dccd3bd Hide press this for subscribers. Fixes #8432.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 22:20:59 +00:00
ryan
4e638f02fd Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 19:29:46 +00:00
ryan
dd7e66c882 Use mb_* to create permalink excerpt. Props janbrasna. fixes #8419
git-svn-id: http://svn.automattic.com/wordpress/trunk@9986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 19:09:13 +00:00
ryan
b1b132a9da Update old files list
git-svn-id: http://svn.automattic.com/wordpress/trunk@9985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 18:53:04 +00:00
ryan
5ba54f57eb CSS bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 18:44:23 +00:00
ryan
58de333377 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 18:41:04 +00:00
ryan
a3eb0b4e9c Update old files list
git-svn-id: http://svn.automattic.com/wordpress/trunk@9982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 18:40:36 +00:00
azaozz
b77870d065 Change the uploader buttons label to Upload/Insert
git-svn-id: http://svn.automattic.com/wordpress/trunk@9981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:39:21 +00:00
azaozz
80e0aebc12 Fix Media Library when empty, fixes #8430
git-svn-id: http://svn.automattic.com/wordpress/trunk@9980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:17:27 +00:00
azaozz
5a81f18aa2 More blue colors
git-svn-id: http://svn.automattic.com/wordpress/trunk@9979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:02:30 +00:00
azaozz
80b2071d50 More unused images cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 10:25:26 +00:00
azaozz
f8c5bf9fc3 TinyMCE 3.2.1.1, some unused images and gears-manifest cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 10:22:16 +00:00
azaozz
a0d62407e3 Adjust H2s, props iammattthomas fixes #8387
git-svn-id: http://svn.automattic.com/wordpress/trunk@9976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 05:16:29 +00:00
ryan
ebddd8775d New color scheme names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 04:06:35 +00:00
ryan
19ae30e236 Add classic to script loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@9974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 03:57:09 +00:00
azaozz
de0dcadf14 Bulk Edit improvements, includes patch by FFEMTcJ, fixes #8376
git-svn-id: http://svn.automattic.com/wordpress/trunk@9973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 03:51:45 +00:00
azaozz
cd213cf61d Second icons set and few color changes for the "Bold" theme (needs more)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 02:47:11 +00:00
azaozz
d73493dea0 Remove gear.png from gears-manifest, props mrmist, fixes #8427
git-svn-id: http://svn.automattic.com/wordpress/trunk@9971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 23:37:38 +00:00
westi
f0c3ee66da Break out if we ever make it too far from home. Fixes #8428 props st_falcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 23:24:20 +00:00
azaozz
b2ded29b9f Fix QE colspan in ie6/7, fixes #8262
git-svn-id: http://svn.automattic.com/wordpress/trunk@9969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 23:09:04 +00:00
ryan
0c44e6c3e6 Make link-import and importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 18:23:03 +00:00
ryan
c3b1b5d5e3 Fix menu parents. see #8421
git-svn-id: http://svn.automattic.com/wordpress/trunk@9967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 18:09:09 +00:00
ryan
1b236b4b9d Fix parents for page and link editors. fixes #8421
git-svn-id: http://svn.automattic.com/wordpress/trunk@9966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 17:51:30 +00:00
ryan
4c3f1ae051 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 17:40:51 +00:00
azaozz
ac1ccbba3a CSS cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 15:52:17 +00:00
azaozz
9ac312adb5 Fix QE for categories when category description has quotes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 13:03:03 +00:00
azaozz
f7790aafcd Fix typo in Menu redirect, props filosofo, fixes #8422
git-svn-id: http://svn.automattic.com/wordpress/trunk@9962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 07:53:53 +00:00
azaozz
0449c5532e PressThis fix from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 04:28:37 +00:00
azaozz
8ad17b0df3 Change generic menu icon, change transparency on hover for top menus added by plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 02:51:33 +00:00
ryan
010f0ceba1 Don't reset if it has been explicitly set. Fixes active parent highliting. fixes #8421
git-svn-id: http://svn.automattic.com/wordpress/trunk@9959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 01:56:09 +00:00
ryan
d3eefc6419 Move admin_notices after screen meta
git-svn-id: http://svn.automattic.com/wordpress/trunk@9958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 00:36:26 +00:00
azaozz
8834a6d1be Highlighted (current submenu) state for folded menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 23:19:15 +00:00
ryan
bc8627c841 Hide slug box by default. Allow turning it on via screen options. fixes #8332
git-svn-id: http://svn.automattic.com/wordpress/trunk@9956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 22:35:01 +00:00
ryan
b52b176111 Don't show delete link for current user. Props johnbillion. fixes #8416
git-svn-id: http://svn.automattic.com/wordpress/trunk@9955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 22:03:52 +00:00
ryan
bd78058d90 Use settings_fields()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:57:58 +00:00
ryan
856397b8fd Fix turbo link. Props mattyrob. fixes #8413
git-svn-id: http://svn.automattic.com/wordpress/trunk@9953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:43:03 +00:00
ryan
1d976b4781 Honor largest and smallest options when they are the same. Props scohoust. fixes #7504
git-svn-id: http://svn.automattic.com/wordpress/trunk@9952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:06:57 +00:00
ryan
c62e75c601 Allow use of REMOTE_USER/REDIRECT_REMOTE_USER for authentication. Props yonosoytu. fixes #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:04:48 +00:00
ryan
5965de77b0 Typo fix from nbachiyski. fixes #8412
git-svn-id: http://svn.automattic.com/wordpress/trunk@9950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:03:12 +00:00
ryan
7bd34b2e43 add_utility_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:34:49 +00:00
ryan
7d91f698d4 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:09:51 +00:00
ryan
1974c9b05c Bump table-hotkeys ver. see #8386
git-svn-id: http://svn.automattic.com/wordpress/trunk@9947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:09:08 +00:00
ryan
7df0f31a5b Don't filter_visible() when making key callbacks to accommodate hidden-until-hover actions. see #8386
git-svn-id: http://svn.automattic.com/wordpress/trunk@9946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:06:59 +00:00
ryan
b441fccab2 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 12:59:45 +00:00
azaozz
741624aae1 Widgets background and new style buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 10:54:01 +00:00
azaozz
e17c93c846 Styling for Tools screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 10:14:43 +00:00
azaozz
18a10397fc Remove left-over background color, fixes #8306
git-svn-id: http://svn.automattic.com/wordpress/trunk@9942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 09:11:50 +00:00
azaozz
e7ac7d001b Remove "Danger!" red from Cancel links and Deactivate plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 07:35:33 +00:00
azaozz
1ab577ed68 Acton links colors on dashboard, props apeatling, fixes #8316
git-svn-id: http://svn.automattic.com/wordpress/trunk@9940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 06:05:01 +00:00
azaozz
ea71511ebf Change cursor to e-resize when menu is folded, props ydekproductions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 05:48:55 +00:00
azaozz
0144b71e0d Fix user-info for Firefox 2, props roganty, fixes #8382
git-svn-id: http://svn.automattic.com/wordpress/trunk@9938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 05:38:28 +00:00
azaozz
5447602b70 Better header logo from iammattthomas, fixes #8408
git-svn-id: http://svn.automattic.com/wordpress/trunk@9937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 05:08:35 +00:00
azaozz
dccee153c3 Show link to the comment in the dashboard widget, props bobrik, fixes 8399
git-svn-id: http://svn.automattic.com/wordpress/trunk@9936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 04:50:15 +00:00
azaozz
01d2b3979b Improve error message, props simonwheatley, fixes #8397
git-svn-id: http://svn.automattic.com/wordpress/trunk@9935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 04:40:20 +00:00
azaozz
375aa1f81c Hide actions in management tables, show on hover; improve comments table; fix "Configure" link position on dashboard, fixes #8386
git-svn-id: http://svn.automattic.com/wordpress/trunk@9934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 04:33:35 +00:00
azaozz
63b7ab11a1 Importers XHTML fixes, props sivel, fixes #8403
git-svn-id: http://svn.automattic.com/wordpress/trunk@9933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 02:12:36 +00:00
azaozz
7815f416e7 Line up screen icons, props iammattthomas, fixes #8387
git-svn-id: http://svn.automattic.com/wordpress/trunk@9932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:27:32 +00:00
azaozz
ea82341662 Fix for flash uploader not displaying progress or completed uploads, props abackstrom, fixes #8372
git-svn-id: http://svn.automattic.com/wordpress/trunk@9931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:24:37 +00:00
ryan
27b2375a4f Fix upload error codes. Props sekundek. fixes #8310
git-svn-id: http://svn.automattic.com/wordpress/trunk@9930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:19:12 +00:00
ryan
7138d5af58 Create Tools screen. fixes #8361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:11:25 +00:00
ryan
2349f73659 Fix id typo. Props sivel. fixes #8401
git-svn-id: http://svn.automattic.com/wordpress/trunk@9928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 20:44:43 +00:00
ryan
fd25a786fe Remove tags column from Media Library. fixes #8379
git-svn-id: http://svn.automattic.com/wordpress/trunk@9927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 20:38:30 +00:00
ryan
d4a6710c19 Reset parent_file after admin_header include to fix screen icon
git-svn-id: http://svn.automattic.com/wordpress/trunk@9926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 20:36:01 +00:00
ryan
cc0f059004 Fix parent
git-svn-id: http://svn.automattic.com/wordpress/trunk@9925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 20:28:33 +00:00
ryan
e9b0748005 screen_icon() for Custom Image Header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 19:24:46 +00:00
ryan
102c6ad0e9 Trim comment author urls. see #8386
git-svn-id: http://svn.automattic.com/wordpress/trunk@9923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 17:46:53 +00:00
ryan
0447161919 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 17:34:38 +00:00
azaozz
14ebe03af3 Add missing div in themes.php, props demetris, fixes #8395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 12:13:08 +00:00
azaozz
de4fe69772 Comments bubble improvements from iammattthomas, fixes #8392
git-svn-id: http://svn.automattic.com/wordpress/trunk@9920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 12:07:26 +00:00
azaozz
ab9914a194 install.css updates from iammattthomas, fixes #8388
git-svn-id: http://svn.automattic.com/wordpress/trunk@9919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 11:57:36 +00:00
azaozz
f0458fbba1 Visual UI fixes from iammattthomas, fixes #8387
git-svn-id: http://svn.automattic.com/wordpress/trunk@9918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 11:53:32 +00:00
azaozz
d301ed68fd Several TinyMCE fixes and adjustments: Gecko spellchecker, Gallery options, single quote in image captions, see #8021
git-svn-id: http://svn.automattic.com/wordpress/trunk@9917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 11:30:51 +00:00
azaozz
c5c662c4b8 Change View All/Edit links on dashboard widgets, fixes #8365
git-svn-id: http://svn.automattic.com/wordpress/trunk@9916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 05:20:05 +00:00
ryan
2f4264aa93 Remove
git-svn-id: http://svn.automattic.com/wordpress/trunk@9915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 01:26:31 +00:00
azaozz
f36c6cf666 Pagination arrow replacement, fixes #8363
git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:28:24 +00:00
azaozz
febd8bd0f1 Change cursor for menu fold toggle, see #8362
git-svn-id: http://svn.automattic.com/wordpress/trunk@9913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:16:35 +00:00
azaozz
f0b7562b48 More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: http://svn.automattic.com/wordpress/trunk@9912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 23:35:23 +00:00
azaozz
5410af6e2a Don't select hidden chechboxes when using the "select all", fixes #8355
git-svn-id: http://svn.automattic.com/wordpress/trunk@9911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 22:07:57 +00:00
ryan
3dc156d583 Press This fix from noel. fixes #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:32:38 +00:00
ryan
4560e5d4cf Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:22:25 +00:00
ryan
5ef3815c15 Upgrade instead of Update
git-svn-id: http://svn.automattic.com/wordpress/trunk@9908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:20:03 +00:00
ryan
4ac8add82c Show red only on hover for delete links in tables. fixes #8358
git-svn-id: http://svn.automattic.com/wordpress/trunk@9907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:01:05 +00:00
ryan
136fbfa1c0 Don't set post_parent default. Props hailin. fixes #8348
git-svn-id: http://svn.automattic.com/wordpress/trunk@9906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 18:56:46 +00:00
ryan
919fd58768 Move Pending above Spam. fixes #8371
git-svn-id: http://svn.automattic.com/wordpress/trunk@9905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 18:53:59 +00:00
westi
97bdf396f4 Sync arguments to plugin hooks to enable same function to be hooked on to both to enable backward compatible plugins. Fixes #8365 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 15:23:51 +00:00
azaozz
7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
ryan
ba7c715d8e Fix notices. see #8347
git-svn-id: http://svn.automattic.com/wordpress/trunk@9902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 12:04:29 +00:00
ryan
f91d22aadb If api.wp.org request blocks, make sure another requests isn't scheduled for 12 hours. see #8347
git-svn-id: http://svn.automattic.com/wordpress/trunk@9901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 11:48:05 +00:00
ryan
9ec79a2dc6 Set proper menu parent for importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@9900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 08:58:44 +00:00
ryan
eb7829df92 No longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@9899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 07:51:35 +00:00
azaozz
a5aa1f2ad6 Fix labels in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@9898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 05:46:56 +00:00
ryan
61d947e5af New palette names
git-svn-id: http://svn.automattic.com/wordpress/trunk@9897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 03:48:26 +00:00
azaozz
6494554bdb Fix the editor losing focus on backspace when there is no more text to delete in Safari, props markjaquith, fixes #8334
git-svn-id: http://svn.automattic.com/wordpress/trunk@9896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 03:28:24 +00:00
ryan
ce75b51599 Fix private page filter. Props abackstrom. fixes #8349
git-svn-id: http://svn.automattic.com/wordpress/trunk@9895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 02:58:18 +00:00
azaozz
ddead422a1 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 02:27:37 +00:00
ryan
3cd406eab7 Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 01:06:25 +00:00
ryan
b4d5ab3a01 Declare excerpt namespace. Props byrnereese. fixes #7624
git-svn-id: http://svn.automattic.com/wordpress/trunk@9892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 00:57:13 +00:00
ryan
dc09b4efa6 Don't show tables when no posts or pages are found. fixes #8346
git-svn-id: http://svn.automattic.com/wordpress/trunk@9891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 00:36:25 +00:00
markjaquith
ab9ce8cf02 Initialize caller as an array. Fixes a bug introduced in [9886]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 23:45:02 +00:00
ryan
ce69d4e5af Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:59:33 +00:00
ryan
b41e6d09f8 Make sure widgets array version is set. fixes #8339
git-svn-id: http://svn.automattic.com/wordpress/trunk@9888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:38:36 +00:00
ryan
90afcb23c1 Contextual ngettext from nbachiyski. fixes #8128
git-svn-id: http://svn.automattic.com/wordpress/trunk@9887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:25:21 +00:00
ryan
80f77982ca List all callers
git-svn-id: http://svn.automattic.com/wordpress/trunk@9886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:17:55 +00:00
ryan
7f14907c42 Update object term cache from get_the_category()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:12:36 +00:00
ryan
c763a657d8 Use comment ID. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:51:28 +00:00
markjaquith
ecffc4649f Handle front page comment feeds in Canonical. fixes #8320
git-svn-id: http://svn.automattic.com/wordpress/trunk@9883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:28:42 +00:00
azaozz
ed2aa41297 New icons, first run
git-svn-id: http://svn.automattic.com/wordpress/trunk@9882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:19:44 +00:00
ryan
0c6c91595b Use comment link. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:16:20 +00:00
ryan
629638859d Use view link not edit link. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:14:31 +00:00
ryan
a313f9ee63 Comment screen tweaks. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:11:05 +00:00
ryan
3117f4ee53 Fix media columns
git-svn-id: http://svn.automattic.com/wordpress/trunk@9878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:26:53 +00:00
ryan
ed031adb99 Fix warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@9877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:18:17 +00:00
ryan
da7ebeb3a5 More Favorites
git-svn-id: http://svn.automattic.com/wordpress/trunk@9876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:16:22 +00:00
ryan
4958a075d1 Library instead of Edit
git-svn-id: http://svn.automattic.com/wordpress/trunk@9875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:07:57 +00:00
ryan
60fb050f9c Default to edit submenu rather than add new.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:05:48 +00:00
ryan
a3aee0fd52 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:42:29 +00:00
ryan
0834c8894a Bump CSS vers
git-svn-id: http://svn.automattic.com/wordpress/trunk@9872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:40:50 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
azaozz
e05cff11ea Fix QE and Reply actions on comments that come in via infinite comment stream
git-svn-id: http://svn.automattic.com/wordpress/trunk@9868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 02:41:54 +00:00
azaozz
1f84059485 More PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 02:06:52 +00:00
azaozz
9c3332c2d2 PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 01:16:00 +00:00
ryan
141eb9777e Make delete links red
git-svn-id: http://svn.automattic.com/wordpress/trunk@9865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 00:27:50 +00:00
ryan
536980db4d Remove colors for Recent Comments moderation links. see #8316
git-svn-id: http://svn.automattic.com/wordpress/trunk@9864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 00:17:01 +00:00
ryan
7ce1050676 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 20:28:13 +00:00
ryan
8b6ac49730 Fix SSH2 fs exists() method. Props ydekproductions. fixes #8331
git-svn-id: http://svn.automattic.com/wordpress/trunk@9862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 20:24:07 +00:00
ryan
a587695265 Send correct status. Props yonosoytu. see #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 20:21:09 +00:00
ryan
0d27eeb5c2 Typo fix. Props ydekproductions. fixes #8330
git-svn-id: http://svn.automattic.com/wordpress/trunk@9860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 08:40:21 +00:00
ryan
8785bc8a1e Return null if queried object not found. fixes #8244
git-svn-id: http://svn.automattic.com/wordpress/trunk@9859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 06:14:40 +00:00
ryan
fcc8272b8d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 05:21:13 +00:00
azaozz
0908ebade9 PressThis css fixes from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 04:29:35 +00:00
azaozz
6af721ecc8 Pass unformatted number to __ngettext, props filosofo, fixes #8324
git-svn-id: http://svn.automattic.com/wordpress/trunk@9856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 03:12:28 +00:00
azaozz
d12e30a739 Fix [9854] for i18n, props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@9855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 02:13:31 +00:00
azaozz
6efc35e1c9 I18n: fix get_comment_date and edit_comment_link in comment-template.php, props tai. Add class to "Says:", fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 01:36:23 +00:00
azaozz
2d5dee473d Prettier Page Numbers, props jick, fixes #8319
git-svn-id: http://svn.automattic.com/wordpress/trunk@9853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 00:38:50 +00:00
azaozz
0b17615051 Fix #favorite-actions position in IE7, footer position, horizontal scrollbar and expansion of postboxes in IE7, put back Browse Happy, fixes #8280
git-svn-id: http://svn.automattic.com/wordpress/trunk@9852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 00:20:34 +00:00
ryan
8f1659012f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 23:51:27 +00:00
westi
0081ad7881 Not on the images :-(
git-svn-id: http://svn.automattic.com/wordpress/trunk@9850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 09:15:39 +00:00
westi
74fc3e7152 Set eolstyle on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@9849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 09:14:27 +00:00
westi
72038d2df4 Allow a plugin to control the number of tags per edit tags page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 08:48:57 +00:00
azaozz
3c15f6a8d3 Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 06:37:15 +00:00
westi
f92c019881 Ensure that thumbnails are removed when the media file is deleted. Fixes #8309 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 23:01:28 +00:00
westi
9f3add6a4a Improve theme editor layout. Fixes #8314 props kpdesign.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 11:05:11 +00:00
westi
3a06fdf0b8 phpdoc and notice fix for wp_page_menu(). Fixes #8315 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 10:39:58 +00:00
westi
99cddfb8b8 Add missing translations for media options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 09:56:20 +00:00
azaozz
a0d49f5ee3 Visual design fixes from iammattthomas, fixes #8313
git-svn-id: http://svn.automattic.com/wordpress/trunk@9842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 08:03:25 +00:00
ryan
737d127267 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 07:22:44 +00:00
azaozz
a213f81ae0 PressThis IE6 css fixes from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 00:28:39 +00:00
azaozz
3444414aa6 Table.widefat fixes, props kpdesign, see #8311
git-svn-id: http://svn.automattic.com/wordpress/trunk@9839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 23:55:56 +00:00
azaozz
e289acf038 PressThis fixes for window resizing and Chrome bugs from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 23:31:59 +00:00
azaozz
d0180451c4 Move text-shadow styles to colors stylesheets
git-svn-id: http://svn.automattic.com/wordpress/trunk@9837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 21:32:50 +00:00
azaozz
a10c8691fd Improve filtering of HTML entities from translated strings used in js, see #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 19:36:57 +00:00
westi
61fb6ea540 Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:16:44 +00:00
westi
b6da4f7a13 Ensure tag cloud topic(s) tooltips can be translated. Fixes #7989 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:12:57 +00:00
westi
f9a218eb6b Switch the ftpext filesystem to use Passive FTP aswell. Fixes #7940 props mcs_trekkie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:59:15 +00:00
westi
b55b7a2ccf Format the clear DIVs properly. Fixes #8294 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:55:35 +00:00
markjaquith
c1f75d51ab Comment Page URL fixes by wnorris. fixes #8297
git-svn-id: http://svn.automattic.com/wordpress/trunk@9831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:33:05 +00:00
westi
a7258521b1 Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:17:18 +00:00
azaozz
297a4a22b4 Fix postbox dragging when converting from single-column to dual-column, fixes #8304
git-svn-id: http://svn.automattic.com/wordpress/trunk@9829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 09:11:17 +00:00
azaozz
72c9fb1be3 Fix typo, props kpdesign, fixes #8302
git-svn-id: http://svn.automattic.com/wordpress/trunk@9828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 06:59:49 +00:00
azaozz
67eb2e6382 Fix base css blocks for easier horizontal scrolling, fixes #8092
git-svn-id: http://svn.automattic.com/wordpress/trunk@9827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 06:26:23 +00:00
ryan
34ebea545e Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 00:59:31 +00:00
ryan
0339e5cd7a Revert [9773]. htmlspecialchars_decode() requires PHP 5.1. see #6992
git-svn-id: http://svn.automattic.com/wordpress/trunk@9825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 00:57:31 +00:00
azaozz
1d738b00ea Fix selects in Chrome and Firefox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 00:14:28 +00:00
azaozz
bf6504f5a6 Use css class instead of id to prevent validation errors with multiple instances, fixes #8192
git-svn-id: http://svn.automattic.com/wordpress/trunk@9823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 22:57:51 +00:00
azaozz
0f81c61c65 Fix position of "Save widgets settings" warning and problem it causes in Firefox 2, fixes #8221
git-svn-id: http://svn.automattic.com/wordpress/trunk@9822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 22:18:16 +00:00
ryan
afa3f9b11b Show 24 results per page for plugin searches. fixes #8290
git-svn-id: http://svn.automattic.com/wordpress/trunk@9821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 21:22:24 +00:00
azaozz
543be53ab0 RTL updates from kashani, see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 21:21:54 +00:00
ryan
ed01be1927 Use post_password_required()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 19:10:31 +00:00
ryan
5783e5ff6e Add threaded comment info to atom feed. Props dtsn. fixes #8292
git-svn-id: http://svn.automattic.com/wordpress/trunk@9818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 19:08:41 +00:00
ryan
f3e25312d9 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 18:23:39 +00:00
ryan
36b6f389c1 Use default text only if === null. Props DD32. fixes #8156
git-svn-id: http://svn.automattic.com/wordpress/trunk@9816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 18:20:25 +00:00
ryan
87cf441193 Cast to int. Props g30rg3x. fixes #8291
git-svn-id: http://svn.automattic.com/wordpress/trunk@9814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 17:26:52 +00:00
ryan
4b5e8f8994 Escape gettext in attribute. Props nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 17:03:31 +00:00
markjaquith
a9d7f40d2e Add a "parent" class to comment LIs with children. props filosofo. fixes #8091
git-svn-id: http://svn.automattic.com/wordpress/trunk@9812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 13:36:44 +00:00
azaozz
6eb239267f Remove unused bits, see #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 11:16:38 +00:00
azaozz
8b2ae432a3 Login form design improvements from iammattthomas, fixes #8286
git-svn-id: http://svn.automattic.com/wordpress/trunk@9810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 11:02:11 +00:00
azaozz
5785542e00 Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 10:54:59 +00:00
markjaquith
30c3602b92 Improvements for get_comment_link() from Viper007Bond. fixes #8287
git-svn-id: http://svn.automattic.com/wordpress/trunk@9808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 06:41:55 +00:00
markjaquith
821218975c Repoint and redirect edit.php?p=X to edit-comments.php?p=X
git-svn-id: http://svn.automattic.com/wordpress/trunk@9807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 04:51:47 +00:00
markjaquith
481f264e04 Remove errant nbsps
git-svn-id: http://svn.automattic.com/wordpress/trunk@9806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:29:44 +00:00
markjaquith
dfb7f1e695 CSS bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:26:02 +00:00
markjaquith
67b3b12fa5 "Login" is a noun. The verb is "Log In"
git-svn-id: http://svn.automattic.com/wordpress/trunk@9804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:23:15 +00:00
ryan
b6c9d89527 Remove trim. fixes #8252
git-svn-id: http://svn.automattic.com/wordpress/trunk@9803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:06:21 +00:00
azaozz
4b253013e2 Add DivX MIME type, props wfrantz, fixes #8289
git-svn-id: http://svn.automattic.com/wordpress/trunk@9802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 01:11:45 +00:00
azaozz
f0a8c6d428 Fix alignment of 'Check for spam' button, props johnconners, fixes #8288
git-svn-id: http://svn.automattic.com/wordpress/trunk@9801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 01:07:10 +00:00
azaozz
205f2f5418 New login form design, props iammattthomas, fixes #8286
git-svn-id: http://svn.automattic.com/wordpress/trunk@9800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 00:56:20 +00:00
azaozz
81ad8fe0f7 Add closing form tag when no comments displayed, props sivel, fixes #8283
git-svn-id: http://svn.automattic.com/wordpress/trunk@9799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 00:16:41 +00:00
ryan
bdde119980 wp_getUsersBlogs() fix from josephscott. fixes #8255
git-svn-id: http://svn.automattic.com/wordpress/trunk@9798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 23:06:01 +00:00
markjaquith
f5702b1b53 Whole bunch of font/color/shadow updates from Matt Thomas. fixes #8157
git-svn-id: http://svn.automattic.com/wordpress/trunk@9797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 22:51:24 +00:00
azaozz
969ccacaab Fix #favorite-actions in IE7 and menu in IE6 & 7, includes patch by ozh, fixes #8280
git-svn-id: http://svn.automattic.com/wordpress/trunk@9796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 20:57:27 +00:00
ryan
a161b936a9 Use is_numeric instead of is_integer. Props johnconners. fixes #8284
git-svn-id: http://svn.automattic.com/wordpress/trunk@9795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 20:48:05 +00:00
ryan
2b64afff0d Stub _c() for gears manifest. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 19:50:10 +00:00
ryan
f5d551efe0 Improve latest version detection in plugin updater. Props DD32. fixes #8129
git-svn-id: http://svn.automattic.com/wordpress/trunk@9793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 19:25:53 +00:00
ryan
961a173fd3 Remove edit-form.php on update. see #8279
git-svn-id: http://svn.automattic.com/wordpress/trunk@9792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 18:20:25 +00:00
ryan
8a280ee764 Use wp_html_excerpt() instead of substr in rss widget. Props nbachiyski. fixes #8278
git-svn-id: http://svn.automattic.com/wordpress/trunk@9791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 17:43:54 +00:00
ryan
04e8c3882a Remove unmaintained edit-form.php. fixes #8279
git-svn-id: http://svn.automattic.com/wordpress/trunk@9790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 17:23:55 +00:00
ryan
5dac57448f Add gettext context. Props nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 17:23:08 +00:00
ryan
dc3a33c2d4 Add screen_meta_screen filter. Props andré renaut.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 17:20:26 +00:00
azaozz
b05ec0cd99 PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 13:01:36 +00:00
azaozz
5e67d12f1d Improve the admin menu when there are long top level titles, fixes #8040
git-svn-id: http://svn.automattic.com/wordpress/trunk@9786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:41:52 +00:00
azaozz
269c83bd69 Do not show "Post published" message in QuickPress if empty form submitted, fixes #8222
git-svn-id: http://svn.automattic.com/wordpress/trunk@9785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:30:37 +00:00
azaozz
ec0a4a9ebf Fix tab button on the write screen in Opera, add tabindex to the menu, don't 'lock' the tab key between the title and the editor. Fixes #8197
git-svn-id: http://svn.automattic.com/wordpress/trunk@9784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:02:28 +00:00
azaozz
4bff9364a3 Move color declarations out of wp-admin.css, props Simek and johnhennmacc, fixes #7961
git-svn-id: http://svn.automattic.com/wordpress/trunk@9783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 07:21:05 +00:00
markjaquith
ef4c17e167 Count links in comments after performing automatic linking. props tott. fixes #7821
git-svn-id: http://svn.automattic.com/wordpress/trunk@9782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 07:08:37 +00:00
markjaquith
93bc9521cd Handle blank display_name for commenters. props mrmist. fixes #7494
git-svn-id: http://svn.automattic.com/wordpress/trunk@9781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 06:58:44 +00:00
azaozz
e4c2127e20 Ensure js objects are declared early
git-svn-id: http://svn.automattic.com/wordpress/trunk@9780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 06:58:38 +00:00
markjaquith
e00551ef6c Remove manual santization of redirect URLs (handled in wp_redirect())
git-svn-id: http://svn.automattic.com/wordpress/trunk@9779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 06:32:10 +00:00
markjaquith
a59fe0f02c Sneak in menu-dark-rtl.gif. see #8159
git-svn-id: http://svn.automattic.com/wordpress/trunk@9778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:36:26 +00:00
markjaquith
8a319446e2 Menu, color, font updates from Matt Thomas. see #8159
git-svn-id: http://svn.automattic.com/wordpress/trunk@9777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:35:28 +00:00
markjaquith
db9364955d Remove top "Save" button from options.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:08:58 +00:00
markjaquith
0435f3d294 Do not redirect to options.php on login if user was POSTing to options.php from another page. props fitztrev. fixes #8133
git-svn-id: http://svn.automattic.com/wordpress/trunk@9775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:07:24 +00:00
markjaquith
502707fa29 Allow post_parent=0 queries to work. props stefano.verna. fixes #8085
git-svn-id: http://svn.automattic.com/wordpress/trunk@9774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:02:24 +00:00
markjaquith
cad8e31e39 Show pending comments to users with quotes in their name. props regulatethis. fixes #6992
git-svn-id: http://svn.automattic.com/wordpress/trunk@9773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 04:58:10 +00:00
azaozz
f7fdaa9884 Fix table headers for media library page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 03:57:18 +00:00
ryan
ae62526c99 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 00:20:27 +00:00
ryan
3a7cd006fc Use home to determine self link host
git-svn-id: http://svn.automattic.com/wordpress/trunk@9769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 23:04:42 +00:00
azaozz
336bd6b4aa Don't apply color to pipe link separators when hovering, props jick fixes #8270
git-svn-id: http://svn.automattic.com/wordpress/trunk@9768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 23:02:05 +00:00
ryan
db067b4335 Relocate raquo. Props nbachiyski. fixes #8198
git-svn-id: http://svn.automattic.com/wordpress/trunk@9767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 22:46:56 +00:00
markjaquith
7513c5a569 Remove background from QuickPress publish bar
git-svn-id: http://svn.automattic.com/wordpress/trunk@9766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 22:25:54 +00:00
markjaquith
7771efd21e Prevent strange text color on hover in QuickPress. props jick. fixes #8238
git-svn-id: http://svn.automattic.com/wordpress/trunk@9765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 22:19:49 +00:00
markjaquith
e3c5f05f3c A couple more hCard CSS classes for comments from wnorris. fixes #8264
git-svn-id: http://svn.automattic.com/wordpress/trunk@9764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 22:06:51 +00:00
ryan
17881fddec register_column_headers()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 20:49:39 +00:00
ryan
ea35c8fa1e Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 20:17:28 +00:00
ryan
f05f3c8d66 add_contextual_help()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 19:54:54 +00:00
ryan
19e9168c84 add_dashboard_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 19:30:50 +00:00
ryan
3fc11304a5 Allow underscores in page names for meta box and column requests. see #8246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 18:38:20 +00:00
ryan
ef80d8cb30 Fix link categories row alternation. fixes #8272
git-svn-id: http://svn.automattic.com/wordpress/trunk@9758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 17:41:50 +00:00
ryan
9f7c101e5c Cat row filtering cleanup from jhodgdon. see #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 17:25:43 +00:00
markjaquith
00ced576ac Save "Full URL path to files" option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:59:37 +00:00
markjaquith
15bc8f4e74 Remove Visbility stubs since I actually did it for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@9755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:43:31 +00:00
markjaquith
19abe38f5a Use clean_url() in self_link(), for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@9753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:24:17 +00:00
azaozz
61b2941eba Fix color of links separator in Recent Comments on dashboard, props jick, fixes #8239
git-svn-id: http://svn.automattic.com/wordpress/trunk@9752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:05:11 +00:00
azaozz
88c0fcf12d Fix QE data filtering for tags and categories, props jhodgdon fixes #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 07:15:32 +00:00
ryan
53dfc73c63 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 04:25:45 +00:00
ryan
b58bb24748 Format page numbers. see #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 01:10:40 +00:00
ryan
3b4f3fdcfd Dashboard pluggability improvements from mdawaffe. see #8265
git-svn-id: http://svn.automattic.com/wordpress/trunk@9748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 01:04:41 +00:00
ryan
cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00
ryan
1abc6d0e91 Check type. Props josephscott. fixes #8267
git-svn-id: http://svn.automattic.com/wordpress/trunk@9745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:53:30 +00:00
ryan
e1fea167e6 PHPDoc for wp_clone. Props filosofo. fixes #8263
git-svn-id: http://svn.automattic.com/wordpress/trunk@9744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 22:02:32 +00:00
ryan
222159d16c date_i18n() fixes. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 21:31:46 +00:00
ryan
b32aa16ec3 Auto set content-length. Props jacobsantos. fixes #8249
git-svn-id: http://svn.automattic.com/wordpress/trunk@9741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 21:21:35 +00:00
ryan
f6c2de0141 Use clone to break object refs when setting and getting cache. see #8146 #8191
git-svn-id: http://svn.automattic.com/wordpress/trunk@9740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 21:01:12 +00:00
azaozz
f6dfabee5b Fix edit link category form, props kpdesign, fixes #8259
git-svn-id: http://svn.automattic.com/wordpress/trunk@9739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:22:40 +00:00
azaozz
eb42b45767 QE: set colspan and fix IE input field width
git-svn-id: http://svn.automattic.com/wordpress/trunk@9738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:08:38 +00:00
ryan
1039d131fe Don't cache filtered term objects. see #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:03:31 +00:00
ryan
2cd30ad069 Bump CSS veR
git-svn-id: http://svn.automattic.com/wordpress/trunk@9736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 19:26:43 +00:00
ryan
5c5d1aef4d Key screen meta off of page hook. fixes #8246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 19:16:26 +00:00
ryan
153d88757c Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:21:20 +00:00
azaozz
a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
azaozz
9fcdfa2ace Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 16:33:06 +00:00
azaozz
7cee4f5723 Fix [9714], it breaks get_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 15:47:41 +00:00
azaozz
28af5e2493 Fix thickbox for IE6 in wpeditimage
git-svn-id: http://svn.automattic.com/wordpress/trunk@9730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 05:51:59 +00:00
ryan
904df4372e Restore do_meta_boxes actions for the dashboard. fixes #8240
git-svn-id: http://svn.automattic.com/wordpress/trunk@9729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-16 17:46:57 +00:00
azaozz
469170c44c Fix default Gravatar URLs, props DD32, fixes #8232
git-svn-id: http://svn.automattic.com/wordpress/trunk@9728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 23:30:33 +00:00
azaozz
01e981dfdb Fix thumbnails creation for 8bpp and CMYK images, props DD32, fixes #7039 fixes #8231
git-svn-id: http://svn.automattic.com/wordpress/trunk@9727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 23:16:36 +00:00
azaozz
5ca12b7518 Show a space as thousands separator for comments count when setting from js, hide ajax throbber when QE returns an error, see#8227 fixes #8225
git-svn-id: http://svn.automattic.com/wordpress/trunk@9726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 21:58:51 +00:00
ryan
ce0a9e1c55 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:42:08 +00:00
azaozz
99ca4f0a8a Remove thousands separators for comments count, see #8227
git-svn-id: http://svn.automattic.com/wordpress/trunk@9724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:40:38 +00:00
ryan
54f3e3561d Swap Save Draft and Preview button locations
git-svn-id: http://svn.automattic.com/wordpress/trunk@9723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:33:20 +00:00
ryan
022c232b98 Bump CSS versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:08:25 +00:00
ryan
8284a24a11 Sync classic with fresh
git-svn-id: http://svn.automattic.com/wordpress/trunk@9721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:05:44 +00:00
azaozz
a9d45e28cf Update comments count for Pending and Spam on edit-comments.php and the dashboard, fixes #8227
git-svn-id: http://svn.automattic.com/wordpress/trunk@9720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:57:53 +00:00
ryan
9d6e621b2d Notice fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:41:27 +00:00
ryan
9d192618f4 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:31:15 +00:00
ryan
1eb0e67fc4 Remove comments Quick Edit link from Dash
git-svn-id: http://svn.automattic.com/wordpress/trunk@9717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:25:44 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan
322baa914d Check proper caps when publising a page. Props DD32. fixes #8208
git-svn-id: http://svn.automattic.com/wordpress/trunk@9715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:04:09 +00:00
ryan
86702a2520 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 17:56:44 +00:00
azaozz
47a824081a Small css fixes and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 12:30:58 +00:00
azaozz
f0804b3c26 QE: fix notices and check if the returned string contains the row HTML, props DD32, fixes #8115
git-svn-id: http://svn.automattic.com/wordpress/trunk@9712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 12:04:38 +00:00
azaozz
818ef0d5f4 Preview button: add permalink as a fallback and remove "View Post" when no js, see #8096
git-svn-id: http://svn.automattic.com/wordpress/trunk@9711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 10:42:28 +00:00
markjaquith
2a86d82041 tabindex for QuickPress
git-svn-id: http://svn.automattic.com/wordpress/trunk@9710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 07:51:29 +00:00
azaozz
d449414870 Fix position of the confirmation message in QuickPress, fixes #8218
git-svn-id: http://svn.automattic.com/wordpress/trunk@9709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 07:27:48 +00:00
azaozz
e00cb4d429 Improve the check all: click to check all checkboxes, click again to uncheck all, Shift/click to toggle. Shift/clicking two consecutive boxes checks the range between them as before. Fixes #8217
git-svn-id: http://svn.automattic.com/wordpress/trunk@9708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 07:07:59 +00:00
azaozz
9050fd4a5a Strip "onclick" when previewing themes, props DD32, fixes #7303
git-svn-id: http://svn.automattic.com/wordpress/trunk@9707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 02:20:26 +00:00
azaozz
091d203fba Dashboard css cleanup, props Simek, fixes #8043
git-svn-id: http://svn.automattic.com/wordpress/trunk@9706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 00:18:18 +00:00
ryan
55b0b6bd4f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 00:10:33 +00:00
ryan
12a505e7cb Don't allow hiding of save box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 00:09:18 +00:00
azaozz
072293c36b Update styling on link pages, fix state saving for link cats, no green bg after quick editing a post fixes #8143
git-svn-id: http://svn.automattic.com/wordpress/trunk@9703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:58:17 +00:00
ryan
ae3fc05253 contextual_help_link filter. Pass page hook instead of pagenow to screen_meta(). fixes #8216
git-svn-id: http://svn.automattic.com/wordpress/trunk@9702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:54:15 +00:00
ryan
29ab18dcb7 Check proper caps when publising a page. Props DD32. fixes #8208
git-svn-id: http://svn.automattic.com/wordpress/trunk@9701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:34:18 +00:00
ryan
da754f886b Text tweak. Props demetris. fixes #8201
git-svn-id: http://svn.automattic.com/wordpress/trunk@9700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:08:25 +00:00
ryan
9861eb1a85 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
ryan
705ca7cd48 Cast to array. fixes #8148
git-svn-id: http://svn.automattic.com/wordpress/trunk@9698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 22:50:46 +00:00
markjaquith
04d45cb1f3 Make Canonical feeds and paging play nice with each other and with PATHINFO URL structures. fixes #8076
git-svn-id: http://svn.automattic.com/wordpress/trunk@9697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 22:48:22 +00:00
ryan
8f19010b2d Use pings_open() to check ping status
git-svn-id: http://svn.automattic.com/wordpress/trunk@9696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 22:33:13 +00:00
azaozz
cd6acbcbb2 Don't change bg color or approval status after comment QE or reply, fixes #7930
git-svn-id: http://svn.automattic.com/wordpress/trunk@9695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 21:54:39 +00:00
ryan
d2a9f7b57b Show View All on hover
git-svn-id: http://svn.automattic.com/wordpress/trunk@9694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 21:17:19 +00:00
ryan
5d179b7372 submenu functions for the object top-levels
git-svn-id: http://svn.automattic.com/wordpress/trunk@9693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 20:53:43 +00:00
ryan
e7db571b64 RTL tweak for classic theme from RanYanivHartstein. fixes #8009
git-svn-id: http://svn.automattic.com/wordpress/trunk@9692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:49:58 +00:00
ryan
eb53509bc8 Fix row alternation for categories screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:44:01 +00:00
ryan
9811ed02cd Fix row alternation for media library screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:40:24 +00:00
azaozz
8e5094bf70 Prevent text selection/highlighting when clicking on the menu or dragging postboxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:32:13 +00:00
ryan
e9dc3d0fa7 Use dir not url. Props DD32. fixes #8207
git-svn-id: http://svn.automattic.com/wordpress/trunk@9688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 18:32:10 +00:00
ryan
268523f5ac RTL updates from kashani. see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 18:27:52 +00:00
ryan
15e19cdf80 Check caps when showing media edit and delete links. fixes #8117
git-svn-id: http://svn.automattic.com/wordpress/trunk@9686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 18:23:48 +00:00
ryan
01746cf6b3 Walker fix for when non elements are top-level. Props hailin. fixes #8150
git-svn-id: http://svn.automattic.com/wordpress/trunk@9685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 18:10:58 +00:00
ryan
9fad7df3b2 Hello Dolly update. Props zedlander and jacobsantos. fixes #8188
git-svn-id: http://svn.automattic.com/wordpress/trunk@9684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 17:52:38 +00:00
ryan
ab2ac7f427 Handle both post and page caps in get_editable_user_id(). Props DD32. fixes #8208
git-svn-id: http://svn.automattic.com/wordpress/trunk@9683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 17:13:08 +00:00
ryan
73148914c2 Plugin installer updates from DD32. fixes #7908
git-svn-id: http://svn.automattic.com/wordpress/trunk@9682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 17:07:24 +00:00
ryan
fbb0124c7d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 16:39:53 +00:00
ryan
ce1cc49825 Provide fallback salt to accommodate custom schemes. Props tellyworth. fixes #8212
git-svn-id: http://svn.automattic.com/wordpress/trunk@9680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 16:35:14 +00:00
azaozz
f2dea2189e Menu fonts
git-svn-id: http://svn.automattic.com/wordpress/trunk@9679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 10:54:43 +00:00
markjaquith
47a445d1f2 Better handling of text for submit button on already scheduled pages/posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@9678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 08:39:39 +00:00
azaozz
f1c1aa6ced Style updates for TinyMCE dialogs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 08:14:21 +00:00
azaozz
dd330c0ba9 Use local time when determining uploads directory, props DD32, see #8205
git-svn-id: http://svn.automattic.com/wordpress/trunk@9676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 03:56:09 +00:00
azaozz
d87ff92c67 Fix uploads sub-directory for drafts, props DD32, fixes #8205
git-svn-id: http://svn.automattic.com/wordpress/trunk@9675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 03:26:06 +00:00
azaozz
6adb94fd45 TinyMCE 3.2.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@9674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 02:35:02 +00:00
ryan
1a52b3e086 Press This update from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 01:20:20 +00:00
markjaquith
cffcfd149f Font and color changes from Matt Thomas. fixes #8158
git-svn-id: http://svn.automattic.com/wordpress/trunk@9672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 22:17:59 +00:00
ryan
8cce3a5678 Make the dark horizontal line in Quick Press match the color scheme. Props johnconners. fixes #8155
git-svn-id: http://svn.automattic.com/wordpress/trunk@9671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 22:05:04 +00:00
ryan
9e8fc2fd97 Show dismissed update list only once. Props nbachiyski. fixes #8200
git-svn-id: http://svn.automattic.com/wordpress/trunk@9670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 21:12:01 +00:00
ryan
369fe8d11f Do not show update nag on update page. Props nbachiyski. fixes #8199
git-svn-id: http://svn.automattic.com/wordpress/trunk@9669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 21:10:53 +00:00
ryan
63c5ee4199 i18n plurals fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 20:59:32 +00:00
ryan
83dce74554 wp_list_comments() fixes when passing type. Props Viper007Bond. fixes #8168
git-svn-id: http://svn.automattic.com/wordpress/trunk@9667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 20:36:36 +00:00
markjaquith
b8916139b6 Update the login logo. Higher quality resize, correct background color
git-svn-id: http://svn.automattic.com/wordpress/trunk@9666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 19:55:22 +00:00
ryan
a43102e27b Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 19:33:30 +00:00
ryan
778fe45e83 Revert [9523]. fixes #8195 see #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:48:54 +00:00
azaozz
bd2112f197 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: http://svn.automattic.com/wordpress/trunk@9663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:22:00 +00:00
azaozz
706f9a2c9c Add file upload support for MS Office 2007+ filetypes (docx pptx xlsx), props misterbisson, fixes #8194
git-svn-id: http://svn.automattic.com/wordpress/trunk@9662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 15:17:26 +00:00
markjaquith
de4a0edb94 Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160
git-svn-id: http://svn.automattic.com/wordpress/trunk@9661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:54:27 +00:00
markjaquith
9928e82e36 Do not show Media Upload buttons in Visual Editor if user lacks the capabilities to upload files. fixes #8110
git-svn-id: http://svn.automattic.com/wordpress/trunk@9660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:45:11 +00:00
markjaquith
b9098f869b Code cleanup for wp-admin/includes/bookmark.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:17:40 +00:00
markjaquith
81bcc48846 Styles for code and kbd from Matt Thomas. fixes #7339
git-svn-id: http://svn.automattic.com/wordpress/trunk@9658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 06:29:55 +00:00
markjaquith
6922edf439 Add Turbo back to the header. fixes #8185
git-svn-id: http://svn.automattic.com/wordpress/trunk@9657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 06:09:53 +00:00
markjaquith
af86fe57ca change "Awaiting Moderation" to "Pending" fixes #8184
git-svn-id: http://svn.automattic.com/wordpress/trunk@9656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 05:57:07 +00:00
azaozz
24b5a980c5 Refresh js, see #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@9655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 03:10:11 +00:00
azaozz
f4d7858bbd Keep state for image size, alignment and url in the uploader and for categories view on the write page, fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@9654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 03:07:39 +00:00
azaozz
31fd853986 Fix for IE7 not respecting min-width on buttons, fixes #8109
git-svn-id: http://svn.automattic.com/wordpress/trunk@9653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:50:09 +00:00
ryan
031a280fd0 get_terms() improvements from filosofo. fixes #8087
git-svn-id: http://svn.automattic.com/wordpress/trunk@9652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:20:12 +00:00
ryan
6aa0ef87b8 Grammar fix from Speedboxer. fixes #8073
git-svn-id: http://svn.automattic.com/wordpress/trunk@9651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:01:03 +00:00
ryan
6d04a62bfd Escape dot in robots rewrite rule. Props Jean-LucfromBrussels and DD32. fixes #8176
git-svn-id: http://svn.automattic.com/wordpress/trunk@9650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 23:04:43 +00:00
markjaquith
c323670331 Revert [9193]. See #6627. Will revisit for 2.8
git-svn-id: http://svn.automattic.com/wordpress/trunk@9649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 21:55:25 +00:00
azaozz
c4cffaad13 Filter category and tag for editing when using QE, fixes #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 21:55:24 +00:00
ryan
c622d0373a Show user specified offset, not server offset, when displaying time. see #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 21:44:55 +00:00
markjaquith
dbb012bdaf Canonical now only redirects to a different domain if the domains differ by their yes-www/no-www status. fixes #5089
git-svn-id: http://svn.automattic.com/wordpress/trunk@9646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 21:27:19 +00:00
markjaquith
7ab338d7f8 Catch more blank query string thing cases, without resorting to crazy regex. props filosofo. fixes #8098
git-svn-id: http://svn.automattic.com/wordpress/trunk@9645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 21:08:48 +00:00
azaozz
e85e3bb203 Fix buttons text and rounding in Safari, disabled state
git-svn-id: http://svn.automattic.com/wordpress/trunk@9644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 20:37:02 +00:00
ryan
a4f789b7e6 Merge page parent, order and template boxes into one box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 20:20:21 +00:00
markjaquith
21eb85b469 Be more picky about the trailing blank query string things we strip. props filosofo, fitztrev, stevish, azaozz, DD32 (go team!). fixes #8098. fixes #8180
git-svn-id: http://svn.automattic.com/wordpress/trunk@9642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 20:09:16 +00:00
markjaquith
41b43c1d03 Visibility section for the Publish Module for Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 19:31:39 +00:00
markjaquith
16ccb3f181 Bump posts.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@9640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:40:20 +00:00
markjaquith
d6c4fac277 Visibility section of Publish Module for Posts. Pages later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:36:48 +00:00
ryan
6690ad435f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:22:35 +00:00
ryan
a037022c3a First cut of edit link save box restyling. see #8143
git-svn-id: http://svn.automattic.com/wordpress/trunk@9637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:03:07 +00:00
ryan
97c061add0 screen_meta() and contextual help improvements from filosofo. fixes #8172
git-svn-id: http://svn.automattic.com/wordpress/trunk@9636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 17:11:49 +00:00
ryan
2d9e012782 Some cap checks for the Dashboard. Props Viper007Bond. fixes #8175
git-svn-id: http://svn.automattic.com/wordpress/trunk@9635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 16:59:19 +00:00
ryan
11f9759d7a Remove debug line. Props filosofo. fixes #8171
git-svn-id: http://svn.automattic.com/wordpress/trunk@9634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 16:54:50 +00:00
azaozz
d0452528e7 Do not limit Shift/clicking checkboxes to .widefat tables
git-svn-id: http://svn.automattic.com/wordpress/trunk@9633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 10:42:31 +00:00
azaozz
4bc175346f Fixes for previous/next page links, props Viper007Bond, fixes #8058
git-svn-id: http://svn.automattic.com/wordpress/trunk@9632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 10:13:50 +00:00
azaozz
7e200d589d Consolidate six more js files
git-svn-id: http://svn.automattic.com/wordpress/trunk@9631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 09:35:50 +00:00
ryan
4dc56b14d0 Show Submit for Review if user can't publish. fixes #8108
git-svn-id: http://svn.automattic.com/wordpress/trunk@9630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 05:11:12 +00:00
ryan
e09057ce2e Limit tag suggest to tags. Props DD32. fixes #8164
git-svn-id: http://svn.automattic.com/wordpress/trunk@9629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 05:02:58 +00:00
ryan
1664f9b0c2 Show Quick Press only if user can publish posts. fixes #8108
git-svn-id: http://svn.automattic.com/wordpress/trunk@9628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 04:55:47 +00:00
ryan
474e602f4f Remove table striping
git-svn-id: http://svn.automattic.com/wordpress/trunk@9627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 03:55:23 +00:00
azaozz
ef6f5c31d7 Merge all JS files that always load with common.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@9626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 00:27:01 +00:00
ryan
8edb3ea9bd Remove bg color from login form
git-svn-id: http://svn.automattic.com/wordpress/trunk@9625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 00:13:35 +00:00
ryan
fd9db1c294 Make In Response To more compect. Add link to post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 23:55:59 +00:00
ryan
86a85062e4 Shorten column header to avoid wrap
git-svn-id: http://svn.automattic.com/wordpress/trunk@9623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 23:48:27 +00:00
ryan
b0987d4c20 Remove background color for tablenav
git-svn-id: http://svn.automattic.com/wordpress/trunk@9622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 23:45:58 +00:00
ryan
18b3816ff8 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:51:06 +00:00
ryan
cc7c443f62 Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:40:16 +00:00
azaozz
0e8ff11d74 Fix double negative message in plugin-install.php, props Speedboxer, fixes 8151
git-svn-id: http://svn.automattic.com/wordpress/trunk@9619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:12:39 +00:00
ryan
633c920a9e Fix warnings. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 20:40:36 +00:00
ryan
e5bb6778d3 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 20:07:40 +00:00
ryan
7ec57f9dea Use localized dates on General Options page. Props nbachiyski. fixes #8153
git-svn-id: http://svn.automattic.com/wordpress/trunk@9616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:56:35 +00:00
ryan
2bab4e2ec0 Differentiate between plural noun, verb and adjective Spam translations. Props nbachiyski. fixes #8154
git-svn-id: http://svn.automattic.com/wordpress/trunk@9615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:54:54 +00:00
ryan
0a23990c2a Add new user page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:47:22 +00:00
ryan
e635db2ee6 Discussion and Send Trackbacks meta boxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:25:30 +00:00
ryan
998dfc44e4 Increase memory limit when unzipping. fixes #8149
git-svn-id: http://svn.automattic.com/wordpress/trunk@9612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:11:48 +00:00
azaozz
1b84d8e087 Fix constant name in phpDoc, props alexrabe, fixes #8123
git-svn-id: http://svn.automattic.com/wordpress/trunk@9611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:43:04 +00:00
azaozz
be1832e6cb Delete unused images and update Gears Manifest, props Simek, fixes #8125
git-svn-id: http://svn.automattic.com/wordpress/trunk@9610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:38:55 +00:00
azaozz
6030a27935 Fix borders on comments list in the dashboard, props johnconners, fixes #8131
git-svn-id: http://svn.automattic.com/wordpress/trunk@9609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:18:04 +00:00
azaozz
330e07bfa4 Move error notice to the top of Custom Fields postbox, props Simek, fixes #8138
git-svn-id: http://svn.automattic.com/wordpress/trunk@9608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:12:34 +00:00
azaozz
3f5a70545d Add check for bulk-edit when deleting posts/pages, see #8135
git-svn-id: http://svn.automattic.com/wordpress/trunk@9607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 11:34:08 +00:00
azaozz
b756fbabcd QE fixes: don't display-filter titles, show QE for newly added cats and tags, fixes #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 09:39:42 +00:00
azaozz
12c32007cf RTL updates, props kashani, see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 04:30:48 +00:00
azaozz
41870c14a8 New design of Quick/Bulk Edit (added some colors and IE fixes), props mdawaffe, see #8144
git-svn-id: http://svn.automattic.com/wordpress/trunk@9604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 02:58:24 +00:00
ryan
d244c57a7f Fix delete bulk op at end of pages list. Props DD32. fixes #8135
git-svn-id: http://svn.automattic.com/wordpress/trunk@9603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 00:30:24 +00:00
westi
eddacb0872 Notice fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 23:03:34 +00:00
markjaquith
8d544355df Use prepare() in get_comments()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 22:16:50 +00:00
ryan
10f9e61ae2 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 22:05:33 +00:00
westi
9ebad4866c Improve code style.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 21:57:26 +00:00
ryan
eb98d60d03 Don't pass menus by ref. Causes loop counter problems in php4. fixes #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 21:50:31 +00:00
ryan
2c32b53092 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 19:45:59 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
ryan
3b65a42c5f Fix SQL error when scanning for lost attachments
git-svn-id: http://svn.automattic.com/wordpress/trunk@9595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:34:46 +00:00
ryan
fd1b5f1e4a Don't remove entire wp-images directory. Some use it for user content.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:25:03 +00:00
ryan
f79dc07a2e Bring back update nag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:17:47 +00:00
ryan
81f671bb73 Validation fixes from Simek. fixes #8139
git-svn-id: http://svn.automattic.com/wordpress/trunk@9592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:49:00 +00:00
ryan
293858e984 Use %s, not %d, for number format output. Props nbachiyski. fixes #8136
git-svn-id: http://svn.automattic.com/wordpress/trunk@9591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:47:41 +00:00
ryan
2d1010a8fb Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: http://svn.automattic.com/wordpress/trunk@9590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:45:38 +00:00
ryan
d699f0d00d i18n fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:42:51 +00:00
azaozz
fb0c4d0bef Fix QE for the last category, fixes #8077
git-svn-id: http://svn.automattic.com/wordpress/trunk@9588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 10:50:37 +00:00
azaozz
6b5c42cd24 Fix the Code button in the HTML editor in FF3/Mac, fixes #8094
git-svn-id: http://svn.automattic.com/wordpress/trunk@9587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 10:31:12 +00:00
azaozz
be1127594d Fix admin-header error when mb_strlen() is missing
git-svn-id: http://svn.automattic.com/wordpress/trunk@9586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 09:18:44 +00:00
azaozz
4da15b97ea Do not show comments column after quick editing a post from the Drafts screen, fixes #8113
git-svn-id: http://svn.automattic.com/wordpress/trunk@9585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 08:58:32 +00:00
azaozz
d5898fb3fc Fix collapsed top level menu borders when no submenus
git-svn-id: http://svn.automattic.com/wordpress/trunk@9584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 20:21:12 +00:00
ryan
354b44f1ea Reduce font size for long titles
git-svn-id: http://svn.automattic.com/wordpress/trunk@9583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 20:02:59 +00:00
ryan
5d7b9d59ae Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:23:49 +00:00
ryan
d2cdebd6cf Remove dead line
git-svn-id: http://svn.automattic.com/wordpress/trunk@9581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:21:00 +00:00
ryan
b10351e5c6 Sort the menu before adding classes. see #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:20:38 +00:00
ryan
50b407dc4b gettext fix from nbachiyski. fixes #8126
git-svn-id: http://svn.automattic.com/wordpress/trunk@9579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 18:56:14 +00:00
azaozz
6b99a452d1 Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 14:54:39 +00:00
ryan
544ea955d8 Eliminate chaining for php 4 compat. Props DD32. fixes #5324
git-svn-id: http://svn.automattic.com/wordpress/trunk@9577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:27:49 +00:00
ryan
1ff6eb8ef7 Save options. Props josephscott. fixes #8097
git-svn-id: http://svn.automattic.com/wordpress/trunk@9576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:25:47 +00:00
ryan
16e560573f Add missing array keys. fixes #8121
git-svn-id: http://svn.automattic.com/wordpress/trunk@9575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:13:33 +00:00
ryan
bf433456ce Don't show category adder to users without manage_categories cap. fixes #8114
git-svn-id: http://svn.automattic.com/wordpress/trunk@9574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:10:31 +00:00
ryan
4a22773ec4 Load RTL for plugin-install and farbtastic. Props kashani. fixes #8078
git-svn-id: http://svn.automattic.com/wordpress/trunk@9573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 22:36:25 +00:00
ryan
0e05d37cde Prioritize transports differently for non-blocking requests. fixes #8086
git-svn-id: http://svn.automattic.com/wordpress/trunk@9572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 22:35:00 +00:00
ryan
cec22453a3 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 17:38:12 +00:00
azaozz
11b5f8dae8 Few more notice fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 11:18:05 +00:00
markjaquith
950fb8fb6f Admin notices go UNDER the H2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 10:17:45 +00:00
westi
3a54acc52f Don't use deprecated function. Fixes #8103 props Speedbozxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 09:10:19 +00:00
azaozz
0ceb315f3e Small styling fixes to themes.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 07:56:42 +00:00
azaozz
c5af1c84e3 Press Enter to save in Quick Edit, props aaron_guitar, fixes #8061
git-svn-id: http://svn.automattic.com/wordpress/trunk@9566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 06:54:42 +00:00
azaozz
ce2413cb7f Use ndash for number range, props demetris, fixes #8088
git-svn-id: http://svn.automattic.com/wordpress/trunk@9565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 02:39:18 +00:00
azaozz
ea03719b8b Styling for custom fields
git-svn-id: http://svn.automattic.com/wordpress/trunk@9564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 02:15:53 +00:00
azaozz
3e2667f3d5 Set search button class to .button
git-svn-id: http://svn.automattic.com/wordpress/trunk@9563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 23:12:39 +00:00
azaozz
0be38b6def Add thickbox in plugins.php, fixes #8090
git-svn-id: http://svn.automattic.com/wordpress/trunk@9562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 22:11:14 +00:00
markjaquith
c295b4b8e8 Remove the other tab before sliding down.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 22:07:58 +00:00
azaozz
73959104bc Display warning when bulk deleting posts, pages, attachments, comments, etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 03:13:50 +00:00
ryan
e662d424f3 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 23:02:23 +00:00
ryan
d58cb434ad Fix page counting
git-svn-id: http://svn.automattic.com/wordpress/trunk@9558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 22:52:05 +00:00
ryan
88d2ecbb4e screen_meta() fixes. Show Help on more pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 22:21:27 +00:00
azaozz
4a5e7ba2e4 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: http://svn.automattic.com/wordpress/trunk@9556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:56:29 +00:00
ryan
0e20f26fe7 Add view link to publish notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:26:11 +00:00
ryan
d4c55c25d6 Fix notice. fixes #8082
git-svn-id: http://svn.automattic.com/wordpress/trunk@9554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 20:24:29 +00:00
ryan
0155abf585 Port Magpie from Snoopy to WP HTTP Request API. fixes #8082
git-svn-id: http://svn.automattic.com/wordpress/trunk@9553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 19:06:43 +00:00
azaozz
ac470da4bf RTL CSS updates for 2.7-beta2, props kashani, see#8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 18:21:05 +00:00
azaozz
785d668c28 Unhide the Quick Edit link when adding new category by AJAX, fixes #8077
git-svn-id: http://svn.automattic.com/wordpress/trunk@9551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 17:57:26 +00:00
ryan
be716580da Use wp_dropdown_categories(). Props DD32. fixes #8075
git-svn-id: http://svn.automattic.com/wordpress/trunk@9550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 17:18:38 +00:00
ryan
cc04a27785 beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:41:06 +00:00
ryan
bade5f826c Copy fresh over classic
git-svn-id: http://svn.automattic.com/wordpress/trunk@9548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:39:02 +00:00
azaozz
877bc21808 Help tab fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:32:25 +00:00
azaozz
d0190fb09a Bump js version for settings-box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:20:36 +00:00
azaozz
268c7cdd71 Help tab
git-svn-id: http://svn.automattic.com/wordpress/trunk@9545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:13:50 +00:00
ryan
74af1250f7 Remove unused var
git-svn-id: http://svn.automattic.com/wordpress/trunk@9544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 04:54:13 +00:00
ryan
f597bae652 More core update to update-core.php. Allow re-installing current version (requires api.wp.org changes)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 03:31:41 +00:00
azaozz
63bc2ead19 Fix adding similar tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@9542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 02:54:35 +00:00
ryan
3b043a8308 notice fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 02:05:59 +00:00
ryan
7effb8df55 Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 01:58:33 +00:00
ryan
2a615a4db8 Bind menu icons to single click instead of double
git-svn-id: http://svn.automattic.com/wordpress/trunk@9539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 01:52:37 +00:00
azaozz
36ebfb1ada Several small fixes: edit-category-form, admin-footer, plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 22:52:59 +00:00
ryan
908fbae34c add_object_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 22:46:58 +00:00
azaozz
4f47d7e869 Dashboard Styling, props mdawaffe, fixes #8070
git-svn-id: http://svn.automattic.com/wordpress/trunk@9536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 21:56:57 +00:00
ryan
9084c254d7 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 21:33:31 +00:00
ryan
2b604212d6 Remove dead markup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 20:37:20 +00:00
ryan
5bcf23e80d Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 20:30:26 +00:00
azaozz
d35edc4a1a Styling for notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 20:02:47 +00:00
ryan
883462a60b Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:51:07 +00:00
ryan
3cc3141781 Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:48:43 +00:00
azaozz
5584e7c4d4 Show when future posts miss schedule, props hailin, fixes #8064
git-svn-id: http://svn.automattic.com/wordpress/trunk@9529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:19:52 +00:00
ryan
7663bd0168 Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:17:22 +00:00
azaozz
dad2d3b6f1 Add missing "button" class, props Simek, fixes #8067
git-svn-id: http://svn.automattic.com/wordpress/trunk@9527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 18:14:22 +00:00
azaozz
04a134ee7b Bring back "Add link category" form
git-svn-id: http://svn.automattic.com/wordpress/trunk@9526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:44:58 +00:00
ryan
bb2f1dd007 Bump version
git-svn-id: http://svn.automattic.com/wordpress/trunk@9525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:38:43 +00:00
ryan
ef093b8caf Set perms when making plugin dirs. see #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:35:58 +00:00
ryan
4a4a04c076 Support installation of plugins living in a subdir in svn. Props DD32. fixes #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:07:45 +00:00
markjaquith
88bfbbd948 Massive get_comment_link() performance improvements for posts with a lot of comments. props Viper007Bond. fixes #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 07:09:20 +00:00
markjaquith
5c9e75b18e stripslashes() on plugin-install.php stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@9521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 06:47:35 +00:00
azaozz
e3a58568f8 Fixes for choose tag from tag cloud and reply to comment from admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@9520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 01:44:10 +00:00
azaozz
65f0830a83 Do not hide "Quick Edit" link after saving from QE, fixes #8060
git-svn-id: http://svn.automattic.com/wordpress/trunk@9519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:48:29 +00:00
azaozz
8d65096069 Add "Choose from popular tags" to the tags postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:15:59 +00:00
westi
910df5387e aesthetic | cleanup. Fixes #8042 props regulatethis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 22:10:49 +00:00
markjaquith
54c602edee Always set home_root in the rewrite rules. Dreamhost does not set the path for some reason. Props Joe Taiabjee
git-svn-id: http://svn.automattic.com/wordpress/trunk@9516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 21:58:30 +00:00
ryan
fe4c1331fe Notice fixes from Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 20:16:54 +00:00
ryan
cdb6f430da Use an array for query parameters
git-svn-id: http://svn.automattic.com/wordpress/trunk@9514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 18:18:30 +00:00
ryan
fb6d983615 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 17:12:43 +00:00
ryan
1d347362af Fix core update checking. Don't check on every page load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 17:12:03 +00:00
ryan
feab9ff5f1 Add caching to get_comments(). see #8057
git-svn-id: http://svn.automattic.com/wordpress/trunk@9511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 16:44:55 +00:00
azaozz
0bfca053e9 Make postboxes easier to drop in the left column
git-svn-id: http://svn.automattic.com/wordpress/trunk@9510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 14:18:46 +00:00
azaozz
7c063b0b50 Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: http://svn.automattic.com/wordpress/trunk@9509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 13:00:12 +00:00
ryan
8c67165a93 Redirect back to correct comment page after replying. Props Viper007Bond. fixes #8055
git-svn-id: http://svn.automattic.com/wordpress/trunk@9508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:37:30 +00:00
ryan
71278343c2 Redirect back to correct comment page after replying. Props Viper007Bond. fixes #8055
git-svn-id: http://svn.automattic.com/wordpress/trunk@9507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:31:19 +00:00
ryan
2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
azaozz
a1c1da11f8 RTL CSS for 2.7, props mani_monaj, see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 02:50:16 +00:00
ryan
0f33f00e43 Localization for wp-mail. Props filosofo. fixes #8051
git-svn-id: http://svn.automattic.com/wordpress/trunk@9504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 23:35:34 +00:00
ryan
23feb0523b Revert POP3 changes. Localization for wp-mail. Props filosofo. see #8051
git-svn-id: http://svn.automattic.com/wordpress/trunk@9503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 23:25:11 +00:00
ryan
2802a24816 Verbump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 20:26:00 +00:00
ryan
851e47cb22 Use only one enclosure type. Props hailin. fixes #8017
git-svn-id: http://svn.automattic.com/wordpress/trunk@9501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 20:19:38 +00:00
ryan
1e3183ac77 Bump script loader version for quicktags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 19:47:55 +00:00
azaozz
e6b85fc6e0 Add slash to the path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 19:16:29 +00:00
azaozz
ae9a9b418f Fix Screen Options in IE, fixes #8045
git-svn-id: http://svn.automattic.com/wordpress/trunk@9498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 18:56:49 +00:00
azaozz
bc3fc534cd Fix path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 18:21:00 +00:00
azaozz
10cace1135 Fix typo in wp-admin.css, props 112502, fixes #8046
git-svn-id: http://svn.automattic.com/wordpress/trunk@9496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 18:00:08 +00:00
azaozz
829acc86dc Fix quick editing of last page in Edit Pages, props yoshi, fixes #8044
git-svn-id: http://svn.automattic.com/wordpress/trunk@9495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 17:37:20 +00:00
ryan
d19e88f183 Version bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 17:20:16 +00:00
ryan
d0519602a7 IF copy fails, chmod target to 0644 and try again
git-svn-id: http://svn.automattic.com/wordpress/trunk@9493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 17:16:41 +00:00
markjaquith
de3e6af863 Fix small typo in last commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 07:07:39 +00:00
markjaquith
ef37aa39aa Update to publish box styles. More horizontal room, consistent button placement, better for i18n, better wording.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 07:06:36 +00:00
ryan
c31fcfdab3 Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:44:48 +00:00
ryan
67d066669a Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:36:52 +00:00
ryan
4992d8ef3e Warning fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:31:06 +00:00
ryan
77fbd159c2 Remove unused gzipcompression option
git-svn-id: http://svn.automattic.com/wordpress/trunk@9487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:27:42 +00:00
ryan
e11ee489f1 Don't descend into single post title for the home page. see #3805
git-svn-id: http://svn.automattic.com/wordpress/trunk@9486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:22:36 +00:00
ryan
9c89c4af8c Use get_option instead of get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@9485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:10:18 +00:00
ryan
b7d2eb8000 link_before and link_after for wp_list_pages(). Props thee17. fixes #8041
git-svn-id: http://svn.automattic.com/wordpress/trunk@9484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:07:39 +00:00
azaozz
0c4c675dbc Fix js error on dashboard when no comments in Recent Comments module
git-svn-id: http://svn.automattic.com/wordpress/trunk@9483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 00:14:49 +00:00
ryan
7c3eeecb74 Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 00:00:59 +00:00
ryan
0a8415ae7a Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 23:52:49 +00:00
westi
f5d5354bb9 Translation fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 22:32:57 +00:00
westi
b40db2b6ab Notice Fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 22:24:42 +00:00
ryan
faa235224e Verbump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 21:43:25 +00:00
ryan
39f426065e Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 21:40:35 +00:00
ryan
63f6b5312b Fix drafts module
git-svn-id: http://svn.automattic.com/wordpress/trunk@9476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 21:05:38 +00:00
ryan
3368e6b8e5 Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 20:53:15 +00:00
ryan
cf1bff865a Fix warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@9474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 20:42:43 +00:00
azaozz
24fc4f0c3b Preview fixes: ensure autosave is run at least once on new posts before preview, properly show previews for pending and scheduled posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 13:56:32 +00:00
azaozz
7396f548ef Keep background color for comments that need moderation
git-svn-id: http://svn.automattic.com/wordpress/trunk@9472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 03:40:21 +00:00
azaozz
d524ab13dc Fix typo in edit-form-comment.php, props 112502, fixes #8037
git-svn-id: http://svn.automattic.com/wordpress/trunk@9471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 02:22:41 +00:00
azaozz
585f9c3aca Fix validation errors, add CDATA on inline JS, props Viper007Bond, fixes #8026
git-svn-id: http://svn.automattic.com/wordpress/trunk@9470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 02:18:32 +00:00
azaozz
550a4413e9 Remove outdated TinyMCE files, fix loading of translations for default plugins, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 02:12:26 +00:00
westi
5c7a4d7693 Redirect correctly on page deletion. Fixes #8030.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 22:28:34 +00:00
ryan
400296cdef Copy fresh over classic
git-svn-id: http://svn.automattic.com/wordpress/trunk@9467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 20:59:57 +00:00
westi
cd64bf9549 Add missing translation call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 19:15:33 +00:00
ryan
76a5770cc0 Make sure Upload button always shows. Props filosofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 17:20:55 +00:00
matt
7ed42f7885 Gravatars for user page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 11:19:13 +00:00
westi
3d598b80c8 Remove unecessary gap at the bottom of the post page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 10:30:35 +00:00
ryan
1d29fbd3d8 Beta 1
git-svn-id: http://svn.automattic.com/wordpress/trunk@9462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 07:43:07 +00:00
ryan
f046535b73 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 07:11:00 +00:00
ryan
76edf7888a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@9460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 06:57:00 +00:00
ryan
843149dfa3 Pass along POST info when requesting credentials
git-svn-id: http://svn.automattic.com/wordpress/trunk@9459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 06:56:38 +00:00
ryan
3021fcc185 media-new visibility fix. Props filosoof. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 05:35:33 +00:00
azaozz
b1cc5e7d30 Fix View All Comments link on dashboard
git-svn-id: http://svn.automattic.com/wordpress/trunk@9457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 05:26:04 +00:00
ryan
5a7353c246 Validation fixes from Viper007Bond. fixes #8026
git-svn-id: http://svn.automattic.com/wordpress/trunk@9456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 05:03:05 +00:00
azaozz
5d6b4b4391 List page comments on edit-comments.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 04:33:28 +00:00
azaozz
a7c2aa7f94 Don't change text for Screen Options
git-svn-id: http://svn.automattic.com/wordpress/trunk@9454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 02:52:43 +00:00
azaozz
8c92b61171 Fix bulk edit and preview url
git-svn-id: http://svn.automattic.com/wordpress/trunk@9453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 01:15:22 +00:00
azaozz
1e4e3ec57e Do cap check when shoving a preview
git-svn-id: http://svn.automattic.com/wordpress/trunk@9452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 23:14:37 +00:00
azaozz
9fba444f3b Preview for both drafts and published posts/pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 22:47:07 +00:00
ryan
0018370f9d Move Parent, Template, and Order to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:57:44 +00:00
ryan
bb51d1ccdc Default privacy box to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:49:23 +00:00
ryan
4a2fb422f3 Default privacy box to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:48:00 +00:00
ryan
9a7fcfdd23 Default some widgets to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:04:48 +00:00
ryan
b0e741b6af Default all boxes to open
git-svn-id: http://svn.automattic.com/wordpress/trunk@9446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 20:59:22 +00:00
ryan
5ea2344763 Reorder dash widgets
git-svn-id: http://svn.automattic.com/wordpress/trunk@9445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 20:47:36 +00:00
ryan
bfb90a6922 Make user settings global
git-svn-id: http://svn.automattic.com/wordpress/trunk@9444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 20:41:16 +00:00
ryan
f8090206fa Allow nested install. Props sivel. fixes #7997
git-svn-id: http://svn.automattic.com/wordpress/trunk@9443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 19:24:45 +00:00
ryan
0e169da4dc Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:54:30 +00:00
ryan
e55a05453a Better i18n support for automatic upgrade. Props nbachiyski. fixes #8023
git-svn-id: http://svn.automattic.com/wordpress/trunk@9441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:51:06 +00:00
ryan
52ad0c67b6 Bump swf script versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:38:40 +00:00
azaozz
68e1a688dc Disable dblclick for pages, posts and taxonomy QE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:31:26 +00:00
ryan
f96695270f Flash degradation fixes from filsofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:24:55 +00:00
azaozz
232b802050 Doubleclick on comment text to open QE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:09:42 +00:00
markjaquith
698b1f1e4a Improvements to the Edit Comment screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:05:25 +00:00
ryan
a9a114843b One form so filters stack
git-svn-id: http://svn.automattic.com/wordpress/trunk@9435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:02:20 +00:00
azaozz
acfc26ecd6 More edit comment page fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 16:52:55 +00:00
markjaquith
4a784a1291 Revert to simple Edit Post title for post editing screen. No longer makes sense with lack of breadcrumbs and the actual post title box so high on the screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 16:40:55 +00:00
markjaquith
3503d95ba4 Add right_now_table_end action hook so plugins can add to the Right Now summary table. props Malaiac
git-svn-id: http://svn.automattic.com/wordpress/trunk@9431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 08:00:47 +00:00
markjaquith
3a230bff18 Bring Comment Save postbox up to parity with Post/Page Publish postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 06:53:55 +00:00
markjaquith
8be1ba6191 Disable "Visibility" placeholder for now. Propagate new Publish box formatting and functionality to Edit Page form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 05:38:31 +00:00
markjaquith
1cb2fe068c Fix the gimpy Spam link on Edit Comments screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 04:28:24 +00:00
markjaquith
741a20d8b7 Right Now (Dashboard) styling. props Malaiac. fixes #8015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 04:23:17 +00:00
matt
3bca944c3e Make akismet check-for-spam button not ugly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 03:46:14 +00:00
azaozz
bb63ae8194 Edit comment page fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 03:31:06 +00:00
ryan
5024fd6632 ['depth'] during the wp_list_comments should be ['max_depth']. Props ShaneF. fixes #8018
git-svn-id: http://svn.automattic.com/wordpress/trunk@9424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 02:58:22 +00:00
ryan
22740d5394 SWFUpload 2.2.0 beta 2 with Flash 10 support. Props filosofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 01:53:39 +00:00
azaozz
e86dfe684f Some dashboard and IE layout fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 23:43:08 +00:00
ryan
03a2e31631 SWFUpload 2.2.0 beta 2 with Flash 10 support. Props filosofo. see #6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@9421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 23:13:53 +00:00
westi
8fcc4c16ce RTL fix for avatars in classic theme. Props RanYanivHartstein.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 22:14:24 +00:00
westi
3baca0199f Apply styles to readonly textareas too. Fixes #7985 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 22:11:06 +00:00
ryan
156a49cf9d Translate sizes. fixes #8012
git-svn-id: http://svn.automattic.com/wordpress/trunk@9418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 16:00:24 +00:00
ryan
6ae7a9e401 Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:57:34 +00:00
ryan
a5f00be14a Respect respond_id. props filosofo. fixes #8011
git-svn-id: http://svn.automattic.com/wordpress/trunk@9416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:56:39 +00:00
ryan
55feabee97 Escape attribute translation. Props nbachiyski. fixes #8010
git-svn-id: http://svn.automattic.com/wordpress/trunk@9415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:53:58 +00:00
ryan
166ccef6c3 Revert [9413]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:50:21 +00:00
azaozz
016942b825 Better comments listing, props Matt
git-svn-id: http://svn.automattic.com/wordpress/trunk@9413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 12:24:11 +00:00
azaozz
e6573d012d Refresh js and css
git-svn-id: http://svn.automattic.com/wordpress/trunk@9412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 10:03:12 +00:00
azaozz
a1b7628ee8 Menu updates and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 09:52:20 +00:00
ryan
fc81ae374d Formatting cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 04:07:24 +00:00
markjaquith
0e01062062 Publish postbox layout tweaks for Main Column Mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 03:50:23 +00:00
azaozz
f846c853d5 Postbox.js fixes and css reset
git-svn-id: http://svn.automattic.com/wordpress/trunk@9408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 03:03:00 +00:00
ryan
cdb2fa6a66 Fix the fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:59:47 +00:00
ryan
25f4e26d33 Wrong view ryan
git-svn-id: http://svn.automattic.com/wordpress/trunk@9406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:56:48 +00:00
westi
545c95e14b Make all comments classy. Fixes #8006 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:25:06 +00:00
westi
21535e1cb8 Default media type to all. Fixes #8000 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:17:54 +00:00
ryan
9479b4ed91 Formatting cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 20:26:20 +00:00
markjaquith
3a0dc54a26 More work on Publish postbox. Post status tweaks, post date tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 19:22:56 +00:00
ryan
f600722c5a Bump readme ver. fixes #7721
git-svn-id: http://svn.automattic.com/wordpress/trunk@9401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 19:10:56 +00:00
ryan
57fe09dfc3 Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 18:21:06 +00:00
markjaquith
9d13dfbafb Put a nbsp in between Quick and Edit so that they stay together and Quick Edit spread over 2 lines does not get mistaken for regular Edit
git-svn-id: http://svn.automattic.com/wordpress/trunk@9399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 08:23:48 +00:00
markjaquith
c9db5d9061 Publish box tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@9398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 08:19:15 +00:00
ryan
4b7b8b4958 phpdoc updates. see #7358
git-svn-id: http://svn.automattic.com/wordpress/trunk@9397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:54:53 +00:00
markjaquith
598c0b4805 Tighten up admin H2s
git-svn-id: http://svn.automattic.com/wordpress/trunk@9396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:48:34 +00:00
markjaquith
bd2ca8d354 Bump wp-admin.css version
git-svn-id: http://svn.automattic.com/wordpress/trunk@9395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:01:23 +00:00
markjaquith
3eb1cd5ade Numerous Publish postbox tweaks, fixes, and flourishes. Still WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@9394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:00:22 +00:00
markjaquith
fd24df7b4a Implement admin footer with margin, not height, so that people can add stuff to it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 03:51:16 +00:00
markjaquith
6631641b54 Doubleclick on icon goes to first item, even when menu is unfolded
git-svn-id: http://svn.automattic.com/wordpress/trunk@9392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 03:22:42 +00:00
ryan
0991d8c1b1 set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@9391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 22:10:05 +00:00
westi
416ee57673 Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 22:07:39 +00:00
azaozz
4d3a74f242 Show all four Upload Media buttons in TinyMCE's full screen mode
git-svn-id: http://svn.automattic.com/wordpress/trunk@9389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 20:43:14 +00:00
markjaquith
f614aea244 Properly handled posts with internal paging in Canonical
git-svn-id: http://svn.automattic.com/wordpress/trunk@9388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 19:21:23 +00:00
ryan
9ad53f6d7c Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@9387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 19:16:24 +00:00
ryan
6a3dd73a72 Obey comment_order if set. Defaul to asc if not set
git-svn-id: http://svn.automattic.com/wordpress/trunk@9386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 16:41:47 +00:00
ryan
7f456fd864 Threaded comment fixes from filosofo. fixes #7980
git-svn-id: http://svn.automattic.com/wordpress/trunk@9385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 16:17:48 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
azaozz
eb035e3188 media.css and rtl.css cleanup, props Simek, fixes #7967
git-svn-id: http://svn.automattic.com/wordpress/trunk@9383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:13:24 +00:00
markjaquith
f52a90b586 Save fold state when folding via doubleclick
git-svn-id: http://svn.automattic.com/wordpress/trunk@9382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 08:46:54 +00:00
markjaquith
a3b0a3190d Default to having the menu open, not folded. Remember individual menu states when folding/unfolding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 08:32:56 +00:00
azaozz
ea002ede30 Dashboard: make columns equal size
git-svn-id: http://svn.automattic.com/wordpress/trunk@9380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 07:56:17 +00:00
ryan
08998169ad get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 07:29:04 +00:00
azaozz
b89e553492 Small dashboard css fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 07:21:17 +00:00
ryan
8d76dc5af1 get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 07:17:29 +00:00
markjaquith
acfecce577 Make wp_title() sort titles based on separator direction. Reverse the titles in bundled theme. Better SEO. fixes #7338
git-svn-id: http://svn.automattic.com/wordpress/trunk@9376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 04:53:52 +00:00
ryan
7699e2d46b Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@9375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 04:19:39 +00:00
ryan
9d05b9595a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@9374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 03:43:52 +00:00
azaozz
f7ea3c572b Fix redirecting of old slugs when Close Old Comments is enabled, props DD32, fixes #7976
git-svn-id: http://svn.automattic.com/wordpress/trunk@9373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 01:20:38 +00:00
westi
b392c3a35f validation fixes for the WordPress importer. Fixes #7982 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 21:12:24 +00:00
azaozz
04ffb66e61 Press This CSS cleanup, props Simek, fixes #7967
git-svn-id: http://svn.automattic.com/wordpress/trunk@9371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 21:00:26 +00:00
azaozz
9f72344f5a Some CSS cleanup, props Simek, see #7967
git-svn-id: http://svn.automattic.com/wordpress/trunk@9370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 20:55:25 +00:00
azaozz
17083f0ce8 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: http://svn.automattic.com/wordpress/trunk@9369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 20:41:05 +00:00
ryan
a36f3d0ed6 Move 'Users must be registered and logged in to comment' setting to Discussion page. Props MtDewVirus. fixes #6652
git-svn-id: http://svn.automattic.com/wordpress/trunk@9368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 17:03:20 +00:00
ryan
53220e2a0e Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 16:31:26 +00:00
ryan
611bbf9955 wp_list_bookmarks should always show name if there is no image to show. Props mtdewvirus. fixes #7981
git-svn-id: http://svn.automattic.com/wordpress/trunk@9366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 16:23:07 +00:00
markjaquith
8b07a301c5 More work on publishing module. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 06:07:59 +00:00
markjaquith
ea9b087c7a Add a little padding to a.button, for to benefit glorious nation Webkit rounded corners
git-svn-id: http://svn.automattic.com/wordpress/trunk@9364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 04:56:17 +00:00
azaozz
2e6d9f228e Attach 'Screen Options' button to the sliding layer and related changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 01:22:24 +00:00
westi
bb7249cffe Correct the actions dropdowns for the different contexts. Fixes #7974 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 22:06:58 +00:00
westi
b679f97348 Syncronise the messages for Import/Export of WXR. Fixes #6557 props mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 18:40:20 +00:00
ryan
cca9311267 Add self parent check
git-svn-id: http://svn.automattic.com/wordpress/trunk@9360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 18:26:45 +00:00
ryan
63d66e8d75 Don't show screen options for plugin pages. fixes #7970
git-svn-id: http://svn.automattic.com/wordpress/trunk@9359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 17:21:04 +00:00
ryan
2ef93d9391 Allow gzipped files for MT/TypePad import. Props mtdewvirus. fixes #7971
git-svn-id: http://svn.automattic.com/wordpress/trunk@9358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 17:08:40 +00:00
ryan
296afd1941 Preserve attachment IDs during import. Props mtdewvirus. fixes #7972
git-svn-id: http://svn.automattic.com/wordpress/trunk@9357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 17:05:56 +00:00
westi
c170ec5dce Show and error in the page title for 404 pages. Fixes #6835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 13:11:34 +00:00
westi
9560feaebd Better page titles when blog is not shown on the front page. Fixes #3805 props anderswc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 13:03:50 +00:00
azaozz
11aaba8bc1 2 column pages for Categories and Link Categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@9354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 09:08:52 +00:00
azaozz
6c46be687a TinyMCE: attempt to load a translation file for external plugins, if not found, try en.js, fixes #7950
git-svn-id: http://svn.automattic.com/wordpress/trunk@9353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 07:32:58 +00:00
ryan
f68bd416e8 Fix plugin activation error reporting. Props DD32. fixes #7671
git-svn-id: http://svn.automattic.com/wordpress/trunk@9352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 06:33:33 +00:00
ryan
2ddfa72692 Back to one form so filters stack
git-svn-id: http://svn.automattic.com/wordpress/trunk@9351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 23:49:55 +00:00
westi
00e2684feb Make the metaboxes easier to drag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 23:11:55 +00:00
westi
1f079aa071 Better variable naming. See #7358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:56:02 +00:00
westi
e393417401 Warn if the core updater failed to complete. See #7819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:22:29 +00:00
westi
9133214dba Set autocomplete off for password files on the profile pages. Fixes #5006.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 21:41:55 +00:00
westi
c1f7aeb0b9 More options pages updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 21:29:18 +00:00
azaozz
76d405b601 More styling for the Tags page, change the Options pages background color to light gray
git-svn-id: http://svn.automattic.com/wordpress/trunk@9345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 20:55:40 +00:00
westi
ee126ed803 Make sure we always display something in the dropdown. See #7027.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 20:40:58 +00:00
westi
5f968cda2b First stab at better options pages. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 19:55:56 +00:00
westi
c21aa4f3cf Plugins page actions dropdowns.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 19:14:47 +00:00
westi
fe49f8d967 unique search input ids.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 18:43:33 +00:00
ryan
ce62669cc4 Introduce get_edit_tag_link() and add option to wp_tag_cloud() for showing edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 18:19:42 +00:00
azaozz
b3e5e7a718 2 column Tags page, needs more styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 08:01:37 +00:00
ryan
8f7da19ebb Prune dead code. Props sivel. fixes #7963
git-svn-id: http://svn.automattic.com/wordpress/trunk@9338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 22:41:56 +00:00
ryan
5ed9c32d49 If parent uses admin.php, use admin.php for subs. fixes #7962
git-svn-id: http://svn.automattic.com/wordpress/trunk@9337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 22:40:19 +00:00
ryan
442858025e comments-popup template updates from DD32. fixes #6391
git-svn-id: http://svn.automattic.com/wordpress/trunk@9336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 21:06:30 +00:00
ryan
e3517a9be4 Send 403 instead of 500 for comment flood protection. Allow specifying response code for wp_die(). Props DD32. fixes #7246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 21:00:40 +00:00
azaozz
002d07c3af Remove Quick Edit when clicking search or filter buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 20:50:20 +00:00
ryan
e18ff57e78 Move echo/return outside of loops. Props DD32. fixes #7749
git-svn-id: http://svn.automattic.com/wordpress/trunk@9333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 20:47:12 +00:00
ryan
a3dffe926a Warning fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 20:04:31 +00:00
ryan
e9007e8c56 Back to one form so filters stack
git-svn-id: http://svn.automattic.com/wordpress/trunk@9331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 19:56:44 +00:00
markjaquith
3d3c4ec630 Screen Options tweaks. Uparrow when expanded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 19:33:40 +00:00
ryan
b871689484 Bring back user search. fixes #7960
git-svn-id: http://svn.automattic.com/wordpress/trunk@9329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 19:21:19 +00:00
azaozz
ee9c9b86cf New buttons and styling for all "management" pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:25:46 +00:00
ryan
2eb1ba967f Better error response when fetching attachments. Props DD32. see #7944
git-svn-id: http://svn.automattic.com/wordpress/trunk@9327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:22:43 +00:00
ryan
15a965cf80 Press This updates from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 17:20:06 +00:00
westi
7ab57a07e4 Remove placeholder images. Props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 15:25:53 +00:00
markjaquith
6659d1bf24 Make the entire Screen Options button clickable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 11:08:44 +00:00
markjaquith
6f28d769a0 Fix a PHP Notice. props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:55:20 +00:00
markjaquith
c3c2c50844 Redirect away from paged comments permalinks when comment paging has been turned off. props DD32. see #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:53:09 +00:00
markjaquith
4400e5bb71 Bump some versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:52:24 +00:00
markjaquith
edc8069294 Do not put an overline for submit buttons at the top (TODO: figure out our style for options pages)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:45:58 +00:00
markjaquith
682428cda9 Screen Options tab, rough draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@9319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:29:07 +00:00
markjaquith
cf2730334f Enable pretty permalinks for previous_ and next_comments_link(). props DD32, Viper007Bond. see #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 07:36:43 +00:00
markjaquith
de26116d76 Fix comment paging for when $comments is passed in. props Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 07:27:19 +00:00
markjaquith
bfc531cd80 Increase the default number of comments per page to 50. 10 is far too few.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 07:22:50 +00:00
ryan
58d9c20de5 use activate_plugin for error scraping, pass full WP_Error object to wp_die(), whitespace cleanups. Props DD32. fixes #7671
git-svn-id: http://svn.automattic.com/wordpress/trunk@9315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 05:47:55 +00:00
ryan
b5b92a3968 Plugin install dialog formatting fixes from DD32. fixes #7908
git-svn-id: http://svn.automattic.com/wordpress/trunk@9314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 04:54:21 +00:00
azaozz
9b50d01630 XML-RPC wp.getPages Fix: don't restrict to just published pages, props josephscott, fixes #7954
git-svn-id: http://svn.automattic.com/wordpress/trunk@9313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 01:56:22 +00:00
azaozz
978022fd41 Admin menu: make toggle arrow easier to spot
git-svn-id: http://svn.automattic.com/wordpress/trunk@9312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 01:50:54 +00:00
ryan
36bc4c6820 Make plugins.php the first Plugins submenu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 23:32:04 +00:00
ryan
b3749dad16 Revert snoopy change that breaks with canonical feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 22:41:51 +00:00
ryan
b7ca9bd521 Add conditional load back to snoopy and strip trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@9307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 22:19:21 +00:00
azaozz
076763cfff Admin menu styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 22:19:19 +00:00
ryan
965d8d1507 Snoopy 1.2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@9303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 21:08:09 +00:00
ryan
33f8a5e080 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: http://svn.automattic.com/wordpress/trunk@9302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 20:03:16 +00:00
ryan
77f5447071 wp_get_http() fixes. see #7944
git-svn-id: http://svn.automattic.com/wordpress/trunk@9301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 19:39:17 +00:00
ryan
f275541cf6 pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 18:55:22 +00:00
ryan
fac34b2423 Set current_page_parent when using page_for_posts. Props betsyk. fixes #7518
git-svn-id: http://svn.automattic.com/wordpress/trunk@9299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 18:01:57 +00:00
ryan
710529051d Remove titles from inline edit rows
git-svn-id: http://svn.automattic.com/wordpress/trunk@9298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:37:19 +00:00
ryan
838f6b5d93 Bring back Quick Edit links
git-svn-id: http://svn.automattic.com/wordpress/trunk@9297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:34:21 +00:00
ryan
91841f2e3c Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:08:47 +00:00
ryan
93de637a55 Press This fixes from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 15:42:04 +00:00
ryan
8e0883da2f Remember pagenum when redirecting after saving a category. fixes #7923
git-svn-id: http://svn.automattic.com/wordpress/trunk@9294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 00:08:42 +00:00
ryan
fe5cd0fa48 Show message when there are no drafts. Props jamierumbelow. fixes #7921
git-svn-id: http://svn.automattic.com/wordpress/trunk@9293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 23:37:55 +00:00
ryan
729539ef94 Don't double encode ping/trackbacks. Props reinkim. fixes #7844
git-svn-id: http://svn.automattic.com/wordpress/trunk@9292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:48:14 +00:00
azaozz
408600ce58 Postboxes drag/drop for all browsers, some base css fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:08:58 +00:00
ryan
e59d369976 Add post_parent index. fixes #7876
git-svn-id: http://svn.automattic.com/wordpress/trunk@9290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:03:41 +00:00
ryan
461ac5808d Fix in_category() when checking non-cached categories. fixes #7181
git-svn-id: http://svn.automattic.com/wordpress/trunk@9289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 21:31:55 +00:00
ryan
85bc4ebd08 Set perms on update-core.php after copying
git-svn-id: http://svn.automattic.com/wordpress/trunk@9288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 21:14:49 +00:00
ryan
c157d8861a Fix current submenu designation when sub swith the same hook exist under different parents. fixes #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:57:37 +00:00
ryan
4c6b2b6cd3 Fix links for submenus that have real parents when a submenu with admin.php as a parent is current. see #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:42:57 +00:00
ryan
5e2544ac20 Fix links for submenus added to existing menus. see #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:33:59 +00:00
markjaquith
26bce778a8 Finishing touches on the admin footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:14:21 +00:00
ryan
b28b00594c Init var. see #7692
git-svn-id: http://svn.automattic.com/wordpress/trunk@9283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 18:45:09 +00:00
ryan
c2701b1a61 Remove unused var. see #7692
git-svn-id: http://svn.automattic.com/wordpress/trunk@9282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 18:39:50 +00:00
ryan
2d2c0736e3 Allow ['action'] in admin-ajax.php. Props misterbisson. fixes #7945
git-svn-id: http://svn.automattic.com/wordpress/trunk@9281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 17:15:19 +00:00
ryan
ef44f75f79 icon_dir_uri filter instead of icon_dir. Props jmini. fixes #7947
git-svn-id: http://svn.automattic.com/wordpress/trunk@9280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 17:09:03 +00:00
ryan
6ad29de92a Update backup link. Props MichaelH . fixes #7899
git-svn-id: http://svn.automattic.com/wordpress/trunk@9279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 16:41:01 +00:00
ryan
fb73087b8f Remove unused args. fixes #7946
git-svn-id: http://svn.automattic.com/wordpress/trunk@9278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 16:17:41 +00:00
markjaquith
49847d77f3 Fix Screen Options toggles accidentally broken in [9662]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 06:52:06 +00:00
ryan
3942c97d46 Improved password strength meter from Otto42. fixes #7124
git-svn-id: http://svn.automattic.com/wordpress/trunk@9276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 04:20:50 +00:00
markjaquith
d0fe49e03b Header CSS cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 04:18:43 +00:00
ryan
45686c6bc8 link-template phpdoc from jacobsantos. fixes #5642
git-svn-id: http://svn.automattic.com/wordpress/trunk@9274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 03:08:33 +00:00
ryan
20c70e3bc7 post-template phpdoc from jacobsantos. fixes #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@9273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 03:06:53 +00:00
ryan
574bc847f3 get_plugin_data() back compat fixes from DD32. fixes #7479
git-svn-id: http://svn.automattic.com/wordpress/trunk@9272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 00:08:22 +00:00
ryan
bffd07f0a7 Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin(). Props DD32. fixes #7878
git-svn-id: http://svn.automattic.com/wordpress/trunk@9271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 23:55:58 +00:00
ryan
5a529cd216 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 23:54:18 +00:00
markjaquith
a15cb1971e New footer style, first draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@9269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 22:27:41 +00:00
markjaquith
66dfd6f478 Display a placeholder dropbox for Sortables
git-svn-id: http://svn.automattic.com/wordpress/trunk@9268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 22:06:41 +00:00
markjaquith
f6943d33bc ngettext() fix for Right Now
git-svn-id: http://svn.automattic.com/wordpress/trunk@9267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 20:50:14 +00:00
ryan
b07b5fe1be Remove test link
git-svn-id: http://svn.automattic.com/wordpress/trunk@9266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 17:59:19 +00:00
ryan
97266a7552 Right Now modules. Very rough, needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 17:56:48 +00:00
ryan
e6641a0268 Redirect plugins that hard code their pages to be under edit.php. Props filosofo. fixes #7932
git-svn-id: http://svn.automattic.com/wordpress/trunk@9264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 16:31:06 +00:00
westi
b44779df6c Fix delete page nonce. Fixes #7936 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 07:30:41 +00:00
markjaquith
428c9158e8 Send togbox to Hades. @ryan: size 8.5 -- something with sapphires.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 04:55:38 +00:00
markjaquith
b9a948d5b5 Initial work on Publish box. Very rough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 04:36:35 +00:00
markjaquith
66d0933d2b Widen the post screen sidebars
git-svn-id: http://svn.automattic.com/wordpress/trunk@9260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 03:10:19 +00:00
ryan
2d61441067 Use prepare() in wp_insert_attachment(). Props dwc. fixes #7933
git-svn-id: http://svn.automattic.com/wordpress/trunk@9259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 21:55:37 +00:00
ryan
a9fc6fc48f Link to better codex article for backups. Props MichaelH. see #7899
git-svn-id: http://svn.automattic.com/wordpress/trunk@9258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 21:16:07 +00:00
ryan
ae1cfca147 Bring back plugin updates count. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:46:07 +00:00
ryan
3bcd105f0e Bring back awaiting moderation comment count. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:39:08 +00:00
ryan
3e9d39b667 Reduce backtracking in wpautop. fixes #6877
git-svn-id: http://svn.automattic.com/wordpress/trunk@9255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:25:02 +00:00
ryan
6f1a62f089 Tweak wp_page_menu() defaults. Props MichaelH. fixes #7914
git-svn-id: http://svn.automattic.com/wordpress/trunk@9254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 17:39:01 +00:00
ryan
45b8a2b4cd Link to codex for instructions on backing up the blog instead of suggesting export. see #7899
git-svn-id: http://svn.automattic.com/wordpress/trunk@9253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 17:32:45 +00:00
markjaquith
14aeedc5ef Update update_post_meta() and delete_post_meta() to work with post revisions. Props misterbisson. fixes #7925
git-svn-id: http://svn.automattic.com/wordpress/trunk@9252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 05:47:13 +00:00
markjaquith
8c07e41ba3 Add wp-logo.gif to Gears Manifest. TODO: make sure all files are in here before we go gold on 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@9251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 04:54:59 +00:00
ryan
7e0e1ac42d Don't require use of options whitelisting. Will give plugins more notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 00:40:36 +00:00
ryan
91f0787cfb Move whitelist functions to plugin.php. Add settings_fields().
git-svn-id: http://svn.automattic.com/wordpress/trunk@9249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-19 23:35:09 +00:00
azaozz
77c138c4c0 Remove the "Post/Page" column when looking at comments on the edit page, fixes #7924
git-svn-id: http://svn.automattic.com/wordpress/trunk@9248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-19 20:11:43 +00:00
ryan
985a5b4a3f Consolidate *backs filter. Preserve filter settings when filetering by post. Props Viper007Bond. fixes #7920
git-svn-id: http://svn.automattic.com/wordpress/trunk@9247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-19 00:38:29 +00:00
ryan
a4f5971898 wp_page_menu() echo fixes. see #7914
git-svn-id: http://svn.automattic.com/wordpress/trunk@9246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 21:15:20 +00:00
ryan
6baaa2300d Fix echo arg to wp_page_menu(). see #7518
git-svn-id: http://svn.automattic.com/wordpress/trunk@9245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 21:06:28 +00:00
ryan
f111cc74b2 Don't schedule update events while installing. Props rdworth and tott. fixes #7724
git-svn-id: http://svn.automattic.com/wordpress/trunk@9244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:58:19 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
ryan
782e278c72 Recognize windows absolute paths. see #7904
git-svn-id: http://svn.automattic.com/wordpress/trunk@9242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 19:48:49 +00:00
azaozz
a8f998d914 Comments post-box: show 10 comments at load only if the postbox is not hidden
git-svn-id: http://svn.automattic.com/wordpress/trunk@9241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 17:00:20 +00:00
azaozz
e6a11a4232 Favourites drop-down styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 16:54:14 +00:00
ryan
064a9332df Must pass var by ref. Props x11tech. fixes #7781
git-svn-id: http://svn.automattic.com/wordpress/trunk@9239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 22:55:30 +00:00
ryan
0cb6fbfbc8 Try out stick checkbox in Status section of Quick Edit. Props ShaneF. fixes #7902
git-svn-id: http://svn.automattic.com/wordpress/trunk@9238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 22:49:16 +00:00
ryan
d8e2a4972e Link post title to editor and comment count to post filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@9237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 22:31:10 +00:00
markjaquith
5cb6c5b769 Edit Posts needs an H2. Yes, I know the Filter options look funky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 21:22:11 +00:00
ryan
c7568c51e8 Make blog name a link to site
git-svn-id: http://svn.automattic.com/wordpress/trunk@9235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 21:16:47 +00:00
ryan
76c966b75a get_search_form from technosailor. fixes #7910
git-svn-id: http://svn.automattic.com/wordpress/trunk@9234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:39:56 +00:00
markjaquith
4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
markjaquith
61f911c42e Bring back the H2s. Rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:02:03 +00:00
ryan
f3981a0ed8 Fix nonce collision and delete all spam
git-svn-id: http://svn.automattic.com/wordpress/trunk@9231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 19:55:51 +00:00
ryan
06b0afb510 Fox white on white login login fields. Props sivel. fixes #7906
git-svn-id: http://svn.automattic.com/wordpress/trunk@9230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 19:37:04 +00:00
ryan
dd0d70f411 Don't double escape in get_cat_ID(). fixes #7849
git-svn-id: http://svn.automattic.com/wordpress/trunk@9229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 18:56:56 +00:00
ryan
72282f995e Move "Comment author must fill out name and e-mail " to "Default article settings". Props bubel. fixes #7814
git-svn-id: http://svn.automattic.com/wordpress/trunk@9228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 18:45:32 +00:00
ryan
bada5d787a Add some type sanity checks. Props DD32. fixes #7800
git-svn-id: http://svn.automattic.com/wordpress/trunk@9227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 18:30:04 +00:00
ryan
c921aa8b0d Better not found messages. Props caesarsgrunt. fixes #5324
git-svn-id: http://svn.automattic.com/wordpress/trunk@9226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 17:00:57 +00:00
azaozz
b7959c1d28 Comments post-box: show comments on the currently edited post with ajax, 20 at a time
git-svn-id: http://svn.automattic.com/wordpress/trunk@9225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 09:44:22 +00:00
markjaquith
d40277d4c0 Working on the header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 05:48:00 +00:00
azaozz
707dabfa7f HTML validation fixes, props Viper007Bond
git-svn-id: http://svn.automattic.com/wordpress/trunk@9223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 03:49:43 +00:00
ryan
293c541d91 i18n fixes for plugin intaller from DD32 and nbachiyski. see #7807
git-svn-id: http://svn.automattic.com/wordpress/trunk@9222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 02:35:43 +00:00
ryan
d457e3d181 Bring back h2 for add/edit post
git-svn-id: http://svn.automattic.com/wordpress/trunk@9221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 00:36:18 +00:00
ryan
ef41829f0d script loader updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@9220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 22:39:16 +00:00
ryan
f46fb544e7 Dashboard updates from mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 22:35:53 +00:00
ryan
7d7305c4c9 Update wlw manifest for get tags support. Props josephscott. fixes #7744
git-svn-id: http://svn.automattic.com/wordpress/trunk@9218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 22:26:30 +00:00
ryan
ae2c4bc50c Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@9217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 22:23:32 +00:00
azaozz
72577aacd8 Show warning if user is logged out while writing or editing, includes patch by tott, fixes #7630
git-svn-id: http://svn.automattic.com/wordpress/trunk@9216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 21:59:06 +00:00
ryan
bda278846f Delete all spam fixes from Viper007Bond
git-svn-id: http://svn.automattic.com/wordpress/trunk@9215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 21:45:43 +00:00
markjaquith
9d22cfb1f7 Proper trailing slashes for when is_front_page() does not show the blog. fixes #7892
git-svn-id: http://svn.automattic.com/wordpress/trunk@9214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 21:14:42 +00:00
westi
8453f12963 Add attachment support to wp_mail. Fixes #7787 props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:57:49 +00:00
ryan
5ec329b4f1 Add optional path arg to load_theme_textdomain(). Props filosofo. fixes #6951
git-svn-id: http://svn.automattic.com/wordpress/trunk@9212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:44:39 +00:00
westi
de52fa23a2 Allow plugins to mangle translations of english strings as well as translated strings. Fixes #6742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:27:45 +00:00
azaozz
57fb217b3f If no caption entered, use attachment title for alt text, props Viper007Bond, fixes #7675
git-svn-id: http://svn.automattic.com/wordpress/trunk@9210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:25:50 +00:00
ryan
372a721fe0 Pass args from Walker to comment_reply_link(). Props Otto42. fixes #7901
git-svn-id: http://svn.automattic.com/wordpress/trunk@9209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:22:53 +00:00
ryan
2a2b7d4de2 Link to post editor from post title in recent comments dash module
git-svn-id: http://svn.automattic.com/wordpress/trunk@9208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:21:19 +00:00
ryan
a5937fc33a Add avatar_size arg. Props Otto42. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:05:34 +00:00
ryan
44d4acd5d3 Threaded comments options cleanup. Props Viper007Bond. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:03:18 +00:00
ryan
42a83b4ebc wp_get_attachment_link filter. Props Viper007Bond. fixes #7448
git-svn-id: http://svn.automattic.com/wordpress/trunk@9205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:00:11 +00:00
ryan
c946b75953 Return affected rows for alter queries. Props BjornW. fixes #7215
git-svn-id: http://svn.automattic.com/wordpress/trunk@9204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:54:00 +00:00
markjaquith
c7f54da90b Strip trailing /index.php in Canonical, fixes #5017. fixes #7173.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:17:04 +00:00
ryan
1f1409a786 link_before and link_after from thee17. fixes #5652
git-svn-id: http://svn.automattic.com/wordpress/trunk@9202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:13:30 +00:00
ryan
8b6d985d00 Remove Press This from Tools menu. Add to writing settings. Props technosailor. fixes #7393
git-svn-id: http://svn.automattic.com/wordpress/trunk@9201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:07:11 +00:00
ryan
c43a7cf1eb get_avatar() phpdoc update from Speedboxer. fixes #7536
git-svn-id: http://svn.automattic.com/wordpress/trunk@9200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 18:37:05 +00:00
ryan
b7ab2f2e3e silence is_writable() warnings. see #7640
git-svn-id: http://svn.automattic.com/wordpress/trunk@9199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 17:35:39 +00:00
ryan
fdef1212ef Descriptions for Add New from RanYanivHartstein. fixes #7900
git-svn-id: http://svn.automattic.com/wordpress/trunk@9198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 17:25:39 +00:00
markjaquith
39ae0a4f8f Switch to using empty()/!empty() checks in Canonical. see #7537
git-svn-id: http://svn.automattic.com/wordpress/trunk@9197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 16:08:00 +00:00
azaozz
c4453c9a0f Admin menu: double-click icon to go to default (first) location, show section header when folded
git-svn-id: http://svn.automattic.com/wordpress/trunk@9196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 10:32:26 +00:00
ryan
3be95653d0 comment_status transition hooks from Viper007Bond. fixes #7894
git-svn-id: http://svn.automattic.com/wordpress/trunk@9195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 04:18:45 +00:00
azaozz
0ef5225b4c Fix widgets page when multiple class="wrap" are used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 01:18:33 +00:00
markjaquith
77da070d7a Redirect alternate is_single() URLs (like multiple category-based urls) to the canonical URL. fixes #6627
git-svn-id: http://svn.automattic.com/wordpress/trunk@9193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 22:00:12 +00:00
markjaquith
75bd6b32a8 Remove JS confirmation of individual user deletion. It is redundant.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 21:48:19 +00:00
westi
4fbc4584cd Fire an action to allow extra Profile fields to be processed. Fixes #7713 props capripot.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 21:10:55 +00:00
westi
b31aa3f568 Pass on the $separator. Fixes #7005.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 21:02:07 +00:00
westi
5b22c24e44 Notice fix and don't count inside a loop. Fixes #7653 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 20:47:56 +00:00
westi
5224736c99 Longer default timeouts, more filters and other HTTP changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 20:36:23 +00:00
ryan
130af6d91a Change ver to reflect staunch of blood flow
git-svn-id: http://svn.automattic.com/wordpress/trunk@9187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 17:57:17 +00:00
ryan
6bcdf328b2 Give downloads a longer timeout. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 16:38:17 +00:00
ryan
97f11e8f42 Report curl errors
git-svn-id: http://svn.automattic.com/wordpress/trunk@9185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 16:35:35 +00:00
ryan
3d41b4e4bb Localize user-settings JIT to avoid warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@9184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 15:56:14 +00:00
azaozz
fdea5c3b74 Don't delete spam created after page has loaded but before "Delete All" button pressed, props Viper007Bond, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 10:31:39 +00:00
azaozz
546ef3ed15 Admin menu: add generic icon, fix hover in IE, speed up response timing
git-svn-id: http://svn.automattic.com/wordpress/trunk@9182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 06:54:25 +00:00
ryan
7ae1291c12 don't schedule a duplicate if there's already an identical event due in the next 10 minutes. Props tellyworth. fixes #6966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 06:00:42 +00:00
ryan
0b2c0cf5ba Media column changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 05:39:40 +00:00
matt
8663b8e8a4 clean_url improvements, Hat tip: markjaquith. Reviewed by nbachiyskip. Fixes #7386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:58:30 +00:00
ryan
79656f6382 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:44:56 +00:00
westi
a0f339d3bf Notice fixes. See #7509 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 21:08:28 +00:00
ryan
4e4c26678e Menu renaming
git-svn-id: http://svn.automattic.com/wordpress/trunk@9176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 19:37:04 +00:00
ryan
461b32e12c comment_id_fields(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 19:06:18 +00:00
ryan
a6aff48081 Add title attributes to page actions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 18:11:06 +00:00
matt
833efd1f62 Cursor style for login form submit, fixes #6452. Hat tip: ionfish.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 18:06:32 +00:00
ryan
886aca4463 Punt inbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:33:28 +00:00
ryan
2b74b0ad04 Punt media box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:29:38 +00:00
ryan
70223289b5 Remove dashmenu css
git-svn-id: http://svn.automattic.com/wordpress/trunk@9170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:17:48 +00:00
ryan
178314fcb3 Remove dashmenu css
git-svn-id: http://svn.automattic.com/wordpress/trunk@9169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:12:21 +00:00
ryan
13212c4b3b Remove dead markup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:09:41 +00:00
ryan
322f83e5f3 Show Published/Last Modified in date column
git-svn-id: http://svn.automattic.com/wordpress/trunk@9167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:56:32 +00:00
ryan
2d742c7648 Bump CSS versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:45:25 +00:00
ryan
19120448af Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@9165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:37:08 +00:00
ryan
aceef65ba0 Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:36:43 +00:00
ryan
d7fccb66d3 Sanitation and error handling for plugin install. Props DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 15:56:33 +00:00
azaozz
0a7871c4ab Quick Edit: remove action links, remove row titles, add hint in footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 10:33:18 +00:00
azaozz
9bf42c78c6 Fix z-index for expanded admin menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 08:03:41 +00:00
ryan
eaab696f0f Fix link for first item in fav actions. Props DD32
git-svn-id: http://svn.automattic.com/wordpress/trunk@9160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 07:49:29 +00:00
ryan
d68573a562 No more help menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 07:47:57 +00:00
markjaquith
1033c29346 Redirect ancient wp-*.php feed files. fixes #4604
git-svn-id: http://svn.automattic.com/wordpress/trunk@9158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 06:22:52 +00:00
azaozz
9936ab061a Put post status inline with post name
git-svn-id: http://svn.automattic.com/wordpress/trunk@9157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 06:07:49 +00:00
markjaquith
828a6fd593 Canonical Feed URLs, first try. see #7182
git-svn-id: http://svn.automattic.com/wordpress/trunk@9156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:51:01 +00:00
azaozz
0e09601178 Email and visit site links for edit comment form
git-svn-id: http://svn.automattic.com/wordpress/trunk@9155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:16:24 +00:00
azaozz
7a2fb7dcf5 Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:10:16 +00:00
ryan
b5bdfd44d0 Remove status column, add states into title td. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 03:49:57 +00:00
matt
7627c0db06 Move help links to top, kill menu item.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 02:28:35 +00:00
matt
042719a152 Bug fix for date/time presets. Hat tip: Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:43:04 +00:00
matt
00f08f8079 Unsquish text so it doesn't run into each other.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:33:27 +00:00
matt
aeffa88551 Bringing save button back to top of all option pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:18:52 +00:00
matt
98fbfa4acb Don't encoded category element contents - fixes #4321 and #7815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:08:56 +00:00
ryan
a2ccbf9a00 Allow top-level menu page to use a slug, rather than filename. Props DD32. fixes #7214
git-svn-id: http://svn.automattic.com/wordpress/trunk@9147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:28:53 +00:00
ryan
4dc580ce15 Use relative path for install css. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:18:41 +00:00
ryan
d51c87885a Add parent arg to get_pages(). Props DD32. fixes #7247
git-svn-id: http://svn.automattic.com/wordpress/trunk@9145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:15:59 +00:00
ryan
e10ffb18f4 Plugin install updates from DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:01:51 +00:00
ryan
f72a4ce64f List post tags via XMLRPC. Props josephscott. fixes #7744
git-svn-id: http://svn.automattic.com/wordpress/trunk@9143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:54:21 +00:00
ryan
bb87dcac69 Convert download_url() to http api. Props DD32. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:41:03 +00:00
ryan
01ee36d7c8 Plugin install from DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:39:56 +00:00
ryan
82be75124d Add save changes reminder to Widgets admin pending revamp in 2.8. Props mdawaffe. fixes #7863
git-svn-id: http://svn.automattic.com/wordpress/trunk@9140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:09:15 +00:00
ryan
586e660529 Add show_name to wp_list_bookmarks(). Props Otto42. fixes #7847
git-svn-id: http://svn.automattic.com/wordpress/trunk@9139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:43:05 +00:00
ryan
48416f4b6f post-template phpdoc from jacobsantos. see #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@9138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:28:34 +00:00
ryan
97716d5ae1 Convert undefined constants to strings. Props jacobsantos. fixes #7651
git-svn-id: http://svn.automattic.com/wordpress/trunk@9137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:14:52 +00:00
ryan
cf50b7100a doc skeleton for link-template. Props jacobsantos. see #5642
git-svn-id: http://svn.automattic.com/wordpress/trunk@9136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:00:07 +00:00
ryan
6d7b6b8e79 Die if invalid user ID passed to user-edit.php. fixes #7291
git-svn-id: http://svn.automattic.com/wordpress/trunk@9135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 21:55:44 +00:00
ryan
44524d6c3c Add title attributes to post action links
git-svn-id: http://svn.automattic.com/wordpress/trunk@9134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 21:32:05 +00:00
ryan
c589d81c34 Return empty post list instead of fault code when there are no posts. Props josephscott. fixes #7287
git-svn-id: http://svn.automattic.com/wordpress/trunk@9133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 21:28:28 +00:00
ryan
2737ee0ab4 Translation fixes for the comments table from msi08. fixes #7583
git-svn-id: http://svn.automattic.com/wordpress/trunk@9132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 21:08:34 +00:00
ryan
91950354e9 Date and time presets from Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 18:32:16 +00:00
ryan
209d229ed1 Perform cap checks for favorite actions
git-svn-id: http://svn.automattic.com/wordpress/trunk@9130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 17:30:45 +00:00
azaozz
14954d7fca Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
git-svn-id: http://svn.automattic.com/wordpress/trunk@9129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 02:48:45 +00:00
azaozz
307ec4c10d Core update: fix for "The update could not be unpacked" error, props ShaneF, fixes #7861
git-svn-id: http://svn.automattic.com/wordpress/trunk@9128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-12 18:09:44 +00:00
westi
869cd2ffa1 Default to an empty alt attribute on Avatars. Fixes #7536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-12 18:03:54 +00:00
westi
454a1d2b88 phpdoc fixes for setup-config.php. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-12 17:40:20 +00:00
westi
da8f0a17a7 Fix regression in get_tag_template(). Tag templates are referenced by tag name not id. Fixes #7865.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-12 08:19:56 +00:00
westi
e04f473580 Add some plugin specific hooks to the plugin management screen. Fixes #7856 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 21:33:14 +00:00
markjaquith
2dcef9570d Prevent future posts from publishing early. fixes #7441
git-svn-id: http://svn.automattic.com/wordpress/trunk@9123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 05:46:20 +00:00
ryan
6d0d781ad6 Remove pagenow from search form actions. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 00:12:37 +00:00
ryan
31937a5a79 Edit link on hover for dash. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 23:58:30 +00:00
ryan
ca893a2828 Dashboard styling and validation fixes from mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 23:54:27 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
azaozz
81797b2ca3 Check if the FTP account is rooted to the base of the WordPress install, props DD32, see #7861
git-svn-id: http://svn.automattic.com/wordpress/trunk@9118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 10:40:04 +00:00
azaozz
da61c3c1cb Fix for "Unable to locate WordPress directory" on core update and PHPDoc for class-wp-filesystem-base.php, props DD32, fixes #7861
git-svn-id: http://svn.automattic.com/wordpress/trunk@9117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 10:02:46 +00:00
azaozz
6ba8661a1f Fix escaping of post meta, props DD32, fixes #7768
git-svn-id: http://svn.automattic.com/wordpress/trunk@9116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 09:40:30 +00:00
azaozz
f5d0646a92 Press This: URL fixes for images, props noel, see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@9115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 21:49:00 +00:00
azaozz
9ce8d0f70e Use no-js reply on error in comment-reply.js, see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 20:27:39 +00:00
azaozz
c506412ad6 No jQuery requirement for comment-reply.js, see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 11:11:56 +00:00
azaozz
2bd7d9960d No-JS mode for replying to comments and some improvements/cleanup of comment-reply.js, includes patch by Viper007Bond, see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 07:37:05 +00:00
azaozz
f6984aa832 Typo fix in dashboard.php, props rnt, fixes #7854
git-svn-id: http://svn.automattic.com/wordpress/trunk@9111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 06:44:05 +00:00
azaozz
0ffc023a7f Use "Date" instead of "Modified" when listing drafts and pending posts, since now they have a proper date.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 06:40:30 +00:00
azaozz
43a310be13 Page Options: fix hiding of Modified column when listing drafts, props ShaneF, fixes #7855
git-svn-id: http://svn.automattic.com/wordpress/trunk@9109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 05:58:10 +00:00
azaozz
175611bda0 Page Options: fix hiding of custom columns added by plugins, props ShaneF, fixes #7853
git-svn-id: http://svn.automattic.com/wordpress/trunk@9108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 02:39:52 +00:00
azaozz
7eb6d6fadc Fix warnings in recent_comments on dashboard, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 01:03:50 +00:00
ryan
9af33a74a9 Suspend cache invalidation while importing posts with WP importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:50:52 +00:00
ryan
cd7ea183e7 strip slashes before preparing to avoid double escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@9105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:19:11 +00:00
ryan
ac5bbe268f Don't put revisions in the export
git-svn-id: http://svn.automattic.com/wordpress/trunk@9104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:49:46 +00:00
ryan
637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +00:00
ryan
5d1f8b93eb New caching style for term queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@9102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:50:46 +00:00
ryan
da50360c41 Don't flush rules for every post imported. see #7193
git-svn-id: http://svn.automattic.com/wordpress/trunk@9101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:16:35 +00:00
ryan
65660bd565 Try to preserve post IDs during import
git-svn-id: http://svn.automattic.com/wordpress/trunk@9100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 21:42:52 +00:00
azaozz
aac340be40 Comment status on edit comment page: change drop-down to radio buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 05:24:25 +00:00
azaozz
6288b2b867 Convert the comment reply popup to a temp table row for consistency, add Quick Edit for comments, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@9098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 01:18:16 +00:00
ryan
ae65f5197c paginate_comments_links(). see #7769
git-svn-id: http://svn.automattic.com/wordpress/trunk@9097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 22:41:51 +00:00
ryan
9ca5fd7287 Dashboard menu should be open by default
git-svn-id: http://svn.automattic.com/wordpress/trunk@9096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 22:32:12 +00:00
ryan
89d06a43b4 Bring back Overview submenu for Dashboard. Menus without submenus cause bustage with plugin top-levels
git-svn-id: http://svn.automattic.com/wordpress/trunk@9095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 21:13:14 +00:00
ryan
caffda84d4 Move Help menu to the end
git-svn-id: http://svn.automattic.com/wordpress/trunk@9094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 20:40:21 +00:00
ryan
a09cff5399 before and after for comment_reply_link(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 18:03:43 +00:00
ryan
69f373ec0c Add arg to comments_template() for requesting separating comments by type. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 23:16:26 +00:00
ryan
c75149c03d Chunked encoding fixes from DD32. fixes #7770
git-svn-id: http://svn.automattic.com/wordpress/trunk@9091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 23:10:22 +00:00
azaozz
241fb38dac CSS fix for the font color preview button in TinyMCE, props raychampagne, fixes #7834
git-svn-id: http://svn.automattic.com/wordpress/trunk@9090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 20:32:15 +00:00
ryan
6b94d84123 Return enclosure data in mw_getPosts(). Props Otto42. fixes #7772
git-svn-id: http://svn.automattic.com/wordpress/trunk@9089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 19:20:50 +00:00
ryan
0ba694a607 sidebars_widgets fiter from gortsleigh. fixes #7818
git-svn-id: http://svn.automattic.com/wordpress/trunk@9088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 16:57:31 +00:00
markjaquith
944306301a Allow a filter to disable the validate_current_theme() functionality
git-svn-id: http://svn.automattic.com/wordpress/trunk@9087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 15:29:47 +00:00
ryan
9d9607e6d6 Remove old files before upgrading DB. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 06:00:24 +00:00
ryan
c209f15b5c Don't die with 503 if WP_INSTALLING. Don't load plugins if WP_INSTALLING. Remove old files and working dir before exiting maintenance mode. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 05:45:34 +00:00
ryan
3f5753f4b1 get_comment_type() sets comment_type to 'comment'. Allow for that in get_avatar().
git-svn-id: http://svn.automattic.com/wordpress/trunk@9084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:48:17 +00:00
azaozz
dc564f4792 Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:43:52 +00:00
azaozz
90792c9a3d Move all of comment-reply.js to jQuery + trim filesize in half, props Viper007Bond, see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-04 06:11:33 +00:00
azaozz
b5e210f644 Bring back [8788], was reverted with #7663
git-svn-id: http://svn.automattic.com/wordpress/trunk@9081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-04 01:35:47 +00:00
azaozz
14dddc912b Add filter to get_categories(), props Malaiac, fixes #7427
git-svn-id: http://svn.automattic.com/wordpress/trunk@9080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 22:09:35 +00:00
azaozz
7f61fd6389 Fix script loading in Press This
git-svn-id: http://svn.automattic.com/wordpress/trunk@9079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 18:56:59 +00:00
westi
e07587fdc3 Switch Press This to use _draft_or_post_title(). Fixes #7801 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 15:56:35 +00:00
ryan
f03180a5e1 Avatar alt fixes from nbachiyski. fixes #7536
git-svn-id: http://svn.automattic.com/wordpress/trunk@9076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 03:20:54 +00:00
ryan
f286979c28 Don't show avatar for pingbacks or trackbacks
git-svn-id: http://svn.automattic.com/wordpress/trunk@9075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 03:12:42 +00:00
ryan
b50f25ae11 Function to prep 's' for display on admin pages that don't run WP_Query(). Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 03:06:43 +00:00
azaozz
4acbfa76ec Reposition the Search and Filter. Brings the top of the screen closer to the wireframes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 00:13:12 +00:00
markjaquith
6666636cbd Turn the Visual Editor user preference on its head, to more accurately reflect what it does now. fixes #6403. props MattyRob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 22:01:33 +00:00
ryan
d89b1ec551 Resurrect users menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 18:52:45 +00:00
ryan
3e6cbe4ba7 Remove search from nav
git-svn-id: http://svn.automattic.com/wordpress/trunk@9070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 18:06:23 +00:00
ryan
64fe249bb7 Restore search boxes. CSS to-do. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 18:03:45 +00:00
azaozz
f854bdf2c0 Some CSS for turbo.php and press-this-landing.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 17:24:20 +00:00
westi
e4a55be2a4 Fix phpdoc comments to refer to wp-content/db.php. Props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:45:28 +00:00
ryan
8ccfa6b114 Save default avatar pref. Props Viper007Bond. fixes #7825
git-svn-id: http://svn.automattic.com/wordpress/trunk@9066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:41:42 +00:00
ryan
56e5cab65c A placeholder new window icon. fixes #7826
git-svn-id: http://svn.automattic.com/wordpress/trunk@9065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:35:00 +00:00
azaozz
cfc2109116 Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: http://svn.automattic.com/wordpress/trunk@9064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:30:14 +00:00
azaozz
3d29e571fb Add page options to edit/write page, remove the IE6 scrollbar hack (seems not to be needed any more), add the min-width to all admin pages, add the Page Options link to the end of the breadcrumbs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 11:04:09 +00:00
markjaquith
28bc7d7528 Show the Page Options on the New Post screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@9062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 06:55:54 +00:00
markjaquith
bc957cef6e Give dashboard widgets bottom margin instead of top
git-svn-id: http://svn.automattic.com/wordpress/trunk@9061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 06:17:09 +00:00
markjaquith
5b6277f6d6 40 additional horizontal pixels, and 10 additional vertical pixels for the content area.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 06:06:52 +00:00
markjaquith
90312da7c4 Add View Site temporary icon and link, move Favorites down a bit
git-svn-id: http://svn.automattic.com/wordpress/trunk@9059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 05:35:57 +00:00
markjaquith
596113f5b7 Hide Edit, Quick Edit, Delete links for people who cannot use them. Hide Quick Edit for people without JavaScript
git-svn-id: http://svn.automattic.com/wordpress/trunk@9058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:34:52 +00:00
markjaquith
49d7ae3c43 Whitespace cleanup for wp-admin.css
git-svn-id: http://svn.automattic.com/wordpress/trunk@9057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:25:31 +00:00
markjaquith
3ce18f1598 Move user_info over to the upper-right corner of the admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@9056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:18:34 +00:00
markjaquith
15ff2bf868 Do not allow contributors to set the post slug for pending review posts. fixes #7805
git-svn-id: http://svn.automattic.com/wordpress/trunk@9055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:10:54 +00:00
azaozz
28d9d8fde9 Move Page Options button to the header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:32:27 +00:00
ryan
5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
ryan
a2b6f064b3 File level phpdc from jacobsantos. see #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@9052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:02:17 +00:00
ryan
33bcf4ec87 Error checking for HTTP requests. Props jacobsantos. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 00:32:21 +00:00
ryan
a5f7935d8b Route add_management_page() to Tools menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 00:20:14 +00:00
markjaquith
43cb4be063 Add some delay to the favorites menu so that it is harder to accidentally open or close
git-svn-id: http://svn.automattic.com/wordpress/trunk@9049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 22:32:18 +00:00
markjaquith
7bc80167fe Skip past tfoot as well as thead when doing comment moderation keyboard shortcut highlighting
git-svn-id: http://svn.automattic.com/wordpress/trunk@9048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 21:07:16 +00:00
ryan
b2079aad32 Menu updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@9047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 21:04:14 +00:00
ryan
3d87a48713 Comment type filter from Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 15:48:45 +00:00
ryan
716d37190a Add slug columns. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 23:40:44 +00:00
ryan
6ba60d72ad Show Publish Immediately instead of dave time for drafts. fixes #7806
git-svn-id: http://svn.automattic.com/wordpress/trunk@9044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 23:02:49 +00:00
ryan
8c59e2f8f9 Press this landing page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 22:23:59 +00:00
ryan
e62e09aba8 Landing page for turbo
git-svn-id: http://svn.automattic.com/wordpress/trunk@9042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 21:39:13 +00:00
westi
70a3aa877d Introduce _draft_or_post_title() instead of lots of duplicated (no title) code. Fixes #7801.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 21:32:13 +00:00
ryan
4d9f0cd1cf Tools menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 20:49:40 +00:00
ryan
d0ae9b2196 If comment type is empty set it to 'comment'. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 19:49:26 +00:00
ryan
ec4ce0db91 Add Pages->Drafts
git-svn-id: http://svn.automattic.com/wordpress/trunk@9038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 17:51:50 +00:00
ryan
eef17ba0a5 Hide reply link by default. Enable with JS. Props Viper007Bond. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 17:27:15 +00:00
azaozz
e3cc331835 Batch edit: allow removal of selected posts, prevent page parent lock.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 10:30:56 +00:00
ryan
a25b5ddc09 media-new.php to make menus happy
git-svn-id: http://svn.automattic.com/wordpress/trunk@9035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 00:27:27 +00:00
ryan
6d4ca4de5e Verbage tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@9034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 23:48:48 +00:00
ryan
e446c11682 Suggest backing up before proceeding with upgrade
git-svn-id: http://svn.automattic.com/wordpress/trunk@9033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 23:47:33 +00:00
ryan
ea0ce44d87 h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 22:06:23 +00:00
ryan
3dc5beb9ce tag__not_in and category__not_in query fixes. see #7599
git-svn-id: http://svn.automattic.com/wordpress/trunk@9031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 21:24:24 +00:00
ryan
d6850f5d25 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 17:43:07 +00:00
azaozz
edd0071a6f Fix "select all" checkboxes and upload.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 12:03:30 +00:00
azaozz
6cd6f6d9f8 Add table footers and action selects at the bottom
git-svn-id: http://svn.automattic.com/wordpress/trunk@9028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 09:26:21 +00:00
westi
902f570a18 Use the correct (no-title) string. Fixes #7801 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 06:32:37 +00:00
westi
42aaa50b6f Fix notice in check_admin_referrer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 21:08:25 +00:00
westi
f419d59754 Protect log out actions against CSRF. Props markjaquith and ionfish. Fixes #7790.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 21:05:37 +00:00
westi
3a0c8ef52c Give titleless drafts a title in the quickpress box. Fixes #7801 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 20:43:08 +00:00
ryan
5cdac6c1a2 Post ID filter for edit-comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@9023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 17:48:55 +00:00
ryan
f5f8f81f8f Drop USE INDEX
git-svn-id: http://svn.automattic.com/wordpress/trunk@9022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 17:41:12 +00:00
azaozz
493fb7fb56 Add logo
git-svn-id: http://svn.automattic.com/wordpress/trunk@9021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 16:55:17 +00:00
azaozz
0857a136b9 Media library: move filter above tablenav
git-svn-id: http://svn.automattic.com/wordpress/trunk@9020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 15:00:20 +00:00
azaozz
72df1fc525 Ensure default editor is selected
git-svn-id: http://svn.automattic.com/wordpress/trunk@9019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 14:21:00 +00:00
azaozz
d419fdb777 Move posts filter above tablenav
git-svn-id: http://svn.automattic.com/wordpress/trunk@9018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 12:29:19 +00:00
azaozz
e2874d855f Add arrow to "favorites" link
git-svn-id: http://svn.automattic.com/wordpress/trunk@9017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 04:46:18 +00:00
azaozz
94dc5f67bd Move and adjust "Page Options" box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 04:11:27 +00:00
ryan
a21c2c2890 Make pings_open() and comments_open() aware of old post settings. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@9015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 03:31:26 +00:00
westi
33ad03831d WP_DEBUG enabled notice fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 22:00:52 +00:00
westi
4e99179e62 Move the old simple http method to use the new HTTP api. See #7793 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:41:19 +00:00
westi
7aa23c8b4f Move the pingbacks and trackbacks to the new HTTP api. See #7793 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:40:09 +00:00
westi
72a97b5f8a Move the link timestamp updater to the new HTTP api. See #7793 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:39:22 +00:00
westi
76a37eb1ea Missing phpdoc commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:33:36 +00:00
westi
99b9a27052 Add a filter to get_usernumposts. Fixes #7786 props Malaiac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:26:57 +00:00
ryan
f02bf165e7 Rough in of header restyling. Emphasis on rough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 21:18:15 +00:00
ryan
fd38523ddb Trim some links
git-svn-id: http://svn.automattic.com/wordpress/trunk@9007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:59:21 +00:00
ryan
46df2e223a Lose top menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:44:56 +00:00
ryan
528d8c4ed2 Punt inbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:41:29 +00:00
ryan
7be44ed338 Widgets page updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@9004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:26:26 +00:00
azaozz
5f6a6dbe35 Shortcuts drop-down
git-svn-id: http://svn.automattic.com/wordpress/trunk@9003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 12:02:32 +00:00
westi
6a527db989 phpdoc updates for wp-includes See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 10:06:18 +00:00
westi
c0f224c020 phpdoc for hello dolly. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 09:55:32 +00:00
westi
0161953100 Fix Notice. When nothing exists for an action or filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 09:53:43 +00:00
westi
a2df97240f phpdoc for the default and classic themes. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 09:49:27 +00:00
azaozz
a6f7c12d48 Upload media from the Media Library page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 08:17:55 +00:00
ryan
6d59ab95b0 Rearrange the furniture
git-svn-id: http://svn.automattic.com/wordpress/trunk@8997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 06:31:50 +00:00
ryan
a1c9454f9d Media fixes for Press This. Props noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 06:21:12 +00:00
ryan
e434ec4cef Title changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@8995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 06:20:21 +00:00
ryan
1354cd8012 Breadcrumb tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@8994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 04:56:51 +00:00
ryan
d02b08f07c Add breadcrumb, remove h2 from edit.php. Styling carnage to be fixed
git-svn-id: http://svn.automattic.com/wordpress/trunk@8993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 22:27:48 +00:00
ryan
e1484dccfd Dedicated drafts page
git-svn-id: http://svn.automattic.com/wordpress/trunk@8992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 21:53:26 +00:00
ryan
677f7ca342 Hopeful menu parenting fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 16:43:47 +00:00
westi
121f0754c6 Autodetect binary files for FTP filesystems. Fixes #7568 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 06:53:57 +00:00
westi
81aebef3b3 Theme update UI first pass. See #7519 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 06:43:53 +00:00
ryan
b10412eab9 Column hiding for comments. Settings box JS consolidation. Props Viper007Bond. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 01:05:52 +00:00
ryan
4bff75f637 Bump css ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@8987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 23:53:16 +00:00
ryan
90b00890d3 Place holder for Favorite Actions dropdown
git-svn-id: http://svn.automattic.com/wordpress/trunk@8986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 23:51:33 +00:00
ryan
e356231388 Place holder for Favorite Actions dropdown
git-svn-id: http://svn.automattic.com/wordpress/trunk@8985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 23:49:24 +00:00
ryan
39b77958fd Remove per page search boxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@8984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:54:14 +00:00
ryan
d018898cde Search box in navigation
git-svn-id: http://svn.automattic.com/wordpress/trunk@8983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:42:18 +00:00
ryan
4de5ddf600 Remove Write New Post button
git-svn-id: http://svn.automattic.com/wordpress/trunk@8982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:26:34 +00:00
ryan
4a93285747 Add colmn headrs and actions to bottom of posts table
git-svn-id: http://svn.automattic.com/wordpress/trunk@8981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:12:33 +00:00
ryan
1c60d1346f Help menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@8980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 20:09:54 +00:00
westi
0a37661254 Ensure we support custom comment approval statuses over xmlrpc. Fixes #7792 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 19:56:36 +00:00
ryan
2baeee4c1f Fix typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@8978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 19:46:54 +00:00
ryan
de958f418e Menu reorg
git-svn-id: http://svn.automattic.com/wordpress/trunk@8977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 19:33:53 +00:00
azaozz
2098f74812 Batch editing, refresh JS and CSS, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 14:29:32 +00:00
azaozz
3be46dfb57 Complete inline documentation for category-template.php, props jacobsantos, fixes #5634
git-svn-id: http://svn.automattic.com/wordpress/trunk@8975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 14:16:27 +00:00
azaozz
2c3a8ecd98 Complete inline documentation for theme.php, props jacobsantos, fixes #7657
git-svn-id: http://svn.automattic.com/wordpress/trunk@8974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 14:12:58 +00:00
azaozz
339e87dc5c Batch editing, first cut, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 13:42:34 +00:00
markjaquith
78f973ad2c Proper HTML for wp_nonce_ays
git-svn-id: http://svn.automattic.com/wordpress/trunk@8972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 05:13:53 +00:00
ryan
afc5c225f3 Comment styling for default theme. Props noel. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 04:28:39 +00:00
ryan
369317d2a7 phpdoc for comments-template from jacobsantos. see #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 20:02:41 +00:00
ryan
249b648c34 Pass old user data to profile_update action. Props AaronCampbell. fixes #7784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 16:05:21 +00:00
ryan
c9cad6e514 Group by not needed for not_in and and taxonomy queries. Props Otto42. fixes #7761
git-svn-id: http://svn.automattic.com/wordpress/trunk@8968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 08:03:42 +00:00
ryan
9343bc92e8 Filter for custom get column headers page. Props Malaiac. fixes #7782
git-svn-id: http://svn.automattic.com/wordpress/trunk@8967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:30:44 +00:00
ryan
e40f6e4067 Don't try to assign non-ref return value by ref. Props Sam_a. fixes #7783
git-svn-id: http://svn.automattic.com/wordpress/trunk@8966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:28:05 +00:00
ryan
bf910e58ad phpdoc for themes.php. Props jacobsantos. see #7657
git-svn-id: http://svn.automattic.com/wordpress/trunk@8965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:24:33 +00:00
ryan
ea3363cd24 Fix comment display when paging is off. see #7769
git-svn-id: http://svn.automattic.com/wordpress/trunk@8964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:20:17 +00:00
ryan
c441d1d00d s/list/ul/ see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 04:57:17 +00:00
ryan
d736c3459f Add thread alt classes. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 04:45:50 +00:00
ryan
04ce449e3c First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 21:11:27 +00:00
ryan
ab861693c4 phpdoc for widgets.php. Props jacobsantos. fixes #7661
git-svn-id: http://svn.automattic.com/wordpress/trunk@8960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 04:03:28 +00:00
ryan
f528acb8df Press This updates from noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 22:04:10 +00:00
westi
e5440f8156 Add a filter on $excerpt_length. Fixes #7778 props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 21:21:05 +00:00
westi
81818b9ed8 Ensure that post meta is attached to the correct post when importing. Fixes #7707 props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 20:52:05 +00:00
azaozz
df5ff389e9 phpDoc corrections for comment.php, props jacobsantos, fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 20:21:10 +00:00
azaozz
582f4a42ca Replace the "delete" icon (current one is too bright)
git-svn-id: http://svn.automattic.com/wordpress/trunk@8955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 20:14:37 +00:00
azaozz
1c6afd1892 Complete inline documentation for AtomPub, props jacobsantos, fixes #7777
git-svn-id: http://svn.automattic.com/wordpress/trunk@8954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 08:06:48 +00:00
azaozz
1d6c32e2a8 Simple "sticky" menu, remembers the open parents and the current parent is always open
git-svn-id: http://svn.automattic.com/wordpress/trunk@8953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 08:01:42 +00:00
azaozz
eb3e916086 Completion and fixes for wp-app, wp-login and xmlrpc inline documentation, props jacobsantos, fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 05:15:41 +00:00
azaozz
509904e7d9 Inline edit: fix name collision
git-svn-id: http://svn.automattic.com/wordpress/trunk@8951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 05:07:33 +00:00
azaozz
157b89fe18 More inline documentation for widgets.php, props jacobsantos, see #7661
git-svn-id: http://svn.automattic.com/wordpress/trunk@8950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 03:52:41 +00:00
azaozz
533f1ab81b Complete comment.php inline documentation, props jacobsantos, fixes #5578
git-svn-id: http://svn.automattic.com/wordpress/trunk@8949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 03:39:41 +00:00
azaozz
3b32e4f435 Bulk delete: only delete when Apply button is clicked, move Advanced Options to separate form
git-svn-id: http://svn.automattic.com/wordpress/trunk@8948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 03:27:48 +00:00
westi
44ee03586e Update the file level phpdoc for the media options page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 21:39:38 +00:00
westi
2fc5044a80 post password admin template tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 21:10:14 +00:00
westi
cd7d1d1aab Notice fixes for the widgets admin page see #7509.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:57:04 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
azaozz
2e11a3bf66 Sytling and improvements to inline editing, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 19:45:45 +00:00
westi
c57cfbaefc Fix page title. Fixes #7775 props paddya.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 19:02:10 +00:00
ryan
b6050e5161 Fix depth inversion. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 21:45:01 +00:00
ryan
dfc1d78fa9 global wpdb. fixes #7767
git-svn-id: http://svn.automattic.com/wordpress/trunk@8940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 17:18:29 +00:00
ryan
76718590f8 Add paging to Walker class. Props hailin. fixes #7743
git-svn-id: http://svn.automattic.com/wordpress/trunk@8939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 06:59:47 +00:00
ryan
0889951393 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@8938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 06:13:52 +00:00
ryan
781c4c4bf3 Fix role filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@8937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 05:40:40 +00:00
ryan
a03f02f4b3 Column hiding for users. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 05:31:00 +00:00
ryan
e06c648ec2 Partial phpdoc for widgets.php. Props jacobsantos. see #7661
git-svn-id: http://svn.automattic.com/wordpress/trunk@8935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 01:41:18 +00:00
ryan
d7d1760479 Partial phpdoc for widgets.php. Props jacobsantos. see #7661
git-svn-id: http://svn.automattic.com/wordpress/trunk@8934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 01:32:45 +00:00
ryan
d19dae08b7 Column hiding for link categories. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 22:52:07 +00:00
ryan
272f466559 Column hiding for categories. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 22:31:25 +00:00
azaozz
b50ce20195 Get the hidden columns in edit-attachment-rows.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 22:04:28 +00:00
ryan
2e39212848 Column hiding for tags. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 20:13:10 +00:00
azaozz
d254e29e38 phpDoc fixes for general-template.php and update.php, props jacobsantos, see #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 17:32:18 +00:00
azaozz
3111976b98 _post_row() is "out of the loop", so it needs post id to find the tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@8928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 17:27:07 +00:00
azaozz
0853ba158c Cron improvement, props hailin, fixes #7068
git-svn-id: http://svn.automattic.com/wordpress/trunk@8927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 07:09:38 +00:00
ryan
40ecb1eec2 the_password_form filter from dancoulter. fixes #7758
git-svn-id: http://svn.automattic.com/wordpress/trunk@8926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 06:24:45 +00:00
ryan
d68fd16abf phpdoc for media.php. Props jacobsantos. fixes #7658
git-svn-id: http://svn.automattic.com/wordpress/trunk@8925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 06:14:46 +00:00
ryan
31d4e0f6ab phpdoc for rewrite.php. Props jacobsantos. fixes #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 06:14:01 +00:00
ryan
24823f8c9e Consolidate column header code. Add column hiding to taxonomy pages (incomplete). see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 05:41:45 +00:00
azaozz
55b94822e0 Allow posts to be ordered by meta_key, props AaronCampbell, fixes#7431
git-svn-id: http://svn.automattic.com/wordpress/trunk@8922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 05:34:37 +00:00
ryan
f3987bee5f Update post_date for old drafts during upgrade. see #5698
git-svn-id: http://svn.automattic.com/wordpress/trunk@8921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 21:47:27 +00:00
ryan
3cf0e131c8 Set post_date for drafts. see #5698
git-svn-id: http://svn.automattic.com/wordpress/trunk@8920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 20:19:29 +00:00
ryan
9a3f8221c1 Typo fix. Props jdevalk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 20:17:37 +00:00
azaozz
a3e166e324 Remove 'large' image size when deleting attachments, props ShaneF, fixes #7759
git-svn-id: http://svn.automattic.com/wordpress/trunk@8918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 19:19:15 +00:00
azaozz
81a430dbb6 Add nonces to quick edit, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 11:32:33 +00:00
ryan
49ac212dda Edit and Delete links for users. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 04:39:08 +00:00
azaozz
5869e6bf8d Fix IE HTML button value mishandling, fixes #6469 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 02:08:12 +00:00
azaozz
0245980dab Update for the Save box in edit comment form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:50:34 +00:00
ryan
e3f6b2b271 phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
ryan
86db7961b7 Edit and Delete links for link categories. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:11:17 +00:00
ryan
2c516732de Edit and Delete links for categories. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:04:02 +00:00
azaozz
7cb6ce1868 Put timestamp icon back and fix the Categories postbox when in the right sidebar
git-svn-id: http://svn.automattic.com/wordpress/trunk@8909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 23:41:19 +00:00
ryan
4a5da512e2 Edit and Delete links for tags page. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 23:17:03 +00:00
ryan
463b5adba5 Show Preview instead of View for unpublished posts and pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@8907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 22:43:01 +00:00
ryan
d93df1ae1e Remove image options from misc options whitelist. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 22:38:29 +00:00
ryan
7fb115c7dd Move media settings to options-media.php. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 22:37:49 +00:00
ryan
525e7a17b9 phpdoc for capabilities.php. Props jacobsantos. fixes #5632
git-svn-id: http://svn.automattic.com/wordpress/trunk@8904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 21:51:36 +00:00
ryan
42fdf59b30 Press This rework from noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 06:30:15 +00:00
ryan
7d27dfb967 Add echo option to wp_get_archives(). Props ShaneF. fixes #7749
git-svn-id: http://svn.automattic.com/wordpress/trunk@8902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 04:52:47 +00:00
azaozz
fe921a53ec Reattaching of orphan attachments and choose post/page ajaxed search box
git-svn-id: http://svn.automattic.com/wordpress/trunk@8901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 04:24:28 +00:00
ryan
c813cd6757 phpdoc for classes.php from jacobsantos. fixes #5635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 00:37:05 +00:00
ryan
ed246088be phpdoc for rewrite.php from jacobsantos. see #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 00:35:56 +00:00
ryan
1deef71a52 Add missing return. Props DD32. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 00:24:43 +00:00
ryan
3aad45d7e4 Add type argument to wp_list_comments(). Make comments arg optional. Introduce separate_comments(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 00:23:38 +00:00
ryan
1d9facfbe7 Support %date in next post link template. Props noel. fixes #7726
git-svn-id: http://svn.automattic.com/wordpress/trunk@8896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 23:48:24 +00:00
ryan
168652f6c4 Implement attachmenet delete link. Use get_edit_post_link(). see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 19:28:26 +00:00
ryan
cb6611d1f0 Column hiding for media library. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 17:53:30 +00:00
ryan
659463e56d Rename some media text. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 17:12:32 +00:00
ryan
ef80502b9a Close comments for old posts. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@8892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 16:26:37 +00:00
ryan
8a4cf0eab8 Themes API from josephscott. see #7519
git-svn-id: http://svn.automattic.com/wordpress/trunk@8891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 16:21:15 +00:00
azaozz
fcaf29bc65 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 11:08:47 +00:00
azaozz
203530fe88 Publish postbox and post status select updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 12:58:00 +00:00
ryan
059492b3be Column hiding for links. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 06:51:42 +00:00
ryan
2db26f54ad s/ISP/Web Host/. Props msw0418. fixes #6831
git-svn-id: http://svn.automattic.com/wordpress/trunk@8887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 05:53:23 +00:00
ryan
1c36424a1c Don't show stick posts in recent posts widget. Props MtDewVirus. fixes #7739
git-svn-id: http://svn.automattic.com/wordpress/trunk@8886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 05:50:10 +00:00
ryan
b51249a60f Fix core upgrade redirect. Props DD32. fixes #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 05:49:09 +00:00
ryan
34a70f8d85 Plugin install cleanups from Simek. fixes #7717
git-svn-id: http://svn.automattic.com/wordpress/trunk@8884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 05:37:54 +00:00
ryan
460f30e7dd Move Show Settings into header and rename Advanced Options. Move preview links into submit box. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 19:12:55 +00:00
ryan
727c0fc3d5 Revert [8881], patch wasn't ready. see #7738
git-svn-id: http://svn.automattic.com/wordpress/trunk@8882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:18:44 +00:00
ryan
32c9a1f7c4 Hook floated_admin_avatar to admin_init. Props DD32. fixes #7738
git-svn-id: http://svn.automattic.com/wordpress/trunk@8881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:16:42 +00:00
ryan
9c89b7fb9e ssh2 fs fixes from ShaneF and DD32. see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:06:20 +00:00
ryan
2c92ac6f0b Thumbnail and exif fixes from DD32. see #7622
git-svn-id: http://svn.automattic.com/wordpress/trunk@8879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:04:20 +00:00
ryan
8db1601dd7 Add depth handling to comment_reply_link(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 23:45:15 +00:00
ryan
dcf62be039 Add respondID and respondRoot args to cancelCommentReply(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 21:19:40 +00:00
ryan
5e8c59bea7 Threaded comments improvements from DD32. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 19:18:39 +00:00
azaozz
3c789c1cb3 Edit/Save buttons and post status select changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 13:12:28 +00:00
azaozz
b61c13ccaf Inline Documentation for general-template.php, props jacobsantos, fixes #5640
git-svn-id: http://svn.automattic.com/wordpress/trunk@8874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 04:31:41 +00:00
azaozz
3893ebc14e Inline Documentation for user.php, props jacobsantos, fixes #5512
git-svn-id: http://svn.automattic.com/wordpress/trunk@8873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 04:29:09 +00:00
azaozz
23e4109c1d Fix position of search tags box, props scohoust, fixes #7731
git-svn-id: http://svn.automattic.com/wordpress/trunk@8872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 21:59:55 +00:00
azaozz
aabd5aa94f Fix "cursor in the air" in postboxes, fixes #7578
git-svn-id: http://svn.automattic.com/wordpress/trunk@8871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 21:40:28 +00:00
ryan
a2ac6a73f4 Themes menu rewording. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 20:53:12 +00:00
ryan
5828310157 wp_list_comments() and threaded comment support. First cut. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 19:25:50 +00:00
ryan
02b3f80641 Don't allow submit box to be hidden. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 18:56:04 +00:00
azaozz
f7f0523642 Fix the position of the search field on all admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 18:54:05 +00:00
ryan
68f9ff53b9 Inline docs for wp-diff.php. Props jacobsantos. fixes #7662
git-svn-id: http://svn.automattic.com/wordpress/trunk@8866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 17:46:42 +00:00
ryan
231d08add2 Handle ssh keys in ssf2 fs. Props ShaneF. see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 17:44:43 +00:00
ryan
10cbdb01ba Reorder comment actions. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 17:18:26 +00:00
ryan
8bb1660d83 View links for posts and pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 16:46:22 +00:00
ryan
581ac55f04 Privacy Options for pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 06:04:51 +00:00
ryan
6044ee63fa Don't assign default to pass-by-ref var. Not compatible with all PHP versions. see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 05:50:14 +00:00
ryan
b8ed2c0bec Column hiding for pages. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 05:36:34 +00:00
ryan
589df9dcfd Remove privacy checkbox from submitbox. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 04:19:19 +00:00
ryan
c862000e76 Column hiding for manage posts. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 01:46:30 +00:00
ryan
2f582d83e7 Inline editing. First cut. Props Aaron Harp. see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-10 22:47:03 +00:00
ryan
d2b3b03d9f Place manage_comments_nav action after all seconday buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@8856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 23:14:37 +00:00
ryan
54049c5f41 add_settings_section() and add_settings_field(). see #7682
git-svn-id: http://svn.automattic.com/wordpress/trunk@8855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 22:31:22 +00:00
ryan
2c9f0abe4d Add wp_print_styles to wp_head. Props rickoman. fixes #7720
git-svn-id: http://svn.automattic.com/wordpress/trunk@8854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 21:54:24 +00:00
markjaquith
9fcac7ad2d Put aria-required in the proper place, and use htmlspecialchars for sanitizing textarea output. Props Mike Schinkel
git-svn-id: http://svn.automattic.com/wordpress/trunk@8853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 19:08:22 +00:00
azaozz
f4bc8da1a7 SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 03:24:05 +00:00
azaozz
489f3e78cc Adds "Delete all spam" button when viewing spam in comment management
git-svn-id: http://svn.automattic.com/wordpress/trunk@8851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 21:49:26 +00:00
azaozz
ba100965c4 Correct var name in do_meta_boxes() in edit-page-form.php, props johnhennmacc, fixes #7705
git-svn-id: http://svn.automattic.com/wordpress/trunk@8850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 21:36:19 +00:00
ryan
ef3504a372 wp_page_menu(). see #7698
git-svn-id: http://svn.automattic.com/wordpress/trunk@8848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 18:56:54 +00:00
ryan
a39f651a85 show sticky class only when is_home. Props MtDewVirus. fixes #7712
git-svn-id: http://svn.automattic.com/wordpress/trunk@8847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 18:56:13 +00:00
azaozz
dbe35378e6 CSS and HTML validation fixes, props Simek, fixes #7703
git-svn-id: http://svn.automattic.com/wordpress/trunk@8845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 06:01:33 +00:00
azaozz
e318656a0f Fix double css class in link-manager.php, props Simek, fixes #7702
git-svn-id: http://svn.automattic.com/wordpress/trunk@8844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 03:58:33 +00:00
azaozz
fe20c47b1b Redirect to the correct URL on error, fixes #7706
git-svn-id: http://svn.automattic.com/wordpress/trunk@8843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 01:50:08 +00:00
azaozz
71b1269695 phpDoc corrections for http.php, props jacobsantos fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 01:23:43 +00:00
westi
3a55217a16 Untrailingslash link. Fixes #7700 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 07:15:03 +00:00
westi
a6c8285e2d Make widget search a search box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 07:11:17 +00:00
ryan
e5e0bd4710 Label colonectomy
git-svn-id: http://svn.automattic.com/wordpress/trunk@8839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:56:56 +00:00
westi
c76e69d644 Bust cache for changed js file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:56:45 +00:00
westi
3ba1e08741 phpDoc corrections for KSES. Fixes #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:53:45 +00:00
ryan
1e0daad82f Resurrect Search Pages button
git-svn-id: http://svn.automattic.com/wordpress/trunk@8836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:49:25 +00:00
westi
cf9477da6b General Template function phpdoc updates. See #5640 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:38:26 +00:00
azaozz
9a9c56866b Few sidebar.php updates, functionality and look similar to the quick-post dashboard widget
git-svn-id: http://svn.automattic.com/wordpress/trunk@8834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:10:38 +00:00
azaozz
7e721f6b92 Ignore comment_max_links option when zero, props tellyworth, fixes #7699
git-svn-id: http://svn.automattic.com/wordpress/trunk@8833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 05:59:56 +00:00
azaozz
84ffc72522 Fix saving as draft, see #7672
git-svn-id: http://svn.automattic.com/wordpress/trunk@8832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 05:16:56 +00:00
westi
411e1083ed Use API for setting checked attribute fixes #7689 props matthewh84.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 00:03:03 +00:00
westi
249fee1d34 Correct message when saving a draft. Fixes #7693 props johnhennmacc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:54:49 +00:00
westi
7b156134c4 Move comment reply into the single media item page section to fix notice when no media items.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:35:04 +00:00
westi
ffd44371e2 Fix Notice. Mark unreachable code as TODO.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:29:30 +00:00
westi
475c4eecaa Better admin search boxes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 23:19:08 +00:00
westi
a2da0c0e99 Ensure $is_chrome is always defined.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 22:39:49 +00:00
westi
34e6722704 maybe_unserialize the array members not the array when multple post meta items are returned. Fixes #7623 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 22:04:04 +00:00
westi
11ced9e22e Update the General Template phpdoc see #5640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 21:47:53 +00:00
westi
f6f9794051 phpdoc for general template functions see #5640 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 19:19:01 +00:00
azaozz
fcaf5d56d2 Don't hide reply action on comments added with AJAX, props caesarsgrunt, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 19:11:41 +00:00
westi
f68126a5ad We now have Widgitization documentation on the codex so link to it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 19:00:28 +00:00
westi
d28b831157 Improved phpdoc for the gears manifest.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 18:53:32 +00:00
westi
08240cf1f9 Allow people to update home again! See #7277.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 18:37:40 +00:00
westi
df8ad0bc5a Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props lloydbudd and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 17:53:03 +00:00
ryan
9bda0a2701 Redirect back to Press This interface after posting
git-svn-id: http://svn.automattic.com/wordpress/trunk@8816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 17:46:09 +00:00
azaozz
1c3de75cd2 Add simple Chrome detection and updates for Gears dialog, fixes #7684
git-svn-id: http://svn.automattic.com/wordpress/trunk@8815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 16:29:03 +00:00
ryan
2192b1f450 Lose USE INDEX on comment_date_gmt. It didn't help performance very much and some people are missing the comment_date_gmt index. see #7664
git-svn-id: http://svn.automattic.com/wordpress/trunk@8813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 15:43:26 +00:00
ryan
65b152ff52 SSH2 filesystem. Props ShaneF. see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 05:47:08 +00:00
ryan
d3abd242b0 Don't append HTTPOnly if cookie domain is empty. see #7677
git-svn-id: http://svn.automattic.com/wordpress/trunk@8811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 05:35:58 +00:00
ryan
49fe9a77a4 No HTTPOnly for Safari
git-svn-id: http://svn.automattic.com/wordpress/trunk@8810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 00:10:34 +00:00
ryan
8013357366 Skeleton phpdoc for post-template.php. Props jacobsantos. see #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@8809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 23:12:08 +00:00
ryan
b4de7baf2a HttpOnly for PHP < 5.2. Props _ck_. see #7677
git-svn-id: http://svn.automattic.com/wordpress/trunk@8808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 19:55:30 +00:00
ryan
6e3a5acd3b phpdoc for query.php. Props jacobsantos. fixes #7663
git-svn-id: http://svn.automattic.com/wordpress/trunk@8807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 19:19:32 +00:00
ryan
bc6cb67cc4 phpdoc for cron.php. Props jacobsantos and hansengel. fixes #5637
git-svn-id: http://svn.automattic.com/wordpress/trunk@8806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 19:12:40 +00:00
ryan
5a4e6f0197 Show all bulk ops on unfiltered comments page
git-svn-id: http://svn.automattic.com/wordpress/trunk@8805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 18:00:21 +00:00
ryan
390172ba94 Bulk action hot keys for comments. Props nbachiyski. see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 17:53:14 +00:00
ryan
0933020641 Fix horizontal mode layout for publish box. Props noel. fixes #7681
git-svn-id: http://svn.automattic.com/wordpress/trunk@8803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 04:41:06 +00:00
ryan
bcc617c59c Add settings registration and whitelisting. Props donncha. see #7277
git-svn-id: http://svn.automattic.com/wordpress/trunk@8802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 01:11:18 +00:00
westi
6651c7a69d phpdoc fixes for the phpmailer classes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 21:42:50 +00:00
ryan
cddfd974e0 post_password_required(). fixes #7679
git-svn-id: http://svn.automattic.com/wordpress/trunk@8800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 19:54:14 +00:00
ryan
c7e516b25d WXR Importer fix to resolve absolute urls without protocol and domain. fixes #7595
git-svn-id: http://svn.automattic.com/wordpress/trunk@8799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 18:34:20 +00:00
ryan
c38f460aa6 Try out httponly for auth cookies. see #7677
git-svn-id: http://svn.automattic.com/wordpress/trunk@8798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 18:24:28 +00:00
westi
893f96bf10 Set comment and ping status when QuickPressing. Fixes #7672 props ShaneF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 07:13:51 +00:00
ryan
9b02e29a7b Make attachment file path relative to the upload dir. Don't use GUID to find attachement URL. Props DD32. see #7622
git-svn-id: http://svn.automattic.com/wordpress/trunk@8796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-02 22:55:39 +00:00
azaozz
e819a98d94 Comment manipulation keyboard shorcuts: get debug out, props nbachiyski see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 13:14:21 +00:00
ryan
3dccf02b82 skeleton phpdoc for rewrite.php. Props jacobsantos. see #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 05:47:08 +00:00
ryan
0526870900 phpdoc for media.php. Props jacobsantos. see #7658
git-svn-id: http://svn.automattic.com/wordpress/trunk@8792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 05:45:41 +00:00
ryan
2c6a8aff32 Skeleton phpdoc patch for themes.php. Props jacobsantos. see #7657
git-svn-id: http://svn.automattic.com/wordpress/trunk@8791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 05:44:16 +00:00
ryan
fa2ee97a53 Revert [8655]. see #7526
git-svn-id: http://svn.automattic.com/wordpress/trunk@8790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 05:33:56 +00:00
ryan
0e6f150c24 Comment hotkey: move to next or previous page on pressing next/prev at end of the current page. Prop nbachiyski. see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 05:28:41 +00:00
azaozz
027328b8a6 is_archive() should be true for custom taxonomies too
git-svn-id: http://svn.automattic.com/wordpress/trunk@8788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 04:10:57 +00:00
azaozz
64a1210ebb Base css fix for FF2, IE6 still needs work
git-svn-id: http://svn.automattic.com/wordpress/trunk@8787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-01 00:14:04 +00:00
westi
52e9a1cedf phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 20:58:19 +00:00
azaozz
a58d2d4cf9 Base css layout, fixes #7620
git-svn-id: http://svn.automattic.com/wordpress/trunk@8785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 13:51:52 +00:00
azaozz
e2b4009e66 Saving/restoring the user interface state, see #7654
git-svn-id: http://svn.automattic.com/wordpress/trunk@8784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 06:34:43 +00:00
westi
ab69c83c26 phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 21:28:11 +00:00
westi
9e89b4a99e phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 21:23:43 +00:00
westi
2f39e6219d nline Documentation for script-loader.php. Fixes #7649 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 19:51:29 +00:00
azaozz
450babca59 Add hotkeys.js to all pages that list comments and prevent error if not loaded, see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 07:16:16 +00:00
ryan
4493a6b110 Don't process keypress if the current row is null. see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 00:48:37 +00:00
ryan
4368f17dfa Support Mac meta key. see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 00:28:13 +00:00
ryan
2e664f449e Comment manipulation keyboard shorcuts from nbachiyski. see #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@8777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 21:43:34 +00:00
azaozz
ac010ffb8d Add tabindex to the comment reply form. Props nbachiyski, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 20:44:54 +00:00
ryan
e1ebd0e10a Mike filter suppression. Props DD32. see #7326
git-svn-id: http://svn.automattic.com/wordpress/trunk@8773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 18:33:04 +00:00
azaozz
e1226189ad Fix typo in wp-settings.php. Props mictasm, fixes #7638
git-svn-id: http://svn.automattic.com/wordpress/trunk@8772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 09:32:48 +00:00
azaozz
924514a747 Don't overwrite $link object in link-manager.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 08:58:30 +00:00
azaozz
5f476b32f1 Pass default value to get_option(), fixes #7637
git-svn-id: http://svn.automattic.com/wordpress/trunk@8770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 07:25:45 +00:00
azaozz
3c1095b79c Fix position of admin notices, includes patch by caesarsgrunt, fixes #7619
git-svn-id: http://svn.automattic.com/wordpress/trunk@8769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 06:36:31 +00:00
azaozz
803b1572e6 Add white background to .postbox, props Speedboxer, fixes #7636
git-svn-id: http://svn.automattic.com/wordpress/trunk@8768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 05:16:48 +00:00
azaozz
01a8c764b3 Reply to comments from admin, small improvements and fixes, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 05:07:40 +00:00
ryan
d927db8f2d Suppress query filters when called from get_posts(). see #7326 #7547
git-svn-id: http://svn.automattic.com/wordpress/trunk@8766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 22:30:27 +00:00
azaozz
c4919d8603 Hide the Reply button if no js and fix some HTML validation problems. Props nbachiyski, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 22:09:56 +00:00
azaozz
5e025c2031 Pass on variables to the wp_comment_reply filter. Props caesarsgrunt, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 22:03:38 +00:00
westi
be92ff6425 Only upgrade if we are installed. Fixes #7627 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 20:55:40 +00:00
ryan
d0ac3df8f7 Update phpMailer to 2.0.2. Props mattyrob. fixes #7474
git-svn-id: http://svn.automattic.com/wordpress/trunk@8762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 20:26:36 +00:00
ryan
298db96458 Don't 404 for categories, tags, and authors that exist but have no posts. see #5324
git-svn-id: http://svn.automattic.com/wordpress/trunk@8761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 19:58:57 +00:00
ryan
716393be8f Use farbtastic for custom header color picker. Props rmmccue. see #5591
git-svn-id: http://svn.automattic.com/wordpress/trunk@8760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 17:42:21 +00:00
ryan
42ceb32c0b Upgrade db with remote post during core update. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 07:09:46 +00:00
ryan
bcdb29372d Add edit and delete links to the Content->Links rows. Add get_edit_bookmark_link(). Add caching for individual bookmarks. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 22:04:12 +00:00
ryan
6e95d9a803 Use wp_dropdown_pages() insead of parent_dropdown()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 21:35:54 +00:00
ryan
4d05d30ce5 Add sub page padding back. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 21:35:22 +00:00
westi
cf7387ec40 Make it possible to clear the recently active plugins list. Fixes #7613 props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 20:55:48 +00:00
westi
00583d64eb Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 20:47:01 +00:00
ryan
18a0bc103f Show Settings for edit link form. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 19:49:08 +00:00
ryan
49b3784cbc Show Settings for edit page form. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 19:41:51 +00:00
ryan
332d54f319 crazyhorse dash see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 19:36:12 +00:00
ryan
34e52c7010 Fix delete page nonce. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 18:18:55 +00:00
ryan
bc3c83bf1d RSS widget shouldn't link if there isn't a link. Props MtDewVirus. fixes #7614
git-svn-id: http://svn.automattic.com/wordpress/trunk@8746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 18:00:51 +00:00
westi
748aac2e3d utf8 encode data from IPTC tags. Fixes #7495 for trunk props Txanny.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:54:48 +00:00
westi
a76720a8b7 phpDoc updates for formatting functions. See #5638 props scohoust and santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:49:21 +00:00
westi
f7b32217a3 phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:45:13 +00:00
westi
5b88b2c5c9 Improve grammar in Gears Enable Dialog. Fixes #7176 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:33:01 +00:00
ryan
ed5372a6ab wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: http://svn.automattic.com/wordpress/trunk@8740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 23:57:48 +00:00
ryan
562fda59a7 include mysql version in version check query string. Props andy. fixes #7600 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 22:30:56 +00:00
ryan
e6640c911a Use a subquery in category__not_in query if the DB version supports it. Props pedrop. fixes #7599
git-svn-id: http://svn.automattic.com/wordpress/trunk@8738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 19:18:58 +00:00
ryan
0ee91f227e Add login_redirect filter. fixes #7002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 17:57:03 +00:00
ryan
aa37570238 Menu fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 04:27:00 +00:00
ryan
d871525f10 Menu fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 00:54:21 +00:00
azaozz
08df160c05 New colors and small improvements for the pwd strength meter, includes patch by Simek, fixes #7588
git-svn-id: http://svn.automattic.com/wordpress/trunk@8733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 00:40:10 +00:00
ryan
19a1e9682b Notice fixes. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:50:11 +00:00
ryan
37d88adaff Don't ignore scheme when cookie value is empty. Props bendalton. fixes #7521
git-svn-id: http://svn.automattic.com/wordpress/trunk@8731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:09:26 +00:00
ryan
8dfd6d050f Do secure redirect only for admin destinations. see #7561
git-svn-id: http://svn.automattic.com/wordpress/trunk@8730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 20:40:34 +00:00
ryan
9f27224a27 Move post row generation to functions in prep for some AJAX work. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 20:21:27 +00:00
ryan
dccf7edf8e wp_rand() - more randy rands
git-svn-id: http://svn.automattic.com/wordpress/trunk@8728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 17:52:28 +00:00
azaozz
3d60c3aeb2 Fix typo, props Simek fixes #7590
git-svn-id: http://svn.automattic.com/wordpress/trunk@8727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 10:57:14 +00:00
azaozz
06f4448c13 Some 'Show on screen' metabox settings styling, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 10:17:41 +00:00
azaozz
c14a5f5b84 Only Mozilla seems to support shorthand for border-radius. Reverting the rest, see #7584
git-svn-id: http://svn.automattic.com/wordpress/trunk@8725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 08:56:35 +00:00
ryan
834f614a09 Global pagenow. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 00:21:38 +00:00
azaozz
4771eabf6e wp-admin.css cleanup, props Simek fixes #7584
git-svn-id: http://svn.automattic.com/wordpress/trunk@8723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 15:29:21 +00:00
azaozz
f2dd6dd861 Few small improvements to the password strength meter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 14:35:46 +00:00
azaozz
67ef4e1abc Remove extra filter, fixes #7585
git-svn-id: http://svn.automattic.com/wordpress/trunk@8721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 14:19:05 +00:00
azaozz
95fa29a208 Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 06:56:22 +00:00
ryan
f2af4b9b6d gettext fix from msi08. fixes #7581
git-svn-id: http://svn.automattic.com/wordpress/trunk@8719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 21:07:22 +00:00
westi
74b0ab00d2 Add names for attachment templates, fix page template name extraction. See #7576.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 09:49:52 +00:00
westi
5d7deee12d Sort templates alphabetically in the theme editor. See #7576 props Terragg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 09:28:39 +00:00
ryan
35dfa69559 Use WP_CONTENT_PATH to find find files. Props Terragg. fixes #7575 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 22:55:30 +00:00
azaozz
50683ea4ad Typecast to prevent errors when option is not set, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 21:34:18 +00:00
ryan
9bd5723c66 Fix Image alignment input value. Props MtDewVirus. fixes #7573
git-svn-id: http://svn.automattic.com/wordpress/trunk@8714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 20:50:54 +00:00
ryan
ff403dd4bc Default image alignment setting doesn't select a default radio button. Props MtDewVirus. fixes #7574
git-svn-id: http://svn.automattic.com/wordpress/trunk@8713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 20:49:03 +00:00
ryan
b314e60f74 First cut of 'Show on screen' metabox show/hide. Needs styling. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 18:58:42 +00:00
ryan
84f4fc27e0 Save large image size options. fixes #7569
git-svn-id: http://svn.automattic.com/wordpress/trunk@8711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 17:13:52 +00:00
ryan
270139fb91 Move manage_comments_nav action after Apply. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 06:07:23 +00:00
ryan
072c3add0a Remove Stats from My Account menu. fixes #7567 see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 04:39:40 +00:00
ryan
417d768c10 Menu back-compat fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 04:32:42 +00:00
ryan
d5b7d348b5 Move Install Plugins menu to the bottom. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 03:48:00 +00:00
ryan
894d5682de Respect argument in get_author_feed_link(). Props Latz. fixes #7564
git-svn-id: http://svn.automattic.com/wordpress/trunk@8706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 02:21:37 +00:00
ryan
5aa7cbcf37 Move Setting menu to top-level. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 23:18:51 +00:00
ryan
38dfd6e69a Consolidate contiguous whitespace in usernames
git-svn-id: http://svn.automattic.com/wordpress/trunk@8704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 22:58:29 +00:00
ryan
594b715207 Add space. see #7560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 20:45:45 +00:00
ryan
419db63a01 Rename wp_insert_post filter to wp_insert_post_data to avoid collision. see #5196
git-svn-id: http://svn.automattic.com/wordpress/trunk@8702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 18:31:35 +00:00
ryan
203086a4de Option to force SSL. see #7561
git-svn-id: http://svn.automattic.com/wordpress/trunk@8701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 17:40:38 +00:00
markjaquith
e0f519adc5 Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 06:42:19 +00:00
markjaquith
fdced29e0a Fix Edit Page link
git-svn-id: http://svn.automattic.com/wordpress/trunk@8699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 05:52:03 +00:00
ryan
24b304fbaa Typo fix. Props josephscott. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 05:19:16 +00:00
azaozz
39e0608b33 Some css cleanup and fixes after the merge, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 02:25:14 +00:00
ryan
01e3a5ec79 Some cookie validation hooks. fixes #7440
git-svn-id: http://svn.automattic.com/wordpress/trunk@8696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 00:08:25 +00:00
ryan
9f9ef004db comment_class(). Props sandbox theme. see #7560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 23:48:09 +00:00
ryan
ab71ccb00d Add comment author column heading. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 22:19:14 +00:00
ryan
f683a857da Check if not empty rather than isset. fixes #7553 see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 22:01:44 +00:00
ryan
0144bd4233 New row style for Content->Pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:52:47 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi
9abb64509f phpdoc fixes for install-helper.php. See #7550 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 06:21:23 +00:00
westi
23645ea1c4 File level phpdoc for tinymcs spellchecker. See #7550 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 06:20:22 +00:00
ryan
56fe88e88f Merge crazyhorse management pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 04:06:36 +00:00
ryan
18459850ef Typo fix from mdawaffe. fixes #7551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 22:35:28 +00:00
ryan
aab36bea4e File level phpdoc from santosj. fixes #7496
git-svn-id: http://svn.automattic.com/wordpress/trunk@8674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 21:02:06 +00:00
ryan
543eb608c9 Support named headers and footers in get_footer() and get_header(). Props AaronCampbell. fixes #7549 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 20:57:48 +00:00
ryan
0348a10d49 site_url filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@8672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 19:41:11 +00:00
ryan
3911137835 Apply kses bad-protocol checks only to URI typed attributes. Props takayukister. fixes #5917 #6888 #6910 #7512
git-svn-id: http://svn.automattic.com/wordpress/trunk@8671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 18:43:21 +00:00
ryan
4104795d70 Don't default to an unselectable image size. Props tellyworth. fixes #7528 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 17:08:18 +00:00
ryan
42b36e1e64 post.php phpdoc. Props santosj. fixes #7538
git-svn-id: http://svn.automattic.com/wordpress/trunk@8669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:38:06 +00:00
ryan
96b987270d Tag cloud fixes from DD32. Implements number arg. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:36:18 +00:00
markjaquith
f4f6fb2019 Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: http://svn.automattic.com/wordpress/trunk@8667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 03:21:12 +00:00
ryan
facedb8d81 Revert tag cloud changes in 8540 and 8569. They broke tag sorting. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 23:40:41 +00:00
ryan
68ae36f22f Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@8664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 16:34:46 +00:00
ryan
b275e7399d Sync trunk RTL styles with 2.6 branch. see #7498
git-svn-id: http://svn.automattic.com/wordpress/trunk@8663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 15:47:32 +00:00
westi
3b85b84a5e phpdoc for formatting functions. See #5638 props scohoust.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:29:43 +00:00
westi
bfa931c5d1 alt attibutes for get_avatar(). Fixes #7523 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:23:49 +00:00
westi
e462ca421d remove_all_{actions|filters}. Fixes #7216 props filosofo and santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:15:38 +00:00
westi
2843c01b3d Fix typo in textpattern importer. Fixes #7529 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 20:41:20 +00:00
westi
e84d70122a Revert accidental change. See #7509.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 20:38:07 +00:00
westi
c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
azaozz
9729660f29 wp-config-sample.php inline documentation. Props santosj, fixes #7526
git-svn-id: http://svn.automattic.com/wordpress/trunk@8655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 06:16:30 +00:00
azaozz
0b6768f3ea Disable fsockopen for 12 hours if it fails. Props jacobsantos, fixes #7514
git-svn-id: http://svn.automattic.com/wordpress/trunk@8654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 05:38:57 +00:00
ryan
2955c83e99 Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@8653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-15 15:40:35 +00:00
ryan
02f5232d6e Always use '&' as arg separator when building the body. fixes #7522
git-svn-id: http://svn.automattic.com/wordpress/trunk@8648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 22:54:43 +00:00
ryan
aaaffe8316 Notice fix. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 20:36:09 +00:00
ryan
113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
westi
7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
ryan
1ef0029be8 Adds checking for fsockopen to check for WP_DEBUG and silently drop warnings. Adds streams_set_timeout to fsockopen to help prevent long waits. Props santosj. see #7514
git-svn-id: http://svn.automattic.com/wordpress/trunk@8644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 23:37:42 +00:00
ryan
9179510fc1 get_post_class() from mdawaffe. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 23:26:14 +00:00
ryan
f592eb9e43 Initialize classes array. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 21:59:52 +00:00
ryan
9e05ca767a Add more classes to post_class(). see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 21:58:06 +00:00
ryan
9a95395188 phpdoc fix up for post_class(). see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 19:10:44 +00:00
ryan
a9d35dafba Add post_class() template function for emitting standard classes for post div. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 19:09:08 +00:00
ryan
15440186be Add sticky_class() template tag. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 18:21:52 +00:00
ryan
b76abe33b4 Make sure timestamps are not 0000 when publishing. Props techcookies. fixes #6527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 16:01:01 +00:00
westi
fa410bb8f4 Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:53:48 +00:00
westi
94ad9a773f Fix bugs in chunked encoding handling. See #4779 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:09:59 +00:00
ryan
f41858edcf RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498. Partial patch for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 23:19:07 +00:00
westi
88f521011a HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:21:11 +00:00
ryan
f089ebcfe4 Quote array indexes. Props wet. fixes #7502
git-svn-id: http://svn.automattic.com/wordpress/trunk@8629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:13:25 +00:00
ryan
5d98412e04 Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:00:22 +00:00
ryan
6ff77fabe3 Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 20:58:00 +00:00
westi
7e141e4192 Refactor template location code to reduce duplication.
Also make it easier for theme authors to pull in seperate files into templates while making theme overrideable. See #7492.

git-svn-id: http://svn.automattic.com/wordpress/trunk@8624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 20:18:05 +00:00
ryan
e68d5f07b4 comment_approved can be zero, so check with isset instead of empty. fixes #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 16:23:47 +00:00
westi
ef8d0a6e30 Add syndication frequency recommendations to rss2 feeds. See #3513 props _ck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:50:41 +00:00
ryan
175c2b6fb1 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: http://svn.automattic.com/wordpress/trunk@8618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:26:31 +00:00
markjaquith
f43cf39f19 Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:17:07 +00:00
azaozz
e8c5d09ab0 Fix img path in TinyMCE css. Props docwhat, fixes #7469 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 04:02:24 +00:00
ryan
e02f178aa0 Pass tag name when using shortcodes. Props Viper007Bond. fixes #6606
git-svn-id: http://svn.automattic.com/wordpress/trunk@8613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 04:00:33 +00:00
ryan
ff7b8ffe1b Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 03:54:26 +00:00
azaozz
efb38685f8 Prevent fatal error if plugin uses install-helper.php, fixes #6747 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 23:13:39 +00:00
westi
3b9b906d3e Final phpdoc for functions. Fixes #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 20:31:49 +00:00
westi
840eb7e5e0 phpdoc for general functions. See #5639 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 16:45:50 +00:00
azaozz
879524a2dd Strip slashes when inserting media into the editor. Fixes #7488 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 02:14:13 +00:00
ryan
2a22782bb0 Fix tag duplication when saving posts with multiple tags that have custom slugs. Props mtekk and count_0. fixes #6593 see #6313
git-svn-id: http://svn.automattic.com/wordpress/trunk@8603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 17:13:40 +00:00
ryan
4ba102a9f4 jQuery UI 1.5.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@8601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:50:15 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
3a131a7e02 upload.php is not a retired file. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:11:09 +00:00
ryan
2f90aada53 phpdoc for functions.php. Props jacobsantos. fixes #5639
git-svn-id: http://svn.automattic.com/wordpress/trunk@8598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 04:51:51 +00:00
ryan
c0e5180448 Landing page for auto upgrade. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 03:20:16 +00:00
ryan
33a187a61e Remove old files. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 01:00:27 +00:00
ryan
05305465e4 Automatic upgrade, first cut. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
markjaquith
eb6e891041 Fix braces so user_trailingslashit gets the correct information passed in canonical redirect code. props xorax. fixes #7483 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:43:44 +00:00
ryan
ae8c9c8e53 RTL fixes from RanYanivHartstein. fixes #7482
git-svn-id: http://svn.automattic.com/wordpress/trunk@8592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:31:20 +00:00
ryan
e5e499be66 RTL fixes from RanYanivHartstein. see #7482
git-svn-id: http://svn.automattic.com/wordpress/trunk@8590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:23:30 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
westi
5a692699b4 Ensure fsockopen HTTP requests have Content-length and Content-type headers. See #4779 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 16:28:07 +00:00
ryan
0f8d8597c3 Update since tags. Props santosj. fixes #5625
git-svn-id: http://svn.automattic.com/wordpress/trunk@8587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 04:15:03 +00:00
ryan
d352f78b94 Fix issues with fsockopen transport. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 00:02:11 +00:00
ryan
d7cc99037f Plugin uninstall hooks from santosj. fixes #5625
git-svn-id: http://svn.automattic.com/wordpress/trunk@8585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 23:39:27 +00:00
ryan
9549319cc4 Fixes cURL for Cron in non-blocking mode. Props santosj. fixes #7481 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 22:57:16 +00:00
ryan
907ba1cfce Fix Copy and Paste bug in cURL transport based. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 22:56:21 +00:00
ryan
642c8d9b54 Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 21:02:07 +00:00
ryan
57e2267904 Fix bad bracketing in unzip_file()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 19:15:04 +00:00
ryan
e6971c04f1 Check the headers for the transfer-encoding for chunked. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:57:25 +00:00
markjaquith
ce1404129e Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:31:40 +00:00
markjaquith
bc5419ac4f Give separate paragraphs to the private/sticky checkboxen (heh) and give them distinct IDs for plugin CSS-hiding purposes. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:23:34 +00:00
markjaquith
643218c8fb Whitespacing/coding standards cleanup for category.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:06:14 +00:00
markjaquith
17df697bef Whitespacing/coding standards cleanup for category-template.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:01:46 +00:00
markjaquith
d40ac02f98 Whitespacing/coding standards cleanup for capabilities.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:50:30 +00:00
markjaquith
74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
064b19958f Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 17:24:10 +00:00
ryan
7f8c8b6ae7 Fix tag cloud links. Props DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 15:53:39 +00:00
ryan
a5acdddbb7 Strip tags from summary. Props dsader. fixes #7375 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 15:49:58 +00:00
azaozz
a5d9355329 Revert 8562 (last was incorrect)
git-svn-id: http://svn.automattic.com/wordpress/trunk@8565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 01:00:33 +00:00
azaozz
dc9f3139a1 Revert 8562
git-svn-id: http://svn.automattic.com/wordpress/trunk@8564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 00:44:40 +00:00
azaozz
0c6394a0b9 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 23:56:52 +00:00
ryan
366bb4f70f Fix notice about body not having chunk formatting. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 22:22:07 +00:00
ryan
cd722a7472 Allow merging of similarly named text domains. Props sambauers. fixes #7376 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 21:28:50 +00:00
ryan
5eae274300 Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@8555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 21:07:59 +00:00
ryan
6521f16335 RTL styling fixes from RanYanivHartstein. fixes #7461
git-svn-id: http://svn.automattic.com/wordpress/trunk@8554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 19:48:04 +00:00
ryan
b6420b411c Increase term name length. Props nbachiyski. fixes #7465
git-svn-id: http://svn.automattic.com/wordpress/trunk@8553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 18:27:02 +00:00
ryan
859921a0f4 Press This: Fix image insert in IE7, set textarea height. Props noael and zamoose. fixes #7387 #7310 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:13:58 +00:00
ryan
5e87cb848d Plugin install fixes from DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:06:42 +00:00
ryan
63f28d3ba0 Fix chunked decoding. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:01:49 +00:00
ryan
30b6066f07 Streams transport fixes from jacobsantos. fixes #7456 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 16:33:20 +00:00
westi
bf16f5dd53 Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 06:40:44 +00:00
ryan
7564143444 Sticky Posts, firct cut. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:48:21 +00:00
ryan
80937742da Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:45:34 +00:00
ryan
0c0de881bb Fix reversed encoding. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 04:14:55 +00:00
ryan
1b0bfced2e XML-RPC comments API. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 22:29:37 +00:00
ryan
377336657c Fix star.gif. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:24:47 +00:00
ryan
e61e2610d2 Set eol-style. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:17:42 +00:00
westi
35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
7f0c014f36 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 20:34:45 +00:00
ryan
b8dc4a3377 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:19:05 +00:00
ryan
92589dee21 Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:12:26 +00:00
ryan
e4a40aa709 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 18:45:44 +00:00
ryan
2eb0dffaaa Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 17:03:05 +00:00
ryan
2d6e153cb4 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 16:28:12 +00:00
azaozz
293f185635 Type error when redirecting after post save, url_to_postid() may return the id as int or str, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 05:15:36 +00:00
ryan
ccbc13a123 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:07:21 +00:00
ryan
f152ed51e1 Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:01:28 +00:00
ryan
5ac3c72c22 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: http://svn.automattic.com/wordpress/trunk@8525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-02 17:32:25 +00:00
ryan
7c80ab99e2 Fixes process headers for fopen header return, fixes HTTP extension response array. Also adds Curl implementation and allows for it to be used when using headers. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 23:13:48 +00:00
ryan
696fce2d5b Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 22:31:57 +00:00
ryan
5fb61f3398 Various http fixes from santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 21:24:03 +00:00
ryan
2f4537ad4c Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 18:44:40 +00:00
ryan
6425f7db9d Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 16:36:50 +00:00
ryan
6f3542eff2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:45:13 +00:00
azaozz
0c4dbbadca When not using image captions, IE may add caption null, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:10:27 +00:00
ryan
3c99cfc4f5 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:00:07 +00:00
ryan
06a67ae8d2 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 04:26:32 +00:00
azaozz
4d78593e80 Make sure meta is added to the post, not a revision.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 03:50:20 +00:00
azaozz
fddd74d5b9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-31 04:01:30 +00:00
ryan
a465f3ac7d Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 17:17:38 +00:00
azaozz
c61a4db3e5 Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: http://svn.automattic.com/wordpress/trunk@8508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 12:32:04 +00:00
azaozz
27b762bb8e Add "Page restored" message. Props Viper007Bond, fixes #7437 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 09:18:59 +00:00
azaozz
38aa571484 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 08:16:56 +00:00
westi
f08ff1124c Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:04:57 +00:00
westi
e612643a06 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:01:03 +00:00
westi
33ad189d78 Make the validate_file check more explict and obvious.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:48:30 +00:00
westi
4134153d89 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:38:40 +00:00
westi
563e470237 Switch to get_theme_root()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:26:59 +00:00
westi
508dfde88a Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:21:14 +00:00
azaozz
ca07515463 Fix error message when invalidating plugin because of bad path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 00:02:47 +00:00
azaozz
80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan
7add050b10 Walker improvements from hailin. fixes #7353
git-svn-id: http://svn.automattic.com/wordpress/trunk@8494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:50:57 +00:00
ryan
fec30ab9ac Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:16:39 +00:00
ryan
30d7084f60 Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:14:53 +00:00
westi
f69ddab179 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 20:21:34 +00:00
westi
ec5a60f0cf Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:56:38 +00:00
westi
91fcf4e904 Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:52:44 +00:00
ryan
713c82dfd2 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 17:03:00 +00:00
ryan
c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
ryan
a6ab2ece1d Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:58:24 +00:00
ryan
7339da643f Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:39:15 +00:00
azaozz
e30000d174 Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:07:47 +00:00
ryan
a3a1f83d7f Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 16:26:59 +00:00
ryan
57ba058017 No need to order results. Props dbuser123. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@8469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 16:58:35 +00:00
westi
1a98124b2c Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 08:40:29 +00:00
azaozz
643f76d20c Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 19:56:08 +00:00
westi
9cb88949bf Move the endif inside the table so [8461] doesn't break the html. Fixes #7399 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 08:05:30 +00:00
westi
31a054b9b9 Only show the admin colour scheme picker if there is more than one theme to pick from. Fixes #7399.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 07:54:02 +00:00
azaozz
060a4ea248 Stay on the same page after moderating comments. Fixes #7412 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 03:51:39 +00:00
ryan
696050f9ad Add macFFBgHack.png. fixes #6573 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 22:42:31 +00:00
ryan
5685d51d1f Don't try to translate empty role name. Props wasp. fixes #6554 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 15:36:40 +00:00
azaozz
44a80acfe5 Login: keep username when password is incorrect and focus on password field
git-svn-id: http://svn.automattic.com/wordpress/trunk@8454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 06:32:53 +00:00
ryan
b43c86dc07 Make RSD links SSL aware by using site_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 22:05:04 +00:00
ryan
e8cba9f0cb Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 19:28:40 +00:00
ryan
07b7e7b7a4 Work around fatal error caused by mbstring.func_overload = 2. Props codestyling . fixes #5599 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:56:17 +00:00
azaozz
6830e3395a Use conditional for whole sentence. Fixes #7385 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:53:43 +00:00
ryan
5c56c7fd2e Typo fix from filosofo. fixes #7389 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:35:38 +00:00
ryan
ae96b8c628 Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: http://svn.automattic.com/wordpress/trunk@8415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:44:06 +00:00
ryan
5cca62b1e9 Don't concat translatable strings. Props msi08. fixes #7385
git-svn-id: http://svn.automattic.com/wordpress/trunk@8413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:39:00 +00:00
ryan
702019d574 Fix case. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:36:10 +00:00
westi
1452266770 Mark kses callbacks as private. Fixes #7363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 08:36:15 +00:00
westi
5506ddd8b5 Advertise Atom 1.0 Feed in default theme. Fixes #7341 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 06:56:25 +00:00
azaozz
bcc66d7f28 Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 05:12:57 +00:00
ryan
2c1f3d9782 Use WP_LANG_DIR. fixes #7378 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 21:09:30 +00:00
ryan
50269c4845 Add timezone var to IXR_date. Add timezone back to getIso(). Comment WP specific additions. see #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:53:03 +00:00
ryan
0ece55eb7d Performance improvments to get_plugin_data() from santosj. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:18:07 +00:00
ryan
a0b5e9133d Allow disabling password reset per user. Props axelseaa. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:15:42 +00:00
ryan
ba0677a6ab Eliminate unused var. Props tschai. fixes #7374
git-svn-id: http://svn.automattic.com/wordpress/trunk@8397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 15:49:44 +00:00
azaozz
2a4ed4c5a8 Gears integration update in anticipation of Safari support. Fixes #7371 for 2.6.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@8395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 04:03:36 +00:00
ryan
364d78f689 Don't allow empty term names. Props scohoust. fixes #7336 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 21:53:32 +00:00
ryan
0ef06f9569 Check for WP_Error return from wp_update_term(). Props scohoust. fixes #7366 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 17:52:19 +00:00
ryan
d320f6f879 Update AtomPub auth to use latest API
git-svn-id: http://svn.automattic.com/wordpress/trunk@8390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 17:27:27 +00:00
ryan
2749db26de Fix assignment of links to the default category when a category is deleted. Props scohoust. fixes #7316 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 16:13:23 +00:00
azaozz
e13c015e92 kses - don't use create_function in preg_replace_callback. Fixes #7363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 05:11:00 +00:00
azaozz
40abfce30c kses - properly escape non-Unicode entities. Fixes #6583. Props schiller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 03:21:09 +00:00
azaozz
6c31b19627 Take first attribute and ignore later duplicate attributes. Fixes #6602 for trunk. Props schiller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 01:12:49 +00:00
azaozz
eb1f1ece79 Prevent adjacent hyphens in a HTML/XML comment. Fixes #6642 for trunk. Props schiller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 00:32:43 +00:00
ryan
a030bdbd5d Make get_edit_post_link() and get_edit_comment_link() SSL aware. Props robertaccettura. fixes #7359 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-20 04:46:59 +00:00
ryan
a890785907 Resurrect 7615. see #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 19:01:35 +00:00
ryan
d845973d7b Revert accidental bits that snuck in with [8376]. see #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 19:00:56 +00:00
ryan
8831ea942b IXR 0.71. Props jacobsantos. fixes #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 17:56:35 +00:00
westi
1832ab2c52 Ensure that AtomPub does not auto-publish draft posts when they are edited. Fixes #7299 for trunk props redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 15:29:31 +00:00
ryan
e97a8af5de Don't return if is_string(). Proceed to check if is_serialized(). fixes #7347 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 16:43:23 +00:00
ryan
cdcd6ffdf6 Image sideload and wp_upload_dir() fixes from noel. fixes #7342 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 03:19:12 +00:00
ryan
8f29cb96e7 Move plugin data translation and display markup to plugins page. Props DD32. see #3089
git-svn-id: http://svn.automattic.com/wordpress/trunk@8368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 03:16:53 +00:00
ryan
bd434383f7 Plugin metadata localization and get_plugin_dta() optimization from santosj. fixes #5651 #3089
git-svn-id: http://svn.automattic.com/wordpress/trunk@8367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 22:51:26 +00:00
markjaquith
3170e3f6ee Better solution for #4536. Slashless normalization of tag/category bases. fixes #7306 for trunk. see #4536
git-svn-id: http://svn.automattic.com/wordpress/trunk@8365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 19:41:48 +00:00
ryan
fe9866dc79 Fix is_term query prepare() so that tag slugs that percent signs in them don't break. fixes #6867 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 16:59:40 +00:00
azaozz
7b0371676d Fix invalid HTML and remove duplicate fields. Fixes #7293 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 22:09:27 +00:00
westi
4b4f85c2d4 Invalidate the plugin update cache if plugins are deleted. Fixes #7304 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 21:53:32 +00:00
azaozz
99fd979933 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 21:36:17 +00:00
azaozz
d726af852a fixes #7311 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 20:34:46 +00:00
ryan
db8e0b2a72 New location for akismet
git-svn-id: http://svn.automattic.com/wordpress/trunk@8354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 18:56:28 +00:00
ryan
f555d94c3f Derive the upload url from the upload path if no url given. fixes #7308 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 16:49:22 +00:00
ryan
053eb7cee9 Restore fields removed in [7645]. Props rm53. fixes #7320 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 16:30:20 +00:00
ryan
e04638ac6f Add jquery dependency to admin-forms. Props 082net. fixes #7321 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 16:16:45 +00:00
ryan
1ae2433c72 Typo fix. Props paul@byte. fixes #7323 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 16:13:48 +00:00
westi
6c3dc58ac3 Update the version number for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-16 07:17:06 +00:00
ryan
af11b900c8 Typo fix from robertdimarco. fixes #7297 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-15 16:21:26 +00:00
ryan
482fcca10a Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@8340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-15 15:59:19 +00:00
422 changed files with 48878 additions and 16195 deletions

View File

@@ -1,8 +1,9 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

View File

@@ -8,7 +8,7 @@
<body>
<h1 id="logo" style="text-align: center">
<img alt="WordPress" src="wp-admin/images/wordpress-logo.png" />
<br /> Version 2.6.1
<br /> Version 2.7
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>
@@ -29,7 +29,7 @@
<h1>Upgrading</h1>
<p>Before you upgrade anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</p>
<h2>Upgrading from any previous WordPress to 2.6.1:</h2>
<h2>Upgrading from any previous WordPress to 2.7:</h2>
<ol>
<li>Delete your old WP files, saving ones you've modified.</li>
<li>Upload the new files.</li>

View File

@@ -1,29 +1,67 @@
<?php
/**
* WordPress AJAX Process Execution.
*
* @package WordPress
* @subpackage Administration
*/
/**
* Executing AJAX process.
*
* @since unknown
*/
define('DOING_AJAX', true);
define('WP_ADMIN', true);
require_once('../wp-load.php');
require_once('includes/admin.php');
if ( !is_user_logged_in() )
die('-1');
if ( ! is_user_logged_in() ) {
if ( isset($_GET['action']) && 'ajax-tag-search' == $_GET['action'] ) {
if ( $_POST['action'] == 'autosave' ) {
$id = isset($_POST['post_ID'])? (int) $_POST['post_ID'] : 0;
if ( ! $id )
die('-1');
$message = sprintf( __('<strong>ALERT: You are logged out!</strong> Could not save draft. <a href="%s" target="blank">Please log in again.</a>'), wp_login_url() );
$x = new WP_Ajax_Response( array(
'what' => 'autosave',
'id' => $id,
'data' => $message
) );
$x->send();
}
die('-1');
}
if ( isset( $_GET['action'] ) ) :
switch ( $action = $_GET['action'] ) :
case 'ajax-tag-search' :
if ( !current_user_can( 'manage_categories' ) )
die('-1');
$s = $_GET['q']; // is this slashed already?
if ( strstr( $s, ',' ) ) {
$s = explode( ',', $s );
$s = $s[count( $s ) - 1];
if ( false !== strpos( $s, ',' ) ) {
$s = explode( ',', $s );
$s = $s[count( $s ) - 1];
}
$s = trim( $s );
if ( strlen( $s ) < 2 )
die; // require 2 chars for matching
$results = $wpdb->get_col( "SELECT name FROM $wpdb->terms WHERE name LIKE ('%". $s . "%')" );
die; // require 2 chars for matching
$results = $wpdb->get_col( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = 'post_tag' AND t.name LIKE ('%". $s . "%')" );
echo join( $results, "\n" );
die;
}
break;
default :
do_action( 'wp_ajax_' . $_GET['action'] );
die('0');
break;
endswitch;
endif;
$id = isset($_POST['id'])? (int) $_POST['id'] : 0;
switch ( $action = $_POST['action'] ) :
@@ -170,7 +208,7 @@ case 'dim-comment' :
if ( $_POST['new'] == $current )
die('1');
if ( 'unapproved' == $current ) {
if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) {
check_ajax_referer( "approve-comment_$id" );
if ( wp_set_comment_status( $comment->comment_ID, 'approve' ) )
die('1');
@@ -278,7 +316,7 @@ case 'add-cat' : // From Manage->Categories
) );
$x->send();
}
$cat = wp_insert_category( $_POST, true );
if ( is_wp_error($cat) ) {
@@ -305,6 +343,7 @@ case 'add-cat' : // From Manage->Categories
$x = new WP_Ajax_Response( array(
'what' => 'cat',
'id' => $cat->term_id,
'position' => -1,
'data' => _cat_row( $cat, $level, $cat_full_name ),
'supplemental' => array('name' => $cat_full_name, 'show-link' => sprintf(__( 'Category <a href="#%s">%s</a> added' ), "cat-$cat->term_id", $cat_full_name))
) );
@@ -340,6 +379,7 @@ case 'add-link-cat' : // From Blogroll -> Categories
$x = new WP_Ajax_Response( array(
'what' => 'link-cat',
'id' => $term_id,
'position' => -1,
'data' => $link_cat
) );
$x->send();
@@ -376,11 +416,35 @@ case 'add-tag' : // From Manage->Tags
$x = new WP_Ajax_Response( array(
'what' => 'tag',
'id' => $tag->term_id,
'position' => '-1',
'data' => _tag_row( $tag ),
'supplemental' => array('name' => $tag_full_name, 'show-link' => sprintf(__( 'Tag <a href="#%s">%s</a> added' ), "tag-$tag->term_id", $tag_full_name))
) );
$x->send();
break;
case 'get-tagcloud' :
if ( !current_user_can( 'manage_categories' ) )
die('-1');
$tags = get_tags( array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) );
if ( empty( $tags ) )
die( __('No tags found!') );
foreach ( $tags as $key => $tag ) {
$tags[ $key ]->link = '#';
$tags[ $key ]->id = $tag->term_id;
}
$return = wp_generate_tag_cloud( $tags );
if ( empty($return) )
die('0');
echo $return;
exit;
break;
case 'add-comment' :
check_ajax_referer( $action );
if ( !current_user_can( 'edit_post', $id ) )
@@ -389,8 +453,9 @@ case 'add-comment' :
$start = isset($_POST['page']) ? intval($_POST['page']) * 25 - 1: 24;
$status = isset($_POST['comment_status']) ? $_POST['comment_status'] : false;
$mode = isset($_POST['mode']) ? $_POST['mode'] : 'detail';
list($comments, $total) = _wp_get_comment_list( $status, $search, $start, 1 );
$p = isset($_POST['p']) ? $_POST['p'] : 0;
$comment_type = isset($_POST['comment_type']) ? $_POST['comment_type'] : '';
list($comments, $total) = _wp_get_comment_list( $status, $search, $start, 1, $p, $comment_type );
if ( get_option('show_avatars') )
add_filter( 'comment_author', 'floated_admin_avatar' );
@@ -401,7 +466,7 @@ case 'add-comment' :
foreach ( (array) $comments as $comment ) {
get_comment( $comment );
ob_start();
_wp_comment_row( $comment->comment_ID, $mode, $status );
_wp_comment_row( $comment->comment_ID, $mode, $status, true, true );
$comment_list_item = ob_get_contents();
ob_end_clean();
$x->add( array(
@@ -410,6 +475,142 @@ case 'add-comment' :
'data' => $comment_list_item
) );
}
$x->send();
break;
case 'get-comments' :
check_ajax_referer( $action );
$post_ID = (int) $_POST['post_ID'];
if ( !current_user_can( 'edit_post', $post_ID ) )
die('-1');
$start = isset($_POST['start']) ? intval($_POST['start']) : 0;
$num = isset($_POST['num']) ? intval($_POST['num']) : 10;
list($comments, $total) = _wp_get_comment_list( false, false, $start, $num, $post_ID );
if ( !$comments )
die('1');
$comment_list_item = '';
$x = new WP_Ajax_Response();
foreach ( (array) $comments as $comment ) {
get_comment( $comment );
ob_start();
_wp_comment_row( $comment->comment_ID, 'single', false, false );
$comment_list_item .= ob_get_contents();
ob_end_clean();
}
$x->add( array(
'what' => 'comments',
'data' => $comment_list_item
) );
$x->send();
break;
case 'replyto-comment' :
check_ajax_referer( $action );
$comment_post_ID = (int) $_POST['comment_post_ID'];
if ( !current_user_can( 'edit_post', $comment_post_ID ) )
die('-1');
$status = $wpdb->get_var( $wpdb->prepare("SELECT post_status FROM $wpdb->posts WHERE ID = %d", $comment_post_ID) );
if ( empty($status) )
die('1');
elseif ( in_array($status, array('draft', 'pending') ) )
die( __('Error: you are replying to a comment on a draft post.') );
$user = wp_get_current_user();
if ( $user->ID ) {
$comment_author = $wpdb->escape($user->display_name);
$comment_author_email = $wpdb->escape($user->user_email);
$comment_author_url = $wpdb->escape($user->user_url);
$comment_content = trim($_POST['content']);
if ( current_user_can('unfiltered_html') ) {
if ( wp_create_nonce('unfiltered-html-comment_' . $comment_post_ID) != $_POST['_wp_unfiltered_html_comment'] ) {
kses_remove_filters(); // start with a clean slate
kses_init_filters(); // set up the filters
}
}
} else {
die( __('Sorry, you must be logged in to reply to a comment.') );
}
if ( '' == $comment_content )
die( __('Error: please type a comment.') );
$comment_parent = absint($_POST['comment_ID']);
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID');
$comment_id = wp_new_comment( $commentdata );
$comment = get_comment($comment_id);
if ( ! $comment ) die('1');
$modes = array( 'single', 'detail', 'dashboard' );
$mode = isset($_POST['mode']) && in_array( $_POST['mode'], $modes ) ? $_POST['mode'] : 'detail';
$position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1';
$checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
if ( get_option('show_avatars') && 'single' != $mode )
add_filter( 'comment_author', 'floated_admin_avatar' );
$x = new WP_Ajax_Response();
ob_start();
if ( 'dashboard' == $mode ) {
require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
_wp_dashboard_recent_comments_row( $comment, false );
} else {
_wp_comment_row( $comment->comment_ID, $mode, false, $checkbox );
}
$comment_list_item = ob_get_contents();
ob_end_clean();
$x->add( array(
'what' => 'comment',
'id' => $comment->comment_ID,
'data' => $comment_list_item,
'position' => $position
));
$x->send();
break;
case 'edit-comment' :
check_ajax_referer( 'replyto-comment' );
$comment_post_ID = (int) $_POST['comment_post_ID'];
if ( ! current_user_can( 'edit_post', $comment_post_ID ) )
die('-1');
if ( '' == $_POST['content'] )
die( __('Error: please type a comment.') );
$comment_id = (int) $_POST['comment_ID'];
$_POST['comment_status'] = $_POST['status'];
edit_comment();
$mode = ( isset($_POST['mode']) && 'single' == $_POST['mode'] ) ? 'single' : 'detail';
$position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1';
$checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
if ( get_option('show_avatars') && 'single' != $mode )
add_filter( 'comment_author', 'floated_admin_avatar' );
$x = new WP_Ajax_Response();
ob_start();
_wp_comment_row( $comment_id, $mode, true, $checkbox );
$comment_list_item = ob_get_contents();
ob_end_clean();
$x->add( array(
'what' => 'edit_comment',
'id' => $comment->comment_ID,
'data' => $comment_list_item,
'position' => $position
));
$x->send();
break;
case 'add-meta' :
@@ -616,13 +817,29 @@ case 'closed-postboxes' :
check_ajax_referer( 'closedpostboxes', 'closedpostboxesnonce' );
$closed = isset( $_POST['closed'] )? $_POST['closed'] : '';
$closed = explode( ',', $_POST['closed'] );
$hidden = isset( $_POST['hidden'] )? $_POST['hidden'] : '';
$hidden = explode( ',', $_POST['hidden'] );
$page = isset( $_POST['page'] )? $_POST['page'] : '';
if ( !preg_match( '/^[a-z-]+$/', $page ) ) {
if ( !preg_match( '/^[a-z-_]+$/', $page ) ) {
die(-1);
}
if (!is_array($closed)) break;
$current_user = wp_get_current_user();
update_usermeta($current_user->ID, 'closedpostboxes_'.$page, $closed);
if ( is_array($closed) )
update_usermeta($current_user->ID, 'closedpostboxes_'.$page, $closed);
if ( is_array($hidden) )
update_usermeta($current_user->ID, 'meta-box-hidden_'.$page, $hidden);
break;
case 'hidden-columns' :
check_ajax_referer( 'hiddencolumns', 'hiddencolumnsnonce' );
$hidden = isset( $_POST['hidden'] )? $_POST['hidden'] : '';
$hidden = explode( ',', $_POST['hidden'] );
$page = isset( $_POST['page'] )? $_POST['page'] : '';
if ( !preg_match( '/^[a-z-_]+$/', $page ) ) {
die(-1);
}
$current_user = wp_get_current_user();
if ( is_array($hidden) )
update_usermeta($current_user->ID, "manage-$page-columns-hidden", $hidden);
break;
case 'get-permalink':
check_ajax_referer( 'getpermalink', 'getpermalinknonce' );
@@ -636,6 +853,189 @@ case 'sample-permalink':
$slug = isset($_POST['new_slug'])? $_POST['new_slug'] : '';
die(get_sample_permalink_html($post_id, $title, $slug));
break;
case 'inline-save':
check_ajax_referer( 'inlineeditnonce', '_inline_edit' );
if ( ! isset($_POST['post_ID']) || ! ( $post_ID = (int) $_POST['post_ID'] ) )
exit;
if ( 'page' == $_POST['post_type'] ) {
if ( ! current_user_can( 'edit_page', $post_ID ) )
die( __('You are not allowed to edit this page.') );
} else {
if ( ! current_user_can( 'edit_post', $post_ID ) )
die( __('You are not allowed to edit this post.') );
}
if ( $last = wp_check_post_lock( $post_ID ) ) {
$last_user = get_userdata( $last );
$last_user_name = $last_user ? $last_user->display_name : __( 'Someone' );
printf( $_POST['post_type'] == 'page' ? __( 'Saving is disabled: %s is currently editing this page.' ) : __( 'Saving is disabled: %s is currently editing this post.' ), wp_specialchars( $last_user_name ) );
exit;
}
$data = &$_POST;
$post = get_post( $post_ID, ARRAY_A );
$data['content'] = $post['post_content'];
$data['excerpt'] = $post['post_excerpt'];
// rename
$data['user_ID'] = $GLOBALS['user_ID'];
if ( isset($data['post_parent']) )
$data['parent_id'] = $data['post_parent'];
// status
if ( isset($data['keep_private']) && 'private' == $data['keep_private'] )
$data['post_status'] = 'private';
else
$data['post_status'] = $data['_status'];
if ( empty($data['comment_status']) )
$data['comment_status'] = 'closed';
if ( empty($data['ping_status']) )
$data['ping_status'] = 'closed';
// update the post
$_POST = $data;
edit_post();
$post = array();
if ( 'page' == $_POST['post_type'] ) {
$post[] = get_post($_POST['post_ID']);
page_rows($post);
} elseif ( 'post' == $_POST['post_type'] ) {
$mode = $_POST['post_view'];
$post[] = get_post($_POST['post_ID']);
post_rows($post);
}
exit;
break;
case 'inline-save-tax':
check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' );
if ( ! current_user_can('manage_categories') )
die( __('Cheatin&#8217; uh?') );
if ( ! isset($_POST['tax_ID']) || ! ( $id = (int) $_POST['tax_ID'] ) )
die(-1);
switch ($_POST['tax_type']) {
case 'cat' :
$data = array();
$data['cat_ID'] = $id;
$data['cat_name'] = $_POST['name'];
$data['category_nicename'] = $_POST['slug'];
if ( isset($_POST['parent']) && (int) $_POST['parent'] > 0 )
$data['category_parent'] = $_POST['parent'];
$cat = get_category($id, ARRAY_A);
$data['category_description'] = $cat['category_description'];
$updated = wp_update_category($data);
if ( $updated && !is_wp_error($updated) )
echo _cat_row( $updated, 0 );
else
die( __('Category not updated.') );
break;
case 'link-cat' :
$updated = wp_update_term($id, 'link_category', $_POST);
if ( $updated && !is_wp_error($updated) )
echo link_cat_row($updated['term_id']);
else
die( __('Category not updated.') );
break;
case 'tag' :
$updated = wp_update_term($id, 'post_tag', $_POST);
if ( $updated && !is_wp_error($updated) ) {
$tag = get_term( $updated['term_id'], 'post_tag' );
if ( !$tag || is_wp_error( $tag ) )
die( __('Tag not updated.') );
echo _tag_row($tag);
} else {
die( __('Tag not updated.') );
}
break;
}
exit;
break;
case 'meta-box-order':
check_ajax_referer( 'meta-box-order' );
update_user_option( $GLOBALS['current_user']->ID, "meta-box-order_$_POST[page]", $_POST['order'] );
die('1');
break;
case 'find_posts':
check_ajax_referer( 'find-posts' );
if ( empty($_POST['ps']) )
exit;
$what = isset($_POST['pages']) ? 'page' : 'post';
$s = stripslashes($_POST['ps']);
preg_match_all('/".*?("|$)|((?<=[\\s",+])|^)[^\\s",+]+/', $s, $matches);
$search_terms = array_map(create_function('$a', 'return trim($a, "\\"\'\\n\\r ");'), $matches[0]);
$searchand = $search = '';
foreach( (array) $search_terms as $term) {
$term = addslashes_gpc($term);
$search .= "{$searchand}(($wpdb->posts.post_title LIKE '%{$term}%') OR ($wpdb->posts.post_content LIKE '%{$term}%'))";
$searchand = ' AND ';
}
$term = $wpdb->escape($s);
if ( count($search_terms) > 1 && $search_terms[0] != $s )
$search .= " OR ($wpdb->posts.post_title LIKE '%{$term}%') OR ($wpdb->posts.post_content LIKE '%{$term}%')";
$posts = $wpdb->get_results( "SELECT ID, post_title, post_status, post_date FROM $wpdb->posts WHERE post_type = '$what' AND $search ORDER BY post_date_gmt DESC LIMIT 50" );
if ( ! $posts )
exit( __('No posts found.') );
$html = '<table class="widefat"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th>'.__('Time').'</th><th>'.__('Status').'</th></tr></thead><tbody>';
foreach ( $posts as $post ) {
switch ( $post->post_status ) {
case 'publish' :
case 'private' :
$stat = __('Published');
break;
case 'future' :
$stat = __('Scheduled');
break;
case 'pending' :
$stat = __('Pending Review');
break;
case 'draft' :
$stat = __('Unpublished');
break;
}
if ( '0000-00-00 00:00:00' == $post->post_date ) {
$time = '';
} else {
$time = mysql2date(__('Y/m/d'), $post->post_date);
}
$html .= '<tr class="found-posts"><td class="found-radio"><input type="radio" id="found-'.$post->ID.'" name="found_post_id" value="'.$post->ID.'"></td>';
$html .= '<td><label for="found-'.$post->ID.'">'.wp_specialchars($post->post_title, true).'</label></td><td>'.wp_specialchars($time, true).'</td><td>'.wp_specialchars($stat, true).'</td></tr>'."\n\n";
}
$html .= '</tbody></table>';
$x = new WP_Ajax_Response();
$x->add( array(
'what' => $what,
'data' => $html
));
$x->send();
break;
default :
do_action( 'wp_ajax_' . $_POST['action'] );
die('0');

View File

@@ -1,14 +1,28 @@
</div><!-- wpbody -->
</div><!-- wpcontent -->
<?php
/**
* WordPress Administration Template Footer
*
* @package WordPress
* @subpackage Administration
*/
?>
<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
</div><!-- wpwrap -->
<div id="footer">
<p><?php
do_action('in_admin_footer', '');
<p id="footer-left" class="alignleft"><?php
do_action( 'in_admin_footer' );
$upgrade = apply_filters( 'update_footer', '' );
echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
?></p>
echo '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?>
</p>
<?php // if ( $is_IE ) browse_happy(); ?>
<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
<div class="clear"></div>
</div>
<?php do_action('admin_footer', ''); ?>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
</body>
</html>
</html>

View File

@@ -1,5 +1,16 @@
<?php
// Deprecated. Use includes/admin.php.
/**
* Administration Functions
*
* This file is deprecated, use 'wp-admin/includes/admin.php' instead.
*
* @deprecated 2.5
* @package WordPress
* @subpackage Administration
*/
_deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/admin.php' );
/** WordPress Administration API: Includes all Administration functions. */
require_once(ABSPATH . 'wp-admin/includes/admin.php');
?>
?>

View File

@@ -1,33 +1,23 @@
<?php
/**
* WordPress Administration Template Header
*
* @package WordPress
* @subpackage Administration
*/
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
if (!isset($_GET["page"])) require_once('admin.php');
if ( $editing ) {
if ( user_can_richedit() )
wp_enqueue_script( 'wp_tiny_mce' );
}
wp_enqueue_script( 'wp-gears' );
$min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php', 'link.php' );
$the_current_page = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']);
$ie6_no_scrollbar = true;
function add_minwidth($c) {
return $c . 'minwidth ';
}
if ( in_array( $the_current_page, $min_width_pages ) ) {
$ie6_no_scrollbar = false;
add_filter( 'admin_body_class', 'add_minwidth' );
}
get_admin_page_title();
$title = wp_specialchars( strip_tags( $title ) );
wp_user_settings();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php echo wp_specialchars( strip_tags( $title ) ); ?> &#8212; WordPress</title>
<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title; ?> &#8212; WordPress</title>
<?php
wp_admin_css( 'css/global' );
@@ -39,94 +29,104 @@ wp_admin_css( 'css/ie' );
<script type="text/javascript">
//<![CDATA[
addLoadEvent = function(func) {if (typeof jQuery != "undefined") jQuery(document).ready(func); else if (typeof wpOnload!='function'){wpOnload=func;} else {var oldonload=wpOnload; wpOnload=function(){oldonload();func();}}};
function convertEntities(o) {
var c = function(s) {
if (/&[^;]+;/.test(s)) {
var e = document.createElement("div");
e.innerHTML = s;
return !e.firstChild ? s : e.firstChild.nodeValue;
}
return s;
}
if ( typeof o === 'string' )
return c(o);
else if ( typeof o === 'object' )
for (var v in o) {
if ( typeof o[v] === 'string' )
o[v] = c(o[v]);
}
return o;
};
//]]>
</script>
<?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') && $ie6_no_scrollbar ) : ?>
<style type="text/css">* html { overflow-x: hidden; }</style>
<?php endif;
<?php
$hook_suffixes = array();
if ( in_array( $pagenow, array('post.php', 'post-new.php', 'page.php', 'page-new.php') ) ) {
add_action( 'admin_head', 'wp_tiny_mce' );
}
$hook_suffix = '';
if ( isset($page_hook) )
$hook_suffixes[] = "-$page_hook";
$hook_suffix = "$page_hook";
else if ( isset($plugin_page) )
$hook_suffixes[] = "-$plugin_page";
$hook_suffix = "$plugin_page";
else if ( isset($pagenow) )
$hook_suffixes[] = "-$pagenow";
$hook_suffix = "$pagenow";
$hook_suffixes[] = '';
do_action("admin_print_styles-$hook_suffix");
do_action('admin_print_styles');
do_action("admin_print_scripts-$hook_suffix");
do_action('admin_print_scripts');
do_action("admin_head-$hook_suffix");
do_action('admin_head');
foreach ( $hook_suffixes as $hook_suffix )
do_action("admin_print_styles$hook_suffix"); // do_action( 'admin_print_styles-XXX' ); do_action( 'admin_print_styles' );
foreach ( $hook_suffixes as $hook_suffix )
do_action("admin_print_scripts$hook_suffix"); // do_action( 'admin_print_scripts-XXX' ); do_action( 'admin_print_scripts' );
foreach ( $hook_suffixes as $hook_suffix )
do_action("admin_head$hook_suffix"); // do_action( 'admin_head-XXX' ); do_action( 'admin_head' );
unset($hook_suffixes, $hook_suffix);
?>
if ( $is_iphone ) { ?>
<style type="text/css">.row-actions{visibility:visible;}</style>
<?php } ?>
</head>
<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>">
<div id="wpwrap">
<div id="wpcontent">
<div id="wphead">
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo '&nbsp;'; else echo get_bloginfo('name', 'display'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1>
<?php
$blog_name = get_bloginfo('name', 'display');
if ( '' == $blog_name ) {
$blog_name = '&nbsp;';
} else {
$blog_name_excerpt = wp_html_excerpt($blog_name, 40);
if ( $blog_name != $blog_name_excerpt )
$blog_name_excerpt = trim($blog_name_excerpt) . '&hellip;';
$blog_name = $blog_name_excerpt;
}
$title_class = '';
if ( function_exists('mb_strlen') ) {
if ( mb_strlen($blog_name, 'UTF-8') > 30 )
$title_class = 'class="long-title"';
} else {
if ( strlen($blog_name) > 30 )
$title_class = 'class="long-title"';
}
?>
<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?> <span>&larr; <?php _e('Visit site') ?></span></a></h1>
<div id="wphead-info">
<div id="user_info">
<p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?>
<?php if ( ! $is_opera ) { ?><span class="turbo-nag hidden"> | <a href="tools.php"><?php _e('Turbo') ?></a></span><?php } ?> |
<a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p>
</div>
<?php
if ( ! $is_opera ) {
?>
<div id="gears-info-box" class="info-box" style="display:none;">
<img src="images/gear.png" title="Gear" alt="" class="gears-img" />
<div id="gears-msg1">
<h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3>
<p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
<a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
<p><?php _e('After you install and enable Gears most of WordPress&#8217; images, scripts, and CSS files will be stored locally on your computer. This speeds up page load time.'); ?></p>
<p><strong><?php _e('Don&#8217;t install on a public or shared computer.'); ?></strong></p> <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&amp;return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button>
<button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
</div>
<?php favorite_actions(); ?>
</div>
</div>
<div id="gears-msg2" style="display:none;">
<h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
<p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p>
<p><?php
if ( $is_safari )
_e('To enable it, make sure this web site is not on the denied list in Gears Settings under the Safari menu, then click the button below.');
else
_e('To enable it, make sure this web site is not on the denied list in Gears Settings under your browser Tools menu, then click the button below.');
?></p>
<p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p>
<div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button>
<button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
</div>
<div id="gears-msg3" style="display:none;">
<h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
<p><?php
if ( $is_safari )
_e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.');
else
_e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.');
?></p>
<p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p>
<p><?php _e('Local storage status:'); ?> <span id="gears-wait"><span style="color:#f00;"><?php _e('Please wait! Updating files:'); ?></span> <span id="gears-upd-number"></span></span></p>
<div class="submit"><button class="button" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Close'); ?></button></div>
</div>
</div>
<?php if ( get_user_setting('mfold') == 'f' ) { ?>
<script type="text/javascript">jQuery('#wpcontent').addClass('folded');</script>
<?php } ?>
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo site_url('wp-login.php?action=logout', 'login') ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>'); if ( ! $is_opera ) { ?> | <span id="gears-menu"><a href="#" onclick="wpGears.message(1);return false;"><?php _e('Turbo') ?></a></span><?php } ?></p></div>
<div id="wpbody">
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
<div id="wpbody-content">
<?php
require(ABSPATH . 'wp-admin/menu-header.php');
screen_meta($hook_suffix);
do_action('admin_notices');
if ( $parent_file == 'options-general.php' ) {
require(ABSPATH . 'wp-admin/options-head.php');
}
?>
<div id="wpbody">

View File

@@ -1,5 +1,13 @@
<?php
define('WP_ADMIN', TRUE);
/**
* WordPress Administration Generic POST Handler.
*
* @package WordPress
* @subpackage Administration
*/
/** We are located in WordPress Administration Panels */
define('WP_ADMIN', true);
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');

View File

@@ -1,4 +1,16 @@
<?php
/**
* WordPress Administration Bootstrap
*
* @package WordPress
* @subpackage Administration
*/
/**
* In WordPress Administration Panels
*
* @since unknown
*/
define('WP_ADMIN', TRUE);
if ( defined('ABSPATH') )
@@ -26,8 +38,8 @@ $time_format = get_option('time_format');
wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback'));
wp_admin_css_color('classic', __('Classic'), admin_url("css/colors-classic.css"), array('#07273E', '#14568A', '#D54E21', '#2683AE'));
wp_admin_css_color('fresh', __('Fresh'), admin_url("css/colors-fresh.css"), array('#464646', '#CEE1EF', '#D54E21', '#2683AE'));
wp_admin_css_color('classic', __('Blue'), admin_url("css/colors-classic.css"), array('#073447', '#21759B', '#EAF3FA', '#BBD8E7'));
wp_admin_css_color('fresh', __('Gray'), admin_url("css/colors-fresh.css"), array('#464646', '#6D6D6D', '#F1F1F1', '#DFDFDF'));
wp_enqueue_script( 'common' );
wp_enqueue_script( 'jquery-color' );
@@ -45,7 +57,14 @@ do_action('admin_init');
// Handle plugin admin pages.
if (isset($plugin_page)) {
$page_hook = get_plugin_page_hook($plugin_page, $pagenow);
if( ! $page_hook = get_plugin_page_hook($plugin_page, $pagenow) ) {
$page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
// backwards compatibility for plugins using add_management_page
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
wp_redirect('tools.php?page=' . $plugin_page);
exit;
}
}
if ( $page_hook ) {
do_action('load-' . $page_hook);
@@ -84,7 +103,7 @@ if (isset($plugin_page)) {
}
// Allow plugins to define importers as well
if (! is_callable($wp_importers[$importer][2]))
if ( !isset($wp_importers) || !isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]))
{
if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))
{
@@ -93,7 +112,7 @@ if (isset($plugin_page)) {
include(ABSPATH . "wp-admin/import/$importer.php");
}
$parent_file = 'edit.php';
$parent_file = 'tools.php';
$submenu_file = 'import.php';
$title = __('Import');
@@ -108,6 +127,10 @@ if (isset($plugin_page)) {
include(ABSPATH . 'wp-admin/admin-footer.php');
// Make sure rules are flushed
global $wp_rewrite;
$wp_rewrite->flush_rules();
exit();
} else {
do_action("load-$pagenow");

View File

@@ -1,8 +1,10 @@
<?php
/* This accepts file uploads from swfupload or other asynchronous upload methods.
*/
/**
* Accepts file uploads from swfupload or other asynchronous upload methods.
*
* @package WordPress
* @subpackage Administration
*/
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
@@ -22,9 +24,14 @@ header('Content-Type: text/plain; charset=' . get_option('blog_charset'));
if ( !current_user_can('upload_files') )
wp_die(__('You do not have permission to upload files.'));
// just fetch the detail form for that attachment
if ( ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
echo get_media_item($id);
// just fetch the detail form for that attachment
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
if ( 2 == $_REQUEST['fetch'] ) {
add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
echo get_media_item($id, array( 'send' => false, 'delete' => false ));
} else {
echo get_media_item($id);
}
exit;
}
@@ -46,4 +53,4 @@ else {
echo apply_filters("async_upload_{$type}", $id);
}
?>
?>

View File

@@ -1,12 +1,19 @@
<?php
/**
* Categories Management Panel
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once('admin.php');
$title = __('Categories');
$parent_file = 'edit.php';
wp_reset_vars(array('action', 'cat'));
wp_reset_vars( array('action', 'cat') );
if ( isset($_GET['deleteit']) && isset($_GET['delete']) )
if ( isset( $_GET['action'] ) && isset($_GET['delete']) && ( 'delete' == $_GET['action'] || 'delete' == $_GET['action2'] ) )
$action = 'bulk-delete';
switch($action) {
@@ -63,7 +70,6 @@ case 'bulk-delete':
}
$sendback = wp_get_referer();
$sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
wp_redirect($sendback);
exit();
@@ -71,6 +77,8 @@ case 'bulk-delete':
break;
case 'edit':
$title = __('Edit Category');
require_once ('admin-header.php');
$cat_ID = (int) $_GET['cat_ID'];
$category = get_category_to_edit($cat_ID);
@@ -85,23 +93,32 @@ case 'editedcat':
if ( !current_user_can('manage_categories') )
wp_die(__('Cheatin&#8217; uh?'));
$location = 'categories.php';
if ( $referer = wp_get_original_referer() ) {
if ( false !== strpos($referer, 'categories.php') )
$location = $referer;
}
if ( wp_update_category($_POST) )
wp_redirect('categories.php?message=3');
$location = add_query_arg('message', 3, $location);
else
wp_redirect('categories.php?message=5');
$location = add_query_arg('message', 5, $location);
wp_redirect($location);
exit;
break;
default:
if ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
if ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
wp_enqueue_script( 'admin-categories' );
wp_enqueue_script('admin-forms');
wp_enqueue_script('admin-categories');
if ( current_user_can('manage_categories') )
wp_enqueue_script('inline-edit-tax');
require_once ('admin-header.php');
@@ -112,39 +129,47 @@ $messages[4] = __('Category not added.');
$messages[5] = __('Category not updated.');
?>
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<div class="wrap nosubsub">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
</h2>
<?php
if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
endif; ?>
<div class="wrap">
<form id="posts-filter" action="" method="get">
<?php if ( current_user_can('manage_categories') ) : ?>
<h2><?php printf(__('Manage Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
<?php else : ?>
<h2><?php _e('Manage Categories') ?> </h2>
<?php endif; ?>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
<input type="text" class="search-input" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
</p>
</form>
<br class="clear" />
<div id="col-container">
<div id="col-right">
<div class="col-wrap">
<form id="posts-filter" action="" method="get">
<div class="tablenav">
<?php
$pagenum = absint( $_GET['pagenum'] );
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
if ( empty($pagenum) )
$pagenum = 1;
if( !$catsperpage || $catsperpage < 0 )
if( ! isset( $catsperpage ) || $catsperpage < 0 )
$catsperpage = 20;
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('category') / $catsperpage),
'current' => $pagenum
));
@@ -153,56 +178,135 @@ if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<div class="alignleft">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<div class="alignleft actions">
<select name="action">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-categories'); ?>
</div>
<br class="clear" />
</div>
<br class="clear" />
<div class="clear"></div>
<table class="widefat">
<table class="widefat fixed" cellspacing="0">
<thead>
<tr>
<th scope="col" class="check-column"><input type="checkbox" /></th>
<th scope="col"><?php _e('Name') ?></th>
<th scope="col"><?php _e('Description') ?></th>
<th scope="col" class="num"><?php _e('Posts') ?></th>
<?php print_column_headers('categories'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('categories', false); ?>
</tr>
</tfoot>
<tbody id="the-list" class="list:cat">
<?php
cat_rows(0, 0, 0, $pagenum, $catsperpage);
?>
</tbody>
</table>
</form>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
</div>
<br class="clear" />
<div class="alignleft actions">
<select name="action2">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
<?php wp_nonce_field('bulk-categories'); ?>
</div>
<?php if ( current_user_can('manage_categories') ) : ?>
<div class="wrap">
<br class="clear" />
</div>
</form>
<div class="form-wrap">
<p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_catname(get_option('default_category')))) ?></p>
<p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'admin.php?import=wp-cat2tag') ?></p>
</div>
<?php include('edit-category-form.php'); ?>
</div>
</div><!-- /col-right -->
<?php endif; ?>
<div id="col-left">
<div class="col-wrap">
<?php if ( current_user_can('manage_categories') ) { ?>
<?php $category = (object) array(); $category->parent = 0; do_action('add_category_form_pre', $category); ?>
<div class="form-wrap">
<h3><?php _e('Add Category'); ?></h3>
<div id="ajax-response"></div>
<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">
<input type="hidden" name="action" value="addcat" />
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-category'); ?>
<div class="form-field form-required">
<label for="cat_name"><?php _e('Category Name') ?></label>
<input name="cat_name" id="cat_name" type="text" value="" size="40" aria-required="true" />
<p><?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></p>
</div>
<div class="form-field">
<label for="category_nicename"><?php _e('Category Slug') ?></label>
<input name="category_nicename" id="category_nicename" type="text" value="" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
</div>
<div class="form-field">
<label for="category_parent"><?php _e('Category Parent') ?></label>
<?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'category_parent', 'orderby' => 'name', 'selected' => $category->parent, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
<p><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></p>
</div>
<div class="form-field">
<label for="category_description"><?php _e('Description') ?></label>
<textarea name="category_description" id="category_description" rows="5" cols="40"></textarea>
<p><?php _e('The description is not prominent by default, however some themes may show it.'); ?></p>
</div>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php _e('Add Category'); ?>" /></p>
<?php do_action('edit_category_form', $category); ?>
</form></div>
<?php } ?>
</div>
</div><!-- /col-left -->
</div><!-- /col-container -->
</div><!-- /wrap -->
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
/* ]]> */
</script>
<?php
inline_edit_term_row('categories');
break;
}

View File

@@ -1,4 +1,12 @@
<?php
/**
* Comment Management Panel
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once('admin.php');
$parent_file = 'edit-comments.php';
@@ -9,7 +17,12 @@ wp_reset_vars( array('action') );
if ( isset( $_POST['deletecomment'] ) )
$action = 'deletecomment';
function comment_footer_die( $msg ) { // $msg is assumed to contain HTML and be sanitized
/**
* Display error message at bottom of comments.
*
* @param string $msg Error Message. Assumed to contain HTML and be sanitized.
*/
function comment_footer_die( $msg ) { //
echo "<div class='wrap'><p>$msg</p></div>";
include('admin-footer.php');
die;
@@ -21,7 +34,6 @@ case 'editcomment' :
$title = __('Edit Comment');
wp_enqueue_script('comment');
require_once('admin-header.php');
$comment_id = absint( $_GET['c'] );
@@ -111,7 +123,7 @@ if ( 'spam' == $_GET['dt'] ) {
</tr>
<?php } ?>
<tr>
<th scope="row" valign="top"><?php _e('Comment'); ?></th>
<th scope="row" valign="top"><?php echo _c('Comment|noun'); ?></th>
<td><?php echo $comment->comment_content; ?></td>
</tr>
</table>
@@ -171,7 +183,7 @@ case 'unapprovecomment' :
if ( '' != wp_get_referer() && false == $noredir )
wp_redirect( wp_get_referer() );
else
wp_redirect( admin_url('edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments') );
wp_redirect( admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) . '#comments') );
exit();
break;
@@ -196,7 +208,7 @@ case 'approvecomment' :
if ( '' != wp_get_referer() && false == $noredir )
wp_redirect( wp_get_referer() );
else
wp_redirect( admin_url('edit.php?p=' . absint( $comment->comment_post_ID ) . '#comments') );
wp_redirect( admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) . '#comments') );
exit();
break;
@@ -210,7 +222,7 @@ case 'editedcomment' :
edit_comment();
$location = ( empty( $_POST['referredby'] ) ? "edit.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );
wp_redirect( $location );
@@ -225,4 +237,4 @@ default:
include('admin-footer.php');
?>
?>

View File

@@ -1,24 +1,80 @@
.post-com-count {
}
#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
background-image: url(../images/comment-stalk-rtl.gif);
background-position:right bottom;
}
#footer {
background-position:99% 10px;
}
#poststuff .closed .togbox, #poststuff .togbox {
background-image: url(../images/toggle-arrow-rtl.gif) !important;
}
.bar {
border-right-color: transparent;
border-left-color: #99d;
}
.plugins .togl {
border-right-color: transparent;
border-left-color: #ccc;
}
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.tablenav .tablenav-pages a {
background: #eee url('../images/menu-bits-rtl.gif') repeat-x scroll right -379px;
}
#upload-menu li.current {
border-right-color: transparent;
border-left-color: #448abd;
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;
}
.folded #adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;
}
#adminmenu li.wp-has-current-submenu .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -207px;
}
#adminmenu .wp-has-current-submenu ul li a.current {
background: url(../images/menu-dark-rtl.gif) top right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background: url(../images/menu-bits-rtl.gif) top right repeat-x;
}
#adminmenu li.wp-has-current-submenu ul li a {
background: url(../images/menu-dark-rtl.gif) bottom right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -207px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -109px;
}
#adminmenu a.wp-has-submenu {
background: #f1f1f1 url(../images/menu-bits-rtl.gif) repeat-x scroll right -379px;
}
#adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits-rtl.gif) no-repeat scroll right -310px;
}
#adminmenu li.current a,
#adminmenu .wp-submenu a:hover {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-has-current-submenu a.wp-has-submenu {
background: #b5b5b5 url(../images/menu-bits-rtl.gif) repeat-x scroll right top;
}
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -111px;
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,23 +2,82 @@
border-right-color: transparent;
border-left-color: #99d;
}
.post-com-count {
}
#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
background-image: url(../images/comment-stalk-rtl.gif);
background-position:right bottom;
}
#footer {
background-position:99% 10px;
}
.plugins .togl {
border-right-color: transparent;
border-left-color: #ccc;
}
#poststuff .closed .togbox, #poststuff .togbox {
background-image: url(../images/toggle-arrow-rtl.gif);
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.tablenav .tablenav-pages a {
background: #eee url('../images/menu-bits-rtl.gif') repeat-x scroll right -379px;
}
#upload-menu li.current {
border-right-color:transparent;
border-right-color: transparent;
border-left-color: #448abd;
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;
}
.folded #adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;
}
#adminmenu li.wp-has-current-submenu .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -207px;
}
#adminmenu .wp-has-current-submenu ul li a.current {
background: url(../images/menu-dark-rtl.gif) top right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background: url(../images/menu-bits-rtl.gif) top right repeat-x;
}
#adminmenu li.wp-has-current-submenu ul li a {
background: url(../images/menu-dark-rtl.gif) bottom right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -207px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -109px;
}
#adminmenu a.wp-has-submenu {
background: #f1f1f1 url(../images/menu-bits-rtl.gif) repeat-x scroll right -379px;
}
#adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits-rtl.gif) no-repeat scroll right -310px;
}
#adminmenu li.current a,
#adminmenu .wp-submenu a:hover {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-has-current-submenu a.wp-has-submenu {
background: #b5b5b5 url(../images/menu-bits-rtl.gif) repeat-x scroll right top;
}
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -111px;
}
#favorite-toggle {
background: transparent url(../images/fav-arrow-rtl.gif) no-repeat right -4px;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,62 +1,93 @@
/* Right Now */
#rightnow {
margin-right:0;
margin-left: 7px;
#dashboard-widgets-wrap .has-sidebar {
margin-right: 0;
margin-left: -51%;
}
#rightnow .reallynow span {
text-align: right;
float: right;
#dashboard-widgets-wrap .has-sidebar .has-sidebar-content {
margin-right: 0;
margin-left: 51%;
}
#rightnow .reallynow a {
.view-all {
right: auto;
left: 0;
}
#dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_plugins h5, #dashboard_recent_comments .comment-meta .approve {
font-family: Tahoma, Arial;
}
#dashboard_right_now td.b {
padding-right: 0;
padding-left: 6px;
text-align: left;
font-family: Tahoma, Arial;
}
#dashboard_right_now .t {
padding-right: 0;
padding-left: 12px;
}
#dashboard_right_now .versions a {
font-family: Tahoma, Arial;
}
#dashboard_right_now a.button {
float: left;
margin: 1px 0 0 6px;
clear: left;
}
/* Widgets */
div#dashboard-widgets-wrap {
margin-right:0;
margin-left:-13px;
#dashboard-widgets h3 .postbox-title-action {
right: auto;
left: 30px;
}
div.dashboard-widget-holder {
float:right;
#the-comment-list .pingback {
padding-left: 0 !important;
padding-right: 9px !important;
}
div.dashboard-widget {
margin-right:0;
margin-left: 20px;
/* Recent Comments */
#the-comment-list .comment-item {
padding: 1em 70px 1em 10px;
}
h3.dashboard-widget-title span {
text-align: right;
#the-comment-list .comment-item .avatar {
float: right;
margin-left: 0;
margin-right: -60px;
}
h3.dashboard-widget-title small {
/* Feeds */
.rss-widget cite {
text-align: left;
float:left;
}
div.dashboard-widget-submit input {
font-family: Tahoma;
.rss-widget span.rss-date {
font-family: Tahoma, Arial;
margin-left: 0;
margin-right: 3px;
}
div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {
padding-left:0;
padding-right:15px;
}
#dashboard_secondary div.dashboard-widget-content ul li {
float:right;
}
#dashboard_secondary div.dashboard-widget-content ul li .post {
font-family:arial;
}
#dashboard_secondary div.dashboard-widget-content ul li a {
border-right:0 none;
border-left: 1px solid #dadada;
height:110px;
}
#dashboard_secondary div.dashboard-widget-content ul li a cite {
font-family: Tahoma;
}
#dashboard-widgets .widget_rss ul li span.rss-date {
float:right;
}
#dashboard-widgets .widget_rss ul li a {
/* QuickPress */
#dashboard_quick_press h4 {
float: right;
margin: 0 0 .2em .5em;
text-align: left;
}
#dashboard_quick_press h4 label {
margin-right: 0;
margin-left: 10px;
}
#dashboard_quick_press .input-text-wrap, #dashboard_quick_press .textarea-wrap {
margin: 0 5em 1em 0;
}
#dashboard_quick_press #media-buttons {
margin: 0 5em .5em 0;
padding: 0 10px 0 0;
}
#dashboard-widgets #dashboard_quick_press form p.submit {
margin-left: 0;
margin-right: 4.6em;
}
#dashboard-widgets #dashboard_quick_press form p.submit input {
float: right;
}
#dashboard-widgets #dashboard_quick_press form p.submit #save-post {
margin: 0 10px 0 1em;
}
#dashboard-widgets #dashboard_quick_press form p.submit #publish {
float: left;
}
/* Recent Drafts */
#dashboard_recent_drafts h4 abbr {
font-family: Tahoma, Arial;
margin-left:0;
margin-right: 3px;
}

View File

@@ -1,282 +1,396 @@
/* Right Now */
.postbox p, .postbox ul, .postbox ol, .postbox blockquote, #wp-version-message { font-size: 11px; }
#rightnow {
border-width: 1px;
border-style: solid;
padding: 2px;
margin-top: 10px;
margin-right: 7px;
.edit-box {
display: none;
}
#rightnow .reallynow {
padding: 6px;
font-size: 15px;
line-height: 2;
h3:hover .edit-box {
display: inline;
}
form .input-text-wrap {
border-style: solid;
border-width: 1px;
padding: 2px 3px;
border-color: #ccc;
}
#dashboard-widgets form .input-text-wrap input {
border: 0 none;
outline: none;
margin: 0;
padding: 0;
width: 99%;
color: #333;
}
form .textarea-wrap {
border-style: solid;
border-width: 1px;
padding: 2px;
border-color: #ccc;
}
#dashboard-widgets form .textarea-wrap textarea {
border: 0 none;
padding: 0;
outline: none;
width: 99%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#dashboard-widgets .postbox form .submit {
float: none;
margin: .5em 0 0;
padding: 0;
border: none;
}
#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input {
margin: 0;
}
#rightnow .rbutton {
font-weight: normal;
padding: 6px;
border-bottom: none;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish {
min-width: 0;
}
#dashboard-widgets-wrap .has-sidebar {
margin-right: -51%;
}
#dashboard-widgets-wrap .inner-sidebar {
width: 49%;
}
#dashboard-widgets-wrap .has-sidebar .has-sidebar-content {
margin-right: 51%;
}
div.postbox div.inside {
margin: 10px;
position: relative;
}
#dashboard-widgets a {
text-decoration: none;
}
#rightnow .reallynow span {
display: block;
text-align: left;
float: left;
padding: 0 6px;
#dashboard-widgets h3 a {
text-decoration: underline;
}
#rightnow .reallynow a {
display: block;
text-align: right;
float: right;
padding: 0 6px;
font-size: 14px;
margin: 1px 6px 0 0;
#dashboard-widgets h3 .postbox-title-action {
position: absolute;
right: 30px;
padding: 0;
}
#rightnow .youhave {
font-size: 14px;
padding: 10px;
#dashboard-widgets h4 {
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
font-size: 13px;
margin: 0 0 .2em;
padding: 0;
}
#rightnow h3, #rightnow p {
/* Right Now */
#dashboard_right_now p.sub,
#dashboard_right_now .table, #dashboard_right_now .versions {
margin: -12px;
}
#dashboard_right_now .inside {
font-size: 12px;
}
#dashboard_right_now p.sub {
font-style: italic;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
padding: 5px 10px 15px;
color: #777;
font-size: 13px;
}
#dashboard_right_now .table {
background: #f9f9f9;
border-top: #ececec 1px solid;
border-bottom: #ececec 1px solid;
margin: 0 -9px 10px;
padding: 0 10px;
}
#rightnow a {
#dashboard_right_now table {
width: 100%;
}
#dashboard_right_now table td {
border-top: #ececec 1px solid;
padding: 3px 0;
white-space: nowrap;
}
#dashboard_right_now table tr.first td {
border-top: none;
}
#dashboard_right_now td.b {
padding-right: 6px;
text-align: right;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
font-size: 14px;
}
#dashboard_right_now td.b a {
font-size: 18px;
}
#dashboard_right_now td.b a:hover {
color: #d54e21;
}
#dashboard_right_now .t {
font-size: 12px;
padding-right: 12px;
padding-top: 6px;
color: #777;
}
#dashboard_right_now td.first,
#dashboard_right_now td.last {
width: 1px;
}
#dashboard_right_now .spam {
color: red;
}
#dashboard_right_now .waiting {
color: orange;
}
#dashboard_right_now .approved {
color: green;
}
#dashboard_right_now .versions {
padding: 6px 10px 12px;
}
#dashboard_right_now .versions .b {
font-weight: bold;
}
/* Widgets */
div#dashboard-widgets-wrap {
margin-top: -20px;
margin-right: -13px; /* 20 (div.dashboard-widget margin-right) - 7 (#rightnow margin-right) */
}
div#dashboard-widgets {
width: 100%;
}
div.dashboard-widget-holder {
margin-top: 20px;
width: 50%;
float: left;
}
div.dashboard-widget-holder.third {
width: 33.3%;
}
div.dashboard-widget-holder.fourth {
width: 25%;
}
div.dashboard-widget-holder.full {
width: 100%;
}
div.dashboard-widget-holder.double div.dashboard-widget {
height: 54em;
padding-bottom: 28px /* lame */
}
div.dashboard-widget {
#dashboard_right_now a.button {
float: right;
clear: right;
position: relative;
margin-right: 20px;
border-width: 1px;
border-style: solid;
padding: 2px;
height: 27em;
overflow: auto;
top: -5px;
}
/* Recent Comments */
#dashboard_recent_comments h3 {
margin-bottom: 0;
}
#dashboard_recent_comments .inside {
margin-top: 0;
}
#dashboard_recent_comments .comment-meta .approve {
font-style: italic;
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
font-size: 10px;
}
#the-comment-list {
position: relative;
}
#the-comment-list .comment-item {
padding: 1em 10px 1em 70px;
border-top: 1px solid;
}
#the-comment-list .pingback {
padding-left: 9px !important;
}
#the-comment-list .comment-item,
#the-comment-list #replyrow {
margin: 0 -10px;
}
#the-comment-list .comment-item:first-child {
border-top: none;
}
#the-comment-list .comment-item .avatar {
float: left;
margin-left: -60px;
}
#the-comment-list .comment-item h4 {
line-height: 1.4;
margin-top: -.2em;
font-weight: normal;
color: #999;
}
#the-comment-list .comment-item h4 cite {
font-style: normal;
font-weight: normal;
}
#the-comment-list .comment-item blockquote,
#the-comment-list .comment-item blockquote p {
margin: 0;
padding: 0;
display: inline;
}
#dashboard_recent_comments #the-comment-list .trackback blockquote,
#dashboard_recent_comments #the-comment-list .pingback blockquote {
display: block;
}
#the-comment-list .comment-item p.row-actions {
margin: 3px 0 0;
padding: 0;
font-size: 10px;
}
/* QuickPress */
#dashboard_quick_press h4 {
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
float: left;
width: 5.5em;
clear: both;
font-weight: normal;
text-align: right;
padding-top: 5px;
font-size: 12px;
}
#dashboard_quick_press h4 label {
margin-right: 10px;
}
#dashboard_quick_press .input-text-wrap,
#dashboard_quick_press .textarea-wrap {
margin: 0 0 1em 5em;
}
#dashboard_quick_press #media-buttons {
margin: 0 0 .5em 5em;
padding: 0 0 0 10px;
font-size: 11px;
}
h3.dashboard-widget-title {
margin: 0;
padding: 0 7px;
font-size: 14px;
line-height: 2;
#dashboard_quick_press #media-buttons a {
vertical-align: bottom;
}
h3.dashboard-widget-title span {
display: block;
text-align: left;
#dashboard-widgets #dashboard_quick_press form p.submit {
margin-left: 4.6em;
}
#dashboard-widgets #dashboard_quick_press form p.submit input {
float: left;
}
h3.dashboard-widget-title small {
#dashboard-widgets #dashboard_quick_press form p.submit #save-post {
margin: 0 1em 0 10px;
}
#dashboard-widgets #dashboard_quick_press form p.submit #publish {
float: right;
}
/* Recent Drafts */
#dashboard_recent_drafts ul {
margin: 0;
padding: 0;
list-style: none;
}
#dashboard_recent_drafts ul li {
margin-bottom: 0.6em;
}
#dashboard_recent_drafts h4 {
font-weight: normal;
}
#dashboard_recent_drafts h4 abbr {
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
font-size: 11px;
color: #999;
margin-left: 3px;
}
#dashboard_recent_drafts p {
margin: 0;
padding: 0;
}
/* Feeds */
.rss-widget ul {
margin: 0;
padding: 0;
list-style: none;
}
a.rsswidget {
font-size: 13px;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
line-height: 1.7em;
}
.rss-widget ul li {
line-height: 1.5em;
margin-bottom: 12px;
}
.rss-widget span.rss-date {
margin-left: 3px;
}
.rss-widget cite {
display: block;
text-align: right;
float: right;
font-size: 75%;
line-height: 2.67; /* math: it works, bitches */
}
h3.dashboard-widget-title img.rss-icon {
vertical-align: middle;
margin: .5em 0;
}
div.dashboard-widget-notice {
padding: 0 14px;
font-size: 1.2em;
line-height: 2;
}
div.dashboard-widget-error {
padding: 0 20px;
font-size: 1.2em;
line-height: 2;
}
div.dashboard-widget-content {
padding: 10px 15px;
}
div.dashboard-widget-submit {
border-top: 1px solid #ccc;
padding: 1em 0 0 0;
margin: 10px 0 0 0;
}
div.dashboard-widget-submit input {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 4px 6px;
border: none;
font-size: 13px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
text-decoration: none;
}
div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {
margin: 0;
text-indent: 0;
padding-left: 15px;
}
div.dashboard-widget-content li {
margin: .5em 0 1em;
}
div.dashboard-widget-content blockquote {
margin: -1em 0;
}
div#dashboard_recent_comments p {
font-size: 14px;
}
div.dashboard-widget-content p.comment-meta {
font-size: 11px !important;
}
#dashboard_secondary div.dashboard-widget {
height: auto;
}
#dashboard_secondary div.dashboard-widget-content ul {
list-style: none;
margin: 0 0 1em;
padding: 0;
}
#dashboard_secondary div.dashboard-widget-content ul li {
display: block;
width: 19.95%;
padding-bottom: 10px;
margin: 0;
float: left;
font-size: 95%;
.rss-widget cite:before {
content: '\2014';
}
#dashboard_secondary div.dashboard-widget-content {
margin: 10px 5px;
padding: 0;
}
#dashboard_secondary div.dashboard-widget-content ul li .post {
display:block;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:18px;
line-height: 1.2em;
height:90px;
overflow:hidden;
}
#dashboard_secondary div.dashboard-widget-content ul li a {
display: block;
height:100%;
overflow:hidden;
margin: 5px 10px;
text-decoration: none;
padding: .5em;
border-right: 1px solid #dadada;
border-bottom: 1px solid #dadada;
}
#dashboard_secondary div.dashboard-widget-content ul li a cite {
display: block;
font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
}
#dashboard-widgets .widget_rss ul {
list-style: none;
padding: 0;
}
#dashboard-widgets .widget_rss ul li {
clear: both;
}
#dashboard-widgets .widget_rss ul li span.rss-date {
float: left;
margin: 0;
}
#dashboard-widgets .widget_rss ul li a {
float: left;
margin: 0 .5em .2em 0;
font-weight: bold;
}
#dashboard-widgets .widget_rss ul li div {
clear: both;
line-height: 1.5em;
}
#dashboard_primary a.rsswidget, #dashboard_plugins h5 {
font-size: 14px;
}
#dashboard_primary span.rss-date {
font-size: 14px;
}
/* Plugins */
#dashboard_plugins h4 {
font-size: 1em;
margin: 0 0 .1em;
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
}
#dashboard_plugins h5 {
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
font-size: 13px !important;
margin: 0;
display: inline;
line-height: 1.4em;
}
#dashboard_plugins p {
margin: 0 0 1em;
line-height: 1.5em;
#dashboard_plugins h5 a {
font-weight: normal;
line-height: 1.7em;
}
.widget-loading {
#dashboard_plugins p {
margin: 0 0 1.4em;
line-height: 1.4em;
}

View File

@@ -0,0 +1,7 @@
.farbtastic .color, .farbtastic .overlay {
left: 0;
right: 47px;
}
.farbtastic .marker {
margin: -8px -8px 0 0;
}

View File

@@ -0,0 +1,32 @@
.farbtastic {
position: relative;
}
.farbtastic * {
position: absolute;
cursor: crosshair;
}
.farbtastic, .farbtastic .wheel {
width: 195px;
height: 195px;
}
.farbtastic .color, .farbtastic .overlay {
top: 47px;
left: 47px;
width: 101px;
height: 101px;
}
.farbtastic .wheel {
background: url(../images/wheel.png) no-repeat;
width: 195px;
height: 195px;
}
.farbtastic .overlay {
background: url(../images/mask.png) no-repeat;
}
.farbtastic .marker {
width: 17px;
height: 17px;
margin: -8px 0 0 -8px;
overflow: hidden;
background: url(../images/marker.png) no-repeat;
}

View File

@@ -1,31 +1,74 @@
body, td {
font-family: Tahoma;
/* 2 column liquid layout */
#adminmenu {
float: right;
clear: right;
margin-right:-160px;
margin-left: 5px;
}
textarea, input, select {
font-family: Tahoma;
div.folded #adminmenu {
margin-left: 0;
margin-right: -45px;
}
h1, h2, h3 {
font-family:arial;
/* inner 2 column liquid layout */
.inner-sidebar {
float: left;
clear: left;
}
.widefat td {
padding: 7px 10px 9px 15px;
.has-sidebar {
float: right;
clear: right;
margin-right: 0;
margin-left: -340px;
}
.has-sidebar .has-sidebar-content {
margin-right: 0;
margin-left: 305px;
}
#wpbody {
margin-left:0;
margin-right: 175px;
}
.folded #wpbody {
margin-left: 0;
margin-right: 60px;
}
#wpbody-content {
float: right;
}
/* 2 columns main area */
#col-right {
float: left;
clear: left;
}
.wrap {
margin: 0 5px 0 15px;
}
/* styles for use by people extending the WordPress interface */
body, td, textarea, input, select {
font-family: Tahoma, arial;
}
.alignleft {
float: right;
}
.alignright {
float: left;
}
.subsubsub {
float: right;
}
.widefat th {
padding: 9px 10px 6px 15px;
text-align: right;
}
.widefat th input {
margin: 0 8px 0 0;
}
.widefat .check-column {
text-align: left;
}
.wrap h2 {
font-family:arial;
margin: 5px -4px 0 0;
padding-right:0;
padding-left: 280px;
font-family: arial;
padding: 14px 0 3px 15px;
}
.wrap h2.long-header {
padding-left: 0;
}
.updated, .error {
clear: both;
}

View File

@@ -1,41 +1,245 @@
/* styles for use by people extending the WordPress interface */
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
body {
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
/* font-size: 100%;
vertical-align: baseline; */
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
body, td {
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
/* remember to define focus styles! */
/*
:focus {
outline: 0;
}
*/
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
form, label input { margin: 0; padding: 0; }
/* tables still need 'cellspacing="0"' in the markup */
/*
table {
border-collapse: collapse;
border-spacing: 0;
}
*/
/* end reset css */
img { border: 0; }
label { cursor: pointer; }
/* 2 column liquid layout */
#wpwrap {
height: auto;
min-height: 100%;
width: 100%;
}
li, dd { margin-bottom: 6px; }
#wpcontent {
height: 100%;
padding-bottom: 50px;
}
p, li, dl, dd, dt { line-height: 140%; }
#wpbody {
clear: both;
margin-left: 175px;
}
textarea, input, select {
font: 13px Verdana, Arial, Helvetica, sans-serif;
.folded #wpbody {
margin-left: 60px;
}
#wpbody-content {
float: left;
width: 100%;
}
#adminmenu {
float: left;
clear: left;
width: 145px;
margin-top: 15px;
margin-right: 5px;
margin-bottom: 15px;
margin-left: -160px;
position: relative;
padding: 0;
list-style: none;
}
.folded #adminmenu {
margin-left: -45px;
}
.folded #adminmenu,
.folded #adminmenu li.menu-top {
width: 28px;
}
#footer {
clear: both;
position: relative;
width: 100%;
}
/* inner 2 column liquid layout */
.inner-sidebar {
float: right;
clear: right;
width: 280px;
position: relative;
}
.has-sidebar {
float: left;
clear: left;
width: 100%;
margin-right: -340px;
}
.has-sidebar .has-sidebar-content {
margin-right: 305px;
}
/* 2 columns main area */
#col-container {
overflow: hidden;
padding: 0;
margin: 0;
}
#col-left {
padding: 0;
margin: 0;
overflow: hidden;
width: 39%;
}
#col-right {
float: right;
clear: right;
overflow: hidden;
padding: 0;
margin: 0;
width: 59%;
}
/* utility classes */
.alignleft {
float: left;
}
.alignright {
float: right;
}
.textleft {
text-align: left;
}
.textright {
text-align: right;
}
.clear {
clear: both;
}
.hidden,
.closed .inside,
.hide-if-no-js {
display: none;
}
/* include margin and padding in the width calculation of input and textarea */
input[type="text"],
textarea {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box; /* ie8 only */
box-sizing: border-box;
}
input[type="checkbox"],
input[type="radio"] {
vertical-align: text-top;
}
/* styles for use by people extending the WordPress interface */
html,
body {
height: 100%;
}
body,
td {
font: 13px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
}
p {
margin: 1em 0;
}
blockquote {
margin: 1em;
}
label {
cursor: pointer;
}
li,
dd {
margin-bottom: 6px;
}
p,
li,
dl,
dd,
dt {
line-height: 140%;
}
textarea,
input,
select {
font: 13px/19px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
margin: 1px;
padding: 3px;
}
.alignleft { float: left; }
.alignright { float: right; }
.textleft { text-align: left; }
.textright { text-align: right; }
.clear { clear: both; height: 2px; }
.hidden { display: none; }
h1 {
display: block;
font-size: 2em;
@@ -79,50 +283,105 @@ h6 {
.subsubsub {
list-style: none;
margin: 14px 0 8px 0;
margin: 8px 0 5px;
padding: 0;
white-space: nowrap;
font-size: 12px;
font-size: 11px;
float: left;
}
.subsubsub a { line-height: 200%; padding: 3px; text-decoration: none; }
.subsubsub a {
line-height: 2;
padding: .2em;
text-decoration: none;
}
.subsubsub a.current { font-weight: bold; background: none; border: none;}
.subsubsub a .count, .subsubsub a.current .count {
color: #999;
font-weight: normal;
}
.subsubsub li { display: inline; margin: 0; padding: 0; }
.subsubsub a.current {
font-weight: bold;
background: none;
border: none;
}
.subsubsub li {
display: inline;
margin: 0;
padding: 0;
}
.widefat {
border-width: 1px;
border-style: solid;
border-collapse: collapse;
border-collapse: separate;
border-spacing: 0;
width: 100%;
clear: both;
margin: 0;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.widefat * {
word-wrap: break-word;
}
.widefat a {
text-decoration: none;
}
.widefat abbr {
white-space: nowrap;
}
.widefat td, .widefat th {
.widefat td,
.widefat th {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #ccc;
font-size: 11px;
vertical-align: text-top;
}
.widefat td {
padding: 7px 15px 9px 10px;
padding: 7px 7px 5px;
vertical-align: top;
}
.widefat thead tr th:first {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
-khtml-border-top-left-radius: 4px;
border-top-left-radius: 4px;
}
.widefat thead tr th:last {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
-khtml-border-top-right-radius: 4px;
border-top-right-radius: 4px;
}
.widefat tfoot tr th:first {
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
-khtml-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.widefat tfoot tr th:last {
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-khtml-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.widefat td p {
font-size: 11px;
}
.widefat th {
padding: 9px 15px 6px 10px;
padding: 7px 7px 8px;
text-align: left;
line-height: 1.3em;
}
@@ -130,69 +389,65 @@ h6 {
.widefat th input {
margin: 0 0 0 8px;
padding: 0;
vertical-align: text-top;
}
.widefat .check-column {
text-align: right;
width: 1.5em;
width: 2.2em;
padding: 0;
}
.widefat tbody th.check-column {
padding: 8px 0 22px;
padding: 7px 0 22px;
}
/*
th.check-column + th, th.check-column + td {
padding-left: 5px;
}
*/
.widefat .num {
.widefat .num,
.column-comments,
.column-links,
.column-posts,
.column-parent {
text-align: center;
}
.wrap, .updated, .error {
margin: 0;
margin-left: 15px;
margin-right: 15px;
padding: 0;
max-width: 980px;
.widefat th#comments {
vertical-align: middle;
}
.updated, .error {
.wrap {
margin: 0 15px 0 5px;
}
.updated,
.error {
border-width: 1px;
border-style: solid;
padding: 0 0.6em;
max-width: 950px;
margin-bottom: 1em;
margin: 5px 15px 2px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.updated p, .error p {
margin: 0.6em 0;
.updated p,
.error p {
margin: 0.5em 0;
line-height: 1;
padding: 2px;
}
.wrap .updated, .wrap .error {
margin: auto 0 0;
}
.updated a, .error a {
text-decoration: underline;
}
.updated a {
text-decoration: none;
padding-bottom: 2px;
.wrap .updated,
.wrap .error {
margin: 5px 0;
}
.wrap h2 {
border-bottom-width: 1px;
border-bottom-style: solid;
clear: both;
font: 24px Georgia, "Times New Roman", Times, serif;
margin: 5px 0 0 -4px;
padding: 0;
padding-bottom: 7px;
padding-right: 280px;
font: italic normal normal 24px/29px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
margin: 0;
padding: 14px 15px 3px 0;
line-height: 35px;
text-shadow: rgba(255,255,255,1) 0px 1px 0px;
}
.wrap h2.long-header {

View File

@@ -1,73 +1,91 @@
#poststuff .postbox h3 {
padding-left:0;
padding-right: 23px;
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -109px;
}
* html #poststuff .postarea, * html #poststuff #titlediv {
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -206px;
}
* html #adminmenu {
margin-left:0;
margin-right: 3%;
margin-right: -80px;
}
* html div.folded #adminmenu {
margin-left: 0;
margin-right: -22px;
}
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
padding: 3px 10px 4px 4px;
}
.inline-edit-row fieldset label span.title {
float: right;
}
.inline-edit-row fieldset label span.input-text-wrap {
margin-right: 0;
}
p.search-box {
float: left;
}
* html #poststuff h2 {
margin-right: 0;
}
#bh {
padding-right:0;
padding-left: 15px;
margin: 7px 10px 0 0;
float: left;
}
#user_info + div#favorite-actions {
right: auto;
left: 15px;
}
#wphead-info {
float: left;
}
/* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets {
padding-right:0;
padding-right: 0;
padding-left: 1px;
}
#tagchecklist span a {
margin: 4px -9px 0 0;
}
#poststuff .togbox {
margin-left:0;
margin-right: -19px;
}
.widefat th input {
margin: 0 5px 0 0;
}
/* ---------- add by navid */
#dashmenu { /* fix top right bottom in admin */
direction:ltr;
#TB_window {
width: 670px;
position: absolute;
top: 50%;
left: 50%;
margin-right: 335px !important;
}
#sidemenu a { /* fix left admin buttom ex. plugins, options */
float:left;
#dashboard_plugins {
direction: ltr;
}
.wrap h2 {
margin:5px 4px 0 0;
#dashboard_plugins h3.hndle {
direction: rtl;
}
#editor-toolbar {/* fix hover in media uploader icon */
direction:ltr;
#dashboard_incoming_links ul li,
#dashboard_secondary ul li,
#dashboard_primary ul li,
p.row-actions {
width: 100%;
}
#TB_window { /* fix theme preview */
left:2%;
#favorite-inside {
position: absolute;
right:0;
}
/* fix widget page */
form#widgets-filter {
position:static;
#post-status-info {
height: 25px;
}
#widget-search {
display:none;
#screen-meta {
position: static;
}
/* fix manage comment page */
ul.view-switch li {
float:left;
p.submit { /* quick edit and reply in edit-comments.php */
height:22px;
}
form#posts-filter {
position:static;
.inner-sidebar { /* fix edit single comment */
position: static;
}
#post-search {
display:none;
form#widgets-filter { /* fix widget page */
position: static;
}
#submenu {
margin-right: 20px;
}
/* Fixes for media-upload window */
/* Center media-upload panel on screen */
#TB_window {
width: 670px;
position: absolute;
top: 50%;
left: 50%;
margin-right: 335px !important; }

View File

@@ -1,14 +1,44 @@
/* Fixes for IE bugs */
#poststuff .postbox h3 {
padding-left: 23px;
input.button,
input.button-secondary,
input.button-highlighted {
padding: 0;
}
#submenu li a.current {
background:none;
border:none;
#minor-publishing-actions input,
#major-publishing-actions input,
#minor-publishing-actions .preview {
min-width: auto;
padding-left: 0;
padding-right: 0;
}
#wpbody-content .postbox {
border: 1px solid #dfdfdf;
}
#wpbody-content .postbox h3 {
margin-bottom: -1px;
}
* html #side-info-column {
height: auto;
}
* html #wpbody-content #screen-options-link-wrap {
display: inline-block;
width: 150px;
text-align: center;
}
* html #wpbody-content #contextual-help-link-wrap {
display: inline-block;
width: 100px;
text-align: center;
}
/*
* html body.minwidth {
_width: expression(document.documentElement.clientWidth < 810 ? "808px" : "99.9%");
}
@@ -16,34 +46,225 @@
* html #wpbody {
_width: expression(document.documentElement.clientWidth > 982 ? "980px" : "99.9%");
}
*/
* html #poststuff .postarea, * html #poststuff #titlediv {
width: 95%;
margin-left: 3%;
* html #adminmenu {
margin-left: -80px;
}
* html div.folded #adminmenu {
margin-left: -22px;
}
* html #wpcontent #adminmenu li.menu-top {
display: inline;
padding: 0;
margin: 0;
}
#wpcontent.folded #adminmenu li.menu-top {
display: block;
}
ul#adminmenu {
z-index: 99;
}
#adminmenu li.menu-top a.menu-top {
min-width: auto;
width: auto;
}
#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu {
font-style: normal;
}
* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle {
background: none;
}
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
background: url(../images/menu-bits.gif) no-repeat scroll left -109px;
}
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
background: url(../images/menu-bits.gif) no-repeat scroll left -206px;
}
* html #adminmenu div.wp-menu-image {
height: 29px;
}
#wpcontent #adminmenu .wp-submenu li {
padding: 0;
}
#adminmenu,
.wp-submenu,
.wp-submenu li,
.wp-menu-toggle {
zoom: 100%;
}
#wpcontent.folded #adminmenu li.wp-menu-separator {
width: 28px;
}
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
padding: 3px 4px 4px 10px;
zoom: 100%;
}
#wpcontent.folded #adminmenu .menu-top {
height: 30px;
}
.folded #adminmenu .wp-submenu {
margin: -1px 0 0 0;
}
#template,
#template div,
#editcat,
#addcat {
zoom: 100%;
}
.submitbox {
margin-top: 10px;
}
* html div.widget-liquid-left-holder, * html div.widget-liquid-right {
/* Inline Editor */
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
width: 39%;
}
#wpbody-content .inline-edit-row-post .inline-edit-col-center {
width: 19%;
}
#wpbody-content .quick-edit-row-page .inline-edit-col-left {
width: 49%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
width: 29%;
}
.inline-edit-row p.submit {
zoom: 100%;
}
.inline-edit-row fieldset label span.title {
display: block;
float: left;
width: 5em;
}
.inline-edit-row fieldset label span.input-text-wrap {
margin-left: 0;
zoom: 100%;
}
#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input {
line-height: 130%;
}
#wpbody-content .inline-edit-row .input-text-wrap input {
width: 95%;
}
#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input {
width: 8em;
}
/* end Inline Editor */
* html .row-actions {
visibility: visible;
}
#dashboard-widgets h3 a {
height: 20px;
line-height: 20px;
}
#the-comment-list .comment-item,
ul#widget-list li.widget-list-item {
zoom: 100%;
}
#wphead-info {
float: right;
}
#titlediv #title {
width: 98%;
}
a.button {
line-height: 1.4em;
margin: 1px;
}
* html div.widget-liquid-left-holder,
* html div.widget-liquid-right {
display: block;
position: relative;
}
#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list, li.widget-list-control-item, #dragHelper, li.widget-list-control-item h4, .widget-sortable, .widget-control-actions {
#screen-options-wrap {
overflow: hidden;
}
#favorite-actions {
z-index: 12;
}
#favorite-inside,
#favorite-inside a,
.favorite-action {
zoom: 100%;
}
#post-status-info,
#wpwrap,
#wpcontent,
#post,
#wrap,
#postdivrich,
#postdiv,
#poststuff,
.metabox-holder,
#titlediv,
#post-body,
#editorcontainer,
.tablenav,
.widget-control-list,
li.widget-list-control-item,
#dragHelper,
li.widget-list-control-item h4,
.widget-sortable,
.widget-control-actions,
#tagchecklist,
#col-container,
#col-left,
#col-right {
display: block;
zoom: 100%;
}
p.search-box {
position: static;
float: right;
margin: -3px 0 4px;
}
* html #editorcontainer {
padding: 0;
}
* html #editorcontainer #content {
position: relative;
#editorcontainer #content {
overflow: auto;
padding: 6px;
margin: auto;
width: 98%;
}
@@ -66,7 +287,8 @@ form#template div {
}
#bh {
padding-right: 15px;
margin: 7px 10px 0 0;
float: right;
}
/* without this dashboard widgets appear in one column for some screen widths */
@@ -74,11 +296,6 @@ div#dashboard-widgets {
padding-right: 1px;
}
#tagchecklist {
display: block;
zoom: 100%;
}
#tagchecklist span, #tagchecklist span a {
display: inline-block;
display: block;
@@ -88,10 +305,6 @@ div#dashboard-widgets {
margin: 4px 0 0 -9px;
}
#poststuff .togbox {
margin-left: -19px;
}
.tablenav .button-secondary, .nav .button-secondary {
padding: 0 1px;
vertical-align: middle;
@@ -104,23 +317,10 @@ div#dashboard-widgets {
margin-top: 2px;
}
.tablenav-pages .page-numbers {
display: inline-block;
}
.tablenav-pages {
display: block;
margin-top: -3px;
}
table.ie-fixed {
table-layout: fixed;
}
#post-search .button, #widget-search .button {
padding: 1px;
}
.widefat tr, .widefat th {
margin-bottom: 0;
border-spacing: 0;

View File

@@ -1,27 +1,16 @@
body {
font-family: Tahoma;
font-family: Tahoma, arial;
}
/* Half the page disapears on IE6 */
* html body {
width: 700px;
position: absolute;
left: 50%;
margin-right: 350px;
h1 {
font-family: arial;
margin: 5px -4px 0 0;
}
ul, ol {
padding: 5px 22px 5px 5px;
}
.step, th {
text-align:right;
}
.submit input, .button, .button-secondary {
font-family: Tahoma;
ul, ol { padding: 5px 22px 5px 5px; }
.step, th { text-align: right; }
.submit input, .button, .button-secondary {
font-family: Tahoma, arial;
margin-right:0;
}
.form-table th {
text-align:right;
}
h1 {
font-family:arial;
margin: 5px -4px 0 0;
text-align: right;
}

View File

@@ -1,78 +1,83 @@
html { background: #f1f1f1; }
html { background: #f7f7f7; }
body {
background: #fff;
color: #333;
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
margin: 2em auto 0 auto;
width: 700px;
padding: 1em 2em;
-moz-border-radius: 12px;
-khtml-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 11px;
border: 1px solid #dfdfdf;
}
a { color: #2583ad; text-decoration: none; }
a:hover { color: #d54e21; }
h1 {
font-size: 18px;
margin-bottom: 0;
border-bottom: 1px solid #dadada;
clear: both;
color: #666;
font: 24px Georgia, "Times New Roman", Times, serif;
margin: 5px 0 0 -4px;
padding: 0;
padding-bottom: 7px;
}
h2 { font-size: 16px; }
p, li {
padding-bottom: 2px;
font-size: 13px;
font-size: 12px;
line-height: 18px;
}
code {
font-size: 13px;
}
code { font-size: 13px; }
ul, ol { padding: 5px 5px 5px 22px; }
#logo { margin: 6px 0 14px 0px; border-bottom: none;}
#logo { margin: 6px 0 14px 0; border-bottom: none;}
.step {
margin: 20px 0 15px;
}
.step input {
font-size: 18px;
}
a.button {
font-size: 18px;
}
.step, th { text-align: left; padding: 0; }
.submit input, .button, .button-secondary {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 5px 7px 7px;
border: 1px solid #a3a3a3;
margin-left: 0;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #246;
background: #e5e5e5;
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
text-decoration: none;
font-size: 14px !important;
line-height: 16px;
padding: 6px 12px;
cursor: pointer;
border: 1px solid #bbb;
color: #464646;
-moz-border-radius: 15px;
-khtml-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
-khtml-box-sizing: content-box;
box-sizing: content-box;
}
.button-secondary {
background: #cee1ef;
.button:hover, .button-secondary:hover, .submit input:hover {
color: #000;
border-color: #666;
}
.submit input:hover, .button:hover, .button-secondary:hover {
color: #d54e21;
border-color: #535353;
.button, .submit input, .button-secondary {
background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;
}
.button:active, .submit input:active, .button-secondary:active {
background: #eee url(../images/white-grad-active.png) repeat-x scroll left top;
}
.form-table {
@@ -98,7 +103,7 @@ a.button {
}
.form-table tr {
background: #eaf3fa;
background: #f3f3f3;
}
.form-table code {
@@ -117,26 +122,12 @@ a.button {
padding: 2px;
}
h1 {
border-bottom: 1px solid #dadada;
clear: both;
color: #666666;
font: 24px Georgia, "Times New Roman", Times, serif;
margin: 5px 0 0 -4px;
padding: 0;
padding-bottom: 7px;
}
#error-page {
margin-top: 50px;
}
#error-page { margin-top: 50px; }
#error-page p {
font-size: 14px;
line-height: 16px;
font-size: 12px;
line-height: 18px;
margin: 25px 0 20px;
}
#error-page code {
font-size: 15px;
}
#error-page code { font-family: Consolas, Monaco, Courier, monospace; }

View File

@@ -1,37 +1,30 @@
body {
font-family: Tahoma;
font-family: Tahoma, arial;
}
form {
margin-left:0;
margin-right: 8px;
margin-left: 0;
}
form .forgetmenot {
float:right;
float: right;
}
#login form .submit input {
font-family: Tahoma;
}
form .submit {
float:left;
#login form .submit input {
font-family: Tahoma, arial;
}
form .submit { float: left; }
#backtoblog a {
left:auto;
right:15px;
left: auto;
right: 15px;
}
#login_error, .message {
margin: 0 8px 16px 0;
}
#nav {
margin:0 8px 0 0;
}
#nav { margin: 0 8px 0 0; }
#user_pass, #user_login, #user_email {
margin-right:0;
margin-left: 6px;
}
h1 a {
text-decoration:none;
}
/* ltr input */
#user_login, #user_pass {
margin-right: 0;
direction:ltr;
}
h1 a {
text-decoration: none;
}

View File

@@ -3,35 +3,56 @@
body {
border-top-width: 30px;
border-top-style: solid;
font: 12px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font: 11px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
}
form {
margin-left: 8px;
padding: 16px 16px 40px 16px;
font-weight: bold;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
font-weight: normal;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 5px;
background: #fff;
border: 1px solid #e5e5e5;
-moz-box-shadow: rgba(200,200,200,1) 0 4px 18px;
-webkit-box-shadow: rgba(200,200,200,1) 0 4px 18px;
-khtml-box-shadow: rgba(200,200,200,1) 0 4px 18px;
box-shadow: rgba(200,200,200,1) 0 4px 18px;
}
form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0;}
form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; }
#login form .submit input {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 3px 5px;
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
padding: 3px 10px;
border: none;
font-size: 13px;
font-size: 12px;
border-width: 1px;
border-style: solid;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: default;
text-decoration: none;
margin-top: -6px;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 11px;
cursor: pointer;
text-decoration: none;
margin-top: -3px;
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
}
#login form p {
margin-bottom: 0;
}
label {
color: #777;
font-size: 13px;
}
form .forgetmenot label {
font-size: 11px;
line-height: 19px;
}
form .submit { float: right; }
@@ -39,15 +60,19 @@ form .submit { float: right; }
form p { margin-bottom: 24px; }
h1 a {
background: url(../images/logo-login.gif) no-repeat;
width: 292px;
height: 66px;
background: url(../images/logo-login.gif) no-repeat top center;
width: 326px;
height: 67px;
text-indent: -9999px;
overflow: hidden;
padding-bottom: 15px;
display: block;
}
#nav {
text-shadow: rgba(255,255,255,1) 0 1px 0;
}
#backtoblog a {
position: absolute;
top: 7px;
@@ -55,20 +80,28 @@ h1 a {
text-decoration: none;
}
#login { width: 292px; margin: 7em auto; }
#login { width: 320px; margin: 7em auto; }
#login_error, .message {
margin: 0 0 16px 8px;
border-width: 1px;
border-style: solid;
padding: 12px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
#nav { margin: 0 0 0 8px; padding: 16px; }
#user_pass, #user_login, #user_email {
font-size: 20px;
font-size: 24px;
width: 97%;
padding: 3px;
margin-top: 2px;
margin-right: 6px;
}
margin-bottom: 16px;
border: 1px solid #e5e5e5;
background: #fbfbfb;
}

View File

@@ -1,66 +1,93 @@
body#media-upload ul#sidemenu {
left:auto;
right:0;
width: 620px;
left: auto;
right: 0;
}
#search-filter {
text-align:left;
text-align: left;
}
/* specific to the image upload form */
.align .field label {
padding: 0 28px 0 0;
margin: 0 0 0 1em;
}
.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label {
background-position:center right;
background-position: center right;
}
tr.image-size div.image-size-item {
float: right;
}
tr.image-size label {
margin: 0 0 0 1em;
margin: 0 1em 0 0;
}
.filename.original {
float: right;
}
.crunching {
text-align: left;
margin-right:0;
margin-right: 0;
margin-left: 5px;
}
button.dismiss {
right:auto;
left:5px;
right: auto;
left: 5px;
}
.file-error {
margin: 0 50px 5px 0;
}
.progress {
left:auto;
right:0;
left: auto;
right: 0;
}
.describe td {
padding: 0 0 0 5px;
}
.bar {
border-right-width:0;
border-right-width: 0;
border-left-width: 3px;
border-right-style: none;
border-left-style: solid;
}
.media-item .pinkynail {
float:right;
float: right;
}
.describe-toggle-on, .describe-toggle-off {
.describe-toggle-on,
.describe-toggle-off {
float: left;
margin-right:0;
margin-right: 0;
margin-left: 20px;
}
/* Specific to Uploader */
#media-upload .media-upload-form p {
margin: 0 0 1em 1em;
}
.filename {
float: right;
margin-left:0;
margin-left: 0;
margin-right: 10px;
}
#media-upload .describe th.label {
text-align:right;
text-align: right;
}
.menu_order {
float:left;
float: left;
}
.media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help {
font-family: Tahoma, Arial;
}
#gallery-settings #basic th.label {
padding: 5px 0 5px 5px;
}
#gallery-settings .title, h3.media-title {
font-family: Tahoma, Arial;
}
#gallery-settings .describe th.label {
text-align: right;
}
#gallery-settings label,
#gallery-settings legend {
margin-right: 0;
margin-left: 15px;
}
#gallery-settings .align .field label {
margin: 0 0 0 1.5em;
}

View File

@@ -29,17 +29,21 @@ form {
text-align: right;
}
.media-upload-form label, .media-upload-form legend {
display:block;
.media-upload-form label,
.media-upload-form legend {
display: block;
font-weight: bold;
font-size: 13px;
margin-bottom: 0.5em;
margin: 0 0 0.5em 0;
}
th { position: relative; }
th {
position: relative;
}
.media-upload-form label.form-help, td.help {
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
font-style: italic;
font-weight: normal;
}
@@ -63,6 +67,7 @@ th { position: relative; }
padding: 0 0 0 28px;
margin: 0 1em 0 0;
}
.image-align-none-label {
background: url(../images/align-none.png) no-repeat center left;
}
@@ -79,14 +84,21 @@ th { position: relative; }
background: url(../images/align-right.png) no-repeat center left;
}
#flash-upload-ui, .insert-gallery {
display: none;
tr.image-size td {
width: 460px;
}
tr.image-size div.image-size-item {
float: left;
width: 25%;
margin: 0;
}
tr.image-size label {
display: inline;
margin: 0 1em 0 0;
margin: 0 0 0 1em;
}
.pinkynail {
max-width: 40px;
max-height: 40px;
@@ -95,38 +107,49 @@ tr.image-size label {
.filename.original {
float: left;
}
.crunching {
display: block;
line-height: 32px;
text-align: right;
margin-right: 5px;
}
button.dismiss {
position: absolute;
top: 5px;
top: 7px;
right: 5px;
z-index: 4;
width: 8em;
}
.file-error {
margin: 0 0 5px 50px;
float: left;
font-weight: bold;
padding: 10px;
}
.progress {
position: absolute;
top: 0px;
left: 0px;
top: 0;
left: 0;
width: 623px;
height: 36px;
}
.bar {
width: 0px;
width: 0;
height: 100%;
border-right-width: 3px;
border-right-style: solid;
}
#library-form .progress, #gallery-form .progress {
#library-form .progress,
#gallery-form .progress,
#flash-upload-ui,
.insert-gallery,
.describe.startopen,
.describe.startclosed {
display: none;
}
@@ -134,6 +157,7 @@ button.dismiss {
max-width: 128px;
max-height: 128px;
}
.media-item .pinkynail {
float: left;
margin: 2px;
@@ -144,7 +168,9 @@ button.dismiss {
thead.media-item-info tr {
background-color: transparent;
}
thead.media-item-info th, thead.media-item-info td {
thead.media-item-info th,
thead.media-item-info td {
border: none;
margin: 0;
}
@@ -153,41 +179,46 @@ thead.media-item-info th, thead.media-item-info td {
border: 8px solid #fff;
}
.describe.startopen, .describe.startclosed {
display: none;
}
abbr.required {
text-decoration: none;
border: none;
}
.describe label {
display: inline;
}
.describe td {
vertical-align: middle;
padding: 0 5px 0 0;
}
.describe td.A1 {
width: 132px;
}
.describe input[type="text"], .describe textarea {
.describe input[type="text"],
.describe textarea {
width: 460px;
border-width: 1px;
border-style: solid;
}
.describe-toggle-on, .describe-toggle-off {
.describe-toggle-on,
.describe-toggle-off {
display: block;
line-height: 36px;
float: right;
margin-right: 20px;
}
.describe-toggle-off {
display: none;
}
.clickmask {
}
.hidden {
height: 0px;
width: 0px;
height: 0;
width: 0;
overflow: hidden;
border: none;
}
@@ -202,13 +233,17 @@ abbr.required {
padding: 1em 0;
}
#media-upload p.help {
#media-upload p.help,
#media-upload label.help {
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
font-style: italic;
font-weight: normal;
}
#media-upload tr.image-size td.field {
text-align: center;
}
#media-upload #media-items {
border-width: 1px;
border-style: solid;
@@ -235,21 +270,29 @@ abbr.required {
overflow: hidden;
max-width: 430px;
}
#media-upload .describe {
border-top-width: 1px;
border-top-style: solid;
padding: 5px;
width: 100%;
clear: both;
cursor: default;
}
#media-upload .slidetoggle {
border-top-width: 1px;
border-top-style: solid;
}
#media-upload .describe th.label {
padding-top: .5em;
text-align: left;
min-width: 120px;
}
#media-upload tr.align td.field {
text-align: center;
}
#media-upload tr.image-size {
margin-bottom: 1em;
height: 3em;
@@ -264,10 +307,11 @@ abbr.required {
}
#filter .tablenav select {
border-style:solid;
border-width:1px;
padding:2px;
vertical-align:top;
border-style: solid;
border-width: 1px;
padding: 2px;
vertical-align: top;
width: auto;
}
#media-upload a.delete,
@@ -287,7 +331,7 @@ abbr.required {
}
.menu_order_input {
border: 1px solid #DDDDDD;
border: 1px solid #ddd;
font-size: 10px;
padding: 1px;
width: 23px;
@@ -301,8 +345,8 @@ abbr.required {
}
#media-upload th.order-head {
width: 25%;
text-align: center;
width: 25%;
text-align: center;
}
#media-upload .widefat {
@@ -313,3 +357,70 @@ abbr.required {
.sorthelper {
z-index: -1;
}
#gallery-settings th.label {
width: 160px;
}
#gallery-settings #basic th.label {
padding: 5px 5px 5px 0;
}
#gallery-settings .title {
clear: both;
padding: 0 0 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1.6em;
border-bottom-color: #DADADA;
color: #5A5A5A;
}
h3.media-title {
color: #5A5A5A;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1.6em;
font-weight: normal;
}
#gallery-settings .describe td {
vertical-align: middle;
height: 3.5em;
}
#gallery-settings .describe th.label {
padding-top: .5em;
text-align: left;
}
#gallery-settings .describe {
padding: 5px;
width: 615px;
clear: both;
cursor: default;
}
#gallery-settings .describe select {
width: 15em;
border: 1px solid #dfdfdf;
}
#gallery-settings label,
#gallery-settings legend {
font-size: 13px;
color: #464646;
margin-right: 15px;
}
#gallery-settings .align .field label {
margin: 0 1.5em 0 0;
}
#gallery-settings p.ml-submit {
border-top: 1px solid #dfdfdf;
}
#gallery-settings select#columns {
width: 6em;
}

View File

@@ -0,0 +1,43 @@
div.star {
left: auto;
right: 0;
letter-spacing: 0;
}
.star img, div.star a, div.star a:hover, div.star a:visited {
right: auto;
left: 0;
}
#plugin-information ul#sidemenu {
left: auto;
right: 0;
}
#plugin-information h2 {
margin-right: 0;
margin-left: 200px;
}
#plugin-information .fyi {
margin-left: 5px;
margin-right: 20px;
}
#plugin-information .fyi h2 {
margin-left: 0;
}
#plugin-information .fyi ul {
padding: 10px 7px 10px 5px;
}
#plugin-information #section-screenshots li p {
padding-left: 0;
padding-right: 20px;
}
#plugin-information .updated,
#plugin-information pre {
margin-right: 0;
margin-left: 215px;
}
#plugin-information .updated, #plugin-information .error {
clear: none;
direction: rtl;
}
#section-description {
direction: ltr;
}

View File

@@ -0,0 +1,149 @@
/* NOTE: the following CSS rules(.star*) are taken more or less straight from the bbPress rating plugin. */
div.star-holder {
position: relative;
height: 19px;
width: 100px;
font-size: 19px;
}
div.star {
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: transparent;
letter-spacing: 1ex;
border: none;
}
.star1 { width: 20%; }
.star2 { width: 40%; }
.star3 { width: 60%; }
.star4 { width: 80%; }
.star5 { width: 100%; }
.star img, div.star a, div.star a:hover, div.star a:visited {
display: block;
position: absolute;
right: 0;
border: none;
text-decoration: none;
}
div.star img {
width: 19px;
height: 19px;
border-left: 1px solid #fff;
border-right: 1px solid #fff;
}
/* Start custom CSS */
/* Header on thickbox */
#plugin-information-header {
margin: 0;
padding: 0 5px;
font-weight: bold;
position: relative;
border-bottom-width: 1px;
border-bottom-style: solid;
height: 2.5em;
}
#plugin-information ul#sidemenu {
font-weight: normal;
margin: 0 5px;
position: absolute;
left: 0;
bottom: -1px;
}
/* Install sidemenu */
#plugin-information p.action-button {
width: 100%;
padding-bottom: 0;
margin-bottom: 0;
margin-top: 10px;
-moz-border-radius: 3px 0 0 3px;
-webkit-border-top-left-radius: 3px;
-khtml-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-khtml-border-bottom-left-radius: 3px;
border-top-bottom-radius: 3px;
}
#plugin-information .action-button a {
text-align: center;
font-weight: bold;
text-decoration: none;
display: block;
line-height: 2em;
}
#plugin-information h2 {
clear: none !important;
margin-right: 200px;
}
#plugin-information .fyi {
margin-left: 10px;
margin-bottom: 50px;
width: 210px;
}
#plugin-information .fyi h2 {
font-size: 0.9em;
margin-bottom: 0;
margin-right: 0;
}
#plugin-information .fyi h2.mainheader {
padding: 5px;
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
-khtml-border-top-left-radius: 3px;
border-top-left-radius: 3px;
}
#plugin-information .fyi ul {
padding: 10px 5px 10px 7px;
margin: 0;
list-style: none;
-moz-border-radius-bottomleft: 3px;
-webkit-border-bottom-left-radius: 3px;
-khtml-border-bottom-left-radius: 3px;
border-top-bottom-radius: 3px;
}
#plugin-information .fyi li {
margin-right: 0;
}
#plugin-information #section-holder {
padding: 10px;
}
#plugin-information .section ul,
#plugin-information .section ol {
margin-left: 16px;
list-style-type: square;
list-style-image: none;
}
#plugin-information #section-screenshots li img {
vertical-align: text-top;
}
#plugin-information #section-screenshots li p {
font-style: italic;
padding-left: 20px;
padding-bottom: 2em;
}
#plugin-information .updated,
#plugin-information pre {
margin-right: 215px;
}
#plugin-information pre {
padding: 7px;
}

View File

@@ -1,3 +0,0 @@
.ui-tabs-nav {
margin-right: 0;
}

View File

@@ -1,7 +0,0 @@
#posting {
position: static !important;
}
.ui-tabs-nav {
margin-left: 0;
border: 0 !important;
}

View File

@@ -1,98 +1,106 @@
body {
font-family: Tahoma;
font-family: Tahoma, Arial;
}
.ui-tabs-nav {
padding-left:0;
padding-right:8px;
}
.ui-tabs-nav li {
#poststuff #edButtonPreview,
#poststuff #edButtonHTML {
margin: 0px 0 0 5px;
float: right;
}
.button {
font-family: Tahoma;
margin-left:0;
/* Editor/Main Column */
div#poststuff {
padding-left: 0;
padding-right: 10px;
}
.posting {
margin-right: 0;
margin-left: 228px;
left:auto;
right: 0;
}
#side-info-column {
float: left;
right: auto;
left: 0;
margin-right: 0;
margin-left: 10px;
}
#side-info-column .sleeve {
padding-left: 0;
padding-right: 10px;
}
h3.tb {
margin-left: 0;
margin-right: 5px;
}
#wphead #viewsite {
margin-left:0;
margin-right: 10px;
#actions {
float: left;
}
#viewsite {
right:auto;
left: 8px;
#extra_fields #actions {
right: auto;
left: 4px;
}
#wphead #viewsite a {
font-family: Tahoma;
#actions li {
float: right;
margin-right: 0;
margin-left: 10px;
}
h1 {
right:auto;
left:0;
}
div#posting {
padding-left:0;
padding-right: 16px;
}
#photo_directions span {
right:auto;
left:3px;
#extra_fields .button {
margin-right: 0;
margin-left: 5px;
}
/* Photo Styles */
#img_container a {
float:right;
float: right;
}
#img_container a, #img_container a:link, #img_container a:visited {
margin:0 0 4px 4px;
#category-add input, #category-add select {
font-family: Tahoma, Arial;
}
div#categories {
right:auto;
left:16px;
}
div#categories h2 {
margin: .5em 1em .5em 0;
#categorydiv ul.categorychecklist ul {
margin-left: 0;
margin-right: 18px;
}
/* Tags */
#tagsdiv #newtag {
margin-right:0;
margin-left: 5px;
margin-right: 0;
margin-left: 5px;
}
#jaxtag {
padding-left:0;
padding-right: 1em;
}
#tagchecklist {
padding-left:0;
padding-right: 1em;
#tagadd {
margin-left: 0;
margin-right: 3px;
}
#tagchecklist span {
margin-right: 10px;
margin-left: .5em;
margin-right: 10px;
float: right;
}
#tagchecklist span a {
margin: 6px -9px 0pt 0;
margin: 6px -9px 0 0;
float: right;
}
.submitbox {
float: left;
#content {
margin-left: 0;
margin-right: 1%;
}
.submitbox .submit input {
text-align:right;
}
.video_split #extra_fields {
float:right;
}
.video_split .editor_area {
float: left;
.submit input,
.button,
.button-primary,
.button-secondary,
.button-highlighted,
#postcustomstuff .submit input {
font-family: tahoma;
}
.ac_results li {
text-align:right;
text-align: right;
}
#TB_ajaxContent #options {
right:auto;
left:25px;
right: auto;
left: 25px;
}
#post_status {
margin-left:0;
margin-left: 0;
margin-right: 10px;
}
/* Footer */
#footer {
padding: 10px 60px 0 0;
}

View File

@@ -1,235 +1,240 @@
body {
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font: 13px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
color: #333;
margin: 0px;
padding: 0px;
}
img { border: 0; }
/* Tabs */
@media projection , screen {
.ui-tabs-hide {
display: none;
}
}
@media print {
.ui-tabs-nav {
display: none;
}
}
.ui-tabs-nav {
list-style: none;
border-bottom: 1px solid #C6D9E9;
padding-left: 8px;
margin-bottom: .5em;
margin-top: -2em;
}
/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
display: inline-block;
}
* :first-child+html .ui-tabs-nav {
/* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
display: inline-block;
}
.ui-tabs-nav:after {
/* clearing without presentational markup, IE gets extra treatment */
display: block;
clear: both;
content: " ";
}
.ui-tabs-nav li {
float: left;
margin: 0;
height: 2em;
line-height: 2em;
padding: 0;
}
.ui-tabs-nav a,.ui-tabs-nav a span {
display: block;
}
.ui-tabs-nav a {
margin: 1px 0 0;
/* position: relative makes opacity fail for disabled tab in IE */
padding-left: 0;
color: #27537a;
font-weight: bold;
line-height: 2em;
text-align: center;
text-decoration: none;
white-space: nowrap; /* required in IE 6 */
outline: 0; /* prevent dotted border in Firefox */
padding: 0 1em;
}
.ui-tabs-nav .ui-tabs-selected a {
position: relative;
top: 1px;
z-index: 2;
margin-top: 0;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-style: solid;
border-width: 1px;
background: white;
border-bottom-width: 2px;
margin-top: -2px;
}
.ui-tabs-nav a:hover,.ui-tabs-nav a:focus,.ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-selected a:link,.ui-tabs-nav .ui-tabs-selected a:visited {
cursor: pointer;
img {
border: none;
}
/* Header */
#wphead {
border-top: none;
height: 2em;
padding-top: 8px;
padding-top: 4px;
background: #444 !important;
}
.button {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 3px 5px;
font-size: 12px;
line-height: 1.5em;
border-width: 1px;
#poststuff #edButtonPreview,
#poststuff #edButtonHTML {
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
-khtml-border-radius-bottomleft: 0;
-khtml-border-radius-bottomright: 0;
-khtml-border-radius-topleft: 3px;
-khtml-border-radius-topright: 3px;
-webkit-border-radius-bottomleft: 0;
-webkit-border-radius-bottomright: 0;
-webkit-border-radius-topleft: 3px;
-webkit-border-radius-topright: 3px;
border-radius-bottomleft: 0;
border-radius-bottomright: 0;
border-radius-topleft: 3px;
border-radius-topright: 3px;
border-style: solid;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-width: 1px;
cursor: pointer;
margin-left: 5px;
text-decoration: none;
display: block;
height: 18px;
margin: 0px 5px 0 0;
padding: 0px 5px 0px;
background-color: #E9E9E9;
border-bottom-color: #E9E9E9;
color: #333333;
font-size: 10px;
line-height: 18px;
float: left;
}
.howto {
margin-top: 2px;
margin-bottom: 3px;
font-size: 11px;
font-style: italic;
display: block;
}
#wphead #viewsite {
position: absolute;
margin-top: 12px;
margin-left: 10px;
}
#viewsite {
position: relative;
right: 8px;
top: 6px;
margin: 0 !important;
}
#wphead #viewsite a {
font: 12px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 3px 4px;
display: block;
letter-spacing: normal;
border-width: 1px;
border-style: solid;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
text-decoration: none;
}
#previewview {
padding-top: 8px !important;
padding-bottom: 8px !important;
}
h1 {
font-size: .75em;
line-height: 2.666em;
top: .5em;
right: 0;
margin: 0 !important;
padding: 0 !important;
width: 236px;
background: none;
}
input.text {
border: 0pt none;
outline-color: -moz-use-text-color;
outline-style: none;
outline-width: medium;
padding: 0pt;
width: 100%;
border-style: solid;
color: #333333;
}
#message {
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
/* Editor/Main Column */
div#poststuff {
padding-left: 10px;
margin-top: 10px;
}
div#container {
div.zerosize {
border: 0 none;
height: 0;
margin: 0;
min-width: 500px;
}
div#container form {
margin: 0px;
padding: 0px;
}
div#posting {
padding-left: 16px;
overflow: hidden;
padding: 0;
position: absolute;
z-index: 1;
width: 66%;
width: 0;
}
#post_title {
width: 99%;
#poststuff #edButtonPreview.active,
#poststuff #edButtonHTML.active {
display: none;
}
.titlewrap {
.posting {
margin-right: 228px;
position: relative;
left: 0;
}
#side-info-column {
float: right;
width: 218px;
position: absolute;
right: 0;
margin-right: 10px;
}
#side-info-column .sleeve {
padding-left: 10px;
}
#poststuff .inside {
font-size: 11px;
margin: 0 12px 12px;
}
#poststuff h2, #poststuff h3 {
font-size: 14px;
font-weight: bold;
padding: 7px;
margin: 0 0 10px;
background-image: url(../images/postbox-bg.gif);
background-position: left top;
background-repeat: repeat-x;
font-size: 12px;
font-weight: bold;
line-height: 1;
margin: 0 0 10px;
padding: 7px 9px;
text-shadow: 0 1px 0 #FFFFFF;
}
h3.tb {
text-shadow: 0 1px 0 #FFFFFF;
font-weight: bold;
font-size: 12px;
margin-left: 5px;
}
#TB_window {
border: 1px solid #333;
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.metabox-holder .postbox,
.postbox,
.stuffbox {
margin-bottom: 10px;
border-width: 1px;
border-style: solid;
line-height: 1;
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border-color: #DFDFDF;
}
.titlediv {
border-color: #DFDFDF;
}
#title, .tbtitle {
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border-style: solid;
border-width: 1px;
padding: 2px 3px;
border-color: #CCCCCC;
font-size: 1.7em;
outline: none;
padding: 3px 4px;
border-color: #DFDFDF;
}
div#posting h2 {
margin: .5em 0 .25em 0;
.tbtitle {
font-size: 12px;
padding: 3px;
background: ;
}
#title {
width: 98%;
}
.postbox h2 {
background-image: url(../images/postbox-bg.gif);
background-position: left top;
background-repeat: repeat-x;
background-color: #DFDFDF;
}
.editor-container {
border-width: 1px;
border-color: #ccc;
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border-collapse: separate;
border-style: solid;
margin-bottom: 1em;
border-width: 1px;
border-color: #DFDFDF;
}
.postdivrich {
position: relative;
padding-top: 25px;
}
#actions {
clear: both;
float: right;
margin-top: -19px;
position: relative;
}
#extra_fields #actions {
clear: both;
position: absolute;
right: 4px;
top: 6px;
margin: 0;
}
#actions li {
float: left;
list-style: none;
margin-right: 10px;
}
#extra_fields .button {
margin-right: 5px;
}
/* Photo Styles */
#photo_directions {
margin-top: .25em;
display: block;
position: relative;
}
#photo_directions span {
display: block;
position: absolute;
top: 0;
right: 3px;
.photolist {
margin-top: -10px;
}
#photo_saving {
@@ -239,77 +244,162 @@ div#posting h2 {
#img_container {
background-color: #fff;
height: 101px;
width: 100%;
}
#extra_fields {
margin-top: 10px;
position: relative;
}
#extra_fields .postbox {
margin-bottom: 5px;
}
#extra_fields .titlewrap {
padding: 0;
overflow: auto;
height: 100px;
}
#img_container {
position: relative;
}
#img_container a {
display: block;
width: 79px;
height: 79px;
float: left;
overflow: hidden;
vertical-align: center;
}
#img_container img, #img_container a {
width: 68px;
height: 68px;
}
#img_container img {
width: 75px;
height: 75px;
border: 0px;
padding: 2px;
width: 68px;
height: 68px;
border: none;
background-color: #f4f4f4;
cursor: pointer;
}
#img_container a, #img_container a:link, #img_container a:visited {
border: 2px solid #ccc;
margin: 0 4px 4px 0;
}
#img_container a:hover, #img_container a:active {
border: 2px solid #000;
#img_container a,
#img_container a:link,
#img_container a:visited {
border: 1px solid #ccc;
display: block;
position: relative;
}
#img_container a:hover,
#img_container a:active {
border-color: #000;
z-index: 1000;
border-width: 2px;
margin: -1px;
}
/* Video */
#embed-code {
width: 100%;
height: 98px;
}
/* Submit Column */
div#categories {
font-size: 85%;
position: absolute;
top: 50px;
right: 16px;
width: 27%;
z-index: 2;
}
div#categories h2 {
color: #333;
font-size: 12px;
margin: .5em 0 .5em 1em;
#viewsite {
padding: 0;
margin: 0 0 20px 0;
font-size: 10px;
clear: both;
}
#categories-all {
overflow: auto;
padding: 0 1em 1em 1em;
height: 15em;
#viewsite .button {
margin: 0 0 0px 0;
display: block;
}
#categories ul {
.wp-hidden-children .wp-hidden-child {
display: none;
}
#category-adder {
padding: 4px 0;
}
#category-adder h4 {
margin: 0 0 8px;
}
#category-add input {
width: 94%;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
margin: 1px;
padding: 3px;
}
#category-add select {
width: 70%;
-x-system-font: none;
border-style: solid;
border-width: 1px;
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
font-size: 12px;
height: 2em;
line-height: 20px;
padding: 2px;
margin: 1px;
vertical-align: top;
}
#category-add input#category-add-sumbit {
width: auto;
}
/* Categories */
#categorydiv ul, #linkcategorydiv ul {
list-style: none;
padding: 0;
margin: 0;
}
#categorydiv ul.categorychecklist ul {
margin-left: 18px;
}
#categorydiv div.ui-tabs-panel {
height: 150px;
overflow: auto;
}
ul.categorychecklist li {
margin: 0;
padding: 0;
line-height: 19px;
}
/* Tags */
#tagsdiv #newtag {
padding: 3px;
margin-right: 5px;
width: 16em;
width: 16em;
}
#jaxtag {
clear: both;
padding-left: 1em;
margin: 0;
}
#tagadd {
margin-left: 3px;
}
#tagchecklist {
padding-left: 1em;
margin-top: 3px;
margin-bottom: 1em;
font-size: 12px;
overflow: auto;
@@ -332,7 +422,7 @@ div#categories h2 {
}
#tagchecklist span a {
margin: 6px 0pt 0pt -9px;
margin: 6px 0 0 -9px;
cursor: pointer;
width: 10px;
height: 10px;
@@ -342,68 +432,44 @@ div#categories h2 {
overflow: hidden;
position: absolute;
}
.submit {
-moz-border-radius-bottomleft: 3px;
-khtml-border-bottom-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
-moz-border-radius-bottomright: 3px;
-khtml-border-bottom-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
margin: 0;
padding: 10px;
}
.submitbox {
width: 100%;
float: right;
#content {
width: 96% !important;
margin-left: 1%;
margin-bottom: 10px;
border: 1px solid #f1f1f1;
}
.submitbox .submit a:hover {
border-bottom-width: 1px;
border-bottom-style: solid;
/* Submit */
#saving {
display: inline;
}
.submitbox .submit input {
border: none;
text-align: left;
padding: 6px 4px;
font-size: 12px;
margin: 2px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
.submit input,
.button,
.button-primary,
.button-secondary,
.button-highlighted,
#postcustomstuff .submit input {
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
text-decoration: none;
font-size: 11px !important;
line-height: 16px;
padding: 2px 8px;
cursor: pointer;
border-width: 1px;
border-style: solid;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 11px;
}
.submitbox #previewview {
padding: 15px 10px;
-moz-border-radius-topleft: 3px;
-khtml-border-top-left-radius: 3px;
-webkit-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-khtml-border-top-right-radius: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
}
/* Video Styles */
.video_split #extra_fields {
width: 27%;
height: 300px;
float: left;
}
#embed_code {
border: 0;
width: 99%;
height: 200px;
}
.video_split .editor_area {
width: 70%;
float: right;
.button-primary {
background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
border-color: #21759B;
color: #FFFFFF;
}
.ac_results {
@@ -431,45 +497,32 @@ div#categories h2 {
text-decoration: underline;
}
.photolist {
display: none;
}
#extra_fields small {
display: block;
margin-top: .5em;
padding-bottom: .25em;
}
#TB_ajaxContent #options {
position: absolute;
top: 20px;
right: 25px;
padding: 5px;
}
#TB_ajaxContent h3 {
margin-bottom: .25em;
}
.updated {
margin: 0;
margin-left: 15px;
margin-right: 15px;
margin: 10px 0;
padding: 0;
max-width: 980px;
border-width: 1px;
border-style: solid;
padding: 0 0.6em;
max-width: 950px;
margin-top: 1em;
margin-bottom: 1em;
width: 99%;
}
.updated p, .error p {
.updated p,
.error p {
margin: 0.6em 0;
padding: 0 0.6em;
}
.updated a, .error a {
.error a {
text-decoration: underline;
}
@@ -485,7 +538,6 @@ div#categories h2 {
}
/* Footer */
#footer {
height: 65px;
display: block;
@@ -505,12 +557,10 @@ div#categories h2 {
#footer p a {
text-decoration: none;
}
#footer p a:hover {
text-decoration: underline;
}
/* Utility Classes */
.centered {
text-align: center;
@@ -518,4 +568,4 @@ div#categories h2 {
.hidden {
display: none;
}
}

View File

@@ -1,15 +1,12 @@
#template textarea {
font-family:monospace;
}
#templateside {
float:left;
float: left;
}
#themeselector {
padding-right:0;
padding-right: 0;
padding-left: 5px;
float: left;
}
div.tablenav {
margin-right:0;
margin-right: 0;
margin-left: 210px;
}

View File

@@ -1,5 +1,5 @@
#template textarea {
font-family: 'Courier New', Courier, monospace;
font-family: Consolas, Monaco, Courier, monospace;
font-size: 12px;
width: 97%;
}
@@ -11,7 +11,6 @@
#templateside {
float: right;
width: 190px;
margin-top:-3.4em;
}
#templateside h3, #postcustomstuff p.submit {
@@ -23,7 +22,7 @@ h3#bordertitle {
}
#templateside h4 {
margin-bottom: 0px;
margin-bottom: 0;
}
#templateside ol, #templateside ul {
@@ -33,7 +32,7 @@ h3#bordertitle {
}
#templateside ol li, #templateside ul li {
margin: 1px 0px;
margin: 1px 0;
}
#themeselector {
@@ -41,6 +40,7 @@ h3#bordertitle {
float: right;
position: relative;
bottom: 25px;
top:20px;
}
#themeselector select {
@@ -58,7 +58,7 @@ h3#bordertitle {
div.bordertitle h2 {
border: none;
padding-bottom: 0px;
padding-bottom: 0;
}
div.tablenav {

View File

@@ -1,12 +0,0 @@
html {
direction: ltr;
}
#uploadoptions, table {
direction: rtl;
}
td {
padding: 1px 6px 0;
}
.submit {
text-align: left;
}

View File

@@ -1,45 +1,27 @@
/* 2 column liquid layout */
div.widget-liquid-left-holder {
float: right;
clear: right;
margin-right:0;
margin-left: -310px;
}
div.widget-liquid-left {
margin-right:0;
margin-left: 320px;
}
div.widget-liquid-right {
float: left;
clear: left;
}
p#widget-search {
right:auto;
left:0;
}
h4.widget-title span {
float: right;
}
h4.widget-title a {
float: left;
margin-left:0;
margin-left: 0;
margin-right: 1em;
}
ul#widget-list li.widget-list-item h4.widget-title {
float:right;
float: right;
}
ul#widget-list li.widget-list-item div.widget-description {
margin: 0 200px 0 0;
padding: 0 4em 0 0;
}
.widget-control-save, .widget-control-remove {
margin-right:0;
.widget-control-save,
.widget-control-remove {
margin-right: 0;
margin-left: 8px;
float: right;
}
li.widget-list-control-item h4.widget-title a,
#dragHelper li.widget-list-control-item h4.widget-title a,
#draghelper li.widget-list-control-item h4.widget-title a:visited {
right:auto;
right: auto;
left: 1em;
}

View File

@@ -27,13 +27,6 @@ div#available-widgets-filter {
border-bottom-style: solid;
}
p#widget-search {
position: absolute;
right: 0;
top: 0;
margin: 0;
}
ul#widget-list {
list-style: none;
margin: 0;
@@ -112,8 +105,8 @@ li.widget-list-control-item {
border-radius: 3px;
}
li.widget-list-control-item h4,
#dragHelper li.widget-list-control-item h4,
li.widget-list-control-item h4,
#dragHelper li.widget-list-control-item h4,
li.widget-sortable h4 {
margin: 0;
cursor: move;
@@ -126,12 +119,8 @@ li.widget-sortable h4 {
border-radius: 3px;
}
.widget-control-save, .widget-control-remove {
padding: 3px 5px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
.widget-control-save,
.widget-control-remove {
margin-right: 8px;
float: left;
text-decoration: none;
@@ -149,6 +138,8 @@ li.widget-list-control-item h4.widget-title a:hover {
}
li.widget-list-control-item div.widget-control {
border-width: 0 1px 1px;
border-style: none solid solid;
display: none;
padding: 15px;
font-size: 11px;
@@ -161,8 +152,6 @@ li.widget-list-control-item div.widget-control p {
}
ul.widget-control-list div.widget-control-actions {
border-top-width: 1px;
border-top-style: solid;
padding: 0.5em 0 0;
}
@@ -173,7 +162,7 @@ ul.widget-control-list div.widget-control-actions {
div#current-widgets {
padding-top: 1em;
border-width: 1px;
border-width: 1px 0 0;
border-style: solid none none;
}

View File

@@ -1,36 +1,105 @@
<?php
/**
* The custom header image script.
*
* @package WordPress
* @subpackage Administration
*/
/**
* The custom header image class.
*
* @since unknown
* @package WordPress
* @subpackage Administration
*/
class Custom_Image_Header {
/**
* Callback for administration header.
*
* @var callback
* @since unknown
* @access private
*/
var $admin_header_callback;
/**
* PHP4 Constructor - Register administration header callback.
*
* @since unknown
* @param callback $admin_header_callback
* @return Custom_Image_Header
*/
function Custom_Image_Header($admin_header_callback) {
$this->admin_header_callback = $admin_header_callback;
}
/**
* Setup the hooks for the Custom Header admin page.
*
* @since unknown
*/
function init() {
$page = add_theme_page(__('Custom Image Header'), __('Custom Image Header'), 'edit_themes', 'custom-header', array(&$this, 'admin_page'));
add_action("admin_print_scripts-$page", array(&$this, 'js_includes'));
add_action("admin_print_styles-$page", array(&$this, 'css_includes'));
add_action("admin_head-$page", array(&$this, 'take_action'), 50);
add_action("admin_head-$page", array(&$this, 'js'), 50);
add_action("admin_head-$page", $this->admin_header_callback, 51);
}
/**
* Get the current step.
*
* @since unknown
*
* @return int Current step
*/
function step() {
$step = (int) @$_GET['step'];
if ( ! isset( $_GET['step'] ) )
return 1;
$step = (int) $_GET['step'];
if ( $step < 1 || 3 < $step )
$step = 1;
return $step;
}
/**
* Setup the enqueue for the JavaScript files.
*
* @since unknown
*/
function js_includes() {
$step = $this->step();
if ( 1 == $step )
wp_enqueue_script('colorpicker');
elseif ( 2 == $step )
wp_enqueue_script('farbtastic');
elseif ( 2 == $step )
wp_enqueue_script('cropper');
}
/**
* Setup the enqueue for the CSS files
*
* @since 2.7
*/
function css_includes() {
$step = $this->step();
if ( 1 == $step ) {
wp_enqueue_style('farbtastic');
}
}
/**
* Execute custom header modification.
*
* @since unknown
*/
function take_action() {
if ( isset( $_POST['textcolor'] ) ) {
check_admin_referer('custom-header');
@@ -48,6 +117,11 @@ class Custom_Image_Header {
}
}
/**
* Execute Javascript depending on step.
*
* @since unknown
*/
function js() {
$step = $this->step();
if ( 1 == $step )
@@ -56,123 +130,134 @@ class Custom_Image_Header {
$this->js_2();
}
/**
* Display Javascript based on Step 1.
*
* @since unknown
*/
function js_1() { ?>
<script type="text/javascript">
var cp = new ColorPicker();
var buttons = ['#name', '#desc', '#pickcolor', '#defaultcolor'];
var farbtastic;
function pickColor(color) {
$('name').style.color = color;
$('desc').style.color = color;
$('textcolor').value = color;
}
function PopupWindow_hidePopup(magicword) {
if ( magicword != 'prettyplease' )
return false;
if (this.divName != null) {
if (this.use_gebi) {
document.getElementById(this.divName).style.visibility = "hidden";
}
else if (this.use_css) {
document.all[this.divName].style.visibility = "hidden";
}
else if (this.use_layers) {
document.layers[this.divName].visibility = "hidden";
}
}
else {
if (this.popupWindow && !this.popupWindow.closed) {
this.popupWindow.close();
this.popupWindow = null;
}
}
return false;
}
function colorSelect(t,p) {
if ( cp.p == p && document.getElementById(cp.divName).style.visibility != "hidden" ) {
cp.hidePopup('prettyplease');
} else {
cp.p = p;
cp.select(t,p);
}
jQuery('#name').css('color', color);
jQuery('#desc').css('color', color);
jQuery('#textcolor').val(color);
farbtastic.setColor(color);
}
jQuery(document).ready(function() {
jQuery('#pickcolor').click(function() {
jQuery('#colorPickerDiv').show();
});
jQuery('#hidetext').click(function() {
toggle_text();
});
farbtastic = jQuery.farbtastic('#colorPickerDiv', function(color) { pickColor(color); });
pickColor('#<?php echo get_theme_mod('header_textcolor', HEADER_TEXTCOLOR); ?>');
<?php if ( 'blank' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) ) { ?>
toggle_text();
<?php } ?>
});
jQuery(document).mousedown(function(){
// Make the picker disappear, since we're using it in an independant div
hide_picker();
});
function colorDefault() {
pickColor('#<?php echo HEADER_TEXTCOLOR; ?>');
}
function hide_text() {
$('name').style.display = 'none';
$('desc').style.display = 'none';
$('pickcolor').style.display = 'none';
$('defaultcolor').style.display = 'none';
$('textcolor').value = 'blank';
$('hidetext').value = '<?php _e('Show Text'); ?>';
// $('hidetext').onclick = 'show_text()';
Event.observe( $('hidetext'), 'click', show_text );
function hide_picker(what) {
var update = false;
jQuery('#colorPickerDiv').each(function(){
var id = jQuery(this).attr('id');
if (id == what) {
return;
}
var display = jQuery(this).css('display');
if (display == 'block') {
jQuery(this).fadeOut(2);
}
});
}
function show_text() {
$('name').style.display = 'block';
$('desc').style.display = 'block';
$('pickcolor').style.display = 'inline';
$('defaultcolor').style.display = 'inline';
$('textcolor').value = '<?php echo HEADER_TEXTCOLOR; ?>';
$('hidetext').value = '<?php _e('Hide Text'); ?>';
Event.stopObserving( $('hidetext'), 'click', show_text );
Event.observe( $('hidetext'), 'click', hide_text );
function toggle_text(force) {
if(jQuery('#textcolor').val() == 'blank') {
//Show text
jQuery( buttons.toString() ).show();
jQuery('#textcolor').val('<?php echo HEADER_TEXTCOLOR; ?>');
jQuery('#hidetext').val('<?php _e('Hide Text'); ?>');
}
else {
//Hide text
jQuery( buttons.toString() ).hide();
jQuery('#textcolor').val('blank');
jQuery('#hidetext').val('<?php _e('Show Text'); ?>');
}
}
<?php if ( 'blank' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) ) { ?>
Event.observe( window, 'load', hide_text );
<?php } ?>
</script>
<?php
}
/**
* Display Javascript based on Step 2.
*
* @since unknown
*/
function js_2() { ?>
<script type="text/javascript">
function onEndCrop( coords, dimensions ) {
$( 'x1' ).value = coords.x1;
$( 'y1' ).value = coords.y1;
$( 'x2' ).value = coords.x2;
$( 'y2' ).value = coords.y2;
$( 'width' ).value = dimensions.width;
$( 'height' ).value = dimensions.height;
jQuery( '#x1' ).val(coords.x1);
jQuery( '#y1' ).val(coords.y1);
jQuery( '#x2' ).val(coords.x2);
jQuery( '#y2' ).val(coords.y2);
jQuery( '#width' ).val(dimensions.width);
jQuery( '#height' ).val(dimensions.height);
}
// with a supplied ratio
Event.observe(
window,
'load',
function() {
var xinit = <?php echo HEADER_IMAGE_WIDTH; ?>;
var yinit = <?php echo HEADER_IMAGE_HEIGHT; ?>;
var ratio = xinit / yinit;
var ximg = $('upload').width;
var yimg = $('upload').height;
if ( yimg < yinit || ximg < xinit ) {
if ( ximg / yimg > ratio ) {
yinit = yimg;
xinit = yinit * ratio;
} else {
xinit = ximg;
yinit = xinit / ratio;
}
jQuery(document).ready(function() {
var xinit = <?php echo HEADER_IMAGE_WIDTH; ?>;
var yinit = <?php echo HEADER_IMAGE_HEIGHT; ?>;
var ratio = xinit / yinit;
var ximg = jQuery('#upload').width();
var yimg = jQuery('#upload').height();
if ( yimg < yinit || ximg < xinit ) {
if ( ximg / yimg > ratio ) {
yinit = yimg;
xinit = yinit * ratio;
} else {
xinit = ximg;
yinit = xinit / ratio;
}
new Cropper.Img(
'upload',
{
ratioDim: { x: xinit, y: yinit },
displayOnInit: true,
onEndCrop: onEndCrop
}
)
}
);
new Cropper.Img(
'upload',
{
ratioDim: { x: xinit, y: yinit },
displayOnInit: true,
onEndCrop: onEndCrop
}
)
});
</script>
<?php
}
/**
* Display first step of custom header image page.
*
* @since unknown
*/
function step_1() {
if ( $_GET['updated'] ) { ?>
<div id="message" class="updated fade">
@@ -181,6 +266,7 @@ Event.observe( window, 'load', hide_text );
<?php } ?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php _e('Your Header Image'); ?></h2>
<p><?php _e('This is your header image. You can change the text color or upload and crop a new image.'); ?></p>
@@ -191,12 +277,12 @@ Event.observe( window, 'load', hide_text );
<?php if ( !defined( 'NO_HEADER_TEXT' ) ) { ?>
<form method="post" action="<?php echo admin_url('themes.php?page=custom-header&amp;updated=true') ?>">
<input type="button" value="<?php _e('Hide Text'); ?>" onclick="hide_text()" id="hidetext" />
<input type="button" value="<?php _e('Select a Text Color'); ?>" onclick="colorSelect($('textcolor'), 'pickcolor')" id="pickcolor" /><input type="button" value="<?php _e('Use Original Color'); ?>" onclick="colorDefault()" id="defaultcolor" />
<input type="button" value="<?php _e('Select a Text Color'); ?>" id="pickcolor" /><input type="button" value="<?php _e('Use Original Color'); ?>" onclick="colorDefault()" id="defaultcolor" />
<?php wp_nonce_field('custom-header') ?>
<input type="hidden" name="textcolor" id="textcolor" value="#<?php attribute_escape(header_textcolor()) ?>" /><input name="submit" type="submit" value="<?php _e('Save Changes'); ?>" /></form>
<?php } ?>
<div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
<div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;display:none;"> </div>
</div>
<div class="wrap">
<h2><?php _e('Upload New Header Image'); ?></h2><p><?php _e('Here you can upload a custom header image to be shown at the top of your blog instead of the default one. On the next screen you will be able to crop the image.'); ?></p>
@@ -226,6 +312,11 @@ Event.observe( window, 'load', hide_text );
}
/**
* Display second step of custom header image page.
*
* @since unknown
*/
function step_2() {
check_admin_referer('custom-header');
$overrides = array('test_form' => false);
@@ -298,6 +389,11 @@ Event.observe( window, 'load', hide_text );
<?php
}
/**
* Display third step of custom header image page.
*
* @since unknown
*/
function step_3() {
check_admin_referer('custom-header');
if ( $_POST['oitar'] > 1 ) {
@@ -339,6 +435,11 @@ Event.observe( window, 'load', hide_text );
return $this->finished();
}
/**
* Display last step of custom header image page.
*
* @since unknown
*/
function finished() {
?>
<div class="wrap">
@@ -350,6 +451,11 @@ Event.observe( window, 'load', hide_text );
<?php
}
/**
* Display the page based on the current step.
*
* @since unknown
*/
function admin_page() {
$step = $this->step();
if ( 1 == $step )

View File

@@ -1,69 +1,127 @@
<?php if ( ! defined('ABSPATH') ) die(); ?>
<table class="widefat">
<?php
/**
* Edit attachments table for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! defined('ABSPATH') ) die();
if ( have_posts() ) { ?>
<table class="widefat fixed" cellspacing="0">
<thead>
<tr>
<?php $posts_columns = wp_manage_media_columns(); ?>
<?php foreach($posts_columns as $post_column_key => $column_display_name) {
if ( 'cb' === $post_column_key )
$class = ' class="check-column"';
elseif ( 'comments' === $post_column_key )
$class = ' class="num"';
else
$class = '';
?>
<th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th>
<?php } ?>
<?php print_column_headers('upload'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('upload', false); ?>
</tr>
</tfoot>
<tbody id="the-list" class="list:post">
<?php
if ( have_posts() ) {
$bgcolor = '';
add_filter('the_title','wp_specialchars');
$alt = '';
$posts_columns = get_column_headers('upload');
$hidden = get_hidden_columns('upload');
while (have_posts()) : the_post();
$class = 'alternate' == $class ? '' : 'alternate';
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
global $current_user;
$post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' );
$att_title = get_the_title();
if ( empty($att_title) )
$att_title = __('(no title)');
$att_title = _draft_or_post_title();
?>
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $class . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
<?php
foreach ($posts_columns as $column_name => $column_display_name ) {
$class = "class=\"$column_name column-$column_name\"";
foreach($posts_columns as $column_name=>$column_display_name) {
$style = '';
if ( in_array($column_name, $hidden) )
$style = ' style="display:none;"';
$attributes = "$class$style";
switch($column_name) {
case 'cb':
?>
<th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th>
<th scope="row" class="check-column"><input type="checkbox" name="media[]" value="<?php the_ID(); ?>" /></th>
<?php
break;
case 'icon':
$attributes = 'class="column-icon media-icon"' . $style;
?>
<td class="media-icon"><?php echo wp_get_attachment_link($post->ID, array(80, 60), false, true); ?></td>
<td <?php echo $attributes ?>><?php
if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) {
?>
<a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>">
<?php echo $thumb; ?>
</a>
<?php }
?></td>
<?php
// TODO
break;
case 'media':
?>
<td><strong><a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
<td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
<?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?>
<?php do_action('manage_media_media_column', $post->ID); ?>
</td>
<p>
<?php
$actions = array();
if ( current_user_can('edit_post', $post->ID) )
$actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>';
if ( current_user_can('delete_post', $post->ID) )
$actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
$actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';
$action_count = count($actions);
$i = 0;
echo '<div class="row-actions">';
foreach ( $actions as $action => $link ) {
++$i;
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
echo "<span class='$action'>$link$sep</span>";
}
echo '</div>';
?></p></td>
<?php
break;
case 'author':
?>
<td <?php echo $attributes ?>><?php the_author() ?></td>
<?php
break;
case 'tags':
?>
<td <?php echo $attributes ?>><?php
$tags = get_the_tags();
if ( !empty( $tags ) ) {
$out = array();
foreach ( $tags as $c )
$out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . "</a>";
echo join( ', ', $out );
} else {
_e('No Tags');
}
?></td>
<?php
break;
case 'desc':
?>
<td><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
<td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
<?php
break;
@@ -73,7 +131,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
} else {
$t_time = get_the_time(__('Y/m/d g:i:s A'));
$m_time = $post->post_date;
$time = get_post_time( 'G', true );
$time = get_post_time( 'G', true, $post );
if ( ( abs($t_diff = time() - $time) ) < 86400 ) {
if ( $t_diff < 0 )
$h_time = sprintf( __('%s from now'), human_time_diff( $time ) );
@@ -84,38 +142,36 @@ foreach($posts_columns as $column_name=>$column_display_name) {
}
}
?>
<td><?php echo $h_time ?></td>
<td <?php echo $attributes ?>><?php echo $h_time ?></td>
<?php
break;
case 'parent':
$title = __('(no title)'); // override below
if ( $post->post_parent > 0 ) {
if ( get_post($post->post_parent) ) {
$parent_title = get_the_title($post->post_parent);
if ( !empty($parent_title) )
$title = $parent_title;
$title =_draft_or_post_title($post->post_parent);
}
?>
<td><strong><a href="post.php?action=edit&amp;post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td>
<td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"><?php echo $title ?></a></strong>, <?php echo get_the_time(__('Y/m/d')); ?></td>
<?php
} else {
?>
<td>&nbsp;</td>
<td <?php echo $attributes ?>>&nbsp;</td>
<?php
}
break;
case 'comments':
$attributes = 'class="comments column-comments num"' . $style;
?>
<td class="num"><div class="post-com-count-wrapper">
<td <?php echo $attributes ?>><div class="post-com-count-wrapper">
<?php
$left = get_pending_comments_num( $post->ID );
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
if ( $left )
echo '<strong>';
comments_number("<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>');
comments_number("<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>');
if ( $left )
echo '</strong>';
?>
@@ -123,30 +179,32 @@ foreach($posts_columns as $column_name=>$column_display_name) {
<?php
break;
case 'location':
case 'actions':
?>
<td><a href="<?php the_permalink(); ?>"><?php _e('Permalink'); ?></a></td>
<td <?php echo $attributes ?>>
<a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php _e('Edit'); ?></a> |
<a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a>
</td>
<?php
break;
default:
?>
<td><?php do_action('manage_media_custom_column', $column_name, $id); ?></td>
<td <?php echo $attributes ?>><?php do_action('manage_media_custom_column', $column_name, $id); ?></td>
<?php
break;
}
}
?>
</tr>
<?php
endwhile;
} else {
?>
<tr style='background-color: <?php echo $bgcolor; ?>'>
<td colspan="8"><?php _e('No posts found.') ?></td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
<?php } else { ?>
<p><?php _e('No posts found.') ?></p>
<?php
} // end if ( have_posts() )
?>
</tbody>
</table>

View File

@@ -1,28 +1,51 @@
<?php
if ( ! empty($cat_ID) ) {
$heading = __('Edit Category');
$submit_text = __('Edit Category');
$form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">';
$action = 'editedcat';
$nonce_action = 'update-category_' . $cat_ID;
do_action('edit_category_form_pre', $category);
} else {
$heading = __('Add Category');
$submit_text = __('Add Category');
$form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">';
$action = 'addcat';
$nonce_action = 'add-category';
do_action('add_category_form_pre', $category);
/**
* Edit category form for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
/**
* @var object
*/
if ( ! isset( $category ) )
$category = (object) array();
/**
* @ignore
* @since 2.7
* @internal Used to prevent errors in page when no category is being edited.
*
* @param object $category
*/
function _fill_empty_category(&$category) {
if ( ! isset( $category->name ) )
$category->name = '';
if ( ! isset( $category->slug ) )
$category->slug = '';
if ( ! isset( $category->parent ) )
$category->parent = '';
if ( ! isset( $category->description ) )
$category->description = '';
}
do_action('edit_category_form_pre', $category);
_fill_empty_category($category);
?>
<div class="wrap">
<h2><?php echo $heading ?></h2>
<?php screen_icon(); ?>
<h2><?php _e('Edit Category'); ?></h2>
<div id="ajax-response"></div>
<?php echo $form ?>
<input type="hidden" name="action" value="<?php echo $action ?>" />
<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">
<input type="hidden" name="action" value="editedcat" />
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-category_' . $cat_ID); ?>
<table class="form-table">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
@@ -47,7 +70,7 @@ if ( ! empty($cat_ID) ) {
<?php _e('The description is not prominent by default, however some themes may show it.'); ?></td>
</tr>
</table>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php _e('Update Category'); ?>" /></p>
<?php do_action('edit_category_form', $category); ?>
</form>
</div>

View File

@@ -1,35 +1,64 @@
<?php
/**
* Edit Comments Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('Edit Comments');
$parent_file = 'edit-comments.php';
wp_enqueue_script( 'admin-comments' );
wp_enqueue_script('admin-forms');
wp_enqueue_script('admin-comments');
enqueue_comment_hotkeys_js();
if ( !empty( $_REQUEST['delete_comments'] ) ) {
$post_id = isset($_REQUEST['p']) ? (int) $_REQUEST['p'] : 0;
if ( ( isset( $_REQUEST['delete_all_spam'] ) || isset( $_REQUEST['delete_all_spam2'] ) ) && !empty( $_REQUEST['pagegen_timestamp'] ) ) {
check_admin_referer('bulk-spam-delete', '_spam_nonce');
$delete_time = $wpdb->escape( $_REQUEST['pagegen_timestamp'] );
$deleted_spam = $wpdb->query( "DELETE FROM $wpdb->comments WHERE comment_approved = 'spam' AND '$delete_time' > comment_date_gmt" );
$redirect_to = 'edit-comments.php?comment_status=spam&deleted=' . (int) $deleted_spam;
if ( $post_id )
$redirect_to = add_query_arg( 'p', absint( $post_id ), $redirect_to );
wp_redirect( $redirect_to );
} elseif ( isset($_REQUEST['delete_comments']) && isset($_REQUEST['action']) && ( -1 != $_REQUEST['action'] || -1 != $_REQUEST['action2'] ) ) {
check_admin_referer('bulk-comments');
$doaction = ( -1 != $_REQUEST['action'] ) ? $_REQUEST['action'] : $_REQUEST['action2'];
$comments_deleted = $comments_approved = $comments_unapproved = $comments_spammed = 0;
foreach ($_REQUEST['delete_comments'] as $comment) : // Check the permissions on each
$comment = (int) $comment;
$post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = %d", $comment) );
if ( !current_user_can('edit_post', $post_id) )
$deleted = $approved = $unapproved = $spammed = 0;
foreach ( (array) $_REQUEST['delete_comments'] as $comment_id) : // Check the permissions on each
$comment_id = (int) $comment_id;
$_post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = %d", $comment_id) );
if ( !current_user_can('edit_post', $_post_id) )
continue;
if ( !empty( $_REQUEST['spamit'] ) ) {
wp_set_comment_status($comment, 'spam');
$comments_spammed++;
} elseif ( !empty( $_REQUEST['deleteit'] ) ) {
wp_set_comment_status($comment, 'delete');
$comments_deleted++;
} elseif ( !empty( $_REQUEST['approveit'] ) ) {
wp_set_comment_status($comment, 'approve');
$comments_approved++;
} elseif ( !empty( $_REQUEST['unapproveit'] ) ) {
wp_set_comment_status($comment, 'hold');
$comments_unapproved++;
switch( $doaction ) {
case 'markspam' :
wp_set_comment_status($comment_id, 'spam');
$spammed++;
break;
case 'delete' :
wp_set_comment_status($comment_id, 'delete');
$deleted++;
break;
case 'approve' :
wp_set_comment_status($comment_id, 'approve');
$approved++;
break;
case 'unapprove' :
wp_set_comment_status($comment_id, 'hold');
$unapproved++;
break;
}
endforeach;
$redirect_to = basename( __FILE__ ) . '?deleted=' . $comments_deleted . '&approved=' . $comments_approved . '&spam=' . $comments_spammed . '&unapproved=' . $comments_unapproved;
$redirect_to = 'edit-comments.php?deleted=' . $deleted . '&approved=' . $approved . '&spam=' . $spammed . '&unapproved=' . $unapproved;
if ( $post_id )
$redirect_to = add_query_arg( 'p', absint( $post_id ), $redirect_to );
if ( isset($_REQUEST['apage']) )
$redirect_to = add_query_arg( 'apage', absint($_REQUEST['apage']), $redirect_to );
if ( !empty($_REQUEST['mode']) )
@@ -39,29 +68,34 @@ if ( !empty( $_REQUEST['delete_comments'] ) ) {
if ( !empty($_REQUEST['s']) )
$redirect_to = add_query_arg('s', $_REQUEST['s'], $redirect_to);
wp_redirect( $redirect_to );
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
} elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
if ( $post_id )
$title = sprintf(__('Edit Comments on &#8220;%s&#8221;'), wp_html_excerpt(_draft_or_post_title($post_id), 50));
else
$title = __('Edit Comments');
require_once('admin-header.php');
if ( empty($_GET['mode']) )
$mode = 'detail';
else
$mode = attribute_escape($_GET['mode']);
$mode = ( ! isset($_GET['mode']) || empty($_GET['mode']) ) ? 'detail' : attribute_escape($_GET['mode']);
if ( isset($_GET['comment_status']) )
$comment_status = attribute_escape($_GET['comment_status']);
else
$comment_status = '';
$comment_status = !empty($_GET['comment_status']) ? attribute_escape($_GET['comment_status']) : '';
$comment_type = !empty($_GET['comment_type']) ? attribute_escape($_GET['comment_type']) : '';
$search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : '';
$search = attribute_escape( $search_dirty ); ?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( wp_specialchars( stripslashes( $_GET['s'] ) ), 50 ) ) . '</span>' ); ?>
</h2>
if ( isset($_GET['s']) )
$search_dirty = $_GET['s'];
else
$search_dirty = '';
$search = attribute_escape( $search_dirty );
?>
<?php
if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
$approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0;
@@ -90,50 +124,61 @@ if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['sp
}
}
?>
<div class="wrap">
<form id="posts-filter" action="" method="get">
<h2><?php _e('Manage Comments'); ?></h2>
<form id="comments-form" action="" method="get">
<ul class="subsubsub">
<?php
$status_links = array();
$num_comments = wp_count_comments();
$stati = array('moderated' => sprintf(__ngettext('Awaiting Moderation (%s)', 'Awaiting Moderation (%s)', number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 'approved' => _c('Approved|plural'));
$num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments();
//, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"),
//, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>")
$stati = array(
'all' => __ngettext_noop('All', 'All'), // singular not used
'moderated' => __ngettext_noop('Pending (<span class="pending-count">%s</span>)', 'Pending (<span class="pending-count">%s</span>)'),
'approved' => __ngettext_noop('Approved', 'Approved'), // singular not used
'spam' => __ngettext_noop('Spam (<span class="spam-count">%s</span>)', 'Spam (<span class="spam-count">%s</span>)')
);
$class = ( '' === $comment_status ) ? ' class="current"' : '';
$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('Show All Comments')."</a>";
// $status_links[] = "<li><a href='edit-comments.php'$class>" . __( 'All' ) . '</a>';
$link = 'edit-comments.php';
if ( !empty($comment_type) && 'all' != $comment_type )
$link = add_query_arg( 'comment_type', $comment_type, $link );
foreach ( $stati as $status => $label ) {
$class = '';
if ( $status == $comment_status )
if ( str_replace( 'all', '', $status ) == $comment_status )
$class = ' class="current"';
$status_links[] = "<li><a href=\"edit-comments.php?comment_status=$status\"$class>" . $label . '</a>';
if ( !isset( $num_comments->$status ) )
$num_comments->$status = 10;
if ( 'all' != $status )
$link = add_query_arg( 'comment_status', $status, $link );
if ( $post_id )
$link = add_query_arg( 'p', absint( $post_id ), $link );
/*
// I toyed with this, but decided against it. Leaving it in here in case anyone thinks it is a good idea. ~ Mark
if ( !empty( $_GET['s'] ) )
$link = add_query_arg( 's', attribute_escape( stripslashes( $_GET['s'] ) ), $link );
*/
$status_links[] = "<li class='$status'><a href='$link'$class>" . sprintf(
__ngettext( $label[0], $label[1], $num_comments->$status ),
number_format_i18n( $num_comments->$status )
) . '</a>';
}
$status_links = apply_filters( 'comment_status_links', $status_links );
echo implode(' | </li>', $status_links) . '</li>';
echo implode( " |</li>\n", $status_links) . '</li>';
unset($status_links);
?>
</ul>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" />
<p class="search-box">
<label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
<input type="text" class="search-input" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
</p>
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />
</form>
<ul class="view-switch">
<li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>
<li <?php if ( 'list' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><?php _e('List View') ?></a></li>
</ul>
<?php
$comments_per_page = apply_filters('comments_per_page', 20, $comment_status);
if ( isset( $_GET['apage'] ) )
@@ -143,7 +188,17 @@ else
$start = $offset = ( $page - 1 ) * $comments_per_page;
list($_comments, $total) = _wp_get_comment_list( $comment_status, $search_dirty, $start, $comments_per_page + 5 ); // Grab a few extra
list($_comments, $total) = _wp_get_comment_list( $comment_status, $search_dirty, $start, $comments_per_page + 5, $post_id, $comment_type ); // Grab a few extra
$_comment_post_ids = array();
foreach ( $_comments as $_c ) {
$_comment_post_ids[] = $_c->comment_post_ID;
}
$_comment_pending_count_temp = (array) get_pending_comments_num($_comment_post_ids);
foreach ( (array) $_comment_post_ids as $_cpid )
$_comment_pending_count[$_cpid] = isset( $_comment_pending_count_temp[$_cpid] ) ? $_comment_pending_count_temp[$_cpid] : 0;
if ( empty($_comment_pending_count) )
$_comment_pending_count = array();
$comments = array_slice($_comments, 0, $comments_per_page);
$extra_comments = array_slice($_comments, $comments_per_page);
@@ -151,54 +206,98 @@ $extra_comments = array_slice($_comments, $comments_per_page);
$page_links = paginate_links( array(
'base' => add_query_arg( 'apage', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil($total / $comments_per_page),
'current' => $page
));
?>
<form id="comments-form" action="" method="post">
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<?php if ( $post_id ) : ?>
<input type="hidden" name="p" value="<?php echo intval( $post_id ); ?>" />
<?php endif; ?>
<input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />
<input type="hidden" name="pagegen_timestamp" value="<?php echo current_time('mysql', 1); ?>" />
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<?php if ( $page_links ) : ?>
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
number_format_i18n( $start + 1 ),
number_format_i18n( min( $page * $comments_per_page, $total ) ),
number_format_i18n( $total ),
$page_links
); echo $page_links_text; ?></div>
<?php endif; ?>
<div class="alignleft">
<?php if ( 'approved' != $comment_status ): ?>
<input type="submit" value="<?php _e('Approve'); ?>" name="approveit" class="button-secondary" />
<div class="alignleft actions">
<select name="action">
<option value="-1" selected="selected"><?php _e('Bulk Actions') ?></option>
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
<option value="unapprove"><?php _e('Unapprove'); ?></option>
<?php endif; ?>
<input type="submit" value="<?php _e('Mark as Spam'); ?>" name="spamit" class="button-secondary" />
<?php if ( 'moderated' != $comment_status ): ?>
<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
<?php if ( empty($comment_status) || 'moderated' == $comment_status || 'spam' == $comment_status ): ?>
<option value="approve"><?php _e('Approve'); ?></option>
<?php endif; ?>
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php do_action('manage_comments_nav', $comment_status); ?>
<?php if ( 'spam' != $comment_status ): ?>
<option value="markspam"><?php _e('Mark as Spam'); ?></option>
<?php endif; ?>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" name="doaction" id="doaction" value="<?php _e('Apply'); ?>" class="button-secondary apply" />
<?php wp_nonce_field('bulk-comments'); ?>
<?php if ( $comment_status ) echo "<input type='hidden' name='comment_status' value='$comment_status' />\n"; ?>
<select name="comment_type">
<option value="all"><?php _e('Show all comment types'); ?></option>
<?php
$comment_types = apply_filters( 'admin_comment_types_dropdown', array(
'comment' => __('Comments'),
'pings' => __('Pings'),
) );
foreach ( $comment_types as $type => $label ) {
echo " <option value='$type'";
selected( $comment_type, $type );
echo ">$label</option>\n";
}
?>
</select>
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
<?php if ( isset($_GET['apage']) ) { ?>
<input type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" />
<?php }
if ( 'spam' == $comment_status ) {
wp_nonce_field('bulk-spam-delete', '_spam_nonce'); ?>
<input type="submit" name="delete_all_spam" value="<?php _e('Delete All Spam'); ?>" class="button-secondary apply" />
<?php } ?>
<?php do_action('manage_comments_nav', $comment_status); ?>
</div>
<br class="clear" />
</div>
<br class="clear" />
<?php
if ($comments) {
?>
<table class="widefat">
<div class="clear"></div>
<?php if ( $comments ) { ?>
<table class="widefat comments fixed" cellspacing="0">
<thead>
<tr>
<th scope="col" class="check-column"><input type="checkbox" /></th>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Date') ?></th>
<th scope="col" class="action-links"><?php _e('Actions') ?></th>
</tr>
<tr>
<?php print_column_headers('edit-comments'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('edit-comments', false); ?>
</tr>
</tfoot>
<tbody id="the-comment-list" class="list:comment">
<?php
foreach ($comments as $comment)
@@ -213,6 +312,37 @@ if ($comments) {
</tbody>
</table>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links_text</div>";
?>
<div class="alignleft actions">
<select name="action2">
<option value="-1" selected="selected"><?php _e('Bulk Actions') ?></option>
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
<option value="unapprove"><?php _e('Unapprove'); ?></option>
<?php endif; ?>
<?php if ( empty($comment_status) || 'moderated' == $comment_status ): ?>
<option value="approve"><?php _e('Approve'); ?></option>
<?php endif; ?>
<?php if ( 'spam' != $comment_status ): ?>
<option value="markspam"><?php _e('Mark as Spam'); ?></option>
<?php endif; ?>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" name="doaction2" id="doaction2" value="<?php _e('Apply'); ?>" class="button-secondary apply" />
<?php if ( 'spam' == $comment_status ) { ?>
<input type="submit" name="delete_all_spam2" value="<?php _e('Delete All Spam'); ?>" class="button-secondary apply" />
<?php } ?>
<?php do_action('manage_comments_nav', $comment_status); ?>
</div>
<br class="clear" />
</div>
</form>
<form id="get-extra-comments" method="post" action="" class="add:the-extra-comment-list:" style="display: none;">
@@ -220,33 +350,39 @@ if ($comments) {
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />
<input type="hidden" name="page" value="<?php echo isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1; ?>" />
<input type="hidden" name="p" value="<?php echo attribute_escape( $post_id ); ?>" />
<input type="hidden" name="comment_type" value="<?php echo attribute_escape( $comment_type ); ?>" />
<?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?>
</form>
<div id="ajax-response"></div>
<?php
} elseif ( 'moderated' == $_GET['comment_status'] ) {
?>
<p>
<?php _e('No comments awaiting moderation&hellip; yet.') ?>
</p>
<?php
} else {
?>
<p>
<?php _e('No results found.') ?>
</p>
<?php
}
?>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
<?php } elseif ( 'moderated' == $_GET['comment_status'] ) { ?>
<p><?php _e('No comments awaiting moderation&hellip; yet.') ?></p>
</form>
<?php } else { ?>
<p><?php _e('No results found.') ?></p>
</form>
<?php } ?>
</div>
</div>
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected comments.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
/* ]]> */
</script>
<?php include('admin-footer.php'); ?>
<?php
wp_comment_reply('-1', true, 'detail');
include('admin-footer.php'); ?>

View File

@@ -1,12 +1,31 @@
<?php
/**
* Post advanced form for inclusion in the administration panels.
*
* @package WordPress
* @subpackage Administration
*/
/**
* Post ID global
* @name $post_ID
* @var int
*/
if ( ! isset( $post_ID ) )
$post_ID = 0;
else
$post_ID = (int) $post_ID;
$action = isset($action) ? $action : '';
if ( isset($_GET['message']) )
$_GET['message'] = absint( $_GET['message'] );
$messages[1] = sprintf( __( 'Post updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( $_GET['_wp_original_http_referer'] ) ) );
$messages[1] = sprintf( __( 'Post updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );
$messages[2] = __('Custom field updated.');
$messages[3] = __('Custom field deleted.');
$messages[4] = __('Post updated.');
$messages[6] = sprintf(__('Post published. <a href="%s">View post</a>'), get_permalink($post_ID));
$messages[7] = __('Post saved.');
$messages[8] = sprintf(__('Post submitted. <a href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
if ( isset($_GET['revision']) )
$messages[5] = sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) );
@@ -14,21 +33,20 @@ if ( isset($_GET['revision']) )
$notice = false;
$notices[1] = __( 'There is an autosave of this post that is more recent than the version below. <a href="%s">View the autosave</a>.' );
if ( !isset($post_ID) || 0 == $post_ID ) {
if ( 0 == $post_ID ) {
$form_action = 'post';
$temp_ID = -1 * time(); // don't change this formula without looking at wp_write_post()
$form_extra = "<input type='hidden' id='post_ID' name='temp_ID' value='$temp_ID' />";
$autosave = false;
} else {
$post_ID = (int) $post_ID;
$form_action = 'editpost';
$form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />";
$autosave = wp_get_post_autosave( $post_id );
$autosave = wp_get_post_autosave( $post_ID );
// Detect if there exists an autosave newer than the post and if that autosave is different than the post
if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt ) > mysql2date( 'U', $post->post_modified_gmt ) ) {
foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) {
if ( wp_text_diff( $autosave->$autosave_field, $post->$autosave_field ) ) {
if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) {
$notice = sprintf( $notices[1], get_edit_post_link( $autosave->ID ) );
break;
}
@@ -37,34 +55,476 @@ if ( !isset($post_ID) || 0 == $post_ID ) {
}
}
// All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action).
/**
* Display post submit form fields.
*
* @since 2.7.0
*
* @param object $post
*/
function post_submit_meta_box($post) {
global $action;
$can_publish = current_user_can('publish_posts');
?>
<div class="submitbox" id="submitpost">
<div id="minor-publishing">
<?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?>
<div style="display:none;">
<input type="submit" name="save" value="<?php echo attribute_escape( __('Save') ); ?>" />
</div>
<div id="minor-publishing-actions">
<div id="save-action">
<?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?>
<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" />
<?php } ?>
</div>
<div id="preview-action">
<?php $preview_link = 'publish' == $post->post_status ? clean_url(get_permalink($post->ID)) : clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>
<a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
<input type="hidden" name="wp-preview" id="wp-preview" value="" />
</div>
<div class="clear"></div>
</div><?php // /minor-publishing-actions ?>
<div id="misc-publishing-actions">
<div class="misc-pub-section<?php if ( !$can_publish ) { echo ' misc-pub-section-last'; } ?>"><label for="post_status"><?php _e('Status:') ?></label>
<b><span id="post-status-display">
<?php
switch ( $post->post_status ) {
case 'private':
_e('Privately Published');
break;
case 'publish':
_e('Published');
break;
case 'future':
_e('Scheduled');
break;
case 'pending':
_e('Pending Review');
break;
case 'draft':
_e('Draft');
break;
}
?>
</span></b>
<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
<div id="post-status-select" class="hide-if-js">
<input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo $post->post_status; ?>" />
<select name='post_status' id='post_status' tabindex='4'>
<?php if ( 'publish' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option>
<?php elseif ( 'private' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'private' ); ?> value='publish'><?php _e('Privately Published') ?></option>
<?php elseif ( 'future' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e('Scheduled') ?></option>
<?php endif; ?>
<option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e('Pending Review') ?></option>
<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option>
</select>
<a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
<a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
</div>
<?php } ?>
</div><?php // /misc-pub-section ?>
<div class="misc-pub-section " id="visibility">
<?php _e('Visibility:'); ?> <b><span id="post-visibility-display"><?php
if ( 'private' == $post->post_status ) {
$post->post_password = '';
$visibility = 'private';
$visibility_trans = __('Private');
} elseif ( !empty( $post->post_password ) ) {
$visibility = 'password';
$visibility_trans = __('Password protected');
} elseif ( is_sticky( $post->ID ) ) {
$visibility = 'public';
$visibility_trans = __('Public, Sticky');
} else {
$visibility = 'public';
$visibility_trans = __('Public');
}
?><?php echo wp_specialchars( $visibility_trans ); ?></span></b> <?php if ( $can_publish ) { ?> <a href="#visibility" class="edit-visibility hide-if-no-js"><?php _e('Edit'); ?></a>
<div id="post-visibility-select" class="hide-if-js">
<input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attribute_escape($post->post_password); ?>" />
<input type="checkbox" style="display:none" name="hidden_post_sticky" id="hidden-post-sticky" value="sticky" <?php checked(is_sticky($post->ID), true); ?> />
<input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo attribute_escape( $visibility ); ?>" />
<input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br />
<span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID), true); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e('Stick this post to the front page') ?></label><br /></span>
<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />
<span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo attribute_escape($post->post_password); ?>" /><br /></span>
<input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br />
<p>
<a href="#visibility" class="save-post-visibility hide-if-no-js button"><?php _e('OK'); ?></a>
<a href="#visibility" class="cancel-post-visibility hide-if-no-js"><?php _e('Cancel'); ?></a>
</p>
</div>
<?php } ?>
</div><?php // /misc-pub-section ?>
<?php
$datef = _c( 'M j, Y @ G:i|Publish box date format');
if ( 0 != $post->ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
$stamp = __('Scheduled for: <b>%1$s</b>');
} else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published
$stamp = __('Published on: <b>%1$s</b>');
} else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish <b>immediately</b>');
} else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
$stamp = __('Schedule for: <b>%1$s</b>');
} else { // draft, 1 or more saves, date specified
$stamp = __('Publish on: <b>%1$s</b>');
}
$date = date_i18n( $datef, strtotime( $post->post_date ) );
} else { // draft (no saves, and thus no date specified)
$stamp = __('Publish <b>immediately</b>');
$date = date_i18n( $datef, strtotime( current_time('mysql') ) );
}
?>
<?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
<div class="misc-pub-section curtime misc-pub-section-last">
<span id="timestamp">
<?php printf($stamp, $date); ?></span>
<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
<div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
</div><?php // /misc-pub-section ?>
<?php endif; ?>
</div>
<div class="clear"></div>
</div>
<div id="major-publishing-actions">
<?php do_action('post_submitbox_start'); ?>
<div id="delete-action">
<?php
if ( ( 'edit' == $action ) && current_user_can('delete_post', $post->ID) ) { ?>
<a class="submitdelete deletion" href="<?php echo wp_nonce_url("post.php?action=delete&amp;post=$post->ID", 'delete-post_' . $post->ID); ?>" onclick="if ( confirm('<?php echo js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )); ?>') ) {return true;}return false;"><?php _e('Delete'); ?></a>
<?php } ?>
</div>
<div id="publishing-action">
<?php
if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) { ?>
<?php if ( current_user_can('publish_posts') ) : ?>
<?php if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Schedule') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Schedule') ?>" />
<?php else : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Publish') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
<?php endif; ?>
<?php else : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Submit for Review') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
<?php endif; ?>
<?php } else { ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Update Post') ?>" />
<input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Update Post') ?>" />
<?php } ?>
</div>
<div class="clear"></div>
</div>
</div>
<?php
}
add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', 'post', 'side', 'core');
/**
* Display post tags form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_tags_meta_box($post) {
?>
<p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p>
<div id="tagchecklist"></div>
<p id="tagcloud-link" class="hide-if-no-js"><a href='#'><?php _e( 'Choose from the most popular tags' ); ?></a></p>
<?php
}
add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'side', 'core');
/**
* Display post categories form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_categories_meta_box($post) {
?>
<ul id="category-tabs">
<li class="ui-tabs-selected"><a href="#categories-all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li>
<li class="hide-if-no-js"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
</ul>
<div id="categories-pop" class="ui-tabs-panel" style="display: none;">
<ul id="categorychecklist-pop" class="categorychecklist form-no-clear" >
<?php $popular_ids = wp_popular_terms_checklist('category'); ?>
</ul>
</div>
<div id="categories-all" class="ui-tabs-panel">
<ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
<?php wp_category_checklist($post->ID, false, false, $popular_ids) ?>
</ul>
</div>
<?php if ( current_user_can('manage_categories') ) : ?>
<div id="category-adder" class="wp-hidden-children">
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
<p id="category-add" class="wp-hidden-child">
<label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
<label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
<span id="category-ajax-response"></span>
</p>
</div>
<?php
endif;
}
add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'side', 'core');
/**
* Display post password form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_password_meta_box($post) {
?>
<p>
<label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label>
</p>
<h4><?php _e( 'Post Password' ); ?></h4>
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
<?php
}
// add_meta_box('passworddiv', __('Privacy Options'), 'post_password_meta_box', 'post', 'side', 'core');
/**
* Display post excerpt form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_excerpt_meta_box($post) {
?>
<label class="hidden" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
<?php
}
add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', 'post', 'normal', 'core');
/**
* Display trackback links form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_trackback_meta_box($post) {
$form_trackback = '<input type="text" name="trackback_url" id="trackback_url" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />';
if ('' != $post->pinged) {
$pings = '<p>'. __('Already pinged:') . '</p><ul>';
$already_pinged = explode("\n", trim($post->pinged));
foreach ($already_pinged as $pinged_url) {
$pings .= "\n\t<li>" . wp_specialchars($pinged_url) . "</li>";
}
$pings .= '</ul>';
}
?>
<p><label for="trackback_url"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
<p><?php _e('Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress blogs they&#8217;ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>
<?php
if ( ! empty($pings) )
echo $pings;
}
add_meta_box('trackbacksdiv', __('Send Trackbacks'), 'post_trackback_meta_box', 'post', 'normal', 'core');
/**
* Display custom fields for the post form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_custom_meta_box($post) {
?>
<div id="postcustomstuff">
<div id="ajax-response"></div>
<?php
$metadata = has_meta($post->ID);
list_meta($metadata);
meta_form();
?>
</div>
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
<?php
}
add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', 'post', 'normal', 'core');
do_action('dbx_post_advanced');
/**
* Display comment status for post form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_comment_status_meta_box($post) {
global $wpdb, $post_ID;
?>
<input name="advanced_view" type="hidden" value="1" />
<p class="meta-options">
<label for="comment_status" class="selectit"> <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e('Allow comments on this post') ?></label><br />
<label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a> on this post') ?></label>
</p>
<?php
$total = $wpdb->get_var($wpdb->prepare("SELECT count(1) FROM $wpdb->comments WHERE comment_post_ID = '%d' AND ( comment_approved = '0' OR comment_approved = '1')", $post_ID));
if ( !$post_ID || $post_ID < 0 || 1 > $total )
return;
wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
?>
<table class="widefat comments-box fixed" cellspacing="0" style="display:none;">
<thead>
<tr>
<th scope="col" class="column-author"><?php _e('Author') ?></th>
<th scope="col" class="column-comment"><?php echo _c('Comment|noun') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
</tbody>
</table>
<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /></p>
<?php
$hidden = get_hidden_meta_boxes('post');
if ( ! in_array('commentstatusdiv', $hidden) ) { ?>
<script type="text/javascript">commentsBox.get(<?php echo $total; ?>, 10);</script>
<?php
}
}
add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', 'post', 'normal', 'core');
/**
* Display post slug form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function post_slug_meta_box($post) {
?>
<label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
<?php
}
if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) )
add_meta_box('slugdiv', __('Post Slug'), 'post_slug_meta_box', 'post', 'normal', 'core');
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
if ( $authors && count( $authors ) > 1 ) :
/**
* Display form field with list of authors.
*
* @since 2.6.0
*
* @param object $post
*/
function post_author_meta_box($post) {
global $current_user, $user_ID;
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
?>
<label class="hidden" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
<?php
}
add_meta_box('authordiv', __('Post Author'), 'post_author_meta_box', 'post', 'normal', 'core');
endif;
if ( 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) :
/**
* Display list of post revisions.
*
* @since 2.6.0
*
* @param object $post
*/
function post_revisions_meta_box($post) {
wp_list_post_revisions();
}
add_meta_box('revisionsdiv', __('Post Revisions'), 'post_revisions_meta_box', 'post', 'normal', 'core');
endif;
do_action('do_meta_boxes', 'post', 'normal', $post);
do_action('do_meta_boxes', 'post', 'advanced', $post);
do_action('do_meta_boxes', 'post', 'side', $post);
require_once('admin-header.php');
?>
<?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
<input type="hidden" name="mode" value="bookmarklet" />
<?php endif; ?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?php if ( $notice ) : ?>
<div id="notice" class="error"><p><?php echo $notice ?></p></div>
<?php endif; ?>
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<form name="post" action="post.php" method="post" id="post">
<?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
<input type="hidden" name="mode" value="bookmarklet" />
<?php endif; ?>
<div class="wrap">
<h2><?php _e('Write Post') ?></h2>
<?php
if ( !isset($post_ID) || 0 == $post_ID)
if ( 0 == $post_ID)
wp_nonce_field('add-post');
else
wp_nonce_field('update-post_' . $post_ID);
$form_pingback = '<input type="hidden" name="post_pingback" value="' . (int) get_option('default_pingback_flag') . '" id="post_pingback" />';
$form_prevstatus = '<input type="hidden" name="prev_status" value="' . attribute_escape( $post->post_status ) . '" />';
$saveasdraft = '<input name="save" type="submit" id="save" class="button" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />';
?>
<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
@@ -78,309 +538,85 @@ $saveasdraft = '<input name="save" type="submit" id="save" class="button" tabind
<?php echo $form_extra ?>
<div id="poststuff">
<div id="poststuff" class="metabox-holder">
<div class="submitbox" id="submitpost">
<div id="previewview">
<?php if ( 'publish' == $post->post_status ) { ?>
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View this Post'); ?></a>
<?php } elseif ( 'edit' == $action ) { ?>
<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Post'); ?></a>
<?php } ?>
</div>
<div class="inside">
<p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p>
<p>
<select name='post_status' id='post_status' tabindex='4'>
<?php
// only show the publish menu item if they are allowed to publish posts or they are allowed to edit this post (accounts for 'edit_published_posts' capability)
if ( current_user_can('publish_posts') OR ( $post->post_status == 'publish' AND current_user_can('edit_post', $post->ID) ) ) :
?>
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
<?php if ( 'future' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e('Scheduled') ?></option>
<?php endif; ?>
<?php endif; ?>
<option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e('Pending Review') ?></option>
<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Unpublished') ?></option>
</select>
</p>
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
<p id="private-checkbox"><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p>
<?php endif; ?>
<?php
if ($post_ID) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
$stamp = __('Scheduled for:<br />%1$s at %2$s');
} else if ( 'publish' == $post->post_status ) { // already published
$stamp = __('Published on:<br />%1$s at %2$s');
} else if ( '0000-00-00 00:00:00' == $post->post_date ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish immediately');
} else { // draft, 1 or more saves, date specified
$stamp = __('Publish on:<br />%1$s at %2$s');
}
$date = mysql2date(get_option('date_format'), $post->post_date);
$time = mysql2date(get_option('time_format'), $post->post_date);
} else { // draft (no saves, and thus no date specified)
$stamp = __('Publish immediately');
$date = mysql2date(get_option('date_format'), current_time('mysql'));
$time = mysql2date(get_option('time_format'), current_time('mysql'));
}
?>
<?php if ( current_user_can( 'publish_posts' ) ) : // Contributors don't get to choose the date of publish ?>
<p class="curtime"><?php printf($stamp, $date, $time); ?>
&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a></p>
<div id='timestampdiv' class='hide-if-js'><?php touch_time(($action == 'edit'),1,4); ?></div>
<?php endif; ?>
</div>
<p class="submit">
<input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" />
<?php
if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
?>
<?php if ( current_user_can('publish_posts') ) : ?>
<input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
<?php else : ?>
<input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
<?php endif; ?>
<?php
}
if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
echo "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;post') . "</a>";
?>
<br class="clear" />
<?php if ($post_ID): ?>
<?php if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) {
$last_user = get_userdata($last_id);
printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
} else {
printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
}
?>
<br class="clear" />
<?php endif; ?>
<span id="autosave"></span>
<span id="wp-word-count"></span>
</p>
<div class="side-info">
<h5><?php _e('Related') ?></h5>
<ul>
<?php if ($post_ID): ?>
<li><a href="edit.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Post') ?></a></li>
<?php endif; ?>
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
<li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
<li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
<li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
<li><a href="edit.php?post_status=draft"><?php _e('View Drafts'); ?></a></li>
<?php do_action('post_relatedlinks_list'); ?>
</ul>
<h5><?php _e('Shortcuts') ?></h5>
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?> <a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
</div>
<div id="side-info-column" class="inner-sidebar">
<?php do_action('submitpost_box'); ?>
<?php $side_meta_boxes = do_meta_boxes('post', 'side', $post); ?>
</div>
<div id="post-body">
<div id="post-body" class="<?php echo $side_meta_boxes ? 'has-sidebar' : ''; ?>">
<div id="post-body-content" class="has-sidebar-content">
<div id="titlediv">
<h3><label for="title"><?php _e('Title') ?></label></h3>
<div id="titlewrap">
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">
<?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>
<?php if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) ) { ?>
<div id="edit-slug-box">
<?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) :
echo $sample_permalink_html;
endif; ?>
</div>
<?php } ?>
</div>
</div>
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
<h3><label for="content"><?php _e('Post') ?></label></h3>
<?php the_editor($post->post_content); ?>
<div id="post-status-info">
<span id="wp-word-count" class="alignleft"></span>
<span class="alignright">
<span id="autosave">&nbsp;</span>
<?php
if ( $post_ID ) {
echo '<span id="last-edit">';
if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) {
$last_user = get_userdata($last_id);
printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
} else {
printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
}
echo '</span>';
}
?>
</span>
<br class="clear" />
</div>
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?>
<?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
</div>
<?php echo $form_pingback ?>
<?php echo $form_prevstatus ?>
<?php
function post_tags_meta_box($post) {
?>
<p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p>
<div id="tagchecklist"></div>
<?php
}
add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'normal', 'core');
function post_categories_meta_box($post) {
?>
<div id="category-adder" class="wp-hidden-children">
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
<p id="category-add" class="wp-hidden-child">
<label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" aria-required="true"/>
<label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
<span id="category-ajax-response"></span>
</p>
</div>
do_meta_boxes('post', 'normal', $post);
<ul id="category-tabs">
<li class="ui-tabs-selected"><a href="#categories-all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li>
<li class="wp-no-js-hidden"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
</ul>
<div id="categories-pop" class="ui-tabs-panel" style="display: none;">
<ul id="categorychecklist-pop" class="categorychecklist form-no-clear" >
<?php $popular_ids = wp_popular_terms_checklist('category'); ?>
</ul>
</div>
<div id="categories-all" class="ui-tabs-panel">
<ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
<?php wp_category_checklist($post->ID, false, false, $popular_ids) ?>
</ul>
</div>
<?php
}
add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'normal', 'core');
?>
<?php do_meta_boxes('post', 'normal', $post); ?>
<?php do_action('edit_form_advanced'); ?>
<h2><?php _e('Advanced Options'); ?></h2>
<?php
function post_excerpt_meta_box($post) {
?>
<label class="hidden" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
<?php
}
add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', 'post', 'advanced', 'core');
function post_trackback_meta_box($post) {
$form_trackback = '<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />';
if ('' != $post->pinged) {
$pings = '<p>'. __('Already pinged:') . '</p><ul>';
$already_pinged = explode("\n", trim($post->pinged));
foreach ($already_pinged as $pinged_url) {
$pings .= "\n\t<li>" . wp_specialchars($pinged_url) . "</li>";
}
$pings .= '</ul>';
}
?>
<p><label for="trackback"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
<p><?php _e('Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress blogs they&#8217;ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>
<?php
if ( ! empty($pings) )
echo $pings;
}
add_meta_box('trackbacksdiv', __('Trackbacks'), 'post_trackback_meta_box', 'post', 'advanced', 'core');
function post_custom_meta_box($post) {
?>
<div id="postcustomstuff">
<table cellpadding="3">
<?php
$metadata = has_meta($post->ID);
list_meta($metadata);
?>
</table>
<?php
meta_form();
?>
<div id="ajax-response"></div>
</div>
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
<?php
}
add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', 'post', 'advanced', 'core');
do_action('dbx_post_advanced');
function post_comment_status_meta_box($post) {
?>
<input name="advanced_view" type="hidden" value="1" />
<p><label for="comment_status" class="selectit">
<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
<?php _e('Allow Comments') ?></label></p>
<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
<p><?php _e('These settings apply to this post only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
<?php
}
add_meta_box('commentstatusdiv', __('Comments &amp; Pings'), 'post_comment_status_meta_box', 'post', 'advanced', 'core');
function post_password_meta_box($post) {
?>
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
<?php
}
add_meta_box('passworddiv', __('Password Protect This Post'), 'post_password_meta_box', 'post', 'advanced', 'core');
function post_slug_meta_box($post) {
?>
<label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
<?php
}
add_meta_box('slugdiv', __('Post Slug'), 'post_slug_meta_box', 'post', 'advanced', 'core');
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
if ( $authors && count( $authors ) > 1 ) :
function post_author_meta_box($post) {
global $current_user, $user_ID;
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
?>
<label class="hidden" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
<?php
}
add_meta_box('authordiv', __('Post Author'), 'post_author_meta_box', 'post', 'advanced', 'core');
endif;
if ( isset($post_ID) && 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) :
function post_revisions_meta_box($post) {
wp_list_post_revisions();
}
add_meta_box('revisionsdiv', __('Post Revisions'), 'post_revisions_meta_box', 'post', 'advanced', 'core');
endif;
do_action('edit_form_advanced');
do_meta_boxes('post', 'advanced', $post);
do_action('dbx_post_sidebar');
?>
</div>
</div>
</div>
</div>
<br class="clear" />
</div><!-- /poststuff -->
</form>
</div>
<?php wp_comment_reply(); ?>
<?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?>
<script type="text/javascript">

View File

@@ -1,4 +1,14 @@
<?php
/**
* Edit comment form for inclusion in another file.
*
* @package WordPress
* @subpackage Administration
*/
/**
* @var string
*/
$submitbutton_text = __('Edit Comment');
$toprow_title = sprintf(__('Editing Comment # %s'), $comment->comment_ID);
$form_action = 'editedcomment';
@@ -8,84 +18,110 @@ $form_extra = "' />\n<input type='hidden' name='comment_ID' value='" . $comment-
<form name="post" action="comment.php" method="post" id="post">
<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
<div class="wrap">
<h2><?php echo $toprow_title; ?></h2>
<?php screen_icon(); ?>
<h2><?php _e('Edit Comment'); ?></h2>
<div id="poststuff" class="metabox-holder">
<input type="hidden" name="user_ID" value="<?php echo (int) $user_ID ?>" />
<input type="hidden" name="action" value='<?php echo $form_action . $form_extra ?>' />
<?php
<div id="poststuff">
$email = attribute_escape( $comment->comment_author_email );
$url = attribute_escape( $comment->comment_author_url );
// add_meta_box('submitdiv', __('Save'), 'comment_submit_meta_box', 'comment', 'side', 'core');
?>
<div id="side-info-column" class="inner-sidebar">
<div id="submitdiv" class="stuffbox" >
<h3><span class='hndle'><?php _e('Status') ?></span></h3>
<div class="inside">
<div class="submitbox" id="submitcomment">
<div id="minor-publishing">
<div id="previewview">
<a href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View this Comment'); ?></a>
<div id="minor-publishing-actions">
<div id="preview-action">
<a class="preview button" href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View Comment'); ?></a>
</div>
<div class="clear"></div>
</div>
<div class="inside">
<div id="misc-publishing-actions">
<p><strong><label for='comment_status'><?php _e('Approval Status') ?></label></strong></p>
<p>
<select name='comment_status' id='comment_status'>
<option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option>
<option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option>
<option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option>
</select>
</p>
<div class="misc-pub-section" id="comment-status-radio">
<label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php echo _c('Approved|adjective') ?></label><br />
<label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php echo _c('Pending|adjective') ?></label><br />
<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php echo _c('Spam|adjective'); ?></label>
</div>
<div class="misc-pub-section curtime misc-pub-section-last">
<?php
$stamp = __('%1$s at %2$s');
$date = mysql2date(get_option('date_format'), $comment->comment_date);
$time = mysql2date(get_option('time_format'), $comment->comment_date);
$datef = _c( 'M j, Y @ G:i|Publish box date format');
$stamp = __('Submitted on: <b>%1$s</b>');
$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
?>
<p class="curtime"><?php printf($stamp, $date, $time); ?>
&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a></p>
<span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
<div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>
</div>
</div> <!-- misc actions -->
<div class="clear"></div>
</div>
<p class="submit">
<input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" />
<?php
echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletecomment&amp;c=$comment->comment_ID&amp;_wp_original_http_referer=" . wp_get_referer(), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>";
?>
</p>
<div class="side-info">
<h5><?php _e('Related') ?></h5>
<ul>
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
<li><a href="edit-comments.php?comment_status=moderated"><?php _e('Moderate Comments') ?></a></li>
<?php do_action('comment_relatedlinks_list'); ?>
</ul>
<div id="major-publishing-actions">
<div id="delete-action">
<a class='submitdelete deletion' href='<?php echo wp_nonce_url("comment.php?action=deletecomment&amp;c=$comment->comment_ID&amp;_wp_original_http_referer=" . wp_get_referer(), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete'); ?></a>
</div>
<div id="publishing-action">
<input type="submit" name="save" value="<?php _e('Update Comment'); ?>" tabindex="4" class="button-primary" />
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<?php do_action('submitcomment_box'); ?>
</div>
<div id="post-body">
<div id="post-body" class="has-sidebar">
<div id="post-body-content" class="has-sidebar-content">
<div id="namediv" class="stuffbox">
<h3><label for="name"><?php _e('Name') ?></label></h3>
<h3><label for="name"><?php _e( 'Author' ) ?></label></h3>
<div class="inside">
<input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />
</div>
</div>
<div id="emaildiv" class="stuffbox">
<h3><label for="email"><?php _e('E-mail') ?></label></h3>
<div class="inside">
<input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />
</div>
</div>
<div id="uridiv" class="stuffbox">
<h3><label for="newcomment_author_url"><?php _e('URL') ?></label></h3>
<div class="inside">
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" />
<table class="form-table">
<tbody>
<tr valign="top">
<td class="first"><?php _e( 'Name:' ); ?></td>
<td><input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /></td>
</tr>
<tr valign="top">
<td class="first">
<?php
if ( $email ) {
printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) );
} else {
_e( 'E-mail:' );
}
?></td>
<td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $email; ?>" tabindex="2" id="email" /></td>
</tr>
<tr valign="top">
<td class="first">
<?php
$url = get_comment_author_url();
if ( ! empty( $url ) && 'http://' != $url ) {
$link = "<a href='$url' rel='external nofollow' target='_blank'>" . __('visit site') . "</a>";
printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) );
} else {
_e( 'URL:' );
} ?></td>
<td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" /></td>
</tr>
</tbody>
</table>
<br />
</div>
</div>
<div id="postdiv" class="postarea">
<h3><label for="content"><?php _e('Comment') ?></label></h3>
<?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
</div>
@@ -94,13 +130,14 @@ echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletec
<input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" />
<input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
<input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
<?php wp_original_referer_field(true, 'previous'); ?>
<input type="hidden" name="noredir" value="1" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<script type="text/javascript">

View File

@@ -1,69 +0,0 @@
<div class="wrap">
<h2><?php _e('Write Post'); ?></h2>
<form name="post" action="post.php" method="post" id="simple">
<?php if (isset($mode) && 'bookmarklet' == $mode) : ?>
<input type="hidden" name="mode" value="bookmarklet" />
<?php endif; ?>
<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
<input type="hidden" name="action" value='post' />
<div id="poststuff">
<fieldset id="titlediv">
<legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend>
<div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" /></div>
</fieldset>
<fieldset id="categorydiv">
<legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend>
<div><?php dropdown_categories($post->post_category); ?></div>
</fieldset>
<br />
<fieldset id="postdiv">
<legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend>
<?php
$rows = get_option('default_post_edit_rows');
if (($rows < 3) || ($rows > 100)) {
$rows = 10;
}
?>
<div><textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $post->post_content ?></textarea></div>
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
</fieldset>
<script type="text/javascript">
<!--
edCanvas = document.getElementById('content');
//-->
</script>
<input type="hidden" name="post_pingback" value="<?php echo (int) get_option('default_pingback_flag') ?>" id="post_pingback" />
<p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Locator">URL</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Locator">URL</abbr>s with spaces.)'), 'http://wordpress.org/docs/reference/post/#trackback'); echo '<br />'; ?>
<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>
<p class="submit"><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" />
<input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" />
<?php if ( current_user_can('edit_posts') ) : ?>
<input name="publish" type="submit" id="publish" tabindex="6" value="<?php _e('Publish') ?>" class="button button-highlighted" />
<?php endif; ?>
<?php if ('bookmarklet' != $mode) {
echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing') . '" />';
} ?>
<input name="referredby" type="hidden" id="referredby" value="<?php if ( $refby = wp_get_referer() ) echo urlencode($refby); ?>" />
</p>
<?php do_action('simple_edit_form', ''); ?>
</div>
</form>
<script type="text/javascript">
try{document.getElementById('title').focus();}catch(e){}
</script>
</div>

View File

@@ -1,43 +1,54 @@
<?php
/**
* Edit Link Categories Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
// Handle bulk deletes
if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
// Handle bulk actions
if ( isset($_GET['action']) && isset($_GET['delete']) ) {
check_admin_referer('bulk-link-categories');
$doaction = $_GET['action'] ? $_GET['action'] : $_GET['action2'];
if ( !current_user_can('manage_categories') )
wp_die(__('Cheatin&#8217; uh?'));
foreach( (array) $_GET['delete'] as $cat_ID ) {
$cat_name = get_term_field('name', $cat_ID, 'link_category');
$default_cat_id = get_option('default_link_category');
// Don't delete the default cats.
if ( $cat_ID == $default_cat_id )
wp_die(sprintf(__("Can&#8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name));
if ( 'delete' == $doaction ) {
foreach( (array) $_GET['delete'] as $cat_ID ) {
$cat_name = get_term_field('name', $cat_ID, 'link_category');
$default_cat_id = get_option('default_link_category');
wp_delete_term($cat_ID, 'link_category', array('default' => $default_cat_id));
// Don't delete the default cats.
if ( $cat_ID == $default_cat_id )
wp_die(sprintf(__("Can&#8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name));
wp_delete_term($cat_ID, 'link_category', array('default' => $default_cat_id));
}
$location = 'edit-link-categories.php';
if ( $referer = wp_get_referer() ) {
if ( false !== strpos($referer, 'edit-link-categories.php') )
$location = $referer;
}
$location = add_query_arg('message', 6, $location);
wp_redirect($location);
exit();
}
$location = 'edit-link-categories.php';
if ( $referer = wp_get_referer() ) {
if ( false !== strpos($referer, 'edit-link-categories.php') )
$location = $referer;
}
$location = add_query_arg('message', 6, $location);
wp_redirect($location);
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
} elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
$title = __('Link Categories');
$parent_file = 'edit.php';
wp_enqueue_script( 'admin-categories' );
wp_enqueue_script('admin-forms');
wp_enqueue_script('admin-categories');
if ( current_user_can('manage_categories') )
wp_enqueue_script('inline-edit-tax');
require_once ('admin-header.php');
@@ -46,42 +57,48 @@ $messages[2] = __('Category deleted.');
$messages[3] = __('Category updated.');
$messages[4] = __('Category not added.');
$messages[5] = __('Category not updated.');
$messages[6] = __('Categories deleted.');
$messages[6] = __('Categories deleted.'); ?>
if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<div class="wrap nosubsub">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
</h2>
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
endif; ?>
<div class="wrap">
<form id="posts-filter" action="" method="get">
<?php if ( current_user_can('manage_categories') ) : ?>
<h2><?php printf(__('Manage Link Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
<?php else : ?>
<h2><?php _e('Manage Link Categories') ?> </h2>
<?php endif; ?>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
<input type="text" class="search-input" id="link-category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
</p>
</form>
<br class="clear" />
<div id="col-container">
<div id="col-right">
<div class="col-wrap">
<form id="posts-filter" action="" method="get">
<div class="tablenav">
<?php
$pagenum = absint( $_GET['pagenum'] );
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
if ( empty($pagenum) )
$pagenum = 1;
if( !$catsperpage || $catsperpage < 0 )
if( ! isset( $catsperpage ) || $catsperpage < 0 )
$catsperpage = 20;
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('link_category') / $catsperpage),
'current' => $pagenum
));
@@ -90,25 +107,33 @@ if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<div class="alignleft">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<div class="alignleft actions">
<select name="action">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-link-categories'); ?>
</div>
<br class="clear" />
</div>
<br class="clear" />
<div class="clear"></div>
<table class="widefat">
<table class="widefat fixed" cellspacing="0">
<thead>
<tr>
<th scope="col" class="check-column"><input type="checkbox" /></th>
<th scope="col"><?php _e('Name') ?></th>
<th scope="col"><?php _e('Description') ?></th>
<th scope="col" class="num" style="width: 90px;"><?php _e('Links') ?></th>
<?php print_column_headers('edit-link-categories'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('edit-link-categories', false); ?>
</tr>
</tfoot>
<tbody id="the-list" class="list:link-cat">
<?php
$start = ($pagenum - 1) * $catsperpage;
@@ -120,10 +145,8 @@ $categories = get_terms( 'link_category', $args );
if ( $categories ) {
$output = '';
foreach ( $categories as $category ) {
$category = sanitize_term($category, 'link_category', 'display');
$output .= link_cat_row($category);
}
$output = apply_filters('cat_rows', $output);
echo $output;
unset($category);
}
@@ -131,27 +154,90 @@ if ( $categories ) {
?>
</tbody>
</table>
</form>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<div class="alignleft actions">
<select name="action2">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
</div>
<br class="clear" />
</div>
<br class="clear" />
</form>
</div>
<?php if ( current_user_can('manage_categories') ) : ?>
<div class="wrap">
<div class="form-wrap">
<p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the links in that category. Instead, links that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), get_term_field('name', get_option('default_link_category'), 'link_category')) ?></p>
</div>
<?php include('edit-link-category-form.php'); ?>
<?php endif; ?>
</div>
</div><!-- /col-right -->
<div id="col-left">
<div class="col-wrap">
<?php if ( current_user_can('manage_categories') ) {
$category = (object) array(); $category->parent = 0; do_action('add_link_category_form_pre', $category); ?>
<div class="form-wrap">
<h3><?php _e('Add Category'); ?></h3>
<div id="ajax-response"></div>
<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">
<input type="hidden" name="action" value="addcat" />
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-link-category'); ?>
<div class="form-field form-required">
<label for="name"><?php _e('Category name') ?></label>
<input name="name" id="name" type="text" value="" size="40" aria-required="true" />
</div>
<div class="form-field">
<label for="slug"><?php _e('Category slug') ?></label>
<input name="slug" id="slug" type="text" value="" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
</div>
<div class="form-field">
<label for="description"><?php _e('Description (optional)') ?></label>
<textarea name="description" id="description" rows="5" cols="40"></textarea>
</div>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php _e('Add Category'); ?>" /></p>
<?php do_action('edit_link_category_form', $category); ?>
</form>
</div>
<?php } ?>
</div>
</div><!-- /col-left -->
</div><!-- /col-container -->
</div><!-- /wrap -->
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected link categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
/* ]]> */
</script>
<?php inline_edit_term_row('edit-link-categories'); ?>
<?php include('admin-footer.php'); ?>

View File

@@ -1,23 +1,60 @@
<?php
/**
* Edit link category form for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
/**
* @var object
*/
if ( ! isset( $category ) )
$category = (object) array();
if ( ! empty($cat_ID) ) {
$heading = __('Edit Category');
$submit_text = __('Edit Category');
/**
* @var string
*/
$heading = '<h2>' . __('Edit Link Category') . '</h2>';
$submit_text = __('Update Category');
$form = '<form name="editcat" id="editcat" method="post" action="link-category.php" class="validate">';
$action = 'editedcat';
$nonce_action = 'update-link-category_' . $cat_ID;
do_action('edit_link_category_form_pre', $category);
} else {
$heading = __('Add Category');
$heading = '<h2>' . __('Add Link Category') . '</h2>';
$submit_text = __('Add Category');
$form = '<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">';
$action = 'addcat';
$nonce_action = 'add-link-category';
do_action('add_link_category_form_pre', $category);
}
/**
* @ignore
* @since 2.7
* @internal Used to prevent errors in page when no category is being edited.
*
* @param object $category
*/
function _fill_empty_link_category(&$category) {
if ( ! isset( $category->name ) )
$category->name = '';
if ( ! isset( $category->slug ) )
$category->slug = '';
if ( ! isset( $category->description ) )
$category->description = '';
}
_fill_empty_link_category($category);
?>
<div class="wrap">
<h2><?php echo $heading ?></h2>
<?php screen_icon(); ?>
<?php echo $heading ?>
<div id="ajax-response"></div>
<?php echo $form ?>
<input type="hidden" name="action" value="<?php echo $action ?>" />
@@ -30,7 +67,7 @@ if ( ! empty($cat_ID) ) {
</tr>
<tr class="form-field">
<th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th>
<td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $category->slug)); ?>" size="40" />
<td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br />
<?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td>
</tr>
<tr class="form-field">
@@ -38,7 +75,7 @@ if ( ! empty($cat_ID) ) {
<td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td>
</tr>
</table>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo $submit_text ?>" /></p>
<?php do_action('edit_link_category_form', $category); ?>
</form>
</div>

View File

@@ -1,20 +1,36 @@
<?php
/**
* Edit links form for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! empty($link_id) ) {
$heading = __('Edit Link');
$submit_text = __('Save Changes');
$heading = sprintf( __( '<a href="%s">Links</a> / Edit Link' ), 'link-manager.php' );
$submit_text = __('Update Link');
$form = '<form name="editlink" id="editlink" method="post" action="link.php">';
$nonce_action = 'update-bookmark_' . $link_id;
} else {
$heading = __('Add Link');
$heading = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );
$submit_text = __('Add Link');
$form = '<form name="addlink" id="addlink" method="post" action="link.php">';
$nonce_action = 'add-bookmark';
}
/**
* Display checked checkboxes attribute for xfn microformat options.
*
* @since 1.0.1
*
* @param string $class
* @param string $value
* @param mixed $deprecated Not used.
*/
function xfn_check($class, $value = '', $deprecated = '') {
global $link;
$link_rel = $link->link_rel;
$link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: '';
$rels = preg_split('/\s+/', $link_rel);
if ('' != $value && in_array($value, $rels) ) {
@@ -28,76 +44,75 @@ function xfn_check($class, $value = '', $deprecated = '') {
if ('identity' == $class && in_array('me', $rels) ) echo ' checked="checked"';
}
}
/**
* Display link create form fields.
*
* @since 2.7.0
*
* @param object $link
*/
function link_submit_meta_box($link) {
?>
<?php echo $form ?>
<?php wp_nonce_field($nonce_action); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<div class="wrap">
<h2><?php echo $heading; ?></h2>
<div id="poststuff">
<div class="submitbox" id="submitlink">
<div id="previewview">
<?php if ( !empty($link_id) ) { ?>
<a href="<?php echo $link->link_url; ?>" target="_blank"><?php _e('Visit Link'); ?></a>
<div id="minor-publishing">
<?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?>
<div style="display:none;">
<input type="submit" name="save" value="<?php echo attribute_escape( __('Save') ); ?>" />
</div>
<div id="minor-publishing-actions">
<div id="preview-action">
<?php if ( !empty($link->link_id) ) { ?>
<a class="preview button" href="<?php echo $link->link_url; ?>" target="_blank" tabindex="4"><?php _e('Visit Link'); ?></a>
<?php } ?>
</div>
<div class="clear"></div>
</div>
<div id="misc-publishing-actions">
<div class="misc-pub-section misc-pub-section-last">
<label for="link_private" class="selectit"><input id="link_private" name="link_visible" type="checkbox" value="N" <?php checked($link->link_visible, 'N'); ?> /> <?php _e('Keep this link private') ?></label>
</div>
</div>
</div>
<div id="major-publishing-actions">
<?php do_action('post_submitbox_start'); ?>
<div id="delete-action">
<?php
if ( !empty($_GET['action']) && 'edit' == $_GET['action'] && current_user_can('manage_links') ) { ?>
<a class="submitdelete deletion" href="<?php echo wp_nonce_url("link.php?action=delete&amp;link_id=$link->link_id", 'delete-bookmark_' . $link->link_id); ?>" onclick="if ( confirm('<?php echo js_escape(sprintf(__("You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."), $link->link_name )); ?>') ) {return true;}return false;"><?php _e('Delete'); ?></a>
<?php } ?>
</div>
<div class="inside">
<p><label for="link_private" class="selectit"><input id="link_private" name="link_visible" type="checkbox" value="N" <?php checked($link->link_visible, 'N'); ?> /> <?php _e('Keep this link private') ?></label></p>
<div id="publishing-action">
<?php if ( !empty($link->link_id) ) { ?>
<input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php _e('Update Link') ?>" />
<?php } else { ?>
<input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php _e('Add Link') ?>" />
<?php } ?>
</div>
<p class="submit">
<input type="submit" class="button button-highlighted" name="save" value="<?php _e('Save'); ?>" tabindex="4" />
<?php
if ( ( 'edit' == $action) && current_user_can('manage_links') )
echo "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;link_id=$link_id", 'delete-bookmark_' . $link_id) . "' onclick=\"if ( confirm('" . js_escape( sprintf( __("You are about to delete this link '%s'\n'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;link') . "</a>";
?>
</p>
<div class="side-info">
<h5><?php _e('Related') ?></h5>
<ul>
<li><a href="link-manager.php"><?php _e('Manage All Links') ?></a></li>
<li><a href="edit-link-categories.php"><?php _e('Manage All Link Categories') ?></a></li>
<li><a href="link-import.php"><?php _e('Import Links') ?></a></li>
<?php do_action('link_relatedlinks_list'); ?>
</ul>
<div class="clear"></div>
</div>
<?php do_action('submitlink_box'); ?>
<div class="clear"></div>
</div>
<?php
}
add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', 'link', 'side', 'core');
<div id="post-body">
<div id="namediv" class="stuffbox">
<h3><label for="link_name"><?php _e('Name') ?></label></h3>
<div class="inside">
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
<?php _e('Example: Nifty blogging software'); ?>
</div>
</div>
<div id="addressdiv" class="stuffbox">
<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
<div class="inside">
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
<?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?>
</div>
</div>
<div id="descriptiondiv" class="stuffbox">
<h3><label for="link_description"><?php _e('Description') ?></label></h3>
<div class="inside">
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br />
<?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
</div>
</div>
<?php function link_categories_meta_box($link) { ?>
/**
* Display link categories form fields.
*
* @since 2.6.0
*
* @param object $link
*/
function link_categories_meta_box($link) { ?>
<div id="category-adder" class="wp-hidden-children">
<h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
<p id="link-category-add" class="wp-hidden-child">
@@ -111,12 +126,17 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
<ul id="category-tabs">
<li class="ui-tabs-selected"><a href="#categories-all"><?php _e( 'All Categories' ); ?></a></li>
<li class="wp-no-js-hidden"><a href="#categories-pop"><?php _e( 'Most Used' ); ?></a></li>
<li class="hide-if-no-js"><a href="#categories-pop"><?php _e( 'Most Used' ); ?></a></li>
</ul>
<div id="categories-all" class="ui-tabs-panel">
<ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
<?php wp_link_category_checklist($link->link_id); ?>
<?php
if ( isset($link->link_id) )
wp_link_category_checklist($link->link_id);
else
wp_link_category_checklist();
?>
</ul>
</div>
@@ -128,35 +148,44 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
<?php
}
add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'link', 'normal', 'core');
?>
<?php do_meta_boxes('link', 'normal', $link); ?>
<h2><?php _e('Advanced Options'); ?></h2>
<?php function link_target_meta_box($link) { ?>
/**
* Display form fields for changing link target.
*
* @since 2.6.0
*
* @param object $link
*/
function link_target_meta_box($link) { ?>
<fieldset><legend class="hidden"><?php _e('Target') ?></legend>
<label for="link_target_blank" class="selectit">
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
<code>_blank</code></label><br />
<label for="link_target_top" class="selectit">
<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo(($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
<code>_top</code></label><br />
<label for="link_target_none" class="selectit">
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> />
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo ( isset( $link->link_target ) && ($link->link_target == '') ? 'checked="checked"' : ''); ?> />
<?php _e('none') ?></label>
</fieldset>
<p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p>
<?php
}
add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'advanced', 'core');
add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'normal', 'core');
/**
* Display xfn form fields.
*
* @since 2.6.0
*
* @param object $link
*/
function link_xfn_meta_box($link) {
?>
<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
<tr>
<th style="width: 20%;" scope="row"><label for="link_rel"><?php _e('rel:') ?></label></th>
<td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
<td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo ( isset( $link->link_rel ) ? $link->link_rel : ''); ?>" /></td>
</tr>
<tr>
<td colspan="2">
@@ -262,22 +291,29 @@ function link_xfn_meta_box($link) {
<p><?php _e('If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.'); ?></p>
<?php
}
add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'advanced', 'core');
add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'normal', 'core');
/**
* Display advanced link options form fields.
*
* @since 2.6.0
*
* @param object $link
*/
function link_advanced_meta_box($link) {
?>
<table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5">
<tr class="form-field">
<th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
<td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
<td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td>
</tr>
<tr class="form-field">
<th valign="top" scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
<td><input name="link_rss" type="text" id="rss_uri" value="<?php echo $link->link_rss; ?>" size="50" style="width: 95%" /></td>
<td><input name="link_rss" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td>
</tr>
<tr class="form-field">
<th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
<td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo $link->link_notes; ?></textarea></td>
<td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); ?></textarea></td>
</tr>
<tr class="form-field">
<th valign="top" scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
@@ -285,7 +321,7 @@ function link_advanced_meta_box($link) {
<?php
for ($r = 0; $r < 10; $r++) {
echo(' <option value="'.$r.'" ');
if ($link->link_rating == $r)
if ( isset($link->link_rating) && $link->link_rating == $r)
echo 'selected="selected"';
echo('>'.$r.'</option>');
}
@@ -295,7 +331,75 @@ function link_advanced_meta_box($link) {
</table>
<?php
}
add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'advanced', 'core');
add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core');
do_action('do_meta_boxes', 'link', 'normal', $link);
do_action('do_meta_boxes', 'link', 'advanced', $link);
do_action('do_meta_boxes', 'link', 'side', $link);
require_once ('admin-header.php');
?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?php if ( isset( $_GET['added'] ) ) : ?>
<div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div>
<?php endif; ?>
<?php
if ( !empty($form) )
echo $form;
if ( !empty($link_added) )
echo $link_added;
wp_nonce_field( $nonce_action );
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
<div id="poststuff" class="metabox-holder">
<div id="side-info-column" class="inner-sidebar">
<?php
do_action('submitlink_box');
$side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
?>
</div>
<div id="post-body" class="<?php echo $side_meta_boxes ? 'has-sidebar' : ''; ?>">
<div id="post-body-content" class="has-sidebar-content">
<div id="namediv" class="stuffbox">
<h3><label for="link_name"><?php _e('Name') ?></label></h3>
<div class="inside">
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" />
<p><?php _e('Example: Nifty blogging software'); ?></p>
</div>
</div>
<div id="addressdiv" class="stuffbox">
<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
<div class="inside">
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
<p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
</div>
</div>
<div id="descriptiondiv" class="stuffbox">
<h3><label for="link_description"><?php _e('Description') ?></label></h3>
<div class="inside">
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? $link->link_description : ''; ?>" id="link_description" />
<p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>
</div>
</div>
<?php
do_meta_boxes('link', 'normal', $link);
do_meta_boxes('link', 'advanced', $link);
@@ -310,7 +414,7 @@ if ( $link_id ) : ?>
</div>
</div>
</div>
</form>
</div>

View File

@@ -1,10 +1,29 @@
<?php
/**
* Edit page form for inclusion in the administration panels.
*
* @package WordPress
* @subpackage Administration
*/
/**
* Post ID global.
* @name $post_ID
* @var int
*/
if ( ! isset( $post_ID ) )
$post_ID = 0;
if ( ! isset( $temp_ID ) )
$temp_ID = 0;
if ( isset($_GET['message']) )
$_GET['message'] = absint( $_GET['message'] );
$messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( $_GET['_wp_original_http_referer'] ) ) );
$messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );
$messages[2] = __('Custom field updated.');
$messages[3] = __('Custom field deleted.');
$messages[4] = __('Page updated.');
$messages[5] = sprintf(__('Page published. <a href="%s">View page</a>'), get_permalink($post_ID));
$messages[6] = sprintf(__('Page submitted. <a href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
if ( isset($_GET['revision']) )
$messages[5] = sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) );
@@ -12,7 +31,7 @@ if ( isset($_GET['revision']) )
$notice = false;
$notices[1] = __( 'There is an autosave of this page that is more recent than the version below. <a href="%s">View the autosave</a>.' );
if (!isset($post_ID) || 0 == $post_ID) {
if ( 0 == $post_ID) {
$form_action = 'post';
$nonce_action = 'add-page';
$temp_ID = -1 * time(); // don't change this formula without looking at wp_write_post()
@@ -22,7 +41,7 @@ if (!isset($post_ID) || 0 == $post_ID) {
$form_action = 'editpost';
$nonce_action = 'update-page_' . $post_ID;
$form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />";
$autosave = wp_get_post_autosave( $post_id );
$autosave = wp_get_post_autosave( $post_ID );
if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt ) > mysql2date( 'U', $post->post_modified_gmt ) )
$notice = sprintf( $notices[1], get_edit_post_link( $autosave->ID ) );
}
@@ -30,8 +49,352 @@ if (!isset($post_ID) || 0 == $post_ID) {
$temp_ID = (int) $temp_ID;
$user_ID = (int) $user_ID;
/**
* Display submit form fields.
*
* @since 2.7.0
*
* @param object $post
*/
function page_submit_meta_box($post) {
global $action;
$can_publish = current_user_can('publish_pages');
?>
<div class="submitbox" id="submitpage">
<div id="minor-publishing">
<?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?>
<div style="display:none;">
<input type="submit" name="save" value="<?php echo attribute_escape( __('Save') ); ?>" />
</div>
<div id="minor-publishing-actions">
<div id="save-action">
<?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?>
<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" />
<?php } ?>
</div>
<div id="preview-action">
<?php $preview_link = 'publish' == $post->post_status ? clean_url(get_permalink($post->ID)) : clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>
<a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
<input type="hidden" name="wp-preview" id="wp-preview" value="" />
</div>
<div class="clear"></div>
</div><?php // /minor-publishing-actions ?>
<div id="misc-publishing-actions">
<div class="misc-pub-section<?php if ( !$can_publish ) { echo ' misc-pub-section-last'; } ?>"><label for="post_status"><?php _e('Status:') ?></label>
<b><span id="post-status-display">
<?php
switch ( $post->post_status ) {
case 'private':
_e('Privately Published');
break;
case 'publish':
_e('Published');
break;
case 'future':
_e('Scheduled');
break;
case 'pending':
_e('Pending Review');
break;
case 'draft':
_e('Draft');
break;
}
?>
</span></b>
<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
<div id="post-status-select" class="hide-if-js">
<input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo $post->post_status; ?>" />
<select name='post_status' id='post_status' tabindex='4'>
<?php if ( 'publish' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option>
<?php elseif ( 'private' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'private' ); ?> value='publish'><?php _e('Privately Published') ?></option>
<?php elseif ( 'future' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e('Scheduled') ?></option>
<?php endif; ?>
<option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e('Pending Review') ?></option>
<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option>
</select>
<a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
<a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
</div>
<?php } ?>
</div><?php // /misc-pub-section ?>
<div class="misc-pub-section " id="visibility">
<?php _e('Visibility:'); ?> <b><span id="post-visibility-display"><?php
if ( 'private' == $post->post_status ) {
$post->post_password = '';
$visibility = 'private';
$visibility_trans = __('Private');
} elseif ( !empty( $post->post_password ) ) {
$visibility = 'password';
$visibility_trans = __('Password protected');
} else {
$visibility = 'public';
$visibility_trans = __('Public');
}
?><?php echo wp_specialchars( $visibility_trans ); ?></span></b> <?php if ( $can_publish ) { ?> <a href="#visibility" class="edit-visibility hide-if-no-js"><?php _e('Edit'); ?></a>
<div id="post-visibility-select" class="hide-if-js">
<input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attribute_escape($post->post_password); ?>" />
<input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo attribute_escape( $visibility ); ?>" />
<input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br />
<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />
<span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo attribute_escape($post->post_password); ?>" /><br /></span>
<input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br />
<p>
<a href="#visibility" class="save-post-visibility hide-if-no-js button"><?php _e('OK'); ?></a>
<a href="#visibility" class="cancel-post-visibility hide-if-no-js"><?php _e('Cancel'); ?></a>
</p>
</div>
<?php } ?>
</div><?php // /misc-pub-section ?>
<?php
$datef = _c( 'M j, Y @ G:i|Publish box date format');
if ( 0 != $post->ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
$stamp = __('Scheduled for: <b>%1$s</b>');
} else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published
$stamp = __('Published on: <b>%1$s</b>');
} else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish <b>immediately</b>');
} else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
$stamp = __('Schedule for: <b>%1$s</b>');
} else { // draft, 1 or more saves, date specified
$stamp = __('Publish on: <b>%1$s</b>');
}
$date = date_i18n( $datef, strtotime( $post->post_date ) );
} else { // draft (no saves, and thus no date specified)
$stamp = __('Publish <b>immediately</b>');
$date = date_i18n( $datef, strtotime( current_time('mysql') ) );
}
?>
<?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
<div class="misc-pub-section curtime misc-pub-section-last">
<span id="timestamp">
<?php printf($stamp, $date); ?></span>
<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
<div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
</div><?php // /misc-pub-section ?>
<?php endif; ?>
</div>
<div class="clear"></div>
</div>
<div id="major-publishing-actions">
<?php do_action('post_submitbox_start'); ?>
<div id="delete-action">
<?php
if ( ( 'edit' == $action ) && current_user_can('delete_page', $post->ID) ) { ?>
<a class="submitdelete deletion" href="<?php echo wp_nonce_url("page.php?action=delete&amp;post=$post->ID", 'delete-page_' . $post->ID); ?>" onclick="if ( confirm('<?php echo js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )); ?>') ) {return true;}return false;"><?php _e('Delete'); ?></a>
<?php } ?>
</div>
<div id="publishing-action">
<?php
if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) { ?>
<?php if ( $can_publish ) : ?>
<?php if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Schedule') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Schedule') ?>" />
<?php else : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Publish') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
<?php endif; ?>
<?php else : ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Submit for Review') ?>" />
<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
<?php endif; ?>
<?php } else { ?>
<input name="original_publish" type="hidden" id="original_publish" value="<?php _e('Update Page') ?>" />
<input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php _e('Update Page') ?>" />
<?php } ?>
</div>
<div class="clear"></div>
</div>
</div>
<?php
}
add_meta_box('pagesubmitdiv', __('Publish'), 'page_submit_meta_box', 'page', 'side', 'core');
/**
* Display page password form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function page_password_meta_box($post){
?>
<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
<h4><?php _e( 'Page Password' ); ?></h4>
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
<?php
}
// add_meta_box('pagepassworddiv', __('Privacy Options'), 'page_password_meta_box', 'page', 'side', 'core');
/**
* Display page attributes form fields.
*
* @since 2.7.0
*
* @param object $post
*/
function page_attributes_meta_box($post){
?>
<h5><?php _e('Parent') ?></h5>
<label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label>
<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
<?php
if ( 0 != count( get_page_templates() ) ) {
?>
<h5><?php _e('Template') ?></h5>
<label class="hidden" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
<option value='default'><?php _e('Default Template'); ?></option>
<?php page_template_dropdown($post->page_template); ?>
</select>
<p><?php _e('Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you&#8217;ll see them above.'); ?></p>
<?php
}
?>
<h5><?php _e('Order') ?></h5>
<p><label class="hidden" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p>
<?php
}
add_meta_box('pageparentdiv', __('Attributes'), 'page_attributes_meta_box', 'page', 'side', 'core');
/**
* Display custom field for page form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function page_custom_meta_box($post){
?>
<div id="postcustomstuff">
<?php
$metadata = has_meta($post->ID);
list_meta($metadata);
meta_form();
?>
<div id="ajax-response"></div>
</div>
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
<?php
}
add_meta_box('pagecustomdiv', __('Custom Fields'), 'page_custom_meta_box', 'page', 'normal', 'core');
/**
* Display comments status form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function page_comments_status_meta_box($post){
?>
<input name="advanced_view" type="hidden" value="1" />
<p><label for="comment_status" class="selectit">
<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
<?php _e('Allow Comments') ?></label></p>
<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
<p><?php _e('These settings apply to this page only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
<?php
}
add_meta_box('pagecommentstatusdiv', __('Discussion'), 'page_comments_status_meta_box', 'page', 'normal', 'core');
/**
* Display page slug form fields.
*
* @since 2.6.0
*
* @param object $post
*/
function page_slug_meta_box($post){
?>
<label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
<?php
}
add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'normal', 'core');
$authors = get_editable_user_ids( $current_user->id, true, 'page' ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
if ( $authors && count( $authors ) > 1 ) {
/**
* Display page author form fields, when more than one author exists.
*
* @since 2.6.0
*
* @param object $post
*/
function page_author_meta_box($post){
global $current_user, $user_ID;
$authors = get_editable_user_ids( $current_user->id, true, 'page' ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
?>
<label class="hidden" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
<?php
}
add_meta_box('pageauthordiv', __('Page Author'), 'page_author_meta_box', 'page', 'normal', 'core');
}
if ( 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) :
/**
* Display list of page revisions.
*
* @since 2.6.0
*
* @param object $post
*/
function page_revisions_meta_box($post) {
wp_list_post_revisions();
}
add_meta_box('revisionsdiv', __('Page Revisions'), 'page_revisions_meta_box', 'page', 'normal', 'core');
endif;
do_action('do_meta_boxes', 'page', 'normal', $post);
do_action('do_meta_boxes', 'page', 'advanced', $post);
do_action('do_meta_boxes', 'page', 'side', $post);
require_once('admin-header.php');
?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title ); ?></h2>
<form name="post" action="page.php" method="post" id="post">
<?php if ( $notice ) : ?>
<div id="notice" class="error"><p><?php echo $notice ?></p></div>
<?php endif; ?>
@@ -39,10 +402,6 @@ $user_ID = (int) $user_ID;
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<form name="post" action="page.php" method="post" id="post">
<div class="wrap">
<h2><?php _e('Write Page') ?></h2>
<?php
wp_nonce_field($nonce_action);
@@ -59,114 +418,22 @@ if (isset($mode) && 'bookmarklet' == $mode)
<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
<?php if ( 'draft' != $post->post_status ) wp_original_referer_field(true, 'previous'); ?>
<div id="poststuff">
<div id="poststuff" class="metabox-holder">
<div class="submitbox" id="submitpage">
<div id="previewview">
<?php if ( 'publish' == $post->post_status ) { ?>
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View this Page'); ?></a>
<?php } elseif ( 'edit' == $action ) { ?>
<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Page'); ?></a>
<?php } ?>
</div>
<div class="inside">
<p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p>
<p>
<select name='post_status' tabindex='4' id='post_status'>
<?php // Show publish in dropdown if user can publish or if they can re-publish this page ('edit_published_pages')
// 'publish' option will be selected for published AND private posts (checkbox overrides dropdown)
if ( current_user_can('publish_pages') OR ( $post->post_status == 'publish' AND current_user_can('edit_page', $post->ID) ) ) :
?>
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
<?php endif; ?>
<?php if ( 'future' == $post->post_status ) : ?>
<option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e('Pending') ?></option>
<?php endif; ?>
<option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e('Pending Review') ?></option>
<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Unpublished') ?></option>
</select>
</p>
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
<p id="private-checkbox"><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
<?php endif; ?>
<div id="side-info-column" class="inner-sidebar">
<?php
if ($post_ID) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
$stamp = __('Scheduled for:<br />%1$s at %2$s');
} else if ( 'publish' == $post->post_status ) { // already published
$stamp = __('Published on:<br />%1$s at %2$s');
} else if ( '0000-00-00 00:00:00' == $post->post_date ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish immediately');
} else { // draft, 1 or more saves, date specified
$stamp = __('Publish on:<br />%1$s at %2$s');
}
$date = mysql2date(get_option('date_format'), $post->post_date);
$time = mysql2date(get_option('time_format'), $post->post_date);
} else { // draft (no saves, and thus no date specified)
$stamp = __('Publish immediately');
$date = mysql2date(get_option('date_format'), current_time('mysql'));
$time = mysql2date(get_option('time_format'), current_time('mysql'));
}
do_action('submitpage_box');
$side_meta_boxes = do_meta_boxes('page', 'side', $post);
?>
<p class="curtime"><?php printf($stamp, $date, $time); ?>
&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a></p>
<div id='timestampdiv' class='hide-if-js'><?php touch_time(($action == 'edit'),1,4); ?></div>
</div>
<p class="submit">
<input type="submit" name="save" class="button button-highlighted" value="<?php _e('Save'); ?>" tabindex="4" />
<?php
if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
?>
<?php if ( current_user_can('publish_pages') ) : ?>
<input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
<?php else : ?>
<input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
<?php endif; ?>
<?php
}
<div id="post-body" class="<?php echo $side_meta_boxes ? 'has-sidebar' : ''; ?>">
<div id="post-body-content" class="has-sidebar-content">
if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
echo "<a class='submitdelete' href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;page') . "</a>";
?>
<br class="clear" />
<?php if ($post_ID): ?>
<?php if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) {
$last_user = get_userdata($last_id);
printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
} else {
printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
}
?>
<br class="clear" />
<?php endif; ?>
<span id="autosave"></span>
<span id="wp-word-count"></span>
</p>
<div class="side-info">
<h5><?php _e('Related') ?></h5>
<ul>
<?php if ($post_ID): ?>
<li><a href="edit-pages.php?page_id=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li>
<?php endif; ?>
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
<li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
<?php do_action('page_relatedlinks_list'); ?>
</ul>
</div>
<?php do_action('submitpage_box'); ?>
</div>
<div id="post-body">
<div id="titlediv">
<h3><label for="title"><?php _e('Title') ?></label></h3>
<div id="titlewrap">
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" />
</div>
@@ -181,136 +448,48 @@ endif; ?>
</div>
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
<h3><label for="content"><?php _e('Page') ?></label></h3>
<?php the_editor($post->post_content); ?>
<div id="post-status-info">
<span id="wp-word-count" class="alignleft"></span>
<span class="alignright">
<span id="autosave">&nbsp;</span>
<?php
if ($post_ID) {
if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) {
$last_user = get_userdata($last_id);
printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
} else {
printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
}
}
?>
</span>
<br class="clear" />
</div>
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?>
<?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
</div>
<?php do_meta_boxes('page', 'normal', $post); ?>
<?php do_action('edit_page_form'); ?>
<h2><?php _e('Advanced Options'); ?></h2>
<?php
function page_custom_meta_box($post){
?>
<div id="postcustomstuff">
<table cellpadding="3">
<?php
$metadata = has_meta($post->ID);
list_meta($metadata);
?>
</table>
<?php
meta_form();
?>
<div id="ajax-response"></div>
</div>
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
<?php
}
add_meta_box('pagecustomdiv', __('Custom Fields'), 'page_custom_meta_box', 'page', 'advanced', 'core');
function page_comments_status_meta_box($post){
?>
<input name="advanced_view" type="hidden" value="1" />
<p><label for="comment_status" class="selectit">
<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
<?php _e('Allow Comments') ?></label></p>
<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
<p><?php _e('These settings apply to this page only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
<?php
}
add_meta_box('pagecommentstatusdiv', __('Comments &amp; Pings'), 'page_comments_status_meta_box', 'page', 'advanced', 'core');
function page_password_meta_box($post){
?>
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
<?php
}
add_meta_box('pagepassworddiv', __('Password Protect This Page'), 'page_password_meta_box', 'page', 'advanced', 'core');
function page_slug_meta_box($post){
?>
<label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
<?php
}
add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'advanced', 'core');
function page_parent_meta_box($post){
?>
<label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label>
<select name="parent_id" id="parent_id">
<option value='0'><?php _e('Main Page (no parent)'); ?></option>
<?php parent_dropdown($post->post_parent); ?>
</select>
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
<?php
}
add_meta_box('pageparentdiv', __('Page Parent'), 'page_parent_meta_box', 'page', 'advanced', 'core');
if ( 0 != count( get_page_templates() ) ) {
function page_template_meta_box($post){
?>
<label class="hidden" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
<option value='default'><?php _e('Default Template'); ?></option>
<?php page_template_dropdown($post->page_template); ?>
</select>
<p><?php _e('Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you&#8217;ll see them above.'); ?></p>
<?php
}
add_meta_box('pagetemplatediv', __('Page Template'), 'page_template_meta_box', 'page', 'advanced', 'core');
}
function page_order_meta_box($post){
?>
<p><label class="hidden" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p>
<?php
}
add_meta_box('pageorderdiv', __('Page Order'), 'page_order_meta_box', 'page', 'advanced', 'core');
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
if ( $authors && count( $authors ) > 1 ) {
function page_author_meta_box($post){
global $current_user, $user_ID;
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
?>
<label class="hidden" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
<?php
}
add_meta_box('pageauthordiv', __('Page Author'), 'page_author_meta_box', 'page', 'advanced', 'core');
}
if ( isset($post_ID) && 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) :
function page_revisions_meta_box($post) {
wp_list_post_revisions();
}
add_meta_box('revisionsdiv', __('Page Revisions'), 'page_revisions_meta_box', 'page', 'advanced', 'core');
endif;
do_meta_boxes('page', 'normal', $post);
do_action('edit_page_form');
do_meta_boxes('page', 'advanced', $post);
?>
</div>
</div>
</div>
</form>
</div>
<script type="text/javascript">
try{document.post.title.focus();}catch(e){}

View File

@@ -1,199 +1,277 @@
<?php
/**
* Edit Pages Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
// Handle bulk deletes
if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
check_admin_referer('bulk-pages');
foreach( (array) $_GET['delete'] as $post_id_del ) {
$post_del = & get_post($post_id_del);
// Handle bulk actions
if ( isset($_GET['action']) && ( -1 != $_GET['action'] || -1 != $_GET['action2'] ) ) {
$doaction = ( -1 != $_GET['action'] ) ? $_GET['action'] : $_GET['action2'];
if ( !current_user_can('delete_page', $post_id_del) )
wp_die( __('You are not allowed to delete this page.') );
switch ( $doaction ) {
case 'delete':
if ( isset($_GET['post']) && ! isset($_GET['bulk_edit']) && (isset($_GET['doaction']) || isset($_GET['doaction2'])) ) {
check_admin_referer('bulk-pages');
$deleted = 0;
foreach( (array) $_GET['post'] as $post_id_del ) {
$post_del = & get_post($post_id_del);
if ( $post_del->post_type == 'attachment' ) {
if ( ! wp_delete_attachment($post_id_del) )
wp_die( __('Error in deleting...') );
} else {
if ( !wp_delete_post($post_id_del) )
wp_die( __('Error in deleting...') );
}
if ( !current_user_can('delete_page', $post_id_del) )
wp_die( __('You are not allowed to delete this page.') );
if ( $post_del->post_type == 'attachment' ) {
if ( ! wp_delete_attachment($post_id_del) )
wp_die( __('Error in deleting...') );
} else {
if ( !wp_delete_post($post_id_del) )
wp_die( __('Error in deleting...') );
}
$deleted++;
}
}
break;
case 'edit':
if ( isset($_GET['post']) && isset($_GET['bulk_edit']) ) {
check_admin_referer('bulk-pages');
if ( -1 == $_GET['_status'] ) {
$_GET['post_status'] = null;
unset($_GET['_status'], $_GET['post_status']);
} else {
$_GET['post_status'] = $_GET['_status'];
}
$done = bulk_edit_posts($_GET);
}
break;
}
$sendback = wp_get_referer();
if (strpos($sendback, 'page.php') !== false) $sendback = admin_url('page-new.php');
elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php');
$sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
if ( isset($done) ) {
$done['updated'] = count( $done['updated'] );
$done['skipped'] = count( $done['skipped'] );
$done['locked'] = count( $done['locked'] );
$sendback = add_query_arg( $done, $sendback );
}
if ( isset($deleted) )
$sendback = add_query_arg('deleted', $deleted, $sendback);
wp_redirect($sendback);
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
} elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
$title = __('Pages');
$parent_file = 'edit.php';
wp_enqueue_script('admin-forms');
if ( empty($title) )
$title = __('Edit Pages');
$parent_file = 'edit-pages.php';
wp_enqueue_script('inline-edit-post');
$post_stati = array( // array( adj, noun )
'publish' => array(__('Published'), __('Published pages'), __ngettext_noop('Published (%s)', 'Published (%s)')),
'future' => array(__('Scheduled'), __('Scheduled pages'), __ngettext_noop('Scheduled (%s)', 'Scheduled (%s)')),
'pending' => array(__('Pending Review'), __('Pending pages'), __ngettext_noop('Pending Review (%s)', 'Pending Review (%s)')),
'draft' => array(__('Draft'), _c('Drafts|manage posts header'), __ngettext_noop('Draft (%s)', 'Drafts (%s)')),
'private' => array(__('Private'), __('Private pages'), __ngettext_noop('Private (%s)', 'Private (%s)'))
'publish' => array(__('Published|page'), __('Published pages'), _n_noop('Published <span class="count">(%s)</span>|page', 'Published <span class="count">(%s)</span>')),
'future' => array(__('Scheduled|page'), __('Scheduled pages'), _n_noop('Scheduled <span class="count">(%s)</span>|page', 'Scheduled <span class="count">(%s)</span>')),
'pending' => array(__('Pending Review|page'), __('Pending pages'), _n_noop('Pending Review <span class="count">(%s)</span>|page', 'Pending Review <span class="count">(%s)</span>')),
'draft' => array(__('Draft|page'), _c('Drafts|manage posts header'), _n_noop('Draft <span class="count">(%s)</span>|page', 'Drafts <span class="count">(%s)</span>')),
'private' => array(__('Private|page'), __('Private pages'), _n_noop('Private <span class="count">(%s)</span>|page', 'Private <span class="count">(%s)</span>'))
);
$post_status_label = __('Manage Pages');
$post_status_q = '';
$query = array('post_type' => 'page', 'orderby' => 'menu_order title', 'what_to_show' => 'posts',
'posts_per_page' => -1, 'posts_per_archive_page' => -1, 'order' => 'asc');
$post_status_label = __('Pages');
if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) {
$post_status_label = $post_stati[$_GET['post_status']][1];
$post_status_q = '&post_status=' . $_GET['post_status'];
$post_status_q .= '&perm=readable';
$query['post_status'] = $_GET['post_status'];
$query['perm'] = 'readable';
}
$query_str = "post_type=page&orderby=menu_order title&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc";
$query = apply_filters('manage_pages_query', $query);
wp($query);
$query_str = apply_filters('manage_pages_query', $query_str);
wp($query_str);
if ( is_singular() )
if ( is_singular() ) {
wp_enqueue_script( 'admin-comments' );
require_once('admin-header.php');
?>
<div class="wrap">
<form id="posts-filter" action="" method="get">
<h2><?php
// Use $_GET instead of is_ since they can override each other
$h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( stripslashes( $_GET['s'] ) ) ) : '';
$h2_author = '';
if ( isset($_GET['author']) && $_GET['author'] ) {
$author_user = get_userdata( (int) $_GET['author'] );
$h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));
enqueue_comment_hotkeys_js();
}
printf( _c( '%1$s%2$s%3$s|You can reorder these: 1: Pages, 2: by {s}, 3: matching {s}' ), $post_status_label, $h2_author, $h2_search );
?></h2>
require_once('admin-header.php'); ?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
</h2>
<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) ) { ?>
<div id="message" class="updated fade"><p>
<?php if ( isset($_GET['updated']) && (int) $_GET['updated'] ) {
printf( __ngettext( '%s page updated.', '%s pages updated.', $_GET['updated'] ), number_format_i18n( $_GET['updated'] ) );
unset($_GET['updated']);
}
if ( isset($_GET['skipped']) && (int) $_GET['skipped'] ) {
printf( __ngettext( '%s page not updated, invalid parent page specified.', '%s pages not updated, invalid parent page specified.', $_GET['skipped'] ), number_format_i18n( $_GET['skipped'] ) );
unset($_GET['skipped']);
}
if ( isset($_GET['locked']) && (int) $_GET['locked'] ) {
printf( __ngettext( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $_GET['locked'] ), number_format_i18n( $_GET['skipped'] ) );
unset($_GET['locked']);
}
if ( isset($_GET['deleted']) && (int) $_GET['deleted'] ) {
printf( __ngettext( 'Page deleted.', '%s pages deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) );
unset($_GET['deleted']);
}
$_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated', 'deleted'), $_SERVER['REQUEST_URI'] );
?>
</p></div>
<?php } ?>
<?php if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
<div id="message" class="updated fade"><p><strong><?php _e('Your page has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View page'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit page'); ?></a></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
endif; ?>
<form id="posts-filter" action="" method="get">
<ul class="subsubsub">
<?php
$avail_post_stati = get_available_post_statuses('page');
if ( empty($locked_post_status) ) :
$status_links = array();
$num_posts = wp_count_posts('page', 'readable');
$total_posts = array_sum( (array) $num_posts );
$class = empty($_GET['post_status']) ? ' class="current"' : '';
$status_links[] = "<li><a href=\"edit-pages.php\"$class>".__('All Pages')."</a>";
$status_links[] = "<li><a href='edit-pages.php'$class>" . sprintf( __ngettext( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts ), number_format_i18n( $total_posts ) ) . '</a>';
foreach ( $post_stati as $status => $label ) {
$class = '';
if ( !in_array($status, $avail_post_stati) )
continue;
if ( $status == $_GET['post_status'] )
if ( isset( $_GET['post_status'] ) && $status == $_GET['post_status'] )
$class = ' class="current"';
$status_links[] = "<li><a href=\"edit-pages.php?post_status=$status\"$class>" .
sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), number_format_i18n( $num_posts->$status ) ) . '</a>';
$status_links[] = "<li><a href='edit-pages.php?post_status=$status'$class>" . sprintf( _nc( $label[2][0], $label[2][1], $num_posts->$status ), number_format_i18n( $num_posts->$status ) ) . '</a>';
}
echo implode(' |</li>', $status_links) . '</li>';
echo implode( " |</li>\n", $status_links ) . '</li>';
unset($status_links);
endif;
?>
</ul>
<?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
<?php
endif;
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
<div id="message" class="updated fade"><p><strong><?php _e('Your page has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View page'); ?></a> | <a href="page.php?action=edit&amp;post=<?php echo $_GET['posted']; ?>"><?php _e('Edit page'); ?></a></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
endif;
?>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<p class="search-box">
<label class="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
<input type="text" class="search-input" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
</p>
<?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
<?php endif; ?>
<?php if ($posts) { ?>
<div class="tablenav">
<?php
$pagenum = absint( $_GET['pagenum'] );
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
if ( empty($pagenum) )
$pagenum = 1;
if( !$per_page || $per_page < 0 )
if( ! isset( $per_page ) || $per_page < 0 )
$per_page = 20;
$num_pages = ceil(count($posts) / $per_page);
$num_pages = ceil($wp_query->post_count / $per_page);
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $num_pages,
'current' => $pagenum
));
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
if ( $page_links ) : ?>
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ),
number_format_i18n( min( $pagenum * $per_page, $wp_query->post_count ) ),
number_format_i18n( $wp_query->post_count ),
$page_links
); echo $page_links_text; ?></div>
<?php endif; ?>
<div class="alignleft">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<div class="alignleft actions">
<select name="action">
<option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-pages'); ?>
</div>
<br class="clear" />
</div>
<br class="clear" />
<div class="clear"></div>
<?php
$all = !( $h2_search || $post_status_q );
if ($posts) {
?>
<table class="widefat">
<table class="widefat page fixed" cellspacing="0">
<thead>
<tr>
<?php $posts_columns = wp_manage_pages_columns(); ?>
<?php foreach($posts_columns as $post_column_key => $column_display_name) {
if ( 'cb' === $post_column_key )
$class = ' class="check-column"';
elseif ( 'comments' === $post_column_key )
$class = ' class="num"';
else
$class = '';
?>
<th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th>
<?php } ?>
<?php print_column_headers('edit-pages'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('edit-pages', false); ?>
</tr>
</tfoot>
<tbody>
<?php page_rows($posts, $pagenum, $per_page); ?>
</tbody>
</table>
</form>
<div id="ajax-response"></div>
<div class="tablenav">
<?php
} else {
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links_text</div>";
?>
</form>
<div class="alignleft actions">
<select name="action2">
<option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
</div>
<br class="clear" />
</div>
<?php } else { ?>
<div class="clear"></div>
<p><?php _e('No pages found.') ?></p>
<?php
} // end if ($posts)
?>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
</div>
</form>
<?php inline_edit_row( 'page' ) ?>
<div id="ajax-response"></div>
<?php
@@ -209,24 +287,24 @@ if ( 1 == count($posts) && is_singular() ) :
<br class="clear" />
<table class="widefat" style="margin-top: .5em">
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Date') ?></th>
<th scope="col"><?php _e('Actions') ?></th>
<th scope="col" class="column-comment"><?php echo _c('Comment|noun') ?></th>
<th scope="col" class="column-author"><?php _e('Author') ?></th>
<th scope="col" class="column-date"><?php _e('Submitted') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
<?php
foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, 'detail', false, false );
_wp_comment_row( $comment->comment_ID, 'single', false, false );
?>
</tbody>
</table>
<?php
wp_comment_reply();
endif; // comments
endif; // posts;
@@ -234,4 +312,20 @@ endif; // posts;
</div>
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected pages.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
columns.init('edit-pages');
/* ]]> */
</script>
<?php include('admin-footer.php'); ?>

View File

@@ -1,206 +1,27 @@
<?php if ( ! defined('ABSPATH') ) die(); ?>
<table class="widefat">
<?php
/**
* Edit posts rows table for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! defined('ABSPATH') ) die();
?>
<table class="widefat post fixed" cellspacing="0">
<thead>
<tr>
<?php $posts_columns = wp_manage_posts_columns(); ?>
<?php foreach($posts_columns as $post_column_key => $column_display_name) {
if ( 'cb' === $post_column_key )
$class = ' class="check-column"';
elseif ( 'comments' === $post_column_key )
$class = ' class="num"';
else
$class = '';
?>
<th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th>
<?php } ?>
<?php print_column_headers('edit'); ?>
</tr>
</thead>
<tbody>
<?php
if ( have_posts() ) {
$bgcolor = '';
add_filter('the_title','wp_specialchars');
// Create array of post IDs.
$post_ids = array();
foreach ( $wp_query->posts as $a_post )
$post_ids[] = $a_post->ID;
$comment_pending_count = get_pending_comments_num($post_ids);
while (have_posts()) : the_post();
$class = 'alternate' == $class ? '' : 'alternate';
global $current_user;
$post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' );
$title = get_the_title();
if ( empty($title) )
$title = __('(no title)');
?>
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $class . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
<?php
foreach($posts_columns as $column_name=>$column_display_name) {
switch($column_name) {
case 'cb':
?>
<th scope="row" class="check-column"><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /><?php } ?></th>
<?php
break;
case 'modified':
case 'date':
if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) {
$t_time = $h_time = __('Unpublished');
} else {
if ( 'modified' == $column_name ) {
$t_time = get_the_modified_time(__('Y/m/d g:i:s A'));
$m_time = $post->post_modified;
$time = get_post_modified_time('G', true);
} else {
$t_time = get_the_time(__('Y/m/d g:i:s A'));
$m_time = $post->post_date;
$time = get_post_time('G', true);
}
if ( ( abs(time() - $time) ) < 86400 ) {
if ( ( 'future' == $post->post_status) )
$h_time = sprintf( __('%s from now'), human_time_diff( $time ) );
else
$h_time = sprintf( __('%s ago'), human_time_diff( $time ) );
} else {
$h_time = mysql2date(__('Y/m/d'), $m_time);
}
}
?>
<td><abbr title="<?php echo $t_time ?>"><?php echo apply_filters('post_date_column_time', $h_time, $post, $column_name) ?></abbr></td>
<?php
break;
case 'title':
?>
<td><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; } ?></strong>
<?php if ( !empty($post->post_password) ) { _e(' &#8212; <strong>Protected</strong>'); } elseif ('private' == $post->post_status) { _e(' &#8212; <strong>Private</strong>'); } ?></td>
<?php
break;
case 'categories':
?>
<td><?php
$categories = get_the_category();
if ( !empty( $categories ) ) {
$out = array();
foreach ( $categories as $c )
$out[] = "<a href='edit.php?category_name=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'category', 'display')) . "</a>";
echo join( ', ', $out );
} else {
_e('Uncategorized');
}
?></td>
<?php
break;
case 'tags':
?>
<td><?php
$tags = get_the_tags();
if ( !empty( $tags ) ) {
$out = array();
foreach ( $tags as $c )
$out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . "</a>";
echo join( ', ', $out );
} else {
_e('No Tags');
}
?></td>
<?php
break;
case 'comments':
?>
<td class="num"><div class="post-com-count-wrapper">
<?php
$left = isset($comment_pending_count) ? $comment_pending_count[$post->ID] : 0;
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
if ( $left )
echo '<strong>';
comments_number("<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='edit.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>');
if ( $left )
echo '</strong>';
?>
</div></td>
<?php
break;
case 'author':
?>
<td><a href="edit.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td>
<?php
break;
case 'status':
?>
<td>
<a href="<?php the_permalink(); ?>" title="<?php echo attribute_escape(sprintf(__('View "%s"'), $title)); ?>" rel="permalink">
<?php
switch ( $post->post_status ) {
case 'publish' :
case 'private' :
_e('Published');
break;
case 'future' :
_e('Scheduled');
break;
case 'pending' :
_e('Pending Review');
break;
case 'draft' :
_e('Unpublished');
break;
}
?>
</a>
</td>
<?php
break;
case 'control_view':
?>
<td><a href="<?php the_permalink(); ?>" rel="permalink" class="view"><?php _e('View'); ?></a></td>
<?php
break;
case 'control_edit':
?>
<td><?php if ( current_user_can('edit_post',$post->ID) ) { echo "<a href='post.php?action=edit&amp;post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td>
<?php
break;
case 'control_delete':
?>
<td><?php if ( current_user_can('delete_post',$post->ID) ) { echo "<a href='" . wp_nonce_url("post.php?action=delete&amp;post=$id", 'delete-post_' . $post->ID) . "' class='delete'>" . __('Delete') . "</a>"; } ?></td>
<?php
break;
default:
?>
<td><?php do_action('manage_posts_custom_column', $column_name, $id); ?></td>
<?php
break;
}
}
?>
<tfoot>
<tr>
<?php print_column_headers('edit', false); ?>
</tr>
<?php
endwhile;
} else {
?>
<tr style='background-color: <?php echo $bgcolor; ?>'>
<td colspan="8"><?php _e('No posts found.') ?></td>
</tr>
<?php
} // end if ( have_posts() )
?>
</tfoot>
<tbody>
<?php post_rows(); ?>
</tbody>
</table>
</table>

View File

@@ -1,41 +1,40 @@
<?php
if ( ! empty($tag_ID) ) {
$heading = __('Edit Tag');
$submit_text = __('Edit Tag');
$form = '<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">';
$action = 'editedtag';
$nonce_action = 'update-tag_' . $tag_ID;
do_action('edit_tag_form_pre', $tag);
} else {
$heading = __('Add Tag');
$submit_text = __('Add Tag');
$form = '<form name="addtag" id="addtag" method="post" action="edit-tags.php" class="add:the-list: validate">';
$action = 'addtag';
$nonce_action = 'add-tag';
do_action('add_tag_form_pre', $tag);
/**
* Edit tag form for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
if ( empty($tag_ID) ) { ?>
<div id="message" class="updated fade"><p><strong><?php _e('A tag was not selected for editing.'); ?></strong></p></div>
<?php
return;
}
?>
do_action('edit_tag_form_pre', $tag); ?>
<div class="wrap">
<h2><?php echo $heading ?></h2>
<?php screen_icon(); ?>
<h2><?php _e('Edit Tag'); ?></h2>
<div id="ajax-response"></div>
<?php echo $form ?>
<input type="hidden" name="action" value="<?php echo $action ?>" />
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">
<input type="hidden" name="action" value="editedtag" />
<input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field($nonce_action); ?>
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
<table class="form-table">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
<td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" aria-required="true" />
<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo attribute_escape($tag->name); ?>" size="40" aria-required="true" />
<p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
</tr>
<tr class="form-field">
<th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
<td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
<td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
</tr>
</table>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p>
<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php _e('Update Tag'); ?>" /></p>
<?php do_action('edit_tag_form', $tag); ?>
</form>
</div>

View File

@@ -1,12 +1,19 @@
<?php
/**
* Edit Tags Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('Tags');
$parent_file = 'edit.php';
wp_reset_vars(array('action', 'tag'));
wp_reset_vars( array('action', 'tag') );
if ( isset($_GET['deleteit']) && isset($_GET['delete_tags']) )
if ( isset( $_GET['action'] ) && isset($_GET['delete_tags']) && ( 'delete' == $_GET['action'] || 'delete' == $_GET['action2'] ) )
$action = 'bulk-delete';
switch($action) {
@@ -65,6 +72,7 @@ case 'bulk-delete':
break;
case 'edit':
$title = __('Edit Tag');
require_once ('admin-header.php');
$tag_ID = (int) $_GET['tag_ID'];
@@ -100,13 +108,16 @@ break;
default:
if ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
if ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
wp_enqueue_script( 'admin-tags' );
wp_enqueue_script('admin-forms');
$can_manage = current_user_can('manage_categories');
wp_enqueue_script('admin-tags');
if ( $can_manage )
wp_enqueue_script('inline-edit-tax');
require_once ('admin-header.php');
@@ -115,43 +126,47 @@ $messages[2] = __('Tag deleted.');
$messages[3] = __('Tag updated.');
$messages[4] = __('Tag not added.');
$messages[5] = __('Tag not updated.');
$messages[6] = __('Tags deleted.');
?>
$messages[6] = __('Tags deleted.'); ?>
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<div class="wrap nosubsub">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
</h2>
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
endif; ?>
<div class="wrap">
<form id="posts-filter" action="" method="get">
<?php if ( current_user_can('manage_categories') ) : ?>
<h2><?php printf(__('Manage Tags (<a href="%s">add new</a>)'), '#addtag') ?> </h2>
<?php else : ?>
<h2><?php _e('Manage Tags') ?> </h2>
<?php endif; ?>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
<input type="text" class="search-input" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
</p>
</form>
<br class="clear" />
<div class="tablenav">
<div id="col-container">
<div id="col-right">
<div class="col-wrap">
<form id="posts-filter" action="" method="get">
<div class="tablenav">
<?php
$pagenum = absint( $_GET['pagenum'] );
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
if ( empty($pagenum) )
$pagenum = 1;
if( !$tagsperpage || $tagsperpage < 0 )
$tagsperpage = 20;
$tagsperpage = apply_filters("tagsperpage",20);
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('post_tag') / $tagsperpage),
'current' => $pagenum
));
@@ -160,53 +175,127 @@ if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<div class="alignleft">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<div class="alignleft actions">
<select name="action">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-tags'); ?>
</div>
<br class="clear" />
</div>
<br class="clear" />
<div class="clear"></div>
<table class="widefat">
<table class="widefat tag fixed" cellspacing="0">
<thead>
<tr>
<th scope="col" class="check-column"><input type="checkbox" /></th>
<th scope="col"><?php _e('Name') ?></th>
<th scope="col" class="num" style="width: 90px"><?php _e('Posts') ?></th>
<?php print_column_headers('edit-tags'); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers('edit-tags', false); ?>
</tr>
</tfoot>
<tbody id="the-list" class="list:tag">
<?php
$searchterms = trim( $_GET['s'] );
$searchterms = isset( $_GET['s'] ) ? trim( $_GET['s'] ) : '';
$count = tag_rows( $pagenum, $tagsperpage, $searchterms );
?>
</tbody>
</table>
</form>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
</div>
<br class="clear" />
<div class="alignleft actions">
<select name="action2">
<option value="" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
</div>
<?php if ( current_user_can('manage_categories') ) : ?>
<br class="clear" />
</div>
<br />
<?php include('edit-tag-form.php'); ?>
<br class="clear" />
</form>
</div>
</div><!-- /col-right -->
<?php endif; ?>
<div id="col-left">
<div class="col-wrap">
<div class="tagcloud">
<h3><?php _e('Popular Tags'); ?></h3>
<?php
if ( $can_manage )
wp_tag_cloud(array('link' => 'edit'));
else
wp_tag_cloud();
?>
</div>
<?php if ( $can_manage ) {
do_action('add_tag_form_pre'); ?>
<div class="form-wrap">
<h3><?php _e('Add a New Tag'); ?></h3>
<div id="ajax-response"></div>
<form name="addtag" id="addtag" method="post" action="edit-tags.php" class="add:the-list: validate">
<input type="hidden" name="action" value="addtag" />
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-tag'); ?>
<div class="form-field form-required">
<label for="name"><?php _e('Tag name') ?></label>
<input name="name" id="name" type="text" value="" size="40" aria-required="true" />
<p><?php _e('The name is how the tag appears on your site.'); ?></p>
</div>
<div class="form-field">
<label for="slug"><?php _e('Tag slug') ?></label>
<input name="slug" id="slug" type="text" value="" size="40" />
<p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
</div>
<p class="submit"><input type="submit" class="button" name="submit" value="<?php _e('Add Tag'); ?>" /></p>
<?php do_action('add_tag_form'); ?>
</form></div>
<?php } ?>
</div>
</div><!-- /col-left -->
</div><!-- /col-container -->
</div><!-- /wrap -->
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected tags.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
/* ]]> */
</script>
<?php inline_edit_term_row('edit-tags'); ?>
<?php
break;

View File

@@ -1,90 +1,149 @@
<?php
/**
* Edit Posts Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
// Handle bulk deletes
if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
check_admin_referer('bulk-posts');
foreach( (array) $_GET['delete'] as $post_id_del ) {
$post_del = & get_post($post_id_del);
// Back-compat for viewing comments of an entry
if ( $_redirect = intval( max( @$_GET['p'], @$_GET['attachment_id'], @$_GET['page_id'] ) ) ) {
wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) );
exit;
} else {
unset( $_redirect );
}
if ( !current_user_can('delete_post', $post_id_del) )
wp_die( __('You are not allowed to delete this post.') );
// Handle bulk actions
if ( isset($_GET['action']) && ( -1 != $_GET['action'] || -1 != $_GET['action2'] ) ) {
$doaction = ( -1 != $_GET['action'] ) ? $_GET['action'] : $_GET['action2'];
if ( $post_del->post_type == 'attachment' ) {
if ( ! wp_delete_attachment($post_id_del) )
wp_die( __('Error in deleting...') );
} else {
if ( !wp_delete_post($post_id_del) )
wp_die( __('Error in deleting...') );
}
switch ( $doaction ) {
case 'delete':
if ( isset($_GET['post']) && ! isset($_GET['bulk_edit']) && (isset($_GET['doaction']) || isset($_GET['doaction2'])) ) {
check_admin_referer('bulk-posts');
$deleted = 0;
foreach( (array) $_GET['post'] as $post_id_del ) {
$post_del = & get_post($post_id_del);
if ( !current_user_can('delete_post', $post_id_del) )
wp_die( __('You are not allowed to delete this post.') );
if ( $post_del->post_type == 'attachment' ) {
if ( ! wp_delete_attachment($post_id_del) )
wp_die( __('Error in deleting...') );
} else {
if ( !wp_delete_post($post_id_del) )
wp_die( __('Error in deleting...') );
}
$deleted++;
}
}
break;
case 'edit':
if ( isset($_GET['post']) && isset($_GET['bulk_edit']) ) {
check_admin_referer('bulk-posts');
if ( -1 == $_GET['_status'] ) {
$_GET['post_status'] = null;
unset($_GET['_status'], $_GET['post_status']);
} else {
$_GET['post_status'] = $_GET['_status'];
}
$done = bulk_edit_posts($_GET);
}
break;
}
$sendback = wp_get_referer();
if (strpos($sendback, 'post.php') !== false) $sendback = admin_url('post-new.php');
elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php');
$sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
if ( strpos($sendback, 'post.php') !== false ) $sendback = admin_url('post-new.php');
elseif ( strpos($sendback, 'attachments.php') !== false ) $sendback = admin_url('attachments.php');
if ( isset($done) ) {
$done['updated'] = count( $done['updated'] );
$done['skipped'] = count( $done['skipped'] );
$done['locked'] = count( $done['locked'] );
$sendback = add_query_arg( $done, $sendback );
}
if ( isset($deleted) )
$sendback = add_query_arg('deleted', $deleted, $sendback);
wp_redirect($sendback);
exit();
} elseif ( !empty($_GET['_wp_http_referer']) ) {
wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));
} elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
exit;
}
$title = __('Posts');
if ( empty($title) )
$title = __('Edit Posts');
$parent_file = 'edit.php';
wp_enqueue_script('admin-forms');
wp_enqueue_script('inline-edit-post');
list($post_stati, $avail_post_stati) = wp_edit_posts_query();
if ( 1 == count($posts) && is_singular() )
wp_enqueue_script( 'admin-comments' );
require_once('admin-header.php');
if ( !isset( $_GET['paged'] ) )
$_GET['paged'] = 1;
?>
if ( empty($_GET['mode']) )
$mode = 'list';
else
$mode = attribute_escape($_GET['mode']); ?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
</h2>
<?php
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit post'); ?></a></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
endif; ?>
<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) ) { ?>
<div id="message" class="updated fade"><p>
<?php if ( isset($_GET['updated']) && (int) $_GET['updated'] ) {
printf( __ngettext( '%s post updated.', '%s posts updated.', $_GET['updated'] ), number_format_i18n( $_GET['updated'] ) );
unset($_GET['updated']);
}
if ( isset($_GET['skipped']) && (int) $_GET['skipped'] )
unset($_GET['skipped']);
if ( isset($_GET['locked']) && (int) $_GET['locked'] ) {
printf( __ngettext( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $_GET['locked'] ), number_format_i18n( $_GET['locked'] ) );
unset($_GET['locked']);
}
if ( isset($_GET['deleted']) && (int) $_GET['deleted'] ) {
printf( __ngettext( 'Post deleted.', '%s posts deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) );
unset($_GET['deleted']);
}
$_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated', 'deleted'), $_SERVER['REQUEST_URI'] );
?>
</p></div>
<?php } ?>
<form id="posts-filter" action="" method="get">
<h2><?php
if ( is_single() ) {
printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title));
} else {
$post_status_label = _c('Manage Posts|manage posts header');
if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) )
$post_status_label = $post_stati[$_GET['post_status']][1];
if ( $post_listing_pageable && !is_archive() && !is_search() )
$h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label);
else
$h2_noun = $post_status_label;
// Use $_GET instead of is_ since they can override each other
$h2_author = '';
$_GET['author'] = (int) $_GET['author'];
if ( $_GET['author'] != 0 ) {
if ( $_GET['author'] == '-' . $user_ID ) { // author exclusion
$h2_author = ' ' . __('by other authors');
} else {
$author_user = get_userdata( get_query_var( 'author' ) );
$h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));
}
}
$h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : '';
$h2_cat = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in &#8220;%s&#8221;'), single_cat_title('', false) ) : '';
$h2_tag = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with &#8220;%s&#8221;'), single_tag_title('', false) ) : '';
$h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : '';
printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month );
}
?></h2>
<ul class="subsubsub">
<?php
if ( empty($locked_post_status) ) :
$status_links = array();
$num_posts = wp_count_posts( 'post', 'readable' );
$total_posts = array_sum( (array) $num_posts );
$class = empty( $_GET['post_status'] ) ? ' class="current"' : '';
$status_links[] = "<li><a href='edit.php' $class>" . __('All Posts') . '</a>';
$status_links[] = "<li><a href='edit.php' $class>" . sprintf( __ngettext( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts ), number_format_i18n( $total_posts ) ) . '</a>';
foreach ( $post_stati as $status => $label ) {
$class = '';
@@ -93,52 +152,53 @@ foreach ( $post_stati as $status => $label ) {
if ( empty( $num_posts->$status ) )
continue;
if ( $status == $_GET['post_status'] )
if ( isset($_GET['post_status']) && $status == $_GET['post_status'] )
$class = ' class="current"';
$status_links[] = "<li><a href='edit.php?post_status=$status' $class>" .
sprintf( __ngettext( $label[2][0], $label[2][1], $num_posts->$status ), number_format_i18n( $num_posts->$status ) ) . '</a>';
$status_links[] = "<li><a href='edit.php?post_status=$status' $class>" . sprintf( __ngettext( $label[2][0], $label[2][1], $num_posts->$status ), number_format_i18n( $num_posts->$status ) ) . '</a>';
}
echo implode( ' |</li>', $status_links ) . '</li>';
echo implode( " |</li>\n", $status_links ) . '</li>';
unset( $status_links );
endif;
?>
</ul>
<?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
<?php
endif;
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="post.php?action=edit&amp;post=<?php echo $_GET['posted']; ?>"><?php _e('Edit post'); ?></a></p></div>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
endif;
?>
<p id="post-search">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
</p>
<div class="tablenav">
<?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
<?php endif; ?>
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<?php if ( have_posts() ) { ?>
<div class="tablenav">
<?php
$page_links = paginate_links( array(
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $wp_query->max_num_pages,
'current' => $_GET['paged']
));
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<div class="alignleft">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<div class="alignleft actions">
<select name="action">
<option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php
<?php // view filters
if ( !is_singular() ) {
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC";
@@ -146,16 +206,18 @@ $arc_result = $wpdb->get_results( $arc_query );
$month_count = count($arc_result);
if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?>
if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) {
$m = isset($_GET['m']) ? (int)$_GET['m'] : 0;
?>
<select name='m'>
<option<?php selected( @$_GET['m'], 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
<option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
<?php
foreach ($arc_result as $arc_row) {
if ( $arc_row->yyear == 0 )
continue;
$arc_row->mmonth = zeroise( $arc_row->mmonth, 2 );
if ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] )
if ( $arc_row->yyear . $arc_row->mmonth == $m )
$default = ' selected="selected"';
else
$default = '';
@@ -179,66 +241,75 @@ do_action('restrict_manage_posts');
<?php } ?>
</div>
<br class="clear" />
<?php if ( $page_links ) { ?>
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ),
number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ),
number_format_i18n( $wp_query->found_posts ),
$page_links
); echo $page_links_text; ?></div>
<?php } ?>
<div class="view-switch">
<a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> id="view-switch-list" src="../wp-includes/images/blank.gif" width="20" height="20" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a>
<a href="<?php echo clean_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'excerpt' == $mode ) echo 'class="current"'; ?> id="view-switch-excerpt" src="../wp-includes/images/blank.gif" width="20" height="20" title="<?php _e('Excerpt View') ?>" alt="<?php _e('Excerpt View') ?>" /></a>
</div>
<br class="clear" />
<div class="clear"></div>
</div>
<div class="clear"></div>
<?php include( 'edit-post-rows.php' ); ?>
</form>
<div id="ajax-response"></div>
<div class="tablenav">
<?php
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
echo "<div class='tablenav-pages'>$page_links_text</div>";
?>
<div class="alignleft actions">
<select name="action2">
<option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="edit"><?php _e('Edit'); ?></option>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
<br class="clear" />
</div>
<br class="clear" />
</div>
<br class="clear" />
<?php } else { // have_posts() ?>
<div class="clear"></div>
<p><?php _e('No posts found') ?></p>
<?php } ?>
<?php
</form>
if ( 1 == count($posts) && is_singular() ) :
<?php inline_edit_row( 'post' ); ?>
$comments = $wpdb->get_results( $wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved != 'spam' ORDER BY comment_date", $id) );
if ( $comments ) :
// Make sure comments, post, and post_author are cached
update_comment_cache($comments);
$post = get_post($id);
$authordata = get_userdata($post->post_author);
?>
<div id="ajax-response"></div>
<br class="clear" />
<table class="widefat" style="margin-top: .5em">
<thead>
<tr>
<th scope="col"><?php _e('Comment') ?></th>
<th scope="col"><?php _e('Date') ?></th>
<th scope="col"><?php _e('Actions') ?></th>
</tr>
</thead>
<tbody id="the-comment-list" class="list:comment">
<?php
foreach ($comments as $comment)
_wp_comment_row( $comment->comment_ID, 'detail', false, false );
?>
</tbody>
</table>
<?php
endif; // comments
endif; // posts;
?>
</div>
<script type="text/javascript">
/* <![CDATA[ */
(function($){
$(document).ready(function(){
$('#doaction, #doaction2').click(function(){
if ( $('select[name^="action"]').val() == 'delete' ) {
var m = '<?php echo js_escape(__("You are about to delete the selected posts.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
return showNotice.warn(m);
}
});
});
})(jQuery);
columns.init('edit');
/* ]]> */
</script>
<?php include('admin-footer.php'); ?>

View File

@@ -1,11 +1,21 @@
<?php
/**
* WordPress Export Administration Panel
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once ('admin.php');
/** Load WordPress export API */
require_once('includes/export.php');
$title = __('Export');
$parent_file = 'edit.php';
if ( isset( $_GET['download'] ) ) {
export_wp( $_GET['author'] );
$author = isset($_GET['author']) ? $_GET['author'] : 'all';
export_wp( $author );
die();
}
@@ -13,7 +23,9 @@ require_once ('admin-header.php');
?>
<div class="wrap">
<h2><?php _e('Export'); ?></h2>
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title ); ?></h2>
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p>
<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
@@ -37,7 +49,7 @@ foreach ( $authors as $id ) {
</td>
</tr>
</table>
<p class="submit"><input type="submit" name="submit" value="<?php _e('Download Export File'); ?>" />
<p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Download Export File'); ?>" />
<input type="hidden" name="download" value="true" />
</p>
</form>

View File

@@ -1,20 +1,83 @@
<?php
/**
* Defines the Gears manifest file for Google Gears offline storage.
*
* @package WordPress
* @subpackage Administration
*/
/** Set ABSPATH for execution */
define( 'ABSPATH', dirname(dirname(__FILE__)) );
define( 'WPINC', '/wp-includes' );
/**
* @ignore
*/
function __() {}
/**
* @ignore
*/
function _c() {}
/**
* @ignore
*/
function add_filter() {}
/**
* @ignore
*/
function attribute_escape() {}
/**
* @ignore
*/
function apply_filters() {}
/**
* @ignore
*/
function get_option() {}
/**
* @ignore
*/
function is_lighttpd_before_150() {}
/**
* @ignore
*/
function add_action() {}
/**
* @ignore
*/
function do_action_ref_array() {}
/**
* @ignore
*/
function get_bloginfo() {}
/**
* @ignore
*/
function is_admin() {return true;}
/**
* @ignore
*/
function site_url() {}
/**
* @ignore
*/
function admin_url() {}
/**
* @ignore
*/
function wp_guess_url() {}
require(ABSPATH . '/wp-includes/script-loader.php');
@@ -28,8 +91,9 @@ wp_default_styles($wp_styles);
$defaults = $man_version = '';
foreach ( $wp_scripts->registered as $script ) {
if ( empty($script->src) || strpos($script->src, 'tiny_mce_config.php') ) continue;
if ( empty($script->src) ) continue;
$ver = empty($script->ver) ? $wp_version : $script->ver;
if ( 'editor' == $script->handle ) $mce_ver = $script->ver;
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $script->src );
$defaults .= '{ "url" : "' . $src . '?ver=' . $ver . '" },' . "\n";
$man_version .= $ver;
@@ -46,7 +110,7 @@ foreach ( $wp_styles->registered as $style ) {
if ( isset($style->extra['rtl']) && $style->extra['rtl'] ) {
if ( is_bool( $style->extra['rtl'] ) )
$rtl_href = str_replace( '.css', '-rtl.css', $src );
else
else
$rtl_href = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->extra['rtl'] );
$defaults .= '{ "url" : "' . $rtl_href . '?ver=' . $ver . '" },' . "\n";
@@ -64,7 +128,7 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
?>
{
"betaManifestVersion" : 1,
"version" : "<?php echo $man_version; ?>_20080810",
"version" : "<?php echo $man_version; ?>_20081201",
"entries" : [
<?php echo $defaults; ?>
@@ -72,85 +136,126 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
{ "url" : "images/align-left.png" },
{ "url" : "images/align-none.png" },
{ "url" : "images/align-right.png" },
{ "url" : "images/archive-link.png" },
{ "url" : "images/blue-grad.png" },
{ "url" : "images/browse-happy.gif" },
{ "url" : "images/bubble_bg.gif" },
{ "url" : "images/bubble_bg-rtl.gif" },
{ "url" : "images/button-grad.png" },
{ "url" : "images/button-grad-active.png" },
{ "url" : "images/comment-grey-bubble.png" },
{ "url" : "images/comment-pill.gif" },
{ "url" : "images/comment-stalk-classic.gif" },
{ "url" : "images/comment-stalk-fresh.gif" },
{ "url" : "images/comment-stalk-rtl.gif" },
{ "url" : "images/date-button.gif" },
{ "url" : "images/ed-bg.gif" },
{ "url" : "images/fade-butt.png" },
{ "url" : "images/gear.png" },
{ "url" : "images/fav.png" },
{ "url" : "images/fav-arrow.gif" },
{ "url" : "images/fav-arrow-rtl.gif" },
{ "url" : "images/fav-top.png" },
{ "url" : "images/generic.png" },
{ "url" : "images/gray-grad.png" },
{ "url" : "images/icons32.png" },
{ "url" : "images/icons32-vs.png" },
{ "url" : "images/list.png" },
{ "url" : "images/list-vs.png" },
{ "url" : "images/loading.gif" },
{ "url" : "images/loading-publish.gif" },
{ "url" : "images/logo.gif" },
{ "url" : "images/logo-ghost.png" },
{ "url" : "images/logo-login.gif" },
{ "url" : "images/logo.gif" },
{ "url" : "images/media-button-gallery.gif" },
{ "url" : "images/media-button-image.gif" },
{ "url" : "images/media-button-music.gif" },
{ "url" : "images/media-button-other.gif" },
{ "url" : "images/media-button-video.gif" },
{ "url" : "images/media-buttons.gif" },
{ "url" : "images/tab.png" },
{ "url" : "images/tail.gif" },
{ "url" : "images/toggle-arrow-rtl.gif" },
{ "url" : "images/toggle-arrow.gif" },
{ "url" : "images/wordpress-logo.png" },
{ "url" : "images/xit.gif" },
{ "url" : "images/loading-publish.gif" },
{ "url" : "images/loading.gif" },
{ "url" : "images/required.gif" },
{ "url" : "images/menu.png" },
{ "url" : "images/menu-vs.png" },
{ "url" : "images/menu-arrows.gif" },
{ "url" : "images/menu-bits.gif" },
{ "url" : "images/menu-bits-rtl.gif" },
{ "url" : "images/menu-dark.gif" },
{ "url" : "images/menu-dark-rtl.gif" },
{ "url" : "images/no.png" },
{ "url" : "images/required.gif" },
{ "url" : "images/resize.gif" },
{ "url" : "images/screen-options-left.gif" },
{ "url" : "images/screen-options-right.gif" },
{ "url" : "images/screen-options-right-up.gif" },
{ "url" : "images/se.png" },
{ "url" : "images/star.gif" },
{ "url" : "images/toggle-arrow.gif" },
{ "url" : "images/toggle-arrow-rtl.gif" },
{ "url" : "images/white-grad.png" },
{ "url" : "images/white-grad-active.png" },
{ "url" : "images/wordpress-logo.png" },
{ "url" : "images/wp-logo.gif" },
{ "url" : "images/xit.gif" },
{ "url" : "images/yes.png" },
<?php if ( is_file(ABSPATH.'/wp-includes/js/tinymce/tiny_mce.js') ) { ?>
{ "url" : "../wp-includes/js/tinymce/tiny_mce_popup.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/utils/mctabs.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/utils/validate.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/utils/form_utils.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/utils/editable_selects.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/js/media.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/image.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/link.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js?ver=311g" },
{ "url" : "../wp-includes/js/tinymce/tiny_mce.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js?ver=311" },
<?php if ( is_file('../wp-includes/js/tinymce/tiny_mce.js') ) { ?>
{ "url" : "../wp-includes/js/tinymce/tiny_mce.js", "src" : "../wp-includes/js/tinymce/tiny_mce.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/langs/wp-langs-en.js", "src" : "../wp-includes/js/tinymce/langs/wp-langs-en.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/wordpress.css", "src" : "../wp-includes/js/tinymce/wordpress.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/utils/mctabs.js", "src" : "../wp-includes/js/tinymce/utils/mctabs.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/utils/validate.js", "src" : "../wp-includes/js/tinymce/utils/validate.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/utils/form_utils.js", "src" : "../wp-includes/js/tinymce/utils/form_utils.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/utils/editable_selects.js", "src" : "../wp-includes/js/tinymce/utils/editable_selects.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/tiny_mce_popup.js", "src" : "../wp-includes/js/tinymce/tiny_mce_popup.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/image.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/link.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/media.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/blank.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html?ver=311g" },
{ "url" : "../wp-includes/js/tinymce/wp-mce-help.php?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js", "src" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/image.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/image.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/link.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/link.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/image.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/image.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/link.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/link.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/content.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/media.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/pasteword.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/blank.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css?ver=311g" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/wordpress.css?ver=311" },
{ "url" : "../wp-includes/js/tinymce/plugins/autosave/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/autosave/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm", "src" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/media/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/media/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/media/js/media.js", "src" : "../wp-includes/js/tinymce/plugins/media/js/media.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/media/media.htm", "src" : "../wp-includes/js/tinymce/plugins/media/media.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/media/css/content.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/media.css", "src" : "../wp-includes/js/tinymce/plugins/media/css/media.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/paste/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js", "src" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js", "src" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/blank.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/blank.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/pasteword.css", "src" : "../wp-includes/js/tinymce/plugins/paste/css/pasteword.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/blank.css", "src" : "../wp-includes/js/tinymce/plugins/paste/css/blank.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/safari/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/safari/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js?ver=<?php echo $mce_ver; ?>", "ignoreQuery" : true },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/icons.gif" },
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg" },
@@ -179,18 +284,22 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/shockwave.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/trans.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/img/wline.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/help.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/image.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/media.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/video.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/delete.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/edit.png" },
{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/gallery.png" },
<?php } ?>
{ "url" : "../wp-includes/images/crystal/archive.png" },
@@ -204,6 +313,5 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' );
{ "url" : "../wp-includes/images/crystal/spreadsheet.png" },
{ "url" : "../wp-includes/images/rss.png" },
{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" },
{ "url" : "../wp-includes/js/thickbox/tb-close.png" },
{ "url" : "../wp-includes/js/swfupload/swfupload_f9.swf" }
{ "url" : "../wp-includes/js/thickbox/tb-close.png" }
]}

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wp-admin/images/ed-bg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

BIN
wp-admin/images/fav-top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

BIN
wp-admin/images/fav.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
wp-admin/images/generic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
wp-admin/images/icons32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
wp-admin/images/list-vs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wp-admin/images/list.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 880 B

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
wp-admin/images/marker.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

BIN
wp-admin/images/mask.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

BIN
wp-admin/images/menu-vs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
wp-admin/images/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
wp-admin/images/resize.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

BIN
wp-admin/images/se.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Some files were not shown because too many files have changed in this diff Show More