Commit Graph

3012 Commits

Author SHA1 Message Date
nacin
49fae8d60b Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:32:10 +00:00
nacin
95087c5947 And fix this variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:15:57 +00:00
nacin
1a70603eb2 Use correct variable. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:11:46 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
duck_
53f5e8344e Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:26:51 +00:00
dd32
ef11d05989 Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:18:44 +00:00
duck_
29c5eaadfd Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 14:36:57 +00:00
koopersmith
48d20c1839 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
westi
b816f54124 Revert [18747] until we can discuss it further. See #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
koopersmith
d7ce0f762b Add frame for welcome panel on dashboard (currently hidden). see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 06:23:10 +00:00
azaozz
29f13c28b3 Change the menus Link Target to checkbox, props nacin, fixes #17521
git-svn-id: http://svn.automattic.com/wordpress/trunk@18748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 05:44:25 +00:00
azaozz
95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
ryan
9a1be60235 Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
git-svn-id: http://svn.automattic.com/wordpress/trunk@18740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:17:22 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
nacin
0fd3915e9f number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 05:35:57 +00:00
duck_
698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
5a4061bb13 Make use of specific post format support in current_theme_supports(). See #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:31:33 +00:00
nacin
5f3f71c0f2 Don't burden translators with a few strings we'll be changing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:45:23 +00:00
koopersmith
7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
0179ece052 Use get_post_class() in the posts list table. props brandondove, fixes #18516.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:11:28 +00:00
azaozz
ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
duck_
551198c5ca Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 18:27:32 +00:00
koopersmith
834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
azaozz
2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
9223d74720 Fix default widgets for the default theme (Twenty Eleven), props SergeyBiryukov, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 16:15:47 +00:00
duck_
a8c3f1145e s/overridding/overriding/. Props trepmal, see #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:25:55 +00:00
nacin
a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
duck_
c1d1590171 Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 14:18:10 +00:00
dd32
e089db6cf4 First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 15:02:48 +00:00
dd32
ef278df299 Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32
b16b6f8a31 Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 05:51:38 +00:00
dd32
ea3a169b6f Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:51:35 +00:00
azaozz
4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan
2521eb5f17 Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
git-svn-id: http://svn.automattic.com/wordpress/trunk@18600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 17:56:34 +00:00
westi
ca0474c9fb Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 08:05:15 +00:00
ryan
0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0668193437 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:37:25 +00:00
westi
633f13ca72 End each row with a new line to make the raw HTML easier to read.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:13:33 +00:00
westi
6afa141b4e Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:12:07 +00:00
nacin
fdedc8a500 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:56:14 +00:00
azaozz
f3f79602b9 Auto column switching for the dashboard, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:00:56 +00:00
azaozz
18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
azaozz
1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
nacin
0fe8ea2f72 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:40:37 +00:00
nacin
ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
0caf6ee451 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 02:29:06 +00:00
azaozz
05b62b9b8e Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 14:32:36 +00:00
azaozz
87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
nacin
3503cc4b8d Remove beta upgrade code from 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 02:26:59 +00:00