Commit Graph

2205 Commits

Author SHA1 Message Date
dd32
2db60de875 Skip over __MACOSX folders during zip extraction. Props chrisbliss18. Fixes #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:24:36 +00:00
nacin
ec38ce48e9 Support network-wide plugin re-activation in upgrades and edits. props PeteMall, fixes #13216
git-svn-id: http://svn.automattic.com/wordpress/trunk@14348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:57:44 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32
3213eab0f8 Check for "ZIP_ER_OK" return value on ZipArchive. See #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:25:30 +00:00
nacin
16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin
f92971a7ff Use the correct defines in secret_salt_warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:50:55 +00:00
nacin
6ebe054817 Show > 100% blog space used in MS Right Now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:06:48 +00:00
nacin
3a2f3b3433 s/blog/site/ in more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
nacin
1b6c254cb5 Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:56:29 +00:00
nacin
0cfdd41300 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00
nacin
bb3f1f5f45 Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:25:54 +00:00
nacin
e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
westi
2c1cc83750 Fix support for rewrites on IIS7. Fixes #12973 props Frumph and ruslany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 21:41:20 +00:00
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
dd32
87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
dd32
e56cc6ce28 Toggle between "Show Details" and "Hide Details" on GUU; Add no-js CSS class support to generic iframe header. Props ocean90. Fixes #12919
git-svn-id: http://svn.automattic.com/wordpress/trunk@14123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 12:27:13 +00:00
dd32
629432887e Return false on WP_Filesystem_FTPext::dirlist() for non-existant folders. See #12232. See #12057
git-svn-id: http://svn.automattic.com/wordpress/trunk@14120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 04:00:59 +00:00
nacin
9b76fb2563 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:45:16 +00:00
ryan
e9dae8c287 Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:44:38 +00:00
ryan
a86f7357c5 Add edit_theme_options capability
git-svn-id: http://svn.automattic.com/wordpress/trunk@14111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 15:36:44 +00:00
nacin
c4abc1c875 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: http://svn.automattic.com/wordpress/trunk@14099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:29:10 +00:00
nacin
27a67938ee Be back compat with the contextual_help filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:09:56 +00:00
ryan
9f32130e38 Map 'index' to 'dashboard' for current screen. Fixes contextual help for the dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 21:55:09 +00:00
ryan
687ce2919f Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: http://svn.automattic.com/wordpress/trunk@14080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:56:57 +00:00
dd32
59bb0c7d9c Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:41:40 +00:00
dd32
659fa59ec5 Password nag should be a global user option. Fixes #12926
git-svn-id: http://svn.automattic.com/wordpress/trunk@14060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 13:05:04 +00:00
nacin
0de035558e Fix notice in get_media_items().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:49:58 +00:00
nacin
5e36f9f821 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:54:33 +00:00
nacin
7b1211b536 Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:47:31 +00:00
nacin
bf77b5c189 More grant/revoke super admin improvements. fixes #12933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-09 08:26:16 +00:00
nacin
6eaa3b9637 Fix revoke_super_admin(). see #12933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-09 07:17:42 +00:00
nacin
559a6e0855 Revert [14011]. Add some actions. fixes #12109, see #12460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 04:15:58 +00:00
nacin
53e0be05cb Remove references to the old .fade class for message divs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:36:52 +00:00
nacin
9ebf0afe13 Stop a dismissed admin notice feed from appearing on the next page load. see #12912.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:31:51 +00:00
wpmuguru
b90e44bbb9 use meta caps in [14032], see #12109
git-svn-id: http://svn.automattic.com/wordpress/trunk@14033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 21:04:42 +00:00
ryan
f609d0c8a3 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: http://svn.automattic.com/wordpress/trunk@14032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:28:10 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
nacin
736d80e1c0 Use correct var in inline_edit_row(). fixes #12887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 06:01:29 +00:00
nacin
06a8eee4e0 Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869
git-svn-id: http://svn.automattic.com/wordpress/trunk@14025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 05:08:37 +00:00
nacin
c6ef197f53 New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 03:54:43 +00:00
nacin
60a2fe8c44 Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 02:58:23 +00:00
dd32
d5ee7bca10 Replace use of tmpfile() with a safe get_temp_dir(). tmpfile() may use a temporary directly which is not writable. Add static caching to get_temp_dir() & better protect against bad server configs. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:51 +00:00
markjaquith
07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
wpmuguru
aebc2cb826 set registered datestamp to current time during enable network, see #12747
git-svn-id: http://svn.automattic.com/wordpress/trunk@14012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 01:41:34 +00:00
wpmuguru
3e970343af add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@14011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 22:28:21 +00:00
nacin
4892ad8757 Fix broken string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:31:38 +00:00
dd32
8984530614 Update broken translation. S/post thumbnail/featured image/
git-svn-id: http://svn.automattic.com/wordpress/trunk@14007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:15:35 +00:00
nacin
c449adb237 File-level phpdoc for multisite files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 13:29:35 +00:00
nacin
f925c3c2b4 Adjust get_file_description() to account for absolute paths. see #12843
git-svn-id: http://svn.automattic.com/wordpress/trunk@13994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:07:27 +00:00
nacin
37faed2c03 Give names to author.php and tag.php in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:23:09 +00:00
nacin
6182fa89af Give editor-style.css a name in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:14:29 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
927a8afbf3 Allow "No role for this blog" to be chosen on user-edit. Add defensive checks for a few potential notices. fixes #10833
git-svn-id: http://svn.automattic.com/wordpress/trunk@13961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 08:08:12 +00:00
nacin
647fe5d199 Initialize some options for the secondary dashboard widget. see #11783
git-svn-id: http://svn.automattic.com/wordpress/trunk@13959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:31:28 +00:00
nacin
c5c47b4b20 Make remove_user a meta capability. see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
nacin
69f5922799 Use correct cap in get_editable_user_ids(). edit_cap is the meta cap (edit_post) and needs a post id passed, edit_type_cap is the primitive edit_posts cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 04:38:20 +00:00
nacin
e7486800d9 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:27:23 +00:00
nacin
d23bb077c3 Change "More Information" link to "Details" in plugin installer. Shorten/clarify a few other strings. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:04:48 +00:00
ryan
311b5a82cc Use wpdb->prefix instead of wpdb->base_prefix(). base_prefix() does not return the correct prefix when a blog ID is not passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:23:36 +00:00
nacin
7b55c4688a Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:46:07 +00:00
dd32
ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
nacin
6a1844f98e Allow MS cape-wearers to demote their blog roles to something without the edit_users cap. see #12387
git-svn-id: http://svn.automattic.com/wordpress/trunk@13934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:30:00 +00:00
wpmuguru
23a82e9619 fix caps check on delete user link, props ocean90, see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 03:40:49 +00:00
dd32
c2aba0b250 Correct typos in r13920. Use correct variable name. See #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:38:37 +00:00
dd32
f7b83bd893 Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:17:53 +00:00
markjaquith
d510d0bdc7 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 21:21:27 +00:00
markjaquith
fb96ce358a Deletion link should always show
git-svn-id: http://svn.automattic.com/wordpress/trunk@13905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 20:13:04 +00:00
ryan
2cea68f079 Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 19:13:38 +00:00
nacin
e2c3b87693 Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:16:28 +00:00
ryan
8e4859a35c Use network_*_url(). see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 21:45:31 +00:00
dd32
949d9a0362 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: http://svn.automattic.com/wordpress/trunk@13875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 09:57:34 +00:00
dd32
28b30dec84 Fix typo in r13850. See #12232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 08:23:46 +00:00
dd32
e4bd7fa6ce Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:13:53 +00:00
dd32
f3e9d332d2 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
dd32
bf6510abd1 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32
4422f6d1fd Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:37:10 +00:00
dd32
a47cdd86cb Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:07:03 +00:00
nacin
d0404ed946 Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:22:05 +00:00
dd32
99c832385e Fix Link Category Tab styling. Props ocean90. Fixes #12712
git-svn-id: http://svn.automattic.com/wordpress/trunk@13840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:21:53 +00:00
nacin
f16de21ca5 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 21:50:54 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
nacin
6e0976117a Fix potential notice in wp_handle_sideload().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:42:34 +00:00
nacin
637d557aca Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: http://svn.automattic.com/wordpress/trunk@13817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 04:42:08 +00:00
nacin
47b80515da Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: http://svn.automattic.com/wordpress/trunk@13806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-23 19:13:58 +00:00
nacin
e507f32dd4 Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 23:03:31 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
nacin
59c4af548b Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 14:01:43 +00:00
nacin
243106b21e Fix the MS admin notice feed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 02:23:45 +00:00
nacin
261592f3e7 Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 01:31:18 +00:00
dd32
68445ab030 Use correct cap checks and nonces for custom post_type's
git-svn-id: http://svn.automattic.com/wordpress/trunk@13786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:29:11 +00:00
dd32
68562ccc93 Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 03:05:25 +00:00
dd32
5d965f2c1c Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:46:31 +00:00
dd32
e2736b7583 Tabs are better than spaces. Whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:39:58 +00:00
dd32
48eb248a6d Fix notice in Page Templates when a Template is not set for the current page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:37:16 +00:00
dd32
78841d8f5f Add additional columns to the Posts Comments view. Props arena. Fixes #11231
git-svn-id: http://svn.automattic.com/wordpress/trunk@13775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:35:17 +00:00
nacin
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
wpmuguru
64f48fd0bc add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: http://svn.automattic.com/wordpress/trunk@13768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 20:48:59 +00:00
dd32
96db88e1b8 Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
git-svn-id: http://svn.automattic.com/wordpress/trunk@13763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 08:03:52 +00:00
nacin
8b7d7afa72 Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
git-svn-id: http://svn.automattic.com/wordpress/trunk@13762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 03:09:02 +00:00
wpmuguru
96d21ae1f3 force users to re-login after installing network, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@13760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 23:35:04 +00:00
nacin
3a599d714e Correct a copy-paste error in wp_manage_posts_columns().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 22:34:58 +00:00
nacin
65e9cd7eb1 Add deprecated notices for Options > Misc settings registrations. see #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:32:27 +00:00
dd32
5a5064ae61 Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:50:43 +00:00
dd32
d51a95d091 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:17:55 +00:00
markjaquith
6786e3ddb3 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:57:08 +00:00
ryan
6fe61df60f Introduce WP_DEFAULT_THEME
git-svn-id: http://svn.automattic.com/wordpress/trunk@13737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:42:49 +00:00
ryan
968c73da1e Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:39:38 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
dd32
af6960601f post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@13729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 12:35:48 +00:00
markjaquith
94bcf51d32 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:33:53 +00:00
markjaquith
411734437a Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:10:47 +00:00
markjaquith
58d47426cc More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
ryan
60f8f5a6aa Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:01:49 +00:00
ryan
c49ec29fdb Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:22:24 +00:00
wpmuguru
47302e0188 first pass on optional global terms, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
ryan
10656cb1eb Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 16:34:30 +00:00
wpmuguru
0c2ab53136 introduce global_terms_enabled site option, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 15:31:50 +00:00
ryan
f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
dd32
f07052a516 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: http://svn.automattic.com/wordpress/trunk@13686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 03:59:40 +00:00
nacin
f6415fc7eb Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:21:18 +00:00
nacin
20eae9d24a Use disabled() form helper. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:12:23 +00:00
ryan
5d6cd5deb5 Use page icon for page menus. fixes #12583
git-svn-id: http://svn.automattic.com/wordpress/trunk@13659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:54:47 +00:00
nacin
1f422200ee Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:34:27 +00:00
nacin
00c591591c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 01:51:24 +00:00
nacin
55e6976d96 Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:46:05 +00:00
nacin
0069db858c Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:34:42 +00:00
nacin
df48ab984f Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:17:07 +00:00
nacin
4f23fbe1c7 Don't page comments by default. fixes #12562
git-svn-id: http://svn.automattic.com/wordpress/trunk@13636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 21:04:41 +00:00
dd32
0d385b1408 Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
git-svn-id: http://svn.automattic.com/wordpress/trunk@13624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:23:03 +00:00
wpmuguru
a7011c50ca allow existing media path on main site when converting to multisite, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@13619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 19:52:29 +00:00
wpmuguru
6b18130fb2 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: http://svn.automattic.com/wordpress/trunk@13618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 16:31:12 +00:00
nacin
f77605f081 Remove htaccess.ms and wp-config.ms templates. These were brought inline in [13611]. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:11:18 +00:00
nacin
d6c51469c2 s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:06:32 +00:00
nacin
f210aed76d Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 19:36:35 +00:00
ryan
b2c3ace49a Update ms-sites UI. Props ocean90. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 18:31:10 +00:00
dd32
f3af366e3d First scrape at new UI for Bulk plugin upgrades. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:39:50 +00:00
dd32
9e31757e40 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: http://svn.automattic.com/wordpress/trunk@13600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:00:42 +00:00
wpmuguru
b47298ef62 set default value for upload_space_check_disabled, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 21:01:08 +00:00
dd32
e2ef640d36 Do not display user specified password during install. Fixes #12479. See #10396 for feedback
git-svn-id: http://svn.automattic.com/wordpress/trunk@13592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 12:25:30 +00:00
wpmuguru
dec2715ca4 UI upgrade -> update, see #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 23:28:15 +00:00
ryan
103a4f46b6 Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 18:59:24 +00:00
ryan
aa47e83dee Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: http://svn.automattic.com/wordpress/trunk@13579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 00:15:55 +00:00
nacin
c4fa74306d Support for extra POST fields in WP_Filesystem. props dd32. see #12094
git-svn-id: http://svn.automattic.com/wordpress/trunk@13577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:53:39 +00:00
ryan
086ad7d933 Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:08:30 +00:00
wpmuguru
c4f0134808 add features to export, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@13573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 16:45:40 +00:00
nacin
4c1b910030 First pass on network.php improvements. see #12094
git-svn-id: http://svn.automattic.com/wordpress/trunk@13571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:43:32 +00:00
nacin
8b87777391 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:04:25 +00:00
wpmuguru
7cafb3f959 set default value for add_new_users site option, see #12463
git-svn-id: http://svn.automattic.com/wordpress/trunk@13564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 22:57:12 +00:00
nacin
b657e01fad Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 21:04:37 +00:00
ryan
d71efc7362 Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
git-svn-id: http://svn.automattic.com/wordpress/trunk@13536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 16:03:27 +00:00
ryan
37bfdee064 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 15:48:01 +00:00
dd32
b56ae0e0cb Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@13531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:32:00 +00:00
dd32
0c2e896156 A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: http://svn.automattic.com/wordpress/trunk@13528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 11:57:03 +00:00
nacin
9a05d19cba Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 06:01:00 +00:00
nacin
88f4b87d15 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:50:55 +00:00
nacin
7c13a4d3b5 Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
git-svn-id: http://svn.automattic.com/wordpress/trunk@13519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 00:09:30 +00:00
nacin
01d4f4f18c Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:29:24 +00:00
ryan
25a2a06a9e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
nacin
093beae9f1 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: http://svn.automattic.com/wordpress/trunk@13510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:39:06 +00:00
wpmuguru
210a5a70a1 more ms delete user tweaks, props ocean90, see #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:24:25 +00:00
wpmuguru
0fc4e2c9c1 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 16:58:17 +00:00
dd32
83e11093ab remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
git-svn-id: http://svn.automattic.com/wordpress/trunk@13503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 13:15:54 +00:00
dd32
9472175b79 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: http://svn.automattic.com/wordpress/trunk@13489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:12:05 +00:00
dd32
4a59fbc765 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: http://svn.automattic.com/wordpress/trunk@13488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:38:15 +00:00
dd32
b1621c63ae Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:34:31 +00:00
dd32
b9c22a4e91 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: http://svn.automattic.com/wordpress/trunk@13482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 03:18:40 +00:00
wpmuguru
fcf6942d33 more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
wpmuguru
1c5f2af719 warnings cleanup edit user, props dd32, see #12387
git-svn-id: http://svn.automattic.com/wordpress/trunk@13463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:07:25 +00:00
wpmuguru
1c87155b6d warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:48:37 +00:00
nacin
252e198ea8 Fix typos. props TobiasBg fixes #12398
git-svn-id: http://svn.automattic.com/wordpress/trunk@13455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 15:53:06 +00:00
nacin
9797dacaa0 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: http://svn.automattic.com/wordpress/trunk@13453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 07:36:35 +00:00
nacin
b36063b03c Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: http://svn.automattic.com/wordpress/trunk@13451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 06:45:23 +00:00
wpmuguru
ab6e21f6fb more multisite UI rebranding, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:08:01 +00:00
nacin
8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin
1409dcca90 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:41:23 +00:00
westi
c7aa32c0ac Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:19:03 +00:00
westi
2372671879 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:41:33 +00:00
ryan
e2bec6bd60 only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:13:23 +00:00
nacin
8bcc5969dc Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
nacin
3dcd9176de s/existant/existent/
git-svn-id: http://svn.automattic.com/wordpress/trunk@13380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:01:37 +00:00
ryan
9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
ryan
12f9c6113e Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:52:54 +00:00
nacin
9ec5ce818a Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 16:45:33 +00:00
markjaquith
654c7a3888 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 09:43:09 +00:00
ryan
d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
ryan
fc6d49427e Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:43:41 +00:00
nacin
4e56d1c6a9 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:42:40 +00:00
markjaquith
09e8d27130 Whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:12:48 +00:00
nacin
e692640c11 Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:59:40 +00:00
nacin
2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
nacin
2dcfc0913b Remove unused 'secret' option. Fixes #12221
git-svn-id: http://svn.automattic.com/wordpress/trunk@13309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:02 +00:00
wpmuguru
a5a9f32b73 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:41:38 +00:00
nacin
5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
ryan
a55b30dcaf Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: http://svn.automattic.com/wordpress/trunk@13290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 16:54:51 +00:00
dd32
0ec732b34a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00
dd32
511454bd14 Links to Comment on Comments page, even for users that cannot modify it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:26:18 +00:00
markjaquith
76a24ce6b1 Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 21:24:48 +00:00
dd32
8e74ffb282 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: http://svn.automattic.com/wordpress/trunk@13283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 11:21:32 +00:00
dd32
75e88df3fe Link to Posts page on Taxonomy Administration page even for Count == 0. Count does not include Drafts/Scheduled posts, only "published" posts. Props miqrogroove. Fixes #11340
git-svn-id: http://svn.automattic.com/wordpress/trunk@13282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 11:02:14 +00:00