Commit Graph

1992 Commits

Author SHA1 Message Date
ryan
de71b22e0e Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:16:21 +00:00
ryan
8420f41a24 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:27:46 +00:00
ryan
62a5269eed Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:47:11 +00:00
nacin
d1a37c1f31 When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin
7677e2e874 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:11:44 +00:00
nacin
8b8250b8bb Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:01:44 +00:00
nacin
cd9ab80421 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:39 +00:00
nacin
90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin
8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin
0fd5fee450 Better DNS error message in network.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:40:49 +00:00
nacin
540dcf5108 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: http://svn.automattic.com/wordpress/trunk@14271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:02:09 +00:00
nacin
b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
nacin
e40572be40 Some default password nag and user-edit div.error style cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 21:57:18 +00:00
ryan
e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan
ebc2200460 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:52:14 +00:00
ryan
b7543c5352 Hook update_option_new_admin_email to add_option_new_admin_email so that the confirmation email gets set even when new_admin_email doesn't already exist. see #12192
git-svn-id: http://svn.automattic.com/wordpress/trunk@14242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 18:20:11 +00:00
ryan
6cd2a49a40 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:59:03 +00:00
dd32
84887d6386 Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
git-svn-id: http://svn.automattic.com/wordpress/trunk@14233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:40:37 +00:00
dd32
fb888c7261 Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
git-svn-id: http://svn.automattic.com/wordpress/trunk@14232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 08:30:32 +00:00
dd32
72f72cb238 Handle HTTP errors on popular tags requests, Handle HTTP Errors on listing loading slightly different no-js compatible. Fixes #13107
git-svn-id: http://svn.automattic.com/wordpress/trunk@14228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 05:39:39 +00:00
dd32
d0cb517220 Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 10:29:01 +00:00
dd32
5bde56c788 Correct "Last Edited by" username, Updates the last edited username upon save rather than upon a edit lock being created. Props rooodini & deepak.seth. Fixes #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@14216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:24:38 +00:00
wpmuguru
821db5b0b0 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: http://svn.automattic.com/wordpress/trunk@14215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:15:00 +00:00
wpmuguru
4b0484781c remove from usermeta table in r14212, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:28:12 +00:00
wpmuguru
3c2369c8d7 remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:09:48 +00:00
dd32
d000a0706f Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: http://svn.automattic.com/wordpress/trunk@14210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 02:59:41 +00:00
ryan
bc0947b075 Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: http://svn.automattic.com/wordpress/trunk@14206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:34:03 +00:00
nacin
866ed4fc0f Shake away files removed in 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 17:20:26 +00:00
ryan
070f285e4d Remove fat finger typo. see #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:26:00 +00:00
ryan
9f33300139 Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:25:05 +00:00
josephscott
47699849f7 - 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: http://svn.automattic.com/wordpress/trunk@14191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 22:53:44 +00:00
josephscott
e26aed0ac4 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: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +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
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
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
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
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
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
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
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
dd32
abcbdf58b2 Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
dd32
688ae7577e Check $pagenow?post_type=$typenow for submenu titles, Fixes page titles for plugin pages added to custom post_type's. Fixes #12985
git-svn-id: http://svn.automattic.com/wordpress/trunk@14126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 02:56:00 +00:00