Commit Graph

3336 Commits

Author SHA1 Message Date
ryan eb9fa27602 Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:25:39 +00:00
nacin e68063f9f3 Don't check the upload space site option if the option is disabled. props greuben, fixes #13601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:44:33 +00:00
ryan e8468d167a Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:25:35 +00:00
ryan edd8ffdb68 Consistently use edit_posts_per_page. Props sorich87. fixes #14135
git-svn-id: http://svn.automattic.com/wordpress/trunk@17082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:18:13 +00:00
nacin 60a828c31f Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 15:26:44 +00:00
ryan 8d56bc7265 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: http://svn.automattic.com/wordpress/trunk@17078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 12:38:21 +00:00
nacin e1eec3925a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
nacin 041c9a445e Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:14:15 +00:00
markjaquith 3469500927 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: http://svn.automattic.com/wordpress/trunk@17062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 19:22:31 +00:00
nacin ade50f7e35 Allow dfault post format selections. fixes #15882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:36:11 +00:00
ryan 09a2d27d5e Remove 'Search Results filter from ms themes. fixes #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 01:11:38 +00:00
ryan 26129ad9a1 Search query string tweaks for net plugins. Props PeteMall. see #15872
git-svn-id: http://svn.automattic.com/wordpress/trunk@17038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 23:47:40 +00:00
ryan 1d304b55c6 Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
git-svn-id: http://svn.automattic.com/wordpress/trunk@17033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:53:47 +00:00
ryan 58e65d1855 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: http://svn.automattic.com/wordpress/trunk@17032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:48:30 +00:00
scribu 01c718f85f Fix notices in quick-edit. See #15285
git-svn-id: http://svn.automattic.com/wordpress/trunk@17027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 13:20:17 +00:00
scribu 6bc5c659ce Always show term search box. See #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:41:59 +00:00
scribu e729294124 Display categories again. Props garyc40. Fixes #15857
git-svn-id: http://svn.automattic.com/wordpress/trunk@17025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 11:17:41 +00:00
scribu c1e19baef8 Disable sorting by post count for now. See #15861
git-svn-id: http://svn.automattic.com/wordpress/trunk@17024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 10:25:27 +00:00
westi 4b4e4a02d2 Make note that this is a preview_iframe. See #15856
git-svn-id: http://svn.automattic.com/wordpress/trunk@17018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:30:33 +00:00
scribu 0879929ca7 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:38:15 +00:00
scribu 6963b1997b Get only required fields in populate_network(). See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:11:21 +00:00
ryan 2cc6b2e7ff phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: http://svn.automattic.com/wordpress/trunk@17009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 22:46:13 +00:00
westi 3122155c6c Give the button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:35:39 +00:00
westi 08576ca317 Give the screen options Apply button an id so it validates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 21:08:37 +00:00
scribu cfe09b99e5 Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 20:45:10 +00:00
PeteMall b9c491d090 New filter for network admin plugins action link. Fixes #15850.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:22:46 +00:00
scribu 5fce5c6d14 Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:05:14 +00:00
ryan 3a66c698ee Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:48:20 +00:00
nacin eb574d4e5f Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:31:42 +00:00
nacin a189f21c45 Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:18:28 +00:00
nacin 117be6ae19 Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:48:16 +00:00
nacin cc08068dba Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
nacin 8c03934da4 We don't apply markup here. see #15742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:04:54 +00:00
nacin 6f1016586f Use maybe_network_admin_url. see #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:12:55 +00:00
PeteMall 932ef80a9e s/<? /<?php / in [16963].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 23:21:07 +00:00
nacin 50669e46f6 Post formats help text. fixes #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:24:34 +00:00
PeteMall 527a1381d6 This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:11:55 +00:00
westi dd86bd529f This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:09:50 +00:00
westi c9809f18f3 Re-instate this code so AJAX still works
git-svn-id: http://svn.automattic.com/wordpress/trunk@16966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:04:31 +00:00
westi d70286d3a6 Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:58:05 +00:00
nacin 6f607d4046 Revert [16645]. see #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:50:39 +00:00
nacin 6c025aa06f Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:48:40 +00:00
westi 98ae904159 Fix HTML validation errors. Fixes #15716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:34:59 +00:00
nacin d3d0fe2e2e s/example-about-page/sample-page/. see #14973.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:55:49 +00:00
nacin 844636bf1c Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:27:38 +00:00
scribu 87c95d40f8 Limit height only to iframe body. Fixes #15679
git-svn-id: http://svn.automattic.com/wordpress/trunk@16937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 10:39:50 +00:00
ryan 7f88c122ea Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
nacin 1050da7bce Remove unneeded stripslashes. see #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 18:56:15 +00:00
nacin f4c1734b60 Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:58:47 +00:00
scribu e6d0e7a509 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
scribu 0f6329b74f Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: http://svn.automattic.com/wordpress/trunk@16908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 10:22:06 +00:00
dd32 20e1171ae8 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:31:33 +00:00
ryan ad6f2b2921 Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: http://svn.automattic.com/wordpress/trunk@16903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 22:38:27 +00:00
ryan 07d2164984 Add user id to lock. Props duck_. see #15130
git-svn-id: http://svn.automattic.com/wordpress/trunk@16901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:23:46 +00:00
ryan 3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan 5868584335 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:33:39 +00:00
dd32 4d74379c6b Add missing global for r16881 See #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 06:40:52 +00:00
dd32 3615a69edd Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: http://svn.automattic.com/wordpress/trunk@16881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 05:43:35 +00:00
westi 568043870d Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:40:49 +00:00
nacin a717edca97 Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 18:02:54 +00:00
ryan 3df76a04e3 Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: http://svn.automattic.com/wordpress/trunk@16841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:37:16 +00:00
nacin 42407cf411 Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:12:04 +00:00
scribu 3bf4bab66a Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 14:16:35 +00:00
nacin fe12d85623 Example About Page. props jane, studionashvegas. fixes #14973.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 13:20:40 +00:00
nacin 8d00b7b63b s/can_edit_site/can_edit_network/g. see #15720.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 12:36:39 +00:00
scribu 1474c1a64a Add @return to add_*menu_page() docs. Fixes #15747
git-svn-id: http://svn.automattic.com/wordpress/trunk@16831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 06:54:48 +00:00
nacin adbcaa8019 Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 04:02:37 +00:00
nacin e2f71931d3 Add the for atteibute to internal linking labels. props batmoo, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 01:46:31 +00:00
markjaquith 28f16ea431 Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
git-svn-id: http://svn.automattic.com/wordpress/trunk@16814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:53:26 +00:00
dd32 1bc51e9c15 Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 10:01:18 +00:00
nacin 898e58d568 Fix logic inversion. see #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:28:20 +00:00
nacin 69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
nacin 9998836363 Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:14:44 +00:00
nacin bc39153b2e Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:44 +00:00
nacin 944f37cd3e Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:54:04 +00:00
nacin 20bbf977a2 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:42:57 +00:00
ryan 2eba21d6be Fix return the themes links. Props duck_. fixes #15718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:01:58 +00:00
westi 4bd2db1ca5 Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 15:00:30 +00:00
westi 381a4f7750 Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 14:28:40 +00:00
westi 1bb4914c3a Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 12:45:24 +00:00
nacin 4dae6777c0 Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:12:55 +00:00
nacin 860b23d03e Don't reference nonexistent tabs. see #15707.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:37:35 +00:00
nacin 99d02e7d54 Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:18:18 +00:00
nacin ebcda1964d Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:49:54 +00:00
nacin bee34b37bc Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:48:41 +00:00
nacin e03399c715 Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
nacin 7ba61cbcd6 Use correct variable. props ocean90, fixes #15693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:44:30 +00:00
nacin 4dd3b77b48 Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
nacin fde64e232f Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:15:09 +00:00
nacin d9b4dcf576 String fixes. props demetris. fixes #15688.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 14:31:18 +00:00
nacin 9722f6a8cb Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 11:21:08 +00:00
nacin fed2907095 Fix notice. props vericgar, fixes #11976.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 03:01:42 +00:00
nacin 5021403b9d Add 'Visual Editor RTL Stylesheet' to the list of theme file descriptions. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:22:48 +00:00
scribu ba56c58f44 Check correct cap in WP_Terms_List_Table::check_permissions. Props duck_. Fixes #15673
git-svn-id: http://svn.automattic.com/wordpress/trunk@16713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 23:18:02 +00:00
scribu 4c56a85962 Use more specific view classes in plugin & theme install screens. Props batmoo. Fixes #15658
git-svn-id: http://svn.automattic.com/wordpress/trunk@16710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 18:51:24 +00:00
PeteMall 70ab4e218f Show network only plugins for !is_multisite. Fixes #15666
git-svn-id: http://svn.automattic.com/wordpress/trunk@16709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 18:05:37 +00:00
westi 4b3fa56caf Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 12:12:44 +00:00
markjaquith 7aa5cb911e Backwards compat for plugin use of updated=1. fixes #15660
git-svn-id: http://svn.automattic.com/wordpress/trunk@16706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:59:20 +00:00
scribu c45f3936a7 More s/upgrade/update. Props michaelh. See #15656
git-svn-id: http://svn.automattic.com/wordpress/trunk@16701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:16:28 +00:00
PeteMall d078d4a530 s/Enable/Network Enable for net admin themes. Fixes #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:49:18 +00:00
nacin 8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
markjaquith df1887a81a Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: http://svn.automattic.com/wordpress/trunk@16696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:45:47 +00:00
scribu ecb7457627 Fix compression test 404. Props duck_. Fixes #15496
git-svn-id: http://svn.automattic.com/wordpress/trunk@16689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 14:15:25 +00:00
nacin c6027947e6 add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 13:54:56 +00:00
nacin 85c0930679 define isRtl in the media upload iframe. props filosofo, fixes #15639.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 12:44:48 +00:00
markjaquith 3e539e8448 PHPDoc. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 05:47:17 +00:00
nacin 61a6e261c5 Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:39:26 +00:00
markjaquith e7140d23cb The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:19:14 +00:00
markjaquith ff7ac5a045 Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
ryan 0eeb985ef2 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith 5f15bf9db2 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: http://svn.automattic.com/wordpress/trunk@16669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:41:47 +00:00
ryan 3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
ryan e999b49423 Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: http://svn.automattic.com/wordpress/trunk@16659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:11:47 +00:00
ryan ce490df051 Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan 68f7ed2701 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: http://svn.automattic.com/wordpress/trunk@16651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:16:22 +00:00
westi e8471af340 Don't show the Post Format if the current theme doesn't support them. Fixes #15625.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 12:31:27 +00:00
nbachiyski 44f183e8dd Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
git-svn-id: http://svn.automattic.com/wordpress/trunk@16635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:41:57 +00:00
nbachiyski db9eeb3019 Run the iis7_supports_permalinks() check first
* It's cheapest, most of the others involve disk operations
 * Doesn't go through win_is_writable(), which can't avoid relying on the @ operator


