Commit Graph

12855 Commits

Author SHA1 Message Date
ryan
41a9873022 Clear the users cache when updating user metadata. fixes #13075
git-svn-id: http://svn.automattic.com/wordpress/trunk@14179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 18:25:03 +00:00
ryan
73f0e2f334 Add multisite check on delete. Check promote_user cap. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:58:10 +00:00
nbachiyski
16989ec444 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: http://svn.automattic.com/wordpress/trunk@14177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:44:21 +00:00
ryan
fda80bc7f6 Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
westi
8ce9670189 Improve documentation of validate_current_theme()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:14:25 +00:00
ryan
219f902d3d Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 16:33:13 +00:00
nbachiyski
6a4971c131 Upgrader i18n fixes: add translator messages, take tags out of a message and use the correct error text when including both the title and the error message
git-svn-id: http://svn.automattic.com/wordpress/trunk@14173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 10:58:06 +00:00
nbachiyski
a3f84296c5 Change user name to username for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:40:08 +00:00
nbachiyski
7658f0892d Focus on the password field if the user has come from the default password nag
git-svn-id: http://svn.automattic.com/wordpress/trunk@14171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:16:14 +00:00
nbachiyski
a8f935789b Split the default password nag text to several translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@14170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:15:07 +00:00
nbachiyski
9aff4a6206 Take <em> tag out of translatable string
git-svn-id: http://svn.automattic.com/wordpress/trunk@14169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:06:41 +00:00
nbachiyski
4f9e5d644b Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
git-svn-id: http://svn.automattic.com/wordpress/trunk@14168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 15:13:27 +00:00
nbachiyski
049af4a425 Trash should always be in titlecase for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 14:54:36 +00:00
nbachiyski
33628516d1 Add missing semi-colon in the end of quote entity. Props Cátia Kitahara
git-svn-id: http://svn.automattic.com/wordpress/trunk@14166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 20:49:13 +00:00
nbachiyski
04f843f306 Un-www wordpress.org links in two importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@14165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:09:38 +00:00
nbachiyski
33ecb0ea45 Add a translators comment to clarify what comes after at
git-svn-id: http://svn.automattic.com/wordpress/trunk@14164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:08:48 +00:00
nbachiyski
bb110266c3 Indent and split into several lines the HTML for wp-admin logo
git-svn-id: http://svn.automattic.com/wordpress/trunk@14163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 13:33:18 +00:00
dd32
cafb51263a Canonical redirect to correct location if rss2 is not default feed. wp-feed.php redirection to default feed type instad of rss2. Props solarissmoke. Fixes #13047
git-svn-id: http://svn.automattic.com/wordpress/trunk@14162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 12:03:01 +00:00
nbachiyski
1e3b84960f Take out opening and closing <p> tags from translation strings. Focus on the key input on page load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 12:01:32 +00:00
dd32
5d597976b4 Remove double-query for Author ID. Props simonwheatley. Fixes #12048
git-svn-id: http://svn.automattic.com/wordpress/trunk@14160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 10:50:03 +00:00
nacin
d7f5f107e4 Make the 'Delete' action link for plugins red. fixes #12741, props jane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:43:16 +00:00
nacin
e47e3cc31c Introduce is_post_type(). Can check if a post type is registered, or also if a post (current or specified) is of a certain post type. fixes #12588, props sirzooro, blepoxp, rmccue
git-svn-id: http://svn.automattic.com/wordpress/trunk@14158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:40:50 +00:00
nacin
a1c0cee221 Change the 'per page' screen options strings. fixes #12872, props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:15:58 +00:00
nacin
b4da392519 Remove dead code. props azaozz, see #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 16:49:18 +00:00
nacin
98b9ace627 Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:54:45 +00:00
nacin
a6d816df0b Use wp_parse_args in register_sidebar. fixes #11836, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:32:39 +00:00
nacin
3ca17b00ac Optimize the Authors drop-down in export.php. Makes it one query, also orders authors by display name. see #10317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 14:51:55 +00:00
dd32
66a9d58336 Fix page-<pageslug>.php templates for static front pages. See #12907
git-svn-id: http://svn.automattic.com/wordpress/trunk@14152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 11:50:48 +00:00
dd32
f7e764312b Fix invalid paths in requires. See r14139. See #12594
git-svn-id: http://svn.automattic.com/wordpress/trunk@14151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:51:19 +00:00
dd32
452057154f Better styling for Press This Category tabs in Classic theme. Fixes #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:44:07 +00:00
dd32
32cfe19193 Better styling for Press this Categories. Props duck_. See #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:41:51 +00:00
dd32
810775c865 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:23:03 +00:00
dd32
cc9c13d266 Use correct custom post_type token in get_sample_permalink()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:18:20 +00:00
dd32
18a81ac245 Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:09:45 +00:00
dd32
3eec9dd73f Use Alt Text for Image alt caption (Falling back to Caption, and finally title) in wp_get_attachment_image() and subsequently, WordPress Galleries. Props kallewangstedt for initial patch. Fixes #11846
git-svn-id: http://svn.automattic.com/wordpress/trunk@14145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 08:52:18 +00:00
dd32
029e988594 Make (\d)x(\d) texturization less greedy, requires a word boundary either side of the phrase. See #12118
git-svn-id: http://svn.automattic.com/wordpress/trunk@14144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 08:26:38 +00:00
dd32
5cd73bf182 Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
dd32
8fe91a75b5 Fix typo in unspamed comments message
git-svn-id: http://svn.automattic.com/wordpress/trunk@14142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:32:59 +00:00
dd32
d792282cea Advertise the correct comment feed link for a Page on the Front. Do not canonical redirect the front page comments feeds to home. Fixes #12452
git-svn-id: http://svn.automattic.com/wordpress/trunk@14141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:51:16 +00:00
dd32
ceea02c6c8 Bump the other upgrade check, Fixes r14138. See #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:18:00 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32
0d0902e9e8 Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:08:40 +00:00
nacin
f0a9c50f18 Escape some permalinks. add_query_arg will &, not &amp;, so we need to use esc_url those when used in an attribute. fixes #12126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:01:19 +00:00
nacin
3fc6562444 Switch to site_url() as wp-app base. fixes #11916
git-svn-id: http://svn.automattic.com/wordpress/trunk@14136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 05:56:35 +00:00
nacin
f87c42f038 Fix sticky post handling. Use unset instead of array_splice to remove an item by key retrieved by array_search. props jeffstieler, fixes #11966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 05:11:05 +00:00
dd32
efe0a28c18 Bail from WP_HTTP when a invalid URL is provided. Fixes #12964
git-svn-id: http://svn.automattic.com/wordpress/trunk@14134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:58:19 +00:00
nacin
4ba94c72fc Allow include/exclude args to be arrays in get_posts() and get_pages(). Utilizes wp_parse_id_list(). props scribu, fixes #11076.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:54:19 +00:00
nacin
6bad016e80 Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:49:19 +00:00
nacin
144af9f1a4 Allow orberby in wp_list_bookmarks to accept a comma-delimited list of fields, per docs. fixes #12421, props sorich87, scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:45:09 +00:00
dd32
34c57058bf Update _wp_translate_postdata() capability checks to use Post Type API capability fields. Props duck_. Fixes #12987
git-svn-id: http://svn.automattic.com/wordpress/trunk@14130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:26:39 +00:00