Daryl Koopersmith
d6686cf589
Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18944 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:38:12 +00:00
Andrew Nacin
3940109c7f
Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18943 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:32:16 +00:00
Daryl Koopersmith
50b17d4b68
Create admin menu arrows using CSS3 transforms. props chexee. see #18382 , fixes #18902 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18942 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:25:38 +00:00
Andrew Nacin
8f0389b3e9
Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 19:29:09 +00:00
Andrew Ozz
844d8607d8
Don't move current open submenus, see #18382
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18940 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 17:59:51 +00:00
Andrew Ozz
b297c030b7
More CSS cleanup, props olleicua, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18939 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 06:25:25 +00:00
Ryan Boren
db7795de32
Do the beta bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Andrew Nacin
1db90d21e0
Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Andrew Nacin
b827c657fb
Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18931 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:56:35 +00:00
Andrew Nacin
f9bba8610d
Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Andrew Ozz
619caa5c73
Make iPad support usable again, add viewport meta, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz
d51b26378c
Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18925 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 17:30:51 +00:00
Andrew Ozz
692d11e622
Fix postbox containers when there are no visible postboxes in them, fixes #18882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18924 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 00:05:38 +00:00
Andrew Ozz
cfcb553dfb
Add translation comment, props ocean90, fixes #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz
184f2a7d96
Actually the Press This styles changed in [18920] are not needed, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18921 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:24:29 +00:00
Andrew Ozz
2b2bff2fca
Fix insetring images in Quick Press and Press This, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Andrew Ozz
70a7bb3fe0
Fix prepending $editor_id to the Add Media link, see #17578
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz
a115821842
Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Nacin
bc94322a01
Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18915 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:26:44 +00:00
Andrew Nacin
fa861b4bf3
Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18914 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:23:33 +00:00
Andrew Nacin
e6292eed96
Remove redundant help tab title from the tab body. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18913 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:00:38 +00:00
Andrew Nacin
209ba5a53f
Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18912 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:58:36 +00:00
Andrew Nacin
2efff75050
Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Andrew Nacin
d9f0fec29c
Revert CSS that slipped into [18874]. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18910 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 03:29:49 +00:00
Andrew Nacin
a488f8e686
Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18908 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 23:43:20 +00:00
Andrew Nacin
237d132595
@since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18904 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 16:24:14 +00:00
Andrew Ozz
fcecbaa30c
Combine few styles for column containers, props olleicua, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18903 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 14:37:55 +00:00
Andrew Ozz
390650f410
As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Ozz
04c169ba44
Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18901 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:18:56 +00:00
Andrew Ozz
7ac7aeae29
Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Ryan Boren
319d070078
Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Andrew Nacin
44a62f0b3b
Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180 ). fixes #18865 , see #16413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18897 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:42:11 +00:00
Daryl Koopersmith
d9d201289e
Refine new help styles. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:15:19 +00:00
Andrew Nacin
a8638d222d
Align the bytes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin
7b1d7c6f12
type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin
ac958d3ec6
Oops. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:05:43 +00:00
Andrew Nacin
0a6ff4024f
Kill the multisite mu_media_buttons option. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Nacin
1b836047af
Compress and bump scripts for [18890]. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18891 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:08:16 +00:00
Andrew Nacin
e386cb17c5
UI touches for the single media button. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Ozz
22f4cdc7d7
Revert 'auto' column setting, props markjaquith, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Daryl Koopersmith
c9e4b0fcb9
Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz . see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18888 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:45:32 +00:00
Mark Jaquith
46737bef61
Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18887 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:48:41 +00:00
Dion Hulse
85c8647a55
Use transparent delete icon. Props Caspie. Fixes #17991
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18883 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:14:41 +00:00
Dion Hulse
c91838bd7d
Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +00:00
Daryl Koopersmith
ea4615f2ed
Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18881 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 06:39:30 +00:00
Andrew Ozz
48be8d03eb
Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18880 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 23:10:02 +00:00
Andrew Ozz
fec0286bb3
Make $current_screen->add_option() easier to use, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18879 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 17:21:59 +00:00
Ryan Boren
c8cbea1d66
Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18878 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:09:24 +00:00
Ryan Boren
ed0c374876
Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18876 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:00:36 +00:00
Andrew Ozz
188a2b973f
Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18875 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 04:14:36 +00:00
Andrew Ozz
fee1fe1b36
Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18874 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 03:32:12 +00:00
Andrew Ozz
ef03889ea5
Combine font-family, remove few unused bits, props ocean90, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18872 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:36:19 +00:00
Ryan Boren
ac34546770
Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18871 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:30:07 +00:00
Andrew Ozz
68214afb44
Fix typo when setting post_format in Press This.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18870 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:22:38 +00:00
Ryan Boren
88a57f003a
Implement bulk update for network/themes.php. Props ocean90. fixes #18687
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18869 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:35:43 +00:00
Ryan Boren
7dd1ec898b
Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18868 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:03:01 +00:00
Andrew Ozz
98554b4bb6
Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Daryl Koopersmith
d6f613fcd3
Help style refresh, part 1. A few elements left to add/tweak. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +00:00
Andrew Ozz
d0d3855285
Add screen_options with contextual content, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Andrew Nacin
da55be56a6
Add phpdoc for two WP_Screen methods. props jorbin, see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 00:04:30 +00:00
Andrew Ozz
b59e63f01f
Add phpdoc for the section title, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 22:22:33 +00:00
Andrew Ozz
f928bc51eb
Separate the tab title from the help section title, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 21:18:04 +00:00
Andrew Ozz
4f289db37a
Change month dropdown display in date pickers to include month number, fixes #18838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18860 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 20:50:08 +00:00
Andrew Nacin
8bbc643454
Deprecate screen_meta(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:13:27 +00:00
Andrew Nacin
f214ef7d99
Deprecate secreen_options(), screen_layout(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18858 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:07:41 +00:00
Andrew Nacin
c0b2567366
Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18857 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 17:59:46 +00:00
Daryl Koopersmith
206aa49499
Properly print per-page options. see #18690 , [18853].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18854 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 03:21:36 +00:00
Daryl Koopersmith
a5acbaa574
Make screen options a help tab. Move screen option functions into WP_Screen. see #18690 , #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz
1aad45debc
Fix unfiltered_html_comment nonce, props nacin, fixes #18319
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18852 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:19:07 +00:00
Andrew Ozz
8c9d5285ac
Toggle the pinkynails properly, props goto10, fixes #17212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz
684727610f
Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18850 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:52:29 +00:00
Andrew Nacin
c4d4799424
Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18847 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 21:35:05 +00:00
Mark Jaquith
b587d4c2ac
More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18843 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:31:52 +00:00
Ryan Boren
35130709a7
s/Settings/Network Settings/. Props wpmuguru. fixes #16027
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18842 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:26:14 +00:00
Mark Jaquith
a3bdf19206
Be more consistent with ERROR: messages. fixes #15887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Ryan Boren
f1423b28e5
Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:47:02 +00:00
Andrew Ozz
e8fd0746c8
Fix editor detection when inserting image, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Andrew Nacin
5efcc6e8fc
Compress and bump media.css. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Nacin
19d613fed2
Merge the four media buttons into one.
...
* Lots of red.
* Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
* Replacement filter is a generic type_url_form_media filter for the new unified form.
* Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Nacin
a42d391108
Update Feedback support URL.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18830 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 05:26:40 +00:00
Andrew Ozz
242c897d96
Attempt to keep the textarea still while loading the editor, see #18820
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18829 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 04:13:44 +00:00
Andrew Ozz
cfc8bd3d53
Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Andrew Ozz
b969d2ea80
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren
8e77c91883
* Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
...
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598
git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin
0cd9b83b64
Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18820 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:39:55 +00:00
Andrew Nacin
eb00fdb5cb
Don't split names across multiple lines on the credits page. props zeo, fixes #17940 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18819 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:28:29 +00:00
Andrew Nacin
106a94406e
Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin
4aee3254f3
Kill the tables in install.php. props andrewryno. see #16413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00
Andrew Nacin
bb89b80c5b
Remove remnants of show_admin_bar_admin. see #18811 , see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin
a854604f54
Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin
8585471f13
Space out and capitalize 'Auto' in screen options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18808 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:28:00 +00:00
Andrew Ozz
c9c3eb7a6d
Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348 , see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz
bbd210992d
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz
412422f15c
Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18801 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 16:05:59 +00:00
Andrew Ozz
13c72ba193
Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz
2a7b8b4764
Add error message when loading the preview image in the image editor fails, fixes #18723
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18798 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 06:08:56 +00:00
Daryl Koopersmith
91c746f586
Add dashboard help tabs, revise help tab layout and code. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin
35edc4264d
Release a user's post lock when the user leaves a post. see #18515 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Ryan Boren
d7d3a5c41b
Revert fat fingers in [18793]. see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18794 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:33:51 +00:00
Ryan Boren
fddfc14c88
First pass of WP_Screen phpdoc. see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18793 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:30:56 +00:00
Jon Cave
070aa4e1f1
_wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662 .
...
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.
git-svn-id: https://develop.svn.wordpress.org/trunk@18792 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 10:22:58 +00:00
Andrew Nacin
4b03f4253b
wp_set_post_lock() only takes one argument. see #18515 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18790 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 06:11:30 +00:00
Andrew Nacin
30f64015c2
Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18784 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 23:31:54 +00:00
Andrew Nacin
44724de2e8
Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18782 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:32:10 +00:00
Andrew Nacin
601a70fe8e
And fix this variable. props ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:15:57 +00:00
Andrew Nacin
d5dee542e5
Use correct variable. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18780 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:11:46 +00:00
Daryl Koopersmith
0b3d90ee53
Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz
3009977ccd
Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18778 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 19:23:43 +00:00
Andrew Nacin
e8ae8753c7
Use WP_PLUGIN_DIR, not PLUGINDIR. props ocean90, fixes #18772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18775 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 19:24:15 +00:00
Andrew Ozz
8c8d048749
Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18774 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 18:53:34 +00:00
Andrew Ozz
10d60279b9
Add border radius to .postbox .hndle, props Jick, fixes #18657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18773 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 17:17:51 +00:00
Andrew Ozz
27252a36b0
Fix line-height inside postbox and stuffbox, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18772 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 20:48:41 +00:00
Jon Cave
3c4d0639ae
Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18771 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 20:26:51 +00:00
Jon Cave
57768a1a80
Remove .js .item-order style made redundant by r18755. See #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18770 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:57:52 +00:00
Andrew Nacin
0f4a1e5e3c
delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18767 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:31:38 +00:00
Andrew Ozz
be87523fed
Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Dion Hulse
cc0d6fdf67
Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18765 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:18:44 +00:00
Andrew Nacin
8a1c8168b8
Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18762 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 21:12:43 +00:00
Daryl Koopersmith
62559dd0b0
Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18761 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:22:52 +00:00
Daryl Koopersmith
1ad904fb1a
Correct text widget background color. It was really messing with our feng shui.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18760 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:05:13 +00:00
Andrew Nacin
d76e4bea9e
Combine some CSS definitions. props DH-Shredder, see #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18759 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 18:52:51 +00:00
Jon Cave
85c211d2fe
Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206 . Fixes #18760 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18758 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 14:36:57 +00:00
Andrew Ozz
e42c40167f
Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18757 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 05:03:31 +00:00
Daryl Koopersmith
60c59fb4a7
Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18755 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:33:27 +00:00
Daryl Koopersmith
1db2584cd2
Remove expanded class from flyout menus. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Peter Westwood
80cc1062af
Revert [18747] until we can discuss it further. See #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Andrew Nacin
b709c2ac4e
Add 'Visit Dashboard' and 'Edit Site' links to the site added message on site-new.php. props vegasgeek, SergeyBiryukov. fixes #18047 . fixes #17313 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18750 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 07:17:27 +00:00
Daryl Koopersmith
f30457e6d3
Add frame for welcome panel on dashboard (currently hidden). see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18749 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 06:23:10 +00:00
Andrew Ozz
23824f9f30
Change the menus Link Target to checkbox, props nacin, fixes #17521
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18748 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 05:44:25 +00:00
Andrew Ozz
033ed78e03
Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18747 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:27:00 +00:00
Daryl Koopersmith
3094ed7733
Add new 'about this version' page (with filler content) and menu item. see #18742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18745 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 23:20:26 +00:00
Andrew Ozz
102335ed23
Remove some duplicates and combine some css selectors, props DH-Shredder, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18744 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 22:23:09 +00:00
Andrew Ozz
ecb902c53d
Fix inconsistent css handling of .wide-screen, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18743 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 21:44:44 +00:00
Ryan Boren
53b042285c
Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18740 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:17:22 +00:00
Andrew Ozz
41b4edd1a3
Remove the scrollbar from the login screen, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18737 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 18:47:12 +00:00
Andrew Ozz
f465d0e766
Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Andrew Nacin
c2cf751035
number_format_i18n for role user counts. props sirzooro, fixes #18305 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18735 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 05:35:57 +00:00
Dion Hulse
6147f81b33
Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18731 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 04:17:55 +00:00
Andrew Ozz
865ccf2acb
Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18730 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:37:17 +00:00
Andrew Ozz
77224590d2
Add the borders to the border-radius merge, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18729 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:21:18 +00:00
Andrew Ozz
91d248fce8
Merge all border-radius: 3px, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18728 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:02:53 +00:00
Andrew Ozz
7c4e4d17e6
Remove unnecessary vendor prefixes, props ocean90, see #18700
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18726 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 01:27:14 +00:00
Jon Cave
83f0e2c349
Add post formats to quick edit and bulk edit. Fixes #18083 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18722 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 17:02:58 +00:00
Jon Cave
6db13f488f
Make use of specific post format support in current_theme_supports(). See #18691 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18721 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:31:33 +00:00
Andrew Ozz
945d4500b4
Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992 , fixes #18697 , see $17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Andrew Nacin
e984d8503b
Fix issue where post locks were not updating on autosaves. props benbalter, fixes #18642 . see #18515 for more on locking. broken in [12991], see #11889 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18709 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 23:23:39 +00:00
Andrew Nacin
29fca1ba49
Don't burden translators with a few strings we'll be changing.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18708 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:45:23 +00:00
Daryl Koopersmith
342180470d
Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Andrew Nacin
be4c3e1d86
Use get_post_class() in the posts list table. props brandondove, fixes #18516 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18706 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:11:28 +00:00
Andrew Ozz
2f8ab419ac
Importers and Install themes thickbox fixes, props helenyhou, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18704 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:39:49 +00:00