git-svn-id: http://svn.automattic.com/wordpress/trunk@16634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:50:59 +00:00
PeteMall 91d8dac6b7 Remove update notifications from site-themes. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:31:49 +00:00
nbachiyski 54886235ab Rename the $rm variable so that the logic in win_is_writable() makes more sense
git-svn-id: http://svn.automattic.com/wordpress/trunk@16623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:57:39 +00:00
nbachiyski ce7bc3977b Proper spacing in win_is_writable(), according to the coding standards
git-svn-id: http://svn.automattic.com/wordpress/trunk@16622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:13:27 +00:00
nbachiyski a3d185fd50 COonvert spaces to tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@16621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 19:11:09 +00:00
PeteMall dc7baa81e9 Remove theme udpate notification from site admin for multisite installs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 03:03:40 +00:00
scribu 6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
ryan 096efd9957 Remove unnecessary addslashes. Props duck_. fixes #15325
git-svn-id: http://svn.automattic.com/wordpress/trunk@16608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 14:40:43 +00:00
westi d2bce97ced Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
scribu 4a980032b8 Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@16605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:39:39 +00:00
scribu cbca4fd42a Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
scribu cc540d502a Fix problems with hidden columns on network users screen. Props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 17:39:44 +00:00
scribu 2f5360bfcf Update get_*_columns() method docs. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 09:12:38 +00:00
scribu 3014920524 Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
scribu 94e36009c7 Make comment content column unsortable. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 18:45:28 +00:00
scribu 4e87af0b1f Check public flag instead of query_var to decide if counts should be linked. See #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 01:39:34 +00:00
scribu 87e98f9f22 Don't link post counts if taxonomy isn't queryable. Fixes #15573
git-svn-id: http://svn.automattic.com/wordpress/trunk@16578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 23:29:13 +00:00
markjaquith ad6e83136d Improve the wording of the file upload security message. props janeforshort. fixes #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:45:21 +00:00
PeteMall 24bd7a417e Use get_user_count() in network admin users. Fixes #15567
git-svn-id: http://svn.automattic.com/wordpress/trunk@16574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:03:28 +00:00
PeteMall 9855ee1aa2 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 19:51:36 +00:00
PeteMall 652db28fad Add screen option in site-users. Props duck_, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:54:53 +00:00
markjaquith 02e9501c47 Do not double up on id attribute for submit_button() if id is provided in other attributes param. props duck_. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:30:40 +00:00
westi dc79a67932 Error suppression is lame!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:19:23 +00:00
markjaquith dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
PeteMall b27bd5b253 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 05:31:25 +00:00
PeteMall 5c803c9b28 Site Themes cleanup. See #14897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:27:54 +00:00
ryan 8b60cbd2db Set blog id for site-themes.php AJAX requests.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 22:27:05 +00:00
westi da6fe519f3 And proper context too!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:50:23 +00:00
westi 2e0a12e224 Correct incorrect action name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 13:41:57 +00:00
westi a1fa56fd5a Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: http://svn.automattic.com/wordpress/trunk@16548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 12:14:03 +00:00
westi 52dc84f158 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:46:10 +00:00
westi 93e23a7101 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 11:39:50 +00:00
scribu 0324721ed2 Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:31 +00:00
nacin 69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
PeteMall 9a23bd6078 Use first and last name in network admin users. Fixes #15528.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 04:31:31 +00:00
nacin d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
nacin b306f9f9c6 Indent a foreach.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:20:32 +00:00
scribu 2410a3bd8e Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 14:03:49 +00:00
ryan 49fd963999 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: http://svn.automattic.com/wordpress/trunk@16502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 06:10:07 +00:00
ryan e3d61691fa Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: http://svn.automattic.com/wordpress/trunk@16501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 05:48:35 +00:00
nacin 9e91b81274 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:38:21 +00:00
nacin 9576fc93bf Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 01:23:44 +00:00
ryan c1812e444d Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:16:03 +00:00
nacin 8233e4f6b5 Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan 07d265659b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: http://svn.automattic.com/wordpress/trunk@16476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 00:04:04 +00:00
scribu d5b3719be8 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
ryan a216b1ed8f Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
git-svn-id: http://svn.automattic.com/wordpress/trunk@16471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:55:05 +00:00
nacin b8ce0261df More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
scribu cf06d54257 Always use 'paged' in list tables. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 17:00:24 +00:00
nacin 485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin 3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin b68b0a5f01 Fix width of nav menu search boxes. props batmoo, fixes #15464.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 05:16:43 +00:00
nacin 931cecae63 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:30:55 +00:00
nacin 1b3ddf631e What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:22:01 +00:00
nacin 0902043f6d We don't want a populated WP_User object here. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 00:26:29 +00:00
nacin 52fca11fca Kill unnecessary br.clear after div.tablenav. fixes #15354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 20:10:12 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
markjaquith 6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
scribu 0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
nacin d22cc9bd64 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:58:15 +00:00
scribu b4674ec053 Remove drag_drop_help() and plugins_search_help(). Fixes #15451
git-svn-id: http://svn.automattic.com/wordpress/trunk@16426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:41:26 +00:00
scribu 2dcfb8a55f Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: http://svn.automattic.com/wordpress/trunk@16383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 12:53:11 +00:00
nacin 478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu e2be537941 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: http://svn.automattic.com/wordpress/trunk@16376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:35:42 +00:00
scribu 14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu 2bcb10213c Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:34:59 +00:00
scribu e1c3e15de4 Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:45 +00:00
scribu a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
nacin d81d7b7f4a Some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@16366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 17:33:16 +00:00
scribu 03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu bb15731084 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:47:14 +00:00
scribu 68981ccac4 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:58:39 +00:00
scribu e875f0f5da Fix 'response' column title. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:53:21 +00:00
scribu e496292ae5 Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: http://svn.automattic.com/wordpress/trunk@16354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:47:34 +00:00
scribu 2c9faf261b Make custom plugin columns hideable. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:21:40 +00:00
scribu 59ccc3815c Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:01:57 +00:00
scribu c37e363bc8 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:57:25 +00:00
scribu 7184b861c3 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:30:20 +00:00
scribu 37f29e649e Move network only status check out of foreach. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:25:56 +00:00
scribu bdbfca56a7 Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:58:23 +00:00
nacin 81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin e8af3af849 Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 00:13:08 +00:00
ryan 8b562f1fb9 Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:08 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
ryan f5282d040d Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:35:28 +00:00
ryan dd1630305b Check delete caps in network users admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 16:00:41 +00:00
nacin e915bc2f45 Remove dead code. props nathanrice, fixes #13893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:26:14 +00:00
markjaquith 82ea187e58 Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:21:17 +00:00
markjaquith 75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith 6d78cf73f9 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin 5f4a583fb1 Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin 771de1c49e Kill a create_function by introducing is_plugin_inactive. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:21:04 +00:00
ryan 0d489ee102 Add screen options to site-themes. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 15:16:16 +00:00
scribu 1f74ef6b02 Make 'registered' column sort by user id. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:47:10 +00:00
scribu 456b6cf6ed Make 'registered' column sort by site id. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:45:32 +00:00
westi ae213c99ca Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 23:31:54 +00:00
westi 4215d8be2c Blankity Blank. Fixes #15380 props arena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 20:54:56 +00:00
nacin 4a4505c7db Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:08:05 +00:00
nacin 3b2c4501d1 Super Admin filter for network/users.php. fixes #15371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:05:20 +00:00
nacin 5560332a2c Update phpdoc for wp_list_widgets(). fixes #15373.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 12:28:03 +00:00
nacin 21da8738a2 Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 06:38:53 +00:00
nacin db5af22ed9 Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:59:49 +00:00
nacin 75d7ca4b07 Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:46:05 +00:00
nacin fa3c017451 Use spaces for alignment. see #15343 [16236]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:42:35 +00:00
scribu 266a71eb7d Fix admin comment reply. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 23:07:37 +00:00
ryan d08a1970de site-themes.php cleanup. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 21:52:54 +00:00
ryan 39c1f5dc43 Use bool for allowed themes. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 19:40:05 +00:00
ryan 0ea71e1e45 Use submt_button(). see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:45:20 +00:00
ryan c4770f14d0 Update links. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:40:57 +00:00
ryan ea642853ff Fix typo. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:36:09 +00:00
ryan 90eff42b58 Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:31:00 +00:00
westi 136df0f262 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 17:15:14 +00:00
scribu 3d8f4b6b2e Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 15:43:44 +00:00
scribu bbcf03f678 WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 23:00:17 +00:00
scribu de68225afc WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:51:43 +00:00
scribu b5c613b364 WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:47:12 +00:00
scribu f21ccd3113 Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 21:49:23 +00:00
scribu ce7f8c131c Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:11:15 +00:00
scribu fa4ea77657 Make post column hooks consistent. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:16:46 +00:00
scribu c0b067fcf5 remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
markjaquith f1a30e2dd5 format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 07:09:13 +00:00
markjaquith a4ac7eca6f get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 03:04:13 +00:00
markjaquith 920bfad390 Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:04:22 +00:00
scribu 0bfee7db48 Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 21:02:13 +00:00
scribu b078890091 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:49:30 +00:00
scribu 94339af889 Revert [16182] for comments table. See#14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:04:31 +00:00
markjaquith b581a43b30 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:33:50 +00:00
scribu 0e77a0b5e4 Minor cleanups. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:28:58 +00:00
markjaquith d80160e0ae Limit post format UI to posts only, for now. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:02:24 +00:00
scribu c5a9fd309d Default to get_current_screen() in list table classes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 15:00:55 +00:00
westi 5e90c5d1c3 Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
markjaquith 17fbb0e123 add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
scribu 836ec33dca List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 21:09:27 +00:00
ryan 1e95d0f38e Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 19:26:23 +00:00
ryan b713a76272 Make IP query threshold more restrictive. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:40:12 +00:00
ryan 97cb9b2a08 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:28:02 +00:00
ryan bee047cabb Check for install_plugins cap too since it can be removed for supes. see #15163
git-svn-id: http://svn.automattic.com/wordpress/trunk@16163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 14:57:10 +00:00
ryan 8804523ad7 Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:57:43 +00:00
ryan f5ab587c9d Show latest x users with no paging if on a large network. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:34:04 +00:00
westi 0c4a2788cf Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: http://svn.automattic.com/wordpress/trunk@16158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 22:13:16 +00:00
ryan 32e86e7d3e Default to id since registered doesn't have an index. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 21:23:26 +00:00
nacin 500e2d3f4c Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:24:58 +00:00
nacin 7a76c916c3 Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:05:27 +00:00
nacin 541b88a096 Add theme updates to the network themes screen. props PeteMall, see #14897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 20:08:25 +00:00
ryan 470304e2c6 Add edit theme links. Props PeteMall. see #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 19:14:03 +00:00
ryan e08e1bf63b For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 17:53:03 +00:00
ryan 70295ae440 edit.php markup fixes. Props wahgnube. fixes #15260
git-svn-id: http://svn.automattic.com/wordpress/trunk@16134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:24:48 +00:00
westi 5c88dc48e7 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 15:59:48 +00:00
westi a4908141b8 Allow better contextual based filtering of the path to the image being edited by having specific filters for local filesystem and url based paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 10:36:35 +00:00
westi 8b62d686ca Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:24:32 +00:00
westi ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
westi c66629c140 Split out the list table functions into a seperate file from the base class.
See #14579.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:56:27 +00:00
westi 034621a8d7 Correct the subdomain/non-subdomain logic when listing sites.
Tidy up the case statement.
See #15174.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:43:24 +00:00
westi a4d26eefc2 Make the class to filename mapping easier to read.
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:37:02 +00:00
scribu 7c2662a476 Fix search in network themes panel. Props PeteMall. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:26:38 +00:00
scribu c8bd2835a0 make not_found puctuation translatable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:21:56 +00:00
nacin 125733fff3 Translate a string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 15:38:13 +00:00
scribu 89e0ee3047 remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:38:04 +00:00
westi d8eee3d47f First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:37:15 +00:00
westi 0597ad55c4 Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:29:57 +00:00
nacin 7d66e163c2 <br/> tags are self-closing. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 05:13:46 +00:00
scribu d75cca7dcf WP_List_Table::no_items() consistency fixes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:29:23 +00:00
scribu bb99a95284 Move no_items logic to WP_Comments_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:17:00 +00:00
nacin 6c03909488 Fix nested HTML in submit_button(). fixes #15257, see #15064.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 06:14:15 +00:00
scribu 089a7226f1 Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: http://svn.automattic.com/wordpress/trunk@16096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 00:13:45 +00:00
nacin 62b349e605 Kill what_to_show on upgrade. fixes #9815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:05 +00:00
azaozz 28466e59f1 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: http://svn.automattic.com/wordpress/trunk@16090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:06:00 +00:00
scribu b0641c55c9 Fix bulk actions for Network Admin -> plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 19:09:04 +00:00
nbachiyski 9f5c506a9f Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: http://svn.automattic.com/wordpress/trunk@16073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:12:14 +00:00
markjaquith fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan 2b86361848 Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 18:53:09 +00:00
westi 39fceab5b4 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:41:37 +00:00
nacin 111ac18ada Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:31:16 +00:00
nacin 80873094fe Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:30:37 +00:00
scribu f7ba3fd70d Prevent double inclusion of plugin when already activated on main site. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 23:54:43 +00:00
nacin 82b1349664 Docs for wp-admin/includes/file.php. props sivel, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 22:24:06 +00:00
scribu 80ce121521 Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
git-svn-id: http://svn.automattic.com/wordpress/trunk@16012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:40:14 +00:00
scribu 1482db4c2d Pass $network_wide flag to de/activation hooks. See #14170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:20:53 +00:00
nacin 05fde90357 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
nacin a34d2bbe94 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:48:55 +00:00
nacin 51b4b138af Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:27:45 +00:00
nacin 6d2f18f240 Remove trailing newlines. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 20:21:27 +00:00
nacin 5a81941fed Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 18:15:47 +00:00
nacin 0d5278ebfe s/awhile/a while/. props jane, PeteMall, fixes #15225.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:40:54 +00:00
ryan 2c51cd5ae2 Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047
git-svn-id: http://svn.automattic.com/wordpress/trunk@15977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:18:49 +00:00
ryan 130ae000ce Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:14:31 +00:00
nacin a368688055 Classes must be defined before they are extended. props PeteMall, see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 04:48:03 +00:00
nacin ee1ba7f2f3 Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: http://svn.automattic.com/wordpress/trunk@15961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:43:52 +00:00
nacin 8303b3c14a phpdoc for the various list table includes. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 04:04:18 +00:00
nacin 6f20df8a51 Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:57:43 +00:00
nacin f448471380 Shuffle list-table files. First pass. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 00:12:41 +00:00
scribu 53abb90f30 Add sanitized plugin name as id attribute to plugin rows. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 15:46:33 +00:00
nacin a583da8c45 Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin 81f2d8b405 Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:49:25 +00:00
scribu 5117ddfd49 Revert [15925]. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 12:05:00 +00:00
scribu 50e06d42ee Set $plugin_file as plugin row id. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 11:46:01 +00:00
scribu 10ec70d244 Use row_actions() in WP_Plugins_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 11:22:00 +00:00
ryan 779b8ff334 Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: http://svn.automattic.com/wordpress/trunk@15920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 20:17:17 +00:00
ryan 62003eb20f Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: http://svn.automattic.com/wordpress/trunk@15918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:23:00 +00:00
scribu 379f54ff30 Make plugin search & order methods, instead of standalone functions. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 11:08:35 +00:00
nacin 14ccdbec33 Pruning shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 19:55:28 +00:00
ryan 012bb5278c Tabbed interface for site editing. see #15174
git-svn-id: http://svn.automattic.com/wordpress/trunk@15903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 18:35:52 +00:00
nacin 456a6151c0 Please pardon my OCD.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:53:26 +00:00
nacin 09570f0114 Hooks for user dashboard. props PeteMall, see #14696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:51:49 +00:00
nacin 66a2572a2e Network admin theme install. props PeteMall, fixes #15184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:06:52 +00:00
nacin f5e23028ff Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:42:06 +00:00
scribu 26f95f26d7 Fix notices in WP_List_Table::ajax_response(). Props Utkarsh. Fixes #15185
git-svn-id: http://svn.automattic.com/wordpress/trunk@15894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:30:35 +00:00
scribu db6cb9d47f Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:15:50 +00:00
scribu 14fbf27b0d Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
git-svn-id: http://svn.automattic.com/wordpress/trunk@15887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:03:25 +00:00
ryan 81f23003e3 Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: http://svn.automattic.com/wordpress/trunk@15882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 13:08:47 +00:00
nacin 17e10b80ab Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 10:06:17 +00:00
ryan c7811f19b3 Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: http://svn.automattic.com/wordpress/trunk@15876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 20:43:32 +00:00
ryan 14ae165bb5 Add update-core to network admin. Props PeteMall. see #15162
git-svn-id: http://svn.automattic.com/wordpress/trunk@15871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 16:38:00 +00:00
nacin f3dee51a99 Add some more network admin logic to the plugins list table. fixes #15166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 16:09:55 +00:00
ryan 6b6c2583a4 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: http://svn.automattic.com/wordpress/trunk@15867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 14:16:03 +00:00
nacin 785b6b305c Add files we've deleted thus far to update-core.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 11:56:04 +00:00
nacin 54c498f974 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 10:30:28 +00:00
dd32 ed9028c408 Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: http://svn.automattic.com/wordpress/trunk@15849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 10:52:46 +00:00
nacin af853d903a Remove debug cruft in [15844].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:59:26 +00:00
nacin c840f4676e Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:58:02 +00:00
nacin 5e1184aa57 Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
nacin 76e493c281 Full @since's for 3.1.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:38:42 +00:00
scribu 799baf139c Use submit_button() in more places. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 18:24:34 +00:00
ryan a4d17b13a8 Nav menu phpdoc updates. Props Utkarsh. fixes #15125
git-svn-id: http://svn.automattic.com/wordpress/trunk@15815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:05:33 +00:00
scribu 1cce7d7830 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 19:58:06 +00:00
ryan 9a0595f302 Hook up theme filter. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 18:37:08 +00:00
nacin 390bcdb27f Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 09:53:04 +00:00
scribu 605476f2d0 Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
git-svn-id: http://svn.automattic.com/wordpress/trunk@15801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 08:47:41 +00:00
scribu 76ffe532d4 get_edit_term_link() improvements:
* add optional $object_type parameter
	* make $term_id and $taxonomy parameters mandatory
	* pass all relevant information to the filter
	* use in WP_Terms_Table
