Joseph Scott
c97705cd49
- don't pass user id to list_users check
...
- only link the username if the edit_user cap check passes
see #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14191 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 22:53:44 +00:00
Peter Westwood
3f2ee78320
Restore support for floating point numbers in number_format_i18n(). Fixes #10555 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14190 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 21:39:37 +00:00
Joseph Scott
cae7b3b275
New 'list_users' cap to provide more controls over listing users vs. editing
...
users.
Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.
Bump db version to 14139 to pick up the new cap.
See #13074
git-svn-id: https://develop.svn.wordpress.org/trunk@14189 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 19:48:13 +00:00
Ryan Boren
74cae0802c
Fix paging numbers. Props ocean90. fixes #13082
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14188 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:59:21 +00:00
Ryan Boren
f28be2ee6a
Dashboard and Press This RTL fixeixes. Props yoavf. fixes #13083
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14187 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:54:08 +00:00
Nikolay Bachiyski
0a0ec2ff46
Make the $path argument of load_muplugin_textdomain() functional -- relative to mu-plugins. Props uglyrobot, fixes #12875
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14186 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 11:32:50 +00:00
Ron Rennick
2d684e0eb7
fix page count calc for unattached media, props PeteMall, see #12448
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14185 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 23:30:06 +00:00
Peter Westwood
00b53270ca
Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14184 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:41:20 +00:00
Ryan Boren
3479e68ff8
Return after echoing cached calendar. Fixes double output. Props mtdewvirus. fixes #13077
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14183 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:35:39 +00:00
Peter Westwood
dcdde9cb36
Allow a theme to set an id on the container object for the wp_nav_menu output. Fixes #13057 props thee17.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14182 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:32:08 +00:00
Ryan Boren
3750f4ac5d
Move the global up
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14181 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 20:37:54 +00:00
Ryan Boren
70fdc2138c
Make sure is set correctly when advanced-cache.php is being used.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14180 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 20:34:32 +00:00
Ryan Boren
6973ce2f9f
Clear the users cache when updating user metadata. fixes #13075
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14179 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 18:25:03 +00:00
Ryan Boren
20dcabfd49
Add multisite check on delete. Check promote_user cap. see #13074
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14178 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:58:10 +00:00
Nikolay Bachiyski
d6208f9a02
Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14177 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:44:21 +00:00
Ryan Boren
0e3d10f5ac
Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14176 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:43:53 +00:00
Peter Westwood
633278d3be
Improve documentation of validate_current_theme()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14175 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:14:25 +00:00
Ryan Boren
f234057c83
Add add_users cap to allow distringuishing between adding and creating users.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14174 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 16:33:13 +00:00
Nikolay Bachiyski
bc16bc564e
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: https://develop.svn.wordpress.org/trunk@14173 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 10:58:06 +00:00
Nikolay Bachiyski
98da786577
Change user name to username for consistency
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14172 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:40:08 +00:00
Nikolay Bachiyski
cb1baf850f
Focus on the password field if the user has come from the default password nag
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14171 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:16:14 +00:00
Nikolay Bachiyski
ebb05d65d4
Split the default password nag text to several translatable strings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14170 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:15:07 +00:00
Nikolay Bachiyski
0663ca9043
Take <em> tag out of translatable string
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14169 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:06:41 +00:00
Nikolay Bachiyski
81d0b63fde
Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14168 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 15:13:27 +00:00
Nikolay Bachiyski
0cab071f77
Trash should always be in titlecase for consistency
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14167 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 14:54:36 +00:00
Nikolay Bachiyski
47536f1eee
Add missing semi-colon in the end of quote entity. Props Cátia Kitahara
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14166 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 20:49:13 +00:00
Nikolay Bachiyski
c74c1884d5
Un-www wordpress.org links in two importers
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14165 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 15:09:38 +00:00
Nikolay Bachiyski
f6df31176b
Add a translators comment to clarify what comes after at
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14164 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 15:08:48 +00:00
Nikolay Bachiyski
c20efb28e8
Indent and split into several lines the HTML for wp-admin logo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14163 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 13:33:18 +00:00
Dion Hulse
d10ff2dfc5
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: https://develop.svn.wordpress.org/trunk@14162 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 12:03:01 +00:00
Nikolay Bachiyski
8fc4c41c77
Take out opening and closing <p> tags from translation strings. Focus on the key input on page load.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14161 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 12:01:32 +00:00
Dion Hulse
6f89c1a63a
Remove double-query for Author ID. Props simonwheatley. Fixes #12048
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14160 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-19 10:50:03 +00:00
Andrew Nacin
c79e18467b
Make the 'Delete' action link for plugins red. fixes #12741 , props jane.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14159 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:43:16 +00:00
Andrew Nacin
d7a1de87f0
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: https://develop.svn.wordpress.org/trunk@14158 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:40:50 +00:00
Andrew Nacin
c3ec0a0c9c
Change the 'per page' screen options strings. fixes #12872 , props caesarsgrunt.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14157 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 17:15:58 +00:00
Andrew Nacin
1061d2e414
Remove dead code. props azaozz, see #11882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14156 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 16:49:18 +00:00
Andrew Nacin
bf00891a05
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: https://develop.svn.wordpress.org/trunk@14155 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 15:54:45 +00:00
Andrew Nacin
7369d04015
Use wp_parse_args in register_sidebar. fixes #11836 , props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14154 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 15:32:39 +00:00
Andrew Nacin
ac368dbd77
Optimize the Authors drop-down in export.php. Makes it one query, also orders authors by display name. see #10317 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14153 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 14:51:55 +00:00
Dion Hulse
122abf2fa8
Fix page-<pageslug>.php templates for static front pages. See #12907
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14152 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 11:50:48 +00:00
Dion Hulse
a897bc0275
Fix invalid paths in requires. See r14139. See #12594
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14151 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:51:19 +00:00
Dion Hulse
a299bd5c3e
Better styling for Press This Category tabs in Classic theme. Fixes #12809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14150 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:44:07 +00:00
Dion Hulse
5bfc2f5463
Better styling for Press this Categories. Props duck_. See #12809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14149 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:41:51 +00:00
Dion Hulse
64340690f9
Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14148 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:23:03 +00:00
Dion Hulse
5383a45de3
Use correct custom post_type token in get_sample_permalink()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14147 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:18:20 +00:00
Dion Hulse
f72a1d860a
Use the correct field when determining if the parent can support the Post Editor. See #12792
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14146 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:09:45 +00:00
Dion Hulse
044eb3afba
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: https://develop.svn.wordpress.org/trunk@14145 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 08:52:18 +00:00
Dion Hulse
929ff9692b
Make (\d)x(\d) texturization less greedy, requires a word boundary either side of the phrase. See #12118
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14144 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 08:26:38 +00:00
Dion Hulse
f42b2b775b
Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:37:45 +00:00
Dion Hulse
aa9db422bf
Fix typo in unspamed comments message
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14142 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:32:59 +00:00