See #9702


git-svn-id: http://svn.automattic.com/wordpress/trunk@15800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 07:35:13 +00:00
ryan 2f022020a1 Fix notice when creating users. Props coffee2code. fixes #14286
git-svn-id: http://svn.automattic.com/wordpress/trunk@15799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 20:26:43 +00:00
nacin 148dac95df s/showposts/posts_per_page/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 05:25:00 +00:00
scribu c3a31b6576 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: http://svn.automattic.com/wordpress/trunk@15764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 09:39:16 +00:00
nacin c366abf045 s/Backend/Dashboard/. props markmcwilliams, fixes #14585.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 02:11:10 +00:00
nacin b7bacd1bf2 s/Wether/Whether/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:35:06 +00:00
scribu 9228d56df5 Revert part of [15753]. See [12914]. See #14666
git-svn-id: http://svn.automattic.com/wordpress/trunk@15754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 22:58:45 +00:00
scribu fcd2d49a50 Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
git-svn-id: http://svn.automattic.com/wordpress/trunk@15753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 22:35:31 +00:00
scribu 528ada2699 Revive WP_User_Search as deprecated. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 20:13:11 +00:00
ryan 9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu 307790b5ff Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671
git-svn-id: http://svn.automattic.com/wordpress/trunk@15744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 15:27:47 +00:00
nacin 5757866954 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:10:35 +00:00
markjaquith df006b32e2 Fix an English fail.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:04:15 +00:00
ryan fbfa3ea53d Move themes_api() to theme.php so that it is available to themes.php. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 13:24:41 +00:00
nacin 38b834c848 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:53:04 +00:00
ryan 52c696b074 Fix user edit urls for network admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@15719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:29:14 +00:00
ryan 2a7220b15a Revert [15717]; it had extra bits in it
git-svn-id: http://svn.automattic.com/wordpress/trunk@15718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:28:31 +00:00
ryan d78d29dfc4 Fix user edit urls for network admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@15717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:26:40 +00:00
dd32 fa45b04e6e Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 04:26:58 +00:00
nacin c6ff4fbaa9 Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 07:29:44 +00:00
nacin 4e666d5d44 Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 02:58:59 +00:00
azaozz 0b64e7bd0a TinyMCE 3.3 first run
git-svn-id: http://svn.automattic.com/wordpress/trunk@15683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 05:14:12 +00:00
ryan b05ad69f63 Eliminate admin_notice_feed(). Props technosailor. fixes #14587
git-svn-id: http://svn.automattic.com/wordpress/trunk@15679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 18:34:25 +00:00
nacin d77fd54815 Fix a comma splice. Props Amanda French.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 07:29:18 +00:00
dd32 2ed8e66a7c Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964
git-svn-id: http://svn.automattic.com/wordpress/trunk@15666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 10:02:23 +00:00
nacin b205913daa Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:34:09 +00:00
nacin ffacf3e36b Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:16:38 +00:00
nacin 47b9b4ab1c Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 08:51:34 +00:00
scribu 11642d9baa Remove misplaced code introduced in [15653]. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 19:38:21 +00:00
ryan bd34872821 get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 15:28:28 +00:00
scribu 248b086540 Column headers revamp:
* undeprecate get_column_headers()
	* undeprecate get_hidden_columns()
	* in WP_List_Table, rename get_column_headers() to get_column_info()
	* remove $taxonomy argument from single_row()
	* merge manage_columns_prefs() into screen_meta()
Fixes #14952. Fixes #14776.


git-svn-id: http://svn.automattic.com/wordpress/trunk@15653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 13:35:06 +00:00
ryan ed134c40a5 Theme searching. First pass. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 15:28:03 +00:00
scribu e975e650cf Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 00:10:39 +00:00
scribu 6d53e83463 Map 'approved' comment view to 'approve' comment status. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:51:53 +00:00
scribu a3bcc7c63c WP_Terms_Table cleanup:
* use column_*() methods
	* remove $taxonomy argument from single_row()
	* don't calculate tag full name in admin-ajax.php
See #14579



git-svn-id: http://svn.automattic.com/wordpress/trunk@15632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:30:53 +00:00
scribu ce723858c2 WP_Comments_Table cleanup:
* use column_*() methods
	* remove extra arguments from single_row()
	* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
	* use $pending_count property instead of $_comment_pending_count global
See #14579



git-svn-id: http://svn.automattic.com/wordpress/trunk@15630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:46:29 +00:00
scribu a927a1665c Extra single_row_columns() out of single_row() for increased flexibility. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:21:32 +00:00
scribu 93d4b0c223 Add default display_rows() and single_row() methods to WP_List_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-16 20:07:39 +00:00
nacin 271aa55c16 Don't show the default password nag on the profile screen. props duck_, fixes #14861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-13 16:49:04 +00:00
scribu bc1ef8519e Fix posts screen for contributors. Fixes #14822
git-svn-id: http://svn.automattic.com/wordpress/trunk@15605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 22:22:36 +00:00
westi 6ba5cecaaa Apply some bandaid to WP_Comments_Table::prepare_items() to cover more of the different ways we include post IDs in urls/ajax queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 20:34:40 +00:00
scribu 6509fa203a Fix MS User search. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 10:20:07 +00:00
scribu 00a9e39bcf Fix delete plugin links. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 12:15:50 +00:00
scribu 449d62100e Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 23:35:28 +00:00
nacin 1dee100f3a Fix typo. props mrmist, fixes #14571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 15:11:43 +00:00
nacin 5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
scribu 9a9e872597 introduce WP_List_Table::views(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 21:26:27 +00:00
scribu 614929f25b Fix theme pagination. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 19:26:01 +00:00
scribu c60d3205e6 remove useless __() call with variable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 18:19:38 +00:00
scribu ce38630ab0 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 17:07:36 +00:00
scribu f24da67b4b Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 16:53:59 +00:00
scribu c02669236e Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 15:15:46 +00:00
scribu 1652fe96c1 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:49:52 +00:00
scribu 11ff3a7ce9 call get_users() from get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:35:55 +00:00
nacin 15bc341696 phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
ryan ca7bec26be Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:27:59 +00:00
nacin 34e00ea35a Use return_empty_array instead of create_function. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 04:54:27 +00:00
scribu 253faa4bbe Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 01:07:21 +00:00
scribu 7a62e9057d Fix post_author_meta_box(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:24:41 +00:00
scribu 18469c28ff Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:22:29 +00:00
scribu e7a6f6f967 use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:18:57 +00:00
scribu b9955d5a66 use unaltered in the get_list_table_* filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@15535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 11:02:51 +00:00
scribu ab4fc9bba9 Rename admin-table.js to list-table.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@15530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 01:59:13 +00:00
scribu 75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu 385dbb646d On the plugins page, set and at the right time. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-24 19:50:55 +00:00
scribu db4e0ce056 Fix Recently Active plugins screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 21:31:42 +00:00
scribu f9b862ed5e Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@15524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 18:56:39 +00:00
scribu cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu 33ccdcdeab use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 01:50:34 +00:00
scribu 65206ec0d7 Make deprecated functions work. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 18:08:42 +00:00
scribu 1ea0bc3486 Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:56:24 +00:00
scribu 3a1d872cfd Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:33:56 +00:00
scribu fce15d1f2c Fix the comment type dropdown. Fixes #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:43:32 +00:00
scribu 1b2fa98e2a Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:18:41 +00:00
scribu d61363d755 Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: http://svn.automattic.com/wordpress/trunk@15511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 20:10:28 +00:00
scribu 196de8fce6 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:06:51 +00:00
scribu 071746cc11 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 22:26:22 +00:00
scribu 27b022bd38 correct post id in comments_bubble()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 16:41:58 +00:00
scribu eec59d35bb introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 16:30:27 +00:00
scribu d67b806cf4 WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@15502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-17 21:55:42 +00:00
scribu f2614ac277 Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-16 01:36:21 +00:00
scribu 31b188da6e In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-15 22:36:17 +00:00
scribu 9f030b5345 Fix remaining links to ms-* files. Includes patch by markmcwilliams. See 14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-15 19:12:06 +00:00
scribu b921471dea Fix Comments meta box in post editing screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:58:49 +00:00
scribu c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu 11ffaae225 Small, subtle fixes. See #14596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 00:15:31 +00:00
scribu 020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
westi 113a5038ce Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-07 21:06:06 +00:00
ryan 10deff9e1d Favorite action for network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 19:07:03 +00:00
ryan 11dc4a27bc Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 18:10:43 +00:00
ryan 84ce78ab1f Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:56:05 +00:00
ryan 0490be0ae7 Remove show_post_thumbnail_warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@15486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:29:34 +00:00
ryan 56b53ff30f Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:25:54 +00:00
ryan 44799523bc Update network upgrade links. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 15:36:57 +00:00
ryan 21e3f0f7fa Network Admin, first pass. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
markjaquith 7944bd5d82 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: http://svn.automattic.com/wordpress/trunk@15473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-27 18:02:45 +00:00
nacin 65c1243ce3 More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:35:59 +00:00
dd32 7ffe984f8e Only use maintenance_mode() for ( is_multisite() || (plugin|theme) being updated is in use ) with Plugin|Theme Bulk Upgrades. See #14393
git-svn-id: http://svn.automattic.com/wordpress/trunk@15469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-24 03:59:53 +00:00
ryan a67155f514 Update wordpress.org blog url
git-svn-id: http://svn.automattic.com/wordpress/trunk@15457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 13:45:43 +00:00
ryan fd6cc7c779 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 17:27:04 +00:00
ryan 2160674a67 Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-19 16:28:26 +00:00
westi 5fdb333ab3 Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-10 07:25:10 +00:00
nacin 77b0788dc8 Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 20:35:51 +00:00
ryan 9aaac543db Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 13:55:14 +00:00
nacin 23c773df72 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:24:38 +00:00
nacin a87c97cfee Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 22:05:27 +00:00
nacin 1017822b6f Deprecated doc cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-28 10:11:41 +00:00
nacin 6b2be08f6b screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 08:38:06 +00:00
nacin 57bc2fd164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 01:05:53 +00:00
ryan 81e213c211 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
nacin a1ded4c270 Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 05:10:45 +00:00
nacin 27e720b359 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 20:52:48 +00:00
nacin f1a95d0b80 Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 19:38:19 +00:00
nacin e2e2320f9e Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 18:18:39 +00:00
nacin a596163f6a Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 05:36:18 +00:00
dd32 fe89d62154 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-20 04:13:57 +00:00
dd32 a7cabc4a3e Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: http://svn.automattic.com/wordpress/trunk@15287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:28:27 +00:00
dd32 47f0da9c17 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: http://svn.automattic.com/wordpress/trunk@15286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:05:23 +00:00
dd32 b01a02e06e Fix typos in r15278. Caused by fat fingers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:48:30 +00:00
dd32 fc03d8c030 Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:32:01 +00:00
nacin eb4c72e7d9 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 20:08:58 +00:00
markjaquith e3d5fb602b Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: http://svn.automattic.com/wordpress/trunk@15263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:07:02 +00:00
nacin 48bc4e220c Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:52:30 +00:00
ryan c735965594 Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: http://svn.automattic.com/wordpress/trunk@15253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:33:04 +00:00
nacin cc00a60ce0 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: http://svn.automattic.com/wordpress/trunk@15250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 08:40:52 +00:00
nacin 45ec93ad29 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-13 06:20:51 +00:00
nacin 9986917471 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 05:16:21 +00:00
ryan 5ecd1f31f2 Trim trailing whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:19:35 +00:00
wpmuguru faf9bd8483 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: http://svn.automattic.com/wordpress/trunk@15228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:18:17 +00:00
nacin 2eadcb9aef Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:04:06 +00:00
ryan c614b6d0a2 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
wpmuguru 9eaf91db65 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: http://svn.automattic.com/wordpress/trunk@15219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:34:32 +00:00
nacin 975b2cdb6d Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@15214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 05:19:36 +00:00
nacin 8fcdf9a979 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:03:17 +00:00
nacin 3c79510246 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:01:51 +00:00
westi 3061e08ec6 Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:38:41 +00:00
wpmuguru 54521415c2 alway update fileupload_url during initial network install, see #13828
git-svn-id: http://svn.automattic.com/wordpress/trunk@15202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:31:46 +00:00
nacin 528951c7ef Provide context for screen options plural labels. fixes #13369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:56:14 +00:00
nacin 7420b784d5 Revert accidental commit. see [15199], see #13369
git-svn-id: http://svn.automattic.com/wordpress/trunk@15200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:48:04 +00:00
nacin c7600ab27b Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:44:54 +00:00
nacin e13e6254dc Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
nacin 2010aac02c Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:37:15 +00:00
nacin af612805e8 Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 16:07:33 +00:00
ryan 02be42f58d Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 14:41:51 +00:00
ryan 15e9538874 Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: http://svn.automattic.com/wordpress/trunk@15183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 21:59:13 +00:00
westi 64f3e40880 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 20:21:43 +00:00
ryan 2439833a7e Set the screen for add-tag ajax requests. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 16:52:25 +00:00
ryan 1849b362b0 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:34:42 +00:00
dd32 fe5e3d0fb6 Do not check to see if parents of folders outside of the Destination folder exist within the Archive extractors, unzip_file() will take care of that area. Fixes #13741
git-svn-id: http://svn.automattic.com/wordpress/trunk@15156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 11:19:51 +00:00
nacin f60838c8f9 s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 05:16:32 +00:00
nacin 3ba9fc235c More request_filesystem_credentials() string improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 18:58:41 +00:00
ryan 17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin c23dadb3a2 Clear nav menu from menu locations on delete. Additional sanity checks. fixes #13690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 05:10:31 +00:00
nacin 80437ca9e1 Add missing spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 21:57:26 +00:00
nacin 09c448f63e Clarify the connection information requested in request_filesystem_credentials() to reduce confusion surrounding FTP information versus your WordPress login. see #13467, props jane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 20:35:59 +00:00
ryan 1f60247343 Add export capability. fixes #13681
git-svn-id: http://svn.automattic.com/wordpress/trunk@15096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:02:05 +00:00
dd32 b9eff36d8d Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667
git-svn-id: http://svn.automattic.com/wordpress/trunk@15086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 04:11:29 +00:00
markjaquith 18094087e1 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: http://svn.automattic.com/wordpress/trunk@15085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 00:26:49 +00:00
nacin a57f8861e6 Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 15:47:53 +00:00
markjaquith 100e81c448 Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
markjaquith 945b9b66be Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: http://svn.automattic.com/wordpress/trunk@15068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-30 08:45:50 +00:00
nacin 239e7bf50f Consistent font size for menu instructions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 21:58:14 +00:00
nacin 37604414c4 Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:33:48 +00:00
wpmuguru d69536a671 remove naughty not, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 19:10:49 +00:00
wpmuguru e1a7369889 check both wordpress & wordpress-mu roots in update core, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 18:21:30 +00:00
ryan ef70402de0 Bump WP version in update_core()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 17:28:09 +00:00
nacin 332c2773e0 Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:46:46 +00:00
dd32 92eeafce24 Always fallback to PclZip in the event that ZipArchive does not return true. The PHP Zip extension is hit-and-miss with OSX generated zip files, sometimes 0 will be emitted and extraction will succeed, others it will fail with. Reverts r14346, r14377, partially r14800. See #12637. See #13491
git-svn-id: http://svn.automattic.com/wordpress/trunk@15052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 13:16:35 +00:00
nacin 35d800986f Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 23:04:00 +00:00
nacin 99a0a98061 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:41:39 +00:00
nacin 1a43aa80b8 Make nav menu meta box tab ordering consistent across post types and taxonomies. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:36:57 +00:00
wpmuguru e9a102d83a shake away out of date support files
git-svn-id: http://svn.automattic.com/wordpress/trunk@15041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 18:34:03 +00:00
ryan 2d10d9377a Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 16:42:09 +00:00
markjaquith 8cf0dd0eaa Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@15032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 15:49:13 +00:00
nacin 16f1b1c89a Shake away second copy of prototype.js during an upgrade. see [12557].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:54:57 +00:00
nacin e332bd3b0d Shake away MU files which are no longer in core on an upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:48:53 +00:00
nacin 2e1dc4195c Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 04:09:08 +00:00
nacin 43a718145f Use 'WordPress Blog' in the initial blogroll. see [14324].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 03:18:55 +00:00
ryan 5d5cb6e483 Allow plugin activation even if plugin generates extra output. Make warning more informative. fixes #13585
git-svn-id: http://svn.automattic.com/wordpress/trunk@15017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:18:00 +00:00
nacin 4b9021ce98 Menu touchups. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:45:52 +00:00
nacin 15a1a43cd1 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
nacin da16117198 Remove some dead code. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:17:58 +00:00
wpmuguru a6e1307576 add fileupload_url option to main site on network install, see #13483
git-svn-id: http://svn.automattic.com/wordpress/trunk@14998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:06:48 +00:00
nacin 5613e5fe93 RTL string fix. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 14:14:58 +00:00
nbachiyski 8545387795 Prevent a notice if $_REQUEST['post_id'] is missing. Just use 0 in this case, which will be the same as using intval on an undefined value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:42:46 +00:00
dd32 de6abc0ee1 Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566
git-svn-id: http://svn.automattic.com/wordpress/trunk@14985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:04:08 +00:00
dd32 f0c63decb0 Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
nacin fee56ae40f gettext. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:51:09 +00:00
nacin 7eedc2359d Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:49:11 +00:00
nacin da7b990fb5 Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:24:33 +00:00
nacin bdb28315de Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 00:16:34 +00:00
westi b54183ae4c Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
ryan 65c6c9a3bd Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: http://svn.automattic.com/wordpress/trunk@14944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 15:41:21 +00:00
ryan 1fa281b08c Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:49:43 +00:00
nacin 5f73dff48a In the page attributes box, generalize the screen reader text, also remove the help text which is now in the 'Help' tab. see #13539. subject to final UX review.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 07:14:42 +00:00
nacin aac7b130c0 Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:55:21 +00:00
nacin c490ca0680 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:01:14 +00:00
nacin 8845d1f61f Hide Flash uploader and theme/plugin editor documentation feature, if no JS. Also some validation fixes in the theme editor. props ocean90. see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:57:55 +00:00
ryan 6c8ec25985 Post and page help. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:36:04 +00:00
ryan 1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
dd32 6f01187d74 Tweak String language to match language used elsewhere. Props Jane. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 01:27:58 +00:00
dd32 bfaf3d3f0b Revert back to spinner on bulk upgrades. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 01:23:25 +00:00
nacin b0e128e69b Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@14917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:41:18 +00:00
nacin 4ec5fd4f13 Generalize some strings. Also tidy the discussions meta box, which will stay as "page" as that is referring to the HTML page, not post/page/book etc. see #13539
git-svn-id: http://svn.automattic.com/wordpress/trunk@14904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 19:47:22 +00:00
markjaquith e3ffb4c442 Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: http://svn.automattic.com/wordpress/trunk@14897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:53:31 +00:00
nacin 655eedbb42 Stirng capitalization fix. see #12035.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:16:52 +00:00
dd32 ff31cebbfd Add Actions to the end of Bulk upgrades; Remove Spinners and instead show the individual upgrade steps (Then hidden upon completion for bulk upgrades). See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 13:57:06 +00:00
ryan 52f05426e0 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: http://svn.automattic.com/wordpress/trunk@14869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:18:07 +00:00
westi e5d7ab0841 phpDoc updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:28:07 +00:00
nacin 7a5d3f2688 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
ryan 364584e3d9 Better text for locations box. Props filosofo. fixes #13520 see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:27:57 +00:00
markjaquith e3e565321c stripslashes() the site name before passing to populate_network(), not in it. We should always expect unslashed data. reverts [14754]. fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:18:30 +00:00
ryan 27015b92ee Fix update label for link categories. Props duck_. fixes #13515
git-svn-id: http://svn.automattic.com/wordpress/trunk@14841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 16:09:52 +00:00
nacin 9e27536540 Styling for menu locations howto text. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 11:20:58 +00:00
nacin c83e17c1ce Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:26:41 +00:00
nacin 427a63a92a s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 05:15:55 +00:00
dd32 6f9650046a Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:29:00 +00:00
dd32 9991d1d735 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:04:24 +00:00
westi 0c850182dc Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
dd32 378f68a0a0 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: http://svn.automattic.com/wordpress/trunk@14814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:49:21 +00:00
westi 24354ccdb4 Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:43:07 +00:00
dd32 70d0491c1c Fix potential notice in Upgrade process when failing part-way through. See #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:59:17 +00:00
dd32 989a52d7ff Ensure that the entire folder structure exists within the $needed_folders array before attempting to create folders. Fixes cases where the Zip file does not contain a node for a folder which contains subfolders without files in the same level. Fixes #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:56:31 +00:00
dd32 394fa6d6b2 Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:54:32 +00:00
dd32 f8111531f4 Correct the ZipArchive opening test logic. See #13491
git-svn-id: http://svn.automattic.com/wordpress/trunk@14800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 05:09:08 +00:00
nacin 628d7b8286 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:45 +00:00
dd32 da25731eae We're not as bold as some people make us out to be. Move the maximum upload size from a Heading to a paragraph text. Fix screen formatting on Multisite when over quota. see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 12:57:49 +00:00
nacin 870f3ab1c8 New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 03:20:25 +00:00
nacin acf5d97586 Shake away old files during the upgrade process. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:44:33 +00:00
westi 05ba5e4dec Restore some more "Show on screen" headers. See #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:29:45 +00:00
ryan f8f9eff02d Some explanatory text for the theme locations box. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:25:25 +00:00
nacin 3f443689ed Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:05:16 +00:00
ryan 2d3d649182 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: http://svn.automattic.com/wordpress/trunk@14761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 19:33:57 +00:00
ryan 18b880f93e WP_Importer class. Props briancolinger. see #13034
git-svn-id: http://svn.automattic.com/wordpress/trunk@14760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 19:22:38 +00:00
wpmuguru 660cbfb825 strip slashes from site name during network install, fixes #13448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 20:43:53 +00:00
ryan 918b5b7a41 Meta box and screen option phpdoc and cleanup. Props hakre. fixes #13017
git-svn-id: http://svn.automattic.com/wordpress/trunk@14752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 19:11:33 +00:00
ryan f0bf7b3bd3 Don't subsitute a translated string into a translated string. Props dimadin. fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:18:26 +00:00
ryan ca5d99a7d7 Order pages in menu box by menu_order, title. Props filosofo. see #13329
git-svn-id: http://svn.automattic.com/wordpress/trunk@14744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 14:34:29 +00:00
nacin b4c50f1b5e Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:59:43 +00:00
markjaquith 20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan 49214491ab Remove taxonomy children cache purge. see #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:33:32 +00:00
ryan e070242b59 Remove old metaboxorder settings. see #13424
git-svn-id: http://svn.automattic.com/wordpress/trunk@14726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:30:05 +00:00
ryan 0ce5224be6 Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:08:05 +00:00
ryan 53bff5059f Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:03:54 +00:00
nacin c370c84d19 Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 03:48:22 +00:00
wpmuguru a4ff4953aa die in non-async upload in [14716], see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:34:01 +00:00
wpmuguru c5aab621a9 only die on async upload error, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 01:25:13 +00:00
nacin f02fddce86 Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
ryan f0076eed1c Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
wpmuguru f77a0f2bfd more use get_blogaddress_by_name, see #12735
git-svn-id: http://svn.automattic.com/wordpress/trunk@14705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 23:00:48 +00:00
wpmuguru 3d44d70aab observe fileupload_maxk in media uploader, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:09:56 +00:00
wpmuguru 80a8899c0b boldly go where no man has gone before, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 18:44:51 +00:00
nacin 6c01265794 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
wpmuguru be5268eefc show upload limit in media upload UI, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 23:57:32 +00:00
wpmuguru 3f6a32a5ce block creation of 'files' sub site, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 22:18:40 +00:00
westi 5672ca994e Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:57:17 +00:00
nacin 051c2814da More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:36:49 +00:00
nacin f7d0fcb9d0 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:00:48 +00:00
nacin 54a46870d3 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 06:14:06 +00:00
nacin 00a291c71e Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:01:04 +00:00
nacin 5463205114 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:56:56 +00:00
nacin 7c8a77efa3 Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:47:03 +00:00
nacin c6d21e7fbb Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
ryan 25dcb020af Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: http://svn.automattic.com/wordpress/trunk@14645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 20:06:50 +00:00
ryan c4aca99445 Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: http://svn.automattic.com/wordpress/trunk@14643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:30:43 +00:00
ryan 23e3b38d4f Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: http://svn.automattic.com/wordpress/trunk@14642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:20:04 +00:00
westi 867628913e Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:45:14 +00:00
westi e5fa82c152 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:39:56 +00:00
westi 7d40d97601 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:12:46 +00:00
westi 82a12075bf Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:49:20 +00:00
westi 30128f636e Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:47:14 +00:00
nacin 518b19a404 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:59 +00:00
nacin d12cdce1b0 Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 13:12:45 +00:00
nacin c5d2cdc52d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:35:57 +00:00
nacin a743de0788 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
nacin 7bd274899d Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:54:21 +00:00
nbachiyski 4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
westi 50b197cf94 Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 21:08:01 +00:00
ryan 067fc117cb Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:29:45 +00:00
ryan 282f3be632 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: http://svn.automattic.com/wordpress/trunk@14598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:21:21 +00:00
ryan 0ce49ca934 Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 15:59:17 +00:00
nacin af91e5264a Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin 70f36f6c41 More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +00:00
nacin 7734a07cb2 Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nacin c779fdccf5 Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:29:35 +00:00
nacin 7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
ryan e65ae591a0 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:12:18 +00:00
nbachiyski 46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
ryan 321b1a613f Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:55:12 +00:00
ryan 345af3eb47 Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:43:12 +00:00
ryan bdb53fa4c3 No need to recount. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:38:51 +00:00
markjaquith 4ef8b0384d Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: http://svn.automattic.com/wordpress/trunk@14551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:21:42 +00:00
nacin d91623d3d0 Fix double-tabbing in get_dropins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:41:14 +00:00
nacin f708a1bf38 Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:40:15 +00:00
ryan 45e43282ed Don't use closed dir handle. Props Miloslav. fixes #13322
git-svn-id: http://svn.automattic.com/wordpress/trunk@14540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 16:06:46 +00:00
westi 2bd47bd3c2 Fix typos. Props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 09:59:43 +00:00
wpmuguru cf8e9c752a don't allow blog sub site in folder install, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 18:37:38 +00:00
nacin fa23d1edf0 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:53:40 +00:00
nacin 1e13b43af0 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:19:53 +00:00
nacin e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
westi 666ba09317 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:37:51 +00:00
westi f1e2a3a5fa Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:10:53 +00:00
nacin aaf3bf031f Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 22:28:51 +00:00
wpmuguru 376a690988 add default comment status setting to populate_options(), see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:54:42 +00:00
nacin eded683486 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: http://svn.automattic.com/wordpress/trunk@14450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:40:04 +00:00
wpmuguru 96153a63ae add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:31:24 +00:00
wpmuguru b28c363d78 add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:18:35 +00:00
wpmuguru cea6004286 export improvements, props blepoxp, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:31:36 +00:00
nacin 0891a9dea0 More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin b5c233a1b5 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:41:46 +00:00
nacin 7466fadd24 Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan 2ecda01ce0 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32 72f99c8a96 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:39:57 +00:00
dd32 2bbdd19973 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
nacin 5b6f2a3944 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:18:49 +00:00
nacin 623461e9cf Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: http://svn.automattic.com/wordpress/trunk@14423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:08:02 +00:00
ryan dda59949de User deletion fixes. Props yoavf. fixes #13242
git-svn-id: http://svn.automattic.com/wordpress/trunk@14422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:04:42 +00:00
wpmuguru bc0ae7852f limit upload size to site's available limit, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
nacin 248f4ab860 Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:16:48 +00:00
westi cdd52a2071 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:12:23 +00:00
nbachiyski bebd1b8ea6 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: http://svn.automattic.com/wordpress/trunk@14407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:37:07 +00:00
nacin b093a66876 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:31:34 +00:00
ryan 7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin efa2e9d397 Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:17:01 +00:00
nacin aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
nacin ea7a0076b6 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:01:59 +00:00
nacin a7e2ac2fec Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:33:23 +00:00
dd32 3b5de7199e Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:29:17 +00:00
dd32 79bb63a4e0 Fix ZIP_ER_OK constant, Its a class constant, and only accessible as such under PHP5. Props sivel for noticing. Fixes #12637
git-svn-id: http://svn.automattic.com/wordpress/trunk@14377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:44:34 +00:00
ryan 172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
westi e13615c621 Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:29:15 +00:00
westi 628d0b247d Correctly mark things as private in the phpDoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@14370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:27:15 +00:00
westi b5e08827bc Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:23:34 +00:00
dd32 cdd4f4e250 Update logo image URL in Gears manifest. Props ocean90. Fixes #13177
git-svn-id: http://svn.automattic.com/wordpress/trunk@14356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:47:10 +00:00
ryan 6e0ddc4abc Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:40:34 +00:00
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