Commit Graph

11816 Commits

Author SHA1 Message Date
koopersmith
d8abece877 Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 00:15:12 +00:00
azaozz
c4942fae11 Pointers: fix check for defer_loading, fixes #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:50:30 +00:00
nacin
d928ce089a _wp_ajax_add_hierarchical_term() no longer gets passed an action, so pull it from POST. see #20699.
git-svn-id: http://core.svn.wordpress.org/trunk@20888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:38:01 +00:00
koopersmith
c3e7ce5320 Theme Customizer: Check for CORS support when the preview and admin urls are cross-domain. Add a fallback to the customize control frame, and check support there as well. see #20582, #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:13:21 +00:00
nacin
92423061e4 Move from 'Upload Image' to 'Select Image' as this section now includes choosing an image from the media library. see #20737.
git-svn-id: http://core.svn.wordpress.org/trunk@20885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:07:39 +00:00
ryan
4cad786961 Improve appearance of "choose from library" link for headers and backgrounds. Props SergeyBiryukov, sabreuse. see #20737
git-svn-id: http://core.svn.wordpress.org/trunk@20884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:03:38 +00:00
koopersmith
84cc00a6e8 Theme Customizer: Improve accuracy of identifying internal urls. see #20507, #19910.
The 'customize_preview_link' filter has been replaced by 'customize_allowed_urls'.
Improved accuracy when checking for wp-admin.
Improved accuracy when attempting to match the schemes of the control and preview frames.
Improved accuracy of internal link whitelist.


git-svn-id: http://core.svn.wordpress.org/trunk@20882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:17:49 +00:00
azaozz
7729e3742e Pointers: center pointer on Themes screen, fixes #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:34:51 +00:00
westi
b1dc47cc32 Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
git-svn-id: http://core.svn.wordpress.org/trunk@20879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:15:18 +00:00
ryan
35d5894c27 "Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 14:44:13 +00:00
nacin
9dc633d261 Add space between 'Plugins' title and 'Add New' button on plugins.php, like all other screens. [20868] was not meant to hit the 3.3 branch.
git-svn-id: http://core.svn.wordpress.org/trunk@20871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:05:32 +00:00
azaozz
453ab841d0 s/deffer/defer, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:02:25 +00:00
azaozz
b0e634031f Pointers: add arg to pointer options to load at window.loaded (after all images have been loaded and the layout is finalized) and use it on the custom header screen, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:45:49 +00:00
markjaquith
02ed477f1b Set $action for core ajax callbacks, as it will not be provided by the do_action() call until WordPress 3.5. props kurtpayne. fixes #20699
git-svn-id: http://core.svn.wordpress.org/trunk@20866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:40:53 +00:00
koopersmith
4973f92107 Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:29:51 +00:00
nacin
397fc6f8c9 Refine early bailing checks in customize.php. see #20852.
git-svn-id: http://core.svn.wordpress.org/trunk@20858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:00:02 +00:00
ryan
5ed25d4725 Don't pass action ID to the ajax actions to avoid possible back compat problems. Props sivel. fixes #20699
git-svn-id: http://core.svn.wordpress.org/trunk@20857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:46:38 +00:00
duck_
c4ff39edf8 Fix minor typos in about.php. See #20423.
git-svn-id: http://core.svn.wordpress.org/trunk@20855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:36:46 +00:00
ryan
2f97993537 Updated text for Customize pointer. Props jane. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 19:49:14 +00:00
nacin
f3ec4f06c6 Remove debug cruft from [20852].
git-svn-id: http://core.svn.wordpress.org/trunk@20853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 18:00:09 +00:00
nacin
95e1c32720 Customize API shuffling.
* Rename WP_Customize to WP_Customize_Manager.
 * Move customize-controls.php to wp-admin/customize.php.
 * Make customize.php the formal entry point, rather than admin.php?customize=on.
 * Rename is_current_theme_active() to is_theme_active().
 * Add getters for the theme, settings, controls, and sections properties.
 * Allow customize.php (no ?theme=) to load the active theme. Not used yet.
see #20736.



git-svn-id: http://core.svn.wordpress.org/trunk@20852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 17:56:42 +00:00
ryan
f550bc01e5 Update old_files. fixes #20727
git-svn-id: http://core.svn.wordpress.org/trunk@20850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 15:05:29 +00:00
azaozz
1b0677795c About screen: fix typo, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:29:58 +00:00
nacin
1627a8cb52 Use mdash. see #20423.
git-svn-id: http://core.svn.wordpress.org/trunk@20848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:22:43 +00:00
azaozz
c29d5f423b About screen: make the text translatable again and escape <img src=admin_url(), see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:03:52 +00:00
ryan
4685f9ea04 Don't concatenate. see #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 20:34:45 +00:00
ryan
b66fb16fe5 Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
git-svn-id: http://core.svn.wordpress.org/trunk@20844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 15:25:35 +00:00
ryan
cb33ac7824 about.php text. Props jane. see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 14:45:50 +00:00
azaozz
901e0b36ed Crush flex-header-media-library.png, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 02:46:59 +00:00
bumpbot
df1279bd04 Compress scripts/styles: 3.4-beta4-20841.
git-svn-id: http://core.svn.wordpress.org/trunk@20841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 01:58:24 +00:00
azaozz
5027e30a81 Simpler layout for the about screen (still needs text), props chexee, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 01:58:00 +00:00
ryan
17f9635a45 Feature pointers for choosing an image from the library on the custom header and background pages. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 20:34:20 +00:00
bumpbot
d8ed87e9e1 Compress scripts/styles: 3.4-beta4-20838.
git-svn-id: http://core.svn.wordpress.org/trunk@20838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:58:25 +00:00
ryan
b531b488cf Fix path to customizer collpase arrows. Props markjaquith. fixes #20701
git-svn-id: http://core.svn.wordpress.org/trunk@20835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:49:51 +00:00
azaozz
7380c0be3e Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: http://core.svn.wordpress.org/trunk@20832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-20 22:20:00 +00:00
ryan
15b9961b52 set_url_scheme() for header and background image srcs. see #20702
git-svn-id: http://core.svn.wordpress.org/trunk@20830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 20:22:57 +00:00
ryan
eb09282a9c 'Live Preview' instead of 'Customize' for the customizer links in the theme browser. see #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 16:27:24 +00:00
azaozz
6499a905a3 Image captions: revert label change back to "Caption", fixes #18311
git-svn-id: http://core.svn.wordpress.org/trunk@20826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 02:50:05 +00:00
bumpbot
95ecb49c92 Compress scripts/styles: 3.4-beta4-20825.
git-svn-id: http://core.svn.wordpress.org/trunk@20825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:58:27 +00:00
koopersmith
4e5c3519ea Theme Customizer: RTL fixes. props ocean90, fixes #20585, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:37:00 +00:00
bumpbot
8f5251dc61 Compress scripts/styles: 3.4-beta4-20819.
git-svn-id: http://core.svn.wordpress.org/trunk@20819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 01:58:25 +00:00
azaozz
1e1a743b2c Retina display icons: add 2x image for wp-badge.png, props chexee, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 01:04:20 +00:00
bumpbot
9047cffc73 Compress scripts/styles: 3.4-beta4-20815.
git-svn-id: http://core.svn.wordpress.org/trunk@20815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:58:26 +00:00
koopersmith
3940ec2b59 Theme Installer: IE7 compatibility. props ocean90, fixes #20696.
git-svn-id: http://core.svn.wordpress.org/trunk@20813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:41:33 +00:00
koopersmith
32ed08e42b Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695.
git-svn-id: http://core.svn.wordpress.org/trunk@20812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:38:53 +00:00
koopersmith
cf81f30e05 Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694.
git-svn-id: http://core.svn.wordpress.org/trunk@20811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 21:08:10 +00:00
koopersmith
21384672a4 Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 21:05:11 +00:00
ryan
b212ead08c Remove debug cruft. Fix typo. Props SergeyBiryukov. fixes #20657
git-svn-id: http://core.svn.wordpress.org/trunk@20808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 18:11:19 +00:00
ryan
a6894d0b59 Create a new attachment and make a copy of the image when selecting an image from the image library. This prevents orphaning the header if the original attachment is deleted. This also prevents stomping of meta.
Add a button to skip cropping.

Props SergeyBiryukov
Fixes #20657 #20667


git-svn-id: http://core.svn.wordpress.org/trunk@20806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 17:47:55 +00:00
bumpbot
5181e0abd3 Compress scripts/styles: 3.4-beta4-20803.
git-svn-id: http://core.svn.wordpress.org/trunk@20803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:58:24 +00:00
koopersmith
bc99ad372e Theme Customizer: Properly change state when theme is switched. fixes #20610, see #19910.
* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.



git-svn-id: http://core.svn.wordpress.org/trunk@20802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:55:54 +00:00
bumpbot
d8b1541f91 Compress scripts/styles: 3.4-beta4-20792.
git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:58:21 +00:00
koopersmith
ae14873b96 Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:03:31 +00:00
bumpbot
2387c0248f Compress scripts/styles: 3.4-beta4-20790.
git-svn-id: http://core.svn.wordpress.org/trunk@20790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 19:58:19 +00:00
koopersmith
e7f13cd496 Theme Customizer: Fix Opera bug where, once the sidebar was collapsed, it could not be re-opened. props rosshanney. fixes #20452, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 19:19:34 +00:00
ryan
52e7e65d2d Make the file names unique for cropped header images. Props SergeyBiryukov. fixes #20666
git-svn-id: http://core.svn.wordpress.org/trunk@20787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:53:03 +00:00
ryan
28d2b205d8 Remove activate/deactivate messages from plugin upgrades. Props toppa. fixes #17833
git-svn-id: http://core.svn.wordpress.org/trunk@20786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:24:44 +00:00
nacin
d3f640c9ac Revert [20776], and instead pass the current locale to browsehappy.com.
git-svn-id: http://core.svn.wordpress.org/trunk@20781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-13 22:44:01 +00:00
nacin
c183c30303 Translate the 'http://browsehappy.com/' URL. See http://wp.me/p10SQN-r8.
git-svn-id: http://core.svn.wordpress.org/trunk@20776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 21:29:01 +00:00
ryan
e44a0c3930 First pass at 3.4 pointers. Add pointer to the customize link for the current theme on themes.php. Support multiple pointers per page. Props scribu. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 20:29:08 +00:00
bumpbot
eefdd33f6c Compress scripts/styles: 3.4-beta4-20773.
git-svn-id: http://core.svn.wordpress.org/trunk@20773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:58:22 +00:00
ryan
07e415d940 Lighten login form input foreground. Props helenyhou. fixes #20648
git-svn-id: http://core.svn.wordpress.org/trunk@20771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:33:09 +00:00
ryan
a0f07732d4 Check wp_crop_image() for a false return value. Don't delete original image if crop not sucessful. Don't delete the original image when wp_crop_image() returns it untouched. Prevents deletion of header image when no cropping is done to the originally uploaded image. Props SergeyBiryukov, westi. fixes #20657
git-svn-id: http://core.svn.wordpress.org/trunk@20769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 16:15:15 +00:00
duck_
ae9ce57153 Fix typo in Custom Header contextual help. Props klagraff. Fixes #20518.
git-svn-id: http://core.svn.wordpress.org/trunk@20768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 07:12:20 +00:00
bumpbot
dfbb0b3a07 Compress scripts/styles: 3.4-beta4-20766.
git-svn-id: http://core.svn.wordpress.org/trunk@20766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 20:58:24 +00:00
ryan
260b3b07fb Normalize star ratings markup. Props helenyhou. fixes #20655
git-svn-id: http://core.svn.wordpress.org/trunk@20765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:59:48 +00:00
bumpbot
65a3d05fdf Compress scripts/styles: 3.4-beta4-20764.
git-svn-id: http://core.svn.wordpress.org/trunk@20764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:58:25 +00:00
ryan
2cfd8210e7 Use stars-rtl.png for RTL start support in the theme installer. Props helenyhou, ocean90. fixes #20583
git-svn-id: http://core.svn.wordpress.org/trunk@20763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:37:16 +00:00
bumpbot
572fc170fe Compress scripts/styles: 3.4-beta4-20760.
git-svn-id: http://core.svn.wordpress.org/trunk@20760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:58:31 +00:00
koopersmith
e7f756c669 Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:47:15 +00:00
ryan
7e3010ef46 Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646
git-svn-id: http://core.svn.wordpress.org/trunk@20757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:13:22 +00:00
bumpbot
8c2cc130f6 Compress scripts/styles: 3.4-beta4-20755.
git-svn-id: http://core.svn.wordpress.org/trunk@20755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:58:29 +00:00
ryan
1f3da6568d Update plugin install screens to use the new stars. Add stars-rtl.png. Remove star.png and gray-star.png and add to old files list.
Props helenyhou
Fixes #20626



git-svn-id: http://core.svn.wordpress.org/trunk@20754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:27:24 +00:00
ryan
df7e72511a Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625
git-svn-id: http://core.svn.wordpress.org/trunk@20753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:16:03 +00:00
ryan
1a5249997e Friendlier strings with links to the support forums when experiencing problems talking to api.wordpress.org. fixes #20605
git-svn-id: http://core.svn.wordpress.org/trunk@20752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 15:55:59 +00:00
ryan
519af69e93 When showing already installed themes in the theme installer list, indicate in the row actions that the theme is installed and offer an update link if updates are available.
Props SergeyBiryukov
Fixes #20618


git-svn-id: http://core.svn.wordpress.org/trunk@20751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 15:01:49 +00:00
bumpbot
b78ade049f Compress scripts/styles: 3.4-beta4-20750.
git-svn-id: http://core.svn.wordpress.org/trunk@20750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:58:27 +00:00
azaozz
1f44403272 Auto-fold the admin menu with CSS, fixes #20642
git-svn-id: http://core.svn.wordpress.org/trunk@20749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:56:40 +00:00
koopersmith
3fc77d1465 Lighten foreground color for inputs to match the standard body text. Also lighten several other instances of pure black. props helenyhou, fixes #19923.
git-svn-id: http://core.svn.wordpress.org/trunk@20748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:25:22 +00:00
koopersmith
931ce249e4 Theme Customizer: Link the current theme screenshot to the customizer. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 01:38:54 +00:00
bumpbot
d5cf655ad3 Compress scripts/styles: 3.4-beta4-20744.
git-svn-id: http://core.svn.wordpress.org/trunk@20744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:58:24 +00:00
koopersmith
d5d0a73719 Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:37:05 +00:00
ryan
f5366a2ccf Don't delete nav menu items when the user that owns them is deleted.
* Introduce delete_with_user flag to register_post_type
* Set delete_with_user to false for the nav_menu_item post type
* Set it to true for all other core post types
* If delete_with_user is not set, fallback to post_type_supports('author')

Props nacin
Fixes #16358


git-svn-id: http://core.svn.wordpress.org/trunk@20739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 17:01:50 +00:00
ryan
fbe317f406 Contextual help updates for themes.php and theme-install.php. Props TomAuger. fixes #20515
git-svn-id: http://core.svn.wordpress.org/trunk@20736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 17:26:16 +00:00
ryan
fa13d2cf18 Update upload-html-bypass string to reflect that the uploader is no longer new. Props Ipstenu. fixes #20627
git-svn-id: http://core.svn.wordpress.org/trunk@20735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 16:48:35 +00:00
ryan
796d0fd692 Switch to WP_Theme::display() in theme update message. Props SergeyBiryukov. fixes #20623
git-svn-id: http://core.svn.wordpress.org/trunk@20733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 16:16:17 +00:00
bumpbot
21992b16ee Compress scripts/styles: 3.4-beta4-20731.
git-svn-id: http://core.svn.wordpress.org/trunk@20731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-06 23:58:23 +00:00
koopersmith
8d3c911831 Add 'Install now', 'Preview', and 'Details' links to theme install list items. fixes #20403.
git-svn-id: http://core.svn.wordpress.org/trunk@20730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-06 23:06:47 +00:00
ryan
d855864867 Remove editor_template_src.js from old files list. It should not be deleted. Props Jayjdk. fixes #20539
git-svn-id: http://core.svn.wordpress.org/trunk@20728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-05 21:10:18 +00:00
ryan
7492cefdf5 Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523
git-svn-id: http://core.svn.wordpress.org/trunk@20727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-05 19:09:08 +00:00
nacin
5030fa458d Remove the Ryan Boren Comedy Script from the POT file.
git-svn-id: http://core.svn.wordpress.org/trunk@20722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 01:17:27 +00:00
ryan
7856b1bf65 Dummy test for about.php. see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 00:39:28 +00:00
ryan
9dfe713b5a Don't concatenate translated strings. see #20518
git-svn-id: http://core.svn.wordpress.org/trunk@20719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 22:00:25 +00:00
ryan
1e54f64be5 Custom header contextual help updates. Props TomAuger. see #20518
git-svn-id: http://core.svn.wordpress.org/trunk@20718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 21:54:50 +00:00
bumpbot
37d49fc7b4 Compress scripts/styles: 3.4-beta4-20717.
git-svn-id: http://core.svn.wordpress.org/trunk@20717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 17:58:27 +00:00
koopersmith
8f17fd5034 Fix markup in wp-admin/themes.php. see #20403.
* Always print opening form tag.
* Always ensure table content clears to the next line. This prevents table content from bunching next to the 'Available Themes' headline, which occurred when only one theme was active on a multisite install.


git-svn-id: http://core.svn.wordpress.org/trunk@20716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 17:54:20 +00:00
ryan
8c114f0c54 Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@20715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 16:41:59 +00:00
nacin
eb8e069932 Correct the link to http://codex.wordpress.org/Network_Admin_Sites_Screen in the network admin help sidebars. props Nao. fixes #20607.
git-svn-id: http://core.svn.wordpress.org/trunk@20713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 13:34:33 +00:00
nacin
15b661ecab Make admin-head-callback optional for custom headers. Reverts part of [20684]. fixes #20603.
git-svn-id: http://core.svn.wordpress.org/trunk@20712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 13:30:55 +00:00
nacin
1963cc8070 Add a filter to wp_terms_checklist() that wraps the function's arguments.
Mainly designed to allow checked_ontop to be turned off.

props husobj.
fixes #20054.



git-svn-id: http://core.svn.wordpress.org/trunk@20710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 01:15:18 +00:00
bumpbot
a5e53687b9 Compress scripts/styles: 3.4-beta3-20709.
git-svn-id: http://core.svn.wordpress.org/trunk@20709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 22:58:29 +00:00
azaozz
1e07a49337 Fix columns in IE7 on Appearance -> Themes screen, props SergeyBiryukov, fixes #20591
git-svn-id: http://core.svn.wordpress.org/trunk@20708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 22:11:58 +00:00
bumpbot
74e51d0f80 Compress scripts/styles: 3.4-beta3-20707.
git-svn-id: http://core.svn.wordpress.org/trunk@20707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:58:30 +00:00
ryan
61ffb70037 Don't convert png to jpg when cropping a header. Prevents stomping transparency. Props SergeyBiryukov, kovshenin. fixes #20555
git-svn-id: http://core.svn.wordpress.org/trunk@20706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:35:56 +00:00
ryan
de86b02f42 Styling and RTL style fixes for user/site autocomplete. Props ocean90, helenyhou. fixes #20584
git-svn-id: http://core.svn.wordpress.org/trunk@20705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:33:43 +00:00
nacin
c64ed056ac Do not force table names to be lowercase in dbDelta, as this breaks sites using capital letters in table prefixes. props netweblogic. fixes #19748.
git-svn-id: http://core.svn.wordpress.org/trunk@20704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:19:37 +00:00
azaozz
83e29ead52 Add blue sprite for icons32, props SergeyBiryukov, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:01:21 +00:00
nacin
026289fa33 A more resilient check for the base table prefix. see #19970.
git-svn-id: http://core.svn.wordpress.org/trunk@20700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:38:58 +00:00
nacin
c02d96890a Issue an error during the WordPress install process if wp-config.php is configured with an empty database table prefix, which is not supported.
props SergeyBiryukov.
fixes #19970.



git-svn-id: http://core.svn.wordpress.org/trunk@20699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:37:18 +00:00
azaozz
a0beb9a1d1 Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:36:07 +00:00
koopersmith
1c102d3180 Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:22:02 +00:00
bumpbot
803b3aa13a Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: http://core.svn.wordpress.org/trunk@20693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:58:23 +00:00
nacin
3818ab7abf Widen fields for QuickPress and Quick Edit for the lt_LT locale. props settle. see #19603.
git-svn-id: http://core.svn.wordpress.org/trunk@20692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:30:38 +00:00
bumpbot
dad497a12a Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: http://core.svn.wordpress.org/trunk@20690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:58:25 +00:00
nacin
153112bb3a Fix the image overlap with the Press This bookmarklet in RTL. props dd32 for the initial patch. fixes #19502.
git-svn-id: http://core.svn.wordpress.org/trunk@20689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:54:20 +00:00
bumpbot
5a37c2f523 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@20681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:58:25 +00:00
azaozz
46839c23eb Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:41:15 +00:00
azaozz
e8beafd57b Change the image caption shortcode format to [caption ...]<a><img /></a> caption text + html[/caption]. That way HTML tags in captions are better supported and the shortcode wouldn't break when using the wrong quotes. Props sushkov, nacin, fixes #18311
git-svn-id: http://core.svn.wordpress.org/trunk@20679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:14:52 +00:00
bumpbot
a9263fe649 Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: http://core.svn.wordpress.org/trunk@20678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:58:23 +00:00
azaozz
08924f3439 Move the check for body.mobile in postbox.js to a variable as it's used in more than one place, props georgestephanis, scribu, fixes #20561
git-svn-id: http://core.svn.wordpress.org/trunk@20677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:50:47 +00:00
ryan
6670a497dd Clarify the uploading options in the media-new.php contextual help.
Props Ipstenu, DrewAPicture
fixes #19442


git-svn-id: http://core.svn.wordpress.org/trunk@20676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:23:15 +00:00
nacin
886ee992be Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points.
In these cases, we want a period because it is going to be used by CSS.

props SergeyBiryukov.
fixes #19593.



git-svn-id: http://core.svn.wordpress.org/trunk@20675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:09:55 +00:00
ryan
52c4490065 RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
ryan
1491c8c531 RTL style fixes for the install theme info sidebar. Props ocean90. fixes #20583
git-svn-id: http://core.svn.wordpress.org/trunk@20673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:05:35 +00:00
nacin
74eecbbdb7 Don't show the 'Preview Changes' button for a non-public post type. props intoxstudio, see #17609.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 17:52:08 +00:00
bumpbot
01b652696f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:58:31 +00:00
nacin
d6a3b4de6f Make the Press This draggable bookmarklet a flexible width to support languages with long words. props SergeyBiryukov, fixes #19957.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:57:11 +00:00
ryan
e0ba13d56c setup-config.php cleanups
* Don't allow an empty prefix
* Make slashing consistent and sane

Props SergeyBiryukov
Fixes #13839


git-svn-id: http://svn.automattic.com/wordpress/trunk@20661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:56:32 +00:00
ryan
7221a98a89 Set foreground color to #000 for form inputs. Props helenyhou, convissor. fixes #19923
git-svn-id: http://svn.automattic.com/wordpress/trunk@20659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:45:10 +00:00
nacin
23533ab628 Remove ru_RU-specific CSS that is no longer necessary after [20616]. props SergeyBiryukov. fixes #20568.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:42:47 +00:00
nacin
659bcd078e Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:32:44 +00:00
bumpbot
8f97933671 Compress scripts/styles: 3.4-beta3-20651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:58:24 +00:00
ryan
93d9788068 Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936
git-svn-id: http://svn.automattic.com/wordpress/trunk@20650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:50:50 +00:00
nacin
608b26589e Default to keyword searches for the plugin and theme installers in case no search type is posted back. fixes #19619.
props georgestephanis, SergeyBiryukov for initial patches.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 00:44:47 +00:00
bumpbot
90e0f66bf1 Compress scripts/styles: 3.4-beta3-20634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:58:20 +00:00
azaozz
3ff4f1fc69 Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
git-svn-id: http://svn.automattic.com/wordpress/trunk@20633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:55:56 +00:00
nacin
4ffc5dd0f4 After adding a user, take them back to users.php with an 'Edit user' link in the message.
This removes the (possibly ineffective) search from the redirect, as well as the URL hash that will get covered up by the toolbar.

fixes #19470. props merty and SergeyBiryukov for initial patches.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 23:13:39 +00:00
nacin
2a615d274e Clean up messages on edit.php. see #19470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 22:54:02 +00:00
bumpbot
c600e21e43 Compress scripts/styles: 3.4-beta3-20629.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:58:24 +00:00
azaozz
641650117e Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
git-svn-id: http://svn.automattic.com/wordpress/trunk@20628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:34:35 +00:00
bumpbot
8929b78ae2 Compress scripts/styles: 3.4-beta3-20627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:58:23 +00:00
azaozz
ec8b201777 Put back "max-width: 100%" for all <select> in the admin. Doesn't seem to work for IE7 but doesn't seem to break anything either. Props Master Jake, fixes #19613
git-svn-id: http://svn.automattic.com/wordpress/trunk@20626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:52:13 +00:00
nacin
48fde56f29 Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:46:33 +00:00
duck_
a442d476fe Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:32:32 +00:00
nacin
b82ddbd98b Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:02:10 +00:00
bumpbot
2dfc4aa101 Compress scripts/styles: 3.4-beta3-20620.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:58:22 +00:00
nacin
0af650a02c Check if update_core() exists before calling it in Core_Upgrader. If not, issue an error message that the copy failed likely due to disk space. fixes #19883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:59 +00:00
nacin
2f26bbdf8d Int cast a step variable. see #19786. props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:08 +00:00
nacin
e949a5bd93 Force the plugin details to be LTR for all screens. props dd32. fixes #19778.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:52:58 +00:00
nacin
a5cdba485d Wrap text in the theme filter, rather than using a min-width. Makes things look a little better in languages with long words and phrases. props SergeyBirukov, fixes #18131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:22:47 +00:00
nacin
82aacfe420 Add a 200ms delay when dragging a meta box on mobile devices, to prevent inadvertently dragging meta boxes around on a touch screen.
props helenyhou, georgestephanis. fixes #20557.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:05:43 +00:00
nacin
c68f8c46f0 Use maybe_serialize() where appropriate. fixes #19617.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 15:57:51 +00:00
nacin
45d66d7d62 Make the Recent Comments dashboard widget more performant on sites with large amounts of comments, in particular with a heavy spam ratio.
Simplifies the query by avoiding a join, and leverages the API now rather than a direct query.

fixes #14222.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 21:09:51 +00:00
nacin
e09d2e6f76 Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 00:58:16 +00:00
ryan
25ec571dae Pass the upload iframe src url as an arg to sprintf to avoid treating octets as
format specifiers. Fixes setting the featured image on blogs containing spaces in the install path. Props rosshanney. fixes #20443


git-svn-id: http://svn.automattic.com/wordpress/trunk@20594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 20:24:20 +00:00
nacin
d17afd15a4 Reduce clutter and repetive functionality from the initial landing page for installing plugins and themes by removing the tag/author/term dropdown.
The tag cloud (plugins) and feature filter (themes) is sufficient for tag functionality. All three "search by" fields are already weighted for a standard keyword search through the WP.org API.

fixes #19619 for 3.4.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 19:37:19 +00:00
azaozz
a1e92cae9d Fix typo in a comment, props SergeyBiryukov, fixes #20506
git-svn-id: http://svn.automattic.com/wordpress/trunk@20591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 17:49:48 +00:00
nacin
1e500bd76a Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 17:34:19 +00:00
bumpbot
103ecdf368 Compress scripts/styles: 3.4-beta3-20582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:58:22 +00:00
ryan
646cb4e2ce * Return empty arrays instead of false for all conditions in get_blogs_of_user().
* When deleting a user, use a delete_metadata_by_mid() loop over the meta so that the meta cache is cleared.
* Use remove_user_from_blog() for DRYness.

Props nacin, duck_
Fixes #19500


git-svn-id: http://svn.automattic.com/wordpress/trunk@20581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:13:47 +00:00
azaozz
b6b321a203 Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
git-svn-id: http://svn.automattic.com/wordpress/trunk@20580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:06:55 +00:00
ryan
df7bd632f2 Clean out layout columns API in WP_Screen.
* Move layout column setup into render_screen_meta() so that the number of columns is available earlier.
* Store the user provisioned number of columns in an instance var.
* Access the var with get_columns()
* Move all templates away from the screen_layout_columns global to the get_columns() method.
* Deprecate the global
* Remove the no longer needed check for 'auto' in the user option.
* Cast the user option to an int.

Props griffinjt
fixes #20506


git-svn-id: http://svn.automattic.com/wordpress/trunk@20579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 20:46:04 +00:00
bumpbot
300ea7891d Compress scripts/styles: 3.4-beta3-20574.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:58:22 +00:00
azaozz
03a977b18e Remove one more duplicate of .screen-per-page, props ocean90, fixes #20526
git-svn-id: http://svn.automattic.com/wordpress/trunk@20573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:36:09 +00:00
azaozz
f092bf9a71 Lengthen the "screen-per-page" input box to prevent cutoff caused by setting type="number", remove some duplicate css, props thezman84, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:00:14 +00:00
azaozz
f5095b91d4 Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 22:40:59 +00:00
duck_
1e76fdfb4b Accept a post object in clean_post_cache(). Fixes #20486.
The post_type can then be accessed to properly clean the taxonomy relationships cache.
The full object is useful in situations when an ID might reference a post that has been
removed from the database (e.g. wp_delete_post()).


git-svn-id: http://svn.automattic.com/wordpress/trunk@20569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 22:04:35 +00:00
ryan
348c188871 Add additional files/dirs for removal and tidy up $_old_files.
Props aldenta
Fixes #20472


git-svn-id: http://svn.automattic.com/wordpress/trunk@20567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 21:48:09 +00:00
azaozz
589792fca1 Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510
git-svn-id: http://svn.automattic.com/wordpress/trunk@20564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-22 23:29:52 +00:00
nacin
53bdf5bffc Issue a 'This theme is broken' error (when applicable) on the theme editor. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:23:27 +00:00
nacin
d62b91f228 Adjust [20557] and check only parent(), as it is more semantic. We don't care if the theme considers itself to be a child theme, we care if it has a valid parent. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:03:23 +00:00
nacin
a5a13979bd A child theme with a missing parent might be is_child_theme() but not have a valid parent() object, so we need to check parent() too. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:00:24 +00:00
nacin
f73524c272 Don't allow themes without a style.css editor to be edited. These themes are too broken to be salvaged by the theme editor. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 20:57:54 +00:00
nacin
e098306abe Correct logic in deactivate_plugins() where network_wide = null. props SergeyBiryukov. fixes #20497.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 00:45:53 +00:00
azaozz
f58a801e62 Fix typo in the error message shown when a device doesn't support uploading, props SergeyBiryukov, fixes #20410
git-svn-id: http://svn.automattic.com/wordpress/trunk@20544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 01:10:39 +00:00
bumpbot
539bffd7fa Compress scripts/styles: 3.4-beta2-20536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:58:27 +00:00
duck_
192a2e2f31 Don't call updatePending() if the pending count hasn't changed. See #19905.
Stops a zero pending count bubble being shown when unspamming and approved comment
when there are no pending comments.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:32:45 +00:00
duck_
9e8ebc70f1 Remove "Approve" bulk action when viewing spam comments as it isn't shown in the row actions. Props russellwwest. Fixes #20123.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:00:44 +00:00
nacin
3dadfd1316 Add missing variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:38:19 +00:00
nacin
c23bf21079 Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468, #20104.
* Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
 * Remove code used from before the network admin, such as the unused 'network' plugin_status.
 * Don't try to deactivate a plugin already deactivated.
 * Use more specific caps (manage_network_plugins) rather than is_super_admin().



git-svn-id: http://svn.automattic.com/wordpress/trunk@20525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 03:41:29 +00:00
duck_
53e6ba7959 clean_user_cache() after the DELETE query in wp_delete_user(). See #20460.
This is to prevent plugins managing to hook in between the cache cleaning and the actual deletion.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 21:24:53 +00:00
duck_
e641c48a72 Pass full user objects to clean_user_cache(). See #19500, fixes #20460.
Prevents notices when clean_user_cache() is called for a user that has been removed from the database.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 21:07:31 +00:00
bumpbot
715efd86f0 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:58:24 +00:00
koopersmith
73246fa076 Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:57:06 +00:00
azaozz
88752323cb Fix floated #post-body-content on the Appearance -> Menus screen, props SergeyBiryukov, fixes #20467
git-svn-id: http://svn.automattic.com/wordpress/trunk@20516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:05:48 +00:00
bumpbot
2aff17ee0e Compress scripts/styles: 3.4-beta2-20515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 19:58:21 +00:00
koopersmith
a011f7f4b0 RTL styles for theme browsing. props ocean90, fixes #20391, see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 19:28:36 +00:00
nacin
dad05727fc Check for the response property in tue update_plugins transient object. props ampt, fixes #20441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 02:43:13 +00:00
nacin
456206c741 Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 21:52:02 +00:00
koopersmith
3f148d4e8f Theme Customizer: If the customize loader is enqueued, then add the 'customize-support' class early. This prevents a flash of unstyled content. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:59:09 +00:00
bumpbot
2884dc969d Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:58:23 +00:00
nacin
aab399efbc Theme Customizer: Stick to wp_customize_url() instead of wp_customize_href(). Switch argument order so it is stylesheet-template. (Template is hypothetically optional, but the function will not support that.) see #19910.
Move to ->display('Name'), as ->get('Name') is a raw, untranslated version of the header.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:36:47 +00:00
koopersmith
a5dacf7da5 Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:02:28 +00:00
bumpbot
64303ca4e8 Compress scripts/styles: 3.4-beta2-20460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:58:24 +00:00
koopersmith
24c818ec0b Manage Themes: Improved separators (markup/styles) for current theme options menu. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:16:51 +00:00
koopersmith
76e5f1d012 Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:03:57 +00:00
bumpbot
ee1bfeb6ab Compress scripts/styles: 3.4-beta2-20457.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:58:23 +00:00
koopersmith
017c1a2b81 Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:53:19 +00:00
koopersmith
1ec7a95c8b Theme list table style improvements. Make 'delete' link red and separate from other actions. New action separators. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:10:40 +00:00
ryan
54b3b79dea Use correct var name. Props mattonomics. fixes #20432
git-svn-id: http://svn.automattic.com/wordpress/trunk@20454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:02:24 +00:00
ryan
27630a4286 Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche.
fixes #19663


git-svn-id: http://svn.automattic.com/wordpress/trunk@20453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 18:49:48 +00:00
azaozz
817b932ed1 Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
git-svn-id: http://svn.automattic.com/wordpress/trunk@20449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 00:16:37 +00:00
bumpbot
ae65b6a352 Compress scripts/styles: 3.4-beta1-20447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:58:22 +00:00
koopersmith
892307d36c Shrink theme screenshots for smaller screen resolutions. props helenyhou, see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:54:56 +00:00
koopersmith
e1d8dcddef CSS improvements for the 'Current Theme' section. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:19:32 +00:00
nacin
2dd485a823 s/website/network/ on the network settings screen. props Ipstenu, fixes #20314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:45:03 +00:00
ryan
28f8e7a63d Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
git-svn-id: http://svn.automattic.com/wordpress/trunk@20440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:39:09 +00:00
nacin
5e6d499889 Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:22:48 +00:00
nacin
8789d023b2 Check if the response property is set before continuing with the update_themes transient return value. props johnbillion, fixes #20378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:15:31 +00:00
azaozz
6aaf0dad43 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 02:20:51 +00:00
bumpbot
f89c8b2910 Compress scripts/styles: 3.4-beta1-20432.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:58:23 +00:00
azaozz
31b26e343a Add New User screen: don't bind to blur event on the user_name fields when the <select> doesn't exist, props SergeyBiryukov, fixes #20392
git-svn-id: http://svn.automattic.com/wordpress/trunk@20431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:57:58 +00:00
azaozz
000b7a9313 Move mobile devices CSS from wp-login.php to wp-admin.css, props SergeyBiryukov, fixes #19673
git-svn-id: http://svn.automattic.com/wordpress/trunk@20430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:45:01 +00:00
bumpbot
339a365bb3 Compress scripts/styles: 3.4-beta1-20427.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 21:58:27 +00:00
koopersmith
9f64b56973 Larger screenshots in theme list tables. see #20403, #19816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 21:09:14 +00:00
ryan
baf681233f Pass post_type to clean_post_cache() instead of attempting to fetch a post object since the post may have been deleted.
Props leewillis77
see #19690


git-svn-id: http://svn.automattic.com/wordpress/trunk@20423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 16:09:44 +00:00
azaozz
5de5c9a64d Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
git-svn-id: http://svn.automattic.com/wordpress/trunk@20422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 03:18:48 +00:00
azaozz
66a7dd4697 Move the wp_is_mobile() check after the admin bootstrap in media-new.php, props SergeyBiryukov, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:34:47 +00:00
koopersmith
c2fb0c425b Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:25:03 +00:00
bumpbot
b15a9dde67 Compress scripts/styles: 3.4-beta1-20418.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:58:27 +00:00
azaozz
1d12cd07b0 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:19:30 +00:00
bumpbot
36a725ff82 Compress scripts/styles: 3.4-beta1-20416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:58:23 +00:00
koopersmith
10d045358d Fix showing/hiding theme details and move code from theme-preview.js to theme.js. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:34:39 +00:00
koopersmith
b909e55294 Theme browsing UX improvements. see #20403.
* On manage/install themes pages, moved author under theme name.
* On manage themes page, moved version number to details.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:15:13 +00:00
bumpbot
14a2452d72 Compress scripts/styles: 3.4-beta1-20413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:58:24 +00:00
koopersmith
7c66ca2021 Remove CSS involving unused '#theme-information' selector. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:48:12 +00:00
koopersmith
c5d236110a Remove CSS involving unused '.theme-listing' selector. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:22:59 +00:00
bumpbot
63818c06a2 Compress scripts/styles: 3.4-beta1-20408.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 18:58:20 +00:00
azaozz
04f6979a13 Don't try to append "Display Name" options when on the Add New User screen (the <select> doesn't exist there), props pbiron, SergeyBiryukov, fixes #20392
git-svn-id: http://svn.automattic.com/wordpress/trunk@20407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 18:46:36 +00:00
bumpbot
3c980edec3 Compress scripts/styles: 3.4-beta1-20401.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 20:58:27 +00:00
azaozz
30575854ec Center the menu icons when the menu is folded. For proper display in RTL the width of .wp-menu-image has to be 30px. Props helenyhou, fixes #20382
git-svn-id: http://svn.automattic.com/wordpress/trunk@20400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 20:18:18 +00:00
bumpbot
e60bdb8dc3 Compress scripts/styles: 3.4-beta1-20394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:58:21 +00:00
koopersmith
3230ba3987 Theme Customizer: Move 'collapse' button to footer and add a visible text label. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:10:22 +00:00
bumpbot
0dab6433cf Compress scripts/styles: 3.4-beta1-20388.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 21:58:20 +00:00
azaozz
810a02cc4c Reset negative top margin on submenus when folding/unfolding the admin menu, fixes #20380
git-svn-id: http://svn.automattic.com/wordpress/trunk@20387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 21:40:57 +00:00
bumpbot
4eca3fb67e Compress scripts/styles: 3.4-beta1-20385.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:58:21 +00:00
ryan
a7f2d67f6d Make choosing a header image from the media library play nicely with file replication plugins that do not guarantee images will be retained in the local filesystem.
* When passing an attachment ID to wp_crop_image(), use load_image_to_edit() to fetch the image via a url fopen when the image does not exist in the filesystem.
* Move load_image_to_edit() to wp-admin/includes/image.php so that it is always available for admin pages loads.
* Fallback to the height and width stored in the attachment meta when the image no longer exists in the filesystem.

see #19840


git-svn-id: http://svn.automattic.com/wordpress/trunk@20384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:47:24 +00:00
azaozz
2578d9e12a Ensure the first icon is not covered by the wrapper div in the Welcome tab on the dashboard, fixes #20366
git-svn-id: http://svn.automattic.com/wordpress/trunk@20383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:15:14 +00:00
nacin
d5cc12048e Use _callback, rather than an unhelpful 2, for a preg_replace callback function name. Add proper phpdoc. see #20369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:05:31 +00:00
duck_
1480a33d25 Simplify caption cleanup callbacks; if the function was called we know that the 0 index is set. See #20369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:52:34 +00:00
nacin
789b3714d3 Use WP_Theme::exists(). see #20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:21:31 +00:00
ryan
de41bc288b Introduce WP_User::exists(). see #20372
git-svn-id: http://svn.automattic.com/wordpress/trunk@20378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:18:45 +00:00
azaozz
f06fb15878 Pluck a tab (whitespace), props SergeyBiryukov, see #20369
git-svn-id: http://svn.automattic.com/wordpress/trunk@20377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 18:26:14 +00:00
azaozz
2441cb0cae Fix second callback when filtering caption text for shortcode, props SergeyBiryukov, fixes #20369
git-svn-id: http://svn.automattic.com/wordpress/trunk@20376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 17:38:49 +00:00
bumpbot
a682a7adaf Compress scripts/styles: 3.4-beta1-20370.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 11:58:23 +00:00
duck_
72c5403630 Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 11:14:32 +00:00
bumpbot
7946faa804 Compress scripts/styles: 3.4-beta1-20368.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:57:33 +00:00
azaozz
a4b22b61a2 Dashboard icon back in, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:55:35 +00:00
bumpbot
69d06ff2ef Compress scripts/styles: 3.4-alpha-20365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:34:01 +00:00
azaozz
0b5f4018d2 More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:30:06 +00:00
nacin
a54b4f9c9e Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:05:49 +00:00
azaozz
6683f9813d More specific selectors for the 2x images, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:02:36 +00:00
bumpbot
756a8141df Compress scripts/styles: 3.4-alpha-20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:58:26 +00:00
nacin
8209573a08 Empty media-gallery.js - bumpbot hungry. see [20359].
git-svn-id: http://svn.automattic.com/wordpress/trunk@20360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:23:12 +00:00
ryan
f455e41154 Add media-gallery js. see #19840
git-svn-id: http://svn.automattic.com/wordpress/trunk@20359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:21:28 +00:00
ryan
d3134e2688 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: http://svn.automattic.com/wordpress/trunk@20358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:20:28 +00:00
bumpbot
a5946c3e4c Compress scripts/styles: 3.4-alpha-20357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 23:58:25 +00:00
azaozz
605c927a5d Double-size icons and WordPress logo for retina displays, props chexee, props empireoflight, props iammattthomas, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 23:02:51 +00:00
bumpbot
d660121e01 Compress scripts/styles: 3.4-alpha-20355.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:58:23 +00:00
koopersmith
d62266817b Theme Customizer: Add a link to customize the current theme. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:41:51 +00:00
koopersmith
2fd59af7a6 Theme Customizer: Improve the customize loader and themes list table markup. see #19910.
* Use event delegation for triggering the customize loader (so we play nicely with infinite scroll).
* Use data attributes on .load-customize links instead of parsing the href.
* Properly translate the 'Customize' string instead of injecting the replacement with JS.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:02:29 +00:00
duck_
3738a692a3 Make comment type filter persist across views (e.g. approved, spam) of the list of comments. Fixes #20281.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 17:36:23 +00:00
duck_
457d2db64b Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 17:32:03 +00:00
bumpbot
c3cf0b5dd6 Compress scripts/styles: 3.4-alpha-20348.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:58:22 +00:00
azaozz
a70d52fb97 RTL for the responsive columns, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:46:38 +00:00
azaozz
d3a9ab7e26 Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:45:30 +00:00
bumpbot
841ef3b24e Compress scripts/styles: 3.4-alpha-20339.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-01 22:58:18 +00:00
azaozz
c9897903ed Fix getting the checked radio button when attaching orphan attachments, props solarissmoke SergeyBiryukov, fixes #16655
git-svn-id: http://svn.automattic.com/wordpress/trunk@20338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-01 22:46:29 +00:00
bumpbot
d088df8566 Compress scripts/styles: 3.4-alpha-20336.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-31 17:58:19 +00:00
azaozz
c2e2a8bc5c Switch to one column on the edit/write screens at 850px (the editor becomes unusable at narrower screens and two columns), see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-31 17:00:08 +00:00
nacin
d7d0da4193 Use 'Keyword' instead of 'Term' in the search type selector in the plugin and theme installers. see #19619.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 21:17:22 +00:00
nacin
81407efd05 Clean up cap checks for autocompletes for sites and users in a network. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 21:04:48 +00:00
nacin
0507fd7a00 Ensure we get a theme back from wp_get_theme() before checking ->errors(). see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 16:35:51 +00:00
nacin
2a29da4d31 Clear WP_Theme caches on update. fixes #20331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 14:46:52 +00:00
nacin
70aa7f9607 Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 14:39:05 +00:00
koopersmith
79f8b89fbc Theme Customizer: Move upload and image controls to subclasses. see #19910.
Instead of grouping together every control parameter into a single  array and passing them all to the JS, use subclasses with custom parameters to implement additional PHP functionality and the  parameter to send only the necessary variables to the JavaScript control.

Replaces WP_Customize_Control->control_params with WP_Customize_Control->json and WP_Customize_Control->to_json(). The to_json() method refreshes the json array passed to the JavaScript control (set to control.param by default).

Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 06:35:54 +00:00
nacin
5b8037afe6 Always set WP_Theme->template even when there is an error and we have no idea what the template is. (Assume it is the stylesheet.) Prevents a number of issues including WP_Theme->is_child_theme() lying. Tidy the theme editor for broken themes and themes with no templates (PHP files), or no template (parent), or are broken. Allow broken themes to be edited. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 04:16:17 +00:00
nacin
107733e263 urldecode() the incoming $file in the theme editor. see [20313] when the encode was added. see #2994 for the original bug report. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 03:34:51 +00:00
nacin
23abe58a59 Rewrite theme-editor.php to use the new WP_Theme API. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 03:00:38 +00:00
dd32
3a722f41d7 WP_Filesystem: PemFTP: Detect dl() being disabled in order to avoid any fatals which may be produced when the Sockets extension is not available. Props to kurtpayne for initial patch, Fixes #20187
git-svn-id: http://svn.automattic.com/wordpress/trunk@20311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 02:15:06 +00:00
nacin
a95f3d243a Revert label change in [20282]. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 20:32:29 +00:00
markjaquith
dc82254e2f Wrap attachment delete link in <p> for semantics and alignment. props aaroncampbell, lancewillett. fixes #19785
git-svn-id: http://svn.automattic.com/wordpress/trunk@20309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 20:28:34 +00:00
azaozz
f350421746 Improve _fix_attachment_links(), replace attachment URLs with the real permalink only for published posts, re-save only when there are changes, see #13429
git-svn-id: http://svn.automattic.com/wordpress/trunk@20308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 16:02:12 +00:00
bumpbot
7dd14bbd09 Compress scripts/styles: 3.4-alpha-20294.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 02:58:21 +00:00
azaozz
09360b1a92 Don't show dashed border on empty postbox containers under the editor, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 02:10:19 +00:00
nacin
959160e789 Remove step="" from upload size inputs, as the step is enforced in the spec, rather than being a recommendation. finally fixes #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 13:02:01 +00:00
nacin
a1a764cbc9 Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 12:53:17 +00:00
nacin
0730535015 Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 15:24:31 +00:00
bumpbot
89423eba89 Compress scripts/styles: 3.4-alpha-20284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:58:30 +00:00
nacin
9cca792f6c Revert UI for caption fields to pre-[19982], keeping textarea for the caption field. No monospaced font, revert label. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:37:42 +00:00
bumpbot
e52ee97665 Compress scripts/styles: 3.4-alpha-20280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:58:29 +00:00
markjaquith
2a8c7bbc7a Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:54:58 +00:00
bumpbot
6879033b3a Compress scripts/styles: 3.4-alpha-20273.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 21:58:28 +00:00
azaozz
bba9c91990 Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 21:41:00 +00:00
nacin
8c46a71af6 Leverage WP_Theme in the upgrader. Remove debug line from [20267]. Stop using get_theme_data() as it will be deprecated. see #13774. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 10:20:26 +00:00
nacin
98862a975b Support child theme installation in the theme installer. props otto42, dd32. fixes #13774.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 10:10:06 +00:00
nacin
6ae2e315fa Instantiate an object in get_default_link_to_edit(). fixes #20280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-22 05:07:27 +00:00
bumpbot
30e00cd456 Compress scripts/styles: 3.4-alpha-20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 22:58:23 +00:00
azaozz
3015057d58 Don't use class="code" for the captions textareas as it resets RTL, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 22:48:36 +00:00
bumpbot
77d36b1e55 Compress scripts/styles: 3.4-alpha-20244.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:58:20 +00:00
nacin
59b84a01ea Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:55:58 +00:00
nacin
e0fa1f427c Tidy up sanity checks in theme.dev.js. props DH-Shredder, fixes #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:17:47 +00:00
nacin
22863bd9c3 Use display_header_text() in custom-header.php. Rework the UI to be a 'Show header text' checkbox (rather than radio buttons). Remove lame 'blank' hack for no-JS -- checkboxes work without JS. Move 'Select a Color' to a link like it is for custom background. Nearby code cleanup. see #18887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 19:10:13 +00:00
bumpbot
35a551427a Compress scripts/styles: 3.4-alpha-20237.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 16:58:20 +00:00
nacin
29bc67a989 Visually merge a plugin with its update notice. Same applies to themes in the network admin. Move from 'update automatically' to 'update now'. fixes #20273.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 16:19:27 +00:00
nacin
3184f9891a Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 23:04:59 +00:00
azaozz
47feb0640f Revert type="number" for the date/time fields as it introduces UI/styling issues, fixes #20217, see #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 19:30:07 +00:00
nacin
6593186cb7 Introduce new registration methods for custom headers and custom backgrounds. Backwards compatible, but old methods will be deprecated. see #20249. see #17242.
Custom header: Use add_theme_support('custom-header', $args) instead of add_custom_image_header(). Deprecates all use of constants.
 * HEADER_TEXTCOLOR is now (string) 'default-text-color'.
 * NO_HEADER_TEXT is nowi ! (bool) 'header-text'.
 * HEADER_IMAGE_WIDTH (and _HEIGHT) are now (int) 'width' and 'height'.
 * HEADER_IMAGE is now (string) 'default-image'.
 * The 3.4 arguments 'suggested-width' and 'suggested-height' are now just 'width' and 'height' (they are "suggested" when flex-width and flex-height are set).
 * Callback arguments for add_custom_image_header() can now be passed to add_theme_support().

Custom background: Use add_theme_support('custom-background, $args) instead of add_custom_background(). Deprecates all use of constants.
 * BACKGROUND_COLOR is now (string) 'default-color'.
 * BACKGROUND_IMAGE is now (string) 'default-image'.
 * Callback arguments for add_custom_background() can now be passed to add_theme_support().

Inheritance: add_theme_support() arguments for custom headers and custom backgrounds is a first-one-wins situation. This is not an unusual paradigm for theming as a child theme (which is included first) overrides a parent theme.
 * Once an argument is explicitly set, it cannot be overridden. You must hook in earlier and set it first.
 * Any argument that is not explicitly set before WP is loaded will inherit the default value for that argument.
 * It is therefore possible for a child theme to pass minimal arguments as long as the parent theme specifies others that may be necessary.
 * Allows for a child theme to alter callbacks for <head> and preview (previously, calling add_custom_image_header more than once broke things).
 * The just-in-time bits ensure that arguments fall back to default values, that the values of all constants are considered (such as one defined after an old add_custom_image_header call), and that all constants are defined (so as to be backwards compatible).

get_theme_support(): Introduce new second argument, which headers and backgrounds leverage to return an argument. current_theme_supports() already supported checking the truthiness of the argument.
 * For example, get_theme_support( 'custom-header', 'width' ) will return the width specified during registration.
 * If you had wanted the default image, use get_theme_support( 'custom-header', 'default-image' ) instead of HEADER_IMAGE. 

Deprecate remove_custom_image_header(), remove_custom_background(). Use remove_theme_support('custom-header'), 'custom-background'.

Deprecate short-lived custom-header-uploads internal support; this is now (bool) 'uploads' for add_theme_support().

New 3.4 functions renamed or removed: Rename get_current_header_data() to get_custom_header(). Remove get_header_image_width() and _height() in favor of get_custom_header()->width and height.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 17:12:44 +00:00
nacin
28f421fa6f Return to step 1 on custom-header.php if not POST data is sent. Good for if step=2 or 3 is in the URL and the page is refreshed (otherwise a nonce check fails). see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 14:45:29 +00:00
nacin
d37429e4c7 Remove jQuery Masonry from Appearance > Header until we figure out sporadic issues relating to overlapping images (probably due to lame markup). see #17242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 21:05:00 +00:00
bumpbot
7f141db255 Compress scripts/styles: 3.4-alpha-20205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:58:24 +00:00
nacin
63537a2fc6 upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:43:20 +00:00
nacin
7bf5069573 Size options on options-media.php are allowed to be 0 or otherwise empty. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:37:49 +00:00
nacin
c2fc56c67c It is possible for comments_per_page to be 0, which turns off pagination. See sanitize_option(); wp_list_commnts(); get_comment_link(). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:36:12 +00:00
nacin
83df0439ba Only grow input.small-text if type='number'. see [20168], see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:28:32 +00:00
nacin
27c3c56ed6 comment_max_links may be zero to bypass the moderation check entirely. [20168] erred. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:26:25 +00:00
nacin
35ba4853bf Adjust site upload space HTML5 type='number' validation. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:16:21 +00:00
nacin
1af728f890 Remove type='number' from list table page inputs out of a concern for UX, as well as styling issues. fixes #20247. see #17863 for further discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:04:07 +00:00
nacin
8c841df86d Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 18:09:14 +00:00
nacin
0fdd30d5f1 Change 'Post Format' bulk/quick edit label to 'Format'. Consistent with the UI and prevents word wrapping. Tidy logic. see #20245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 17:19:30 +00:00
nacin
df4ef64baf Hide unsupported post formats from bulk edit. fixes #20245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 17:17:56 +00:00
nacin
962fae26f4 Updates to WP_Theme, wp_get_themes(), and related deprecated functions, after [UT570] [UT578] [UT579]. see #20103.
* ['Template Files'] and ['Stylesheet Files'] need to return files from the parent theme as well.
 * Don't strip links from the Author header. Some themes rely on the previous behavior, such as to link multiple authors (Sandbox, for example.) Don't restore links to the Name, that's just a bad idea.
 * Ensure we are always passing around arrays in get_files/scandir.
 * Better inline doc for wp_get_themes() arguments.
 * Introduce a 'force' flag for search_theme_directories() to re-scan, rather than return the cache. We will use this to re-build the theme_roots transient in get_theme_roots(), but it is more helpful for unit tests. Since search_theme_directories() is cached, don't cache again in wp_get_themes(). (Again benefits testing.)
 * Handle duplicate theme names in the old get_themes() when two themes match (and neither are a default theme, which is already handled). wp_get_themes() will consider both names to be the same; this is just for back compat since get_themes() is keyed by name.
 * Include an old array key in wp_broken_themes().



git-svn-id: http://svn.automattic.com/wordpress/trunk@20193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 15:39:21 +00:00
bumpbot
af84dbcf93 Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:58:27 +00:00
nacin
e515dde625 Use ajaxurl rather than direct references to admin-ajax.php. see #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:30:28 +00:00
nacin
1db1017721 Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:20:00 +00:00
koopersmith
c06576d410 Theme Customizer: First pass for upload controls, using background image as an example. Add a wrapper for Plupload that allows for custom upload UIs. see #19910.
wp.Uploader is a wrapper that provides a simple way to upload an attachment (using the wp_ajax_upload_attachment handler). It is intentionally decoupled from the UI. When an upload succeeds, it will receive the attachment information (id, url, meta, etc) as a JSON response. If the upload fails, the wrapper handles both WordPress and plupload errors through a single handler.

As todos, we should add drag classes for the uploader dropzone and account for the rough 100mb filesize limit in most browsers. The UI for the customizer upload controls could be improved as well.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 04:14:05 +00:00
bumpbot
d675c19762 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 22:00:22 +00:00
azaozz
ca3ab6c5c2 Add support for line breaks to the caption textareas, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 21:53:11 +00:00
nacin
f76fd8e6e6 Increase default upload space for sites on a network from 10M to 100M. props andrea_r. fixes #18831.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 22:07:17 +00:00
bumpbot
5e279326b7 Compress scripts/styles: 3.4-alpha-20169.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:30:30 +00:00
azaozz
f3b63e4537 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:23:48 +00:00
bumpbot
a7de50f6b0 Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:30:29 +00:00
azaozz
dcb5dc204c Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:23:10 +00:00
bumpbot
3bf6b4ab5a Compress scripts/styles: 3.4-alpha-20165.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:45:40 +00:00
azaozz
52f321913a Add new comment from post edit screen, partial props: garyc40, see #15527
git-svn-id: http://svn.automattic.com/wordpress/trunk@20164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:30:11 +00:00
nacin
98245701cb Don't show the Network Enable link for broken themes. Include broken themes in searching on network/themes.php. fixes #20099, see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 17:08:55 +00:00
nacin
7bac1174bf In multisite, list broken themes on network/themes.php instead of on individual Manage Themes pages. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 07:32:42 +00:00
bumpbot
62cfbb074c Compress scripts/styles: 3.4-alpha-20150.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 07:00:38 +00:00
nacin
14a60cd39e Add missing CSS selectors for when these admin menus are missing submenus. fixes #20199.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 06:59:02 +00:00
nacin
2a6b9ea6db The allowed_themes rolling upgrade for individual sites should not add empty allowedthemes arrays. If there are no allowed themes, don't add an empty option. Move the network rolling upgrade to upgrade_network(). see #20146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 03:22:39 +00:00
nacin
b16b7d770a Always print the Author in the MS themes list table. display('Author') will be 'Anonymous' if no author is specified. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 00:01:35 +00:00
koopersmith
71eee3357d Combine two strings. Cheatin', uh?
git-svn-id: http://svn.automattic.com/wordpress/trunk@20143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 19:00:12 +00:00
bumpbot
e8bbb5cf22 Compress scripts/styles: 3.4-alpha-20142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:30:21 +00:00
nacin
292f1e5f79 Deprecate display_theme(). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:29:36 +00:00
koopersmith
fba11c56e1 Theme Customizer: Make theme installer no-js compatible. Fix JS click handler that caught clicks on the 'Activate' link. Relocate display_theme() to WP_Theme_Install_List_Table->single_row(). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:24:34 +00:00
bumpbot
b1ac47a0f0 Compress scripts/styles: 3.4-alpha-20139.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 17:45:21 +00:00
koopersmith
315033ca2a Theme Customizer: Begin integration into the install process. Combine previews, details, and install into a single workflow. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 17:35:17 +00:00
bumpbot
15d3cc2c9f Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:30:21 +00:00
koopersmith
d4f20e47b7 Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:19:35 +00:00
duck_
3385cbbd6f Use WP_Rewrite::set_permalink_structure instead of plain update_option() in populate_network(). Fixes #20174.
This has the benefit of calling WP_Rewrite::init() which correctly resets the permalink_structure
property of the $wp_rewrite global so that the rewrite rules generated on the next flush are correct.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 17:39:26 +00:00
bumpbot
769e6a9a39 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:45:20 +00:00
azaozz
9f4408c741 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:31:31 +00:00
nacin
71fb0d40d9 Use new WP_Theme API in list_theme_updates(). fixes #20173. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 13:03:48 +00:00
koopersmith
e251ff1c04 Partially revert [20100]. The list_args JS variable cannot be extended due to its use as an argument in fetch-list. see #19815.
We should reattempt extending the args created in WP_List_Table, but will need to deprecate the current list_args to do so.

Also, infinite scroll on themes pages is no longer broken. Go team.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 02:40:43 +00:00
bumpbot
46daef9849 Compress scripts/styles: 3.4-alpha-20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 00:30:21 +00:00
nacin
8292f4127a Don't hide PHP warnings under the toolbar in the admin. fixes #19196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 00:29:50 +00:00
nacin
1fed7c5c11 Allow WP_List_Table::_js_vars() to take an array of additional args to add. Allows us to have a single variable printing data when child classes need more data. Also, fix compact() call in [20094]. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 23:06:31 +00:00
nacin
177d1efb9f Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].
git-svn-id: http://svn.automattic.com/wordpress/trunk@20098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:32:29 +00:00
nacin
21663b39ea Revert [20096] which was an accidental partial revert of [20094]. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:31:15 +00:00
nacin
4805a38f7d Use sanitize_key() for theme search tags/features. sanitize_title_with_dashes() is overkill. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:26:58 +00:00
bumpbot
234d355ef7 Compress scripts/styles: 3.4-alpha-20095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:15:21 +00:00
nacin
05313daa77 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:09:26 +00:00
duck_
2ce9545bff Use tabs for indentation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:03:15 +00:00
duck_
da535ce54e Drop unnecessary if-statements which also have some strange logic. Fixes #20159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:01:41 +00:00
bumpbot
085a053c22 Compress scripts/styles: 3.4-alpha-20090.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:15:21 +00:00
duck_
50fea9b10f Bail from AJAX success callback if wp_ajax_add_tag() returns errors. Props solarissmoke. Fixes #20086.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:01:51 +00:00
bumpbot
9852aaa561 Compress scripts/styles: 3.4-alpha-20084.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:30:19 +00:00
nacin
97c8276f68 Use blue arrows for blue admin's screen options and help tabs. Adjust baseline to be more compatible with Firefox. props helenyhou. fixes #16114.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:23:26 +00:00
nacin
3985eae452 Don't autoload the uninstall_plugins option. fixes #16741.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:13:35 +00:00
bumpbot
f693f33f87 Compress scripts/styles: 3.4-alpha-20079.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:00:21 +00:00
nacin
13be6d8fb9 In miscellaneous publishing actions, use :last-child instead of a separate misc-pub-section-last class to control borders. Allows for sane use of the post_submitbox_misc_actions hook. (Actually uses :first-child for browser compat reasons.) fixes #19604.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 19:52:23 +00:00
nacin
ee35957ab0 Improve background, styling, and alignment of the Help and Screen Options tabs. props helenyhou. props johnjamesjacoby for initial patch. see #16114.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 19:47:08 +00:00
nacin
a147fd1d0b Add the wp_edit_nav_menu_walker filter to the ajax request. props wonderslug, ocean90. fixes #14527.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 17:50:01 +00:00
dd32
86577f34ea Fix a small typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 11:00:51 +00:00
nacin
9f6ebb6533 Use correct name for feature filter REQUEST data to ensure that the search/filter form is present when a filter is active. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:41:00 +00:00
nacin
2b32b9bb8c Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:13:05 +00:00
nacin
140408d200 Remove inline styles for 'Apply Filters' feature filter button. Don't <small> the 'Close filters' text. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:01:55 +00:00
bumpbot
2e1c113173 Compress scripts/styles: 3.4-alpha-20066.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:00:20 +00:00
nacin
f283ed40c6 Remove theme tags from the themes.php UI. They just take up room and are redundant with the feature filter. The installer already does not show tags. props DH-Shredder, fixes #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 23:58:10 +00:00
nacin
d4005958ec Line up elements on themes.php. Line up 'Available Themes' header and search/feature form. Switch to padding instead of margin for #current-theme to prevent margin-uncollapse jitters when animating the feature filter. Move 'Current Theme' inside #current-theme so it is hidden by the feature filter. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 23:55:09 +00:00
ryan
4f47fe6e31 Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@20060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 18:57:28 +00:00
nacin
57f8d7715f Remove extra $. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:54:50 +00:00
nacin
b1621b75bb In WP_Themes_List_Table, don't perform unnecessary sanitization on search terms or filter features. We only use these for case-insensitive comparison. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:19:18 +00:00
nacin
f11938fde4 'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 21:52:27 +00:00
nacin
8ba92a52f8 Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:31:56 +00:00
nacin
0dc52c8043 Translate page template names! Have WP_Theme::get_page_templates() return templates keyed by filename, not by template name, as it makes more sense. Flip this in get_page_templates() to be compatible. fixes #6007.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:18:53 +00:00
nacin
966a27513f Use proper object. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 18:11:49 +00:00
nacin
6321f9060c Use wp_get_theme() rather than get_theme_data() in the verify theme deletion (multisite network) screen. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 07:50:56 +00:00
nacin
d130a63e25 Introduce WP_Theme, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others.
* Getters and Helpers: Introduces a series of methods to allow for easy generation of headers for display, and other theme metadata, including page templates.
 * Screenshots: Handles support for multiple screenshots. (see # Additional screenshots must be PNG and start with screenshot-2.png, and be sequential to be counted. see #19816.
 * Error Handling: Broken themes have a WP_Error object attached to them.
 * Caching: Introduces a wp_cache_themes_persistently filter (also in [20020]) to enable persistent caching of all filesystem and sanitization operations normally handled by WP_Theme (and formerly get_file_data() and get_themes()). Themes are cached individually and across five different cache keys for different data pieces.
 * Compatibility: A WP_Theme object is backwards compatible with a theme's array formerly returned by get_themes() and get_theme(), and an stdClass object formerly returned by current_theme_info().
 * i18n/L10n: Theme headers are now localizable with proper Text Domain and Domain Path headers, like plugins. (Language packs may remove the requirement for headers.) For page templates, see #6007 (not fixed yet, but will be easy now). For headers, fixes #15858.
 * PHP and CSS files: New methods that fetch a list of theme files (for the theme editor) only on demand, rather than only loading them into memory. fixes #11214.

Functions deprecated:
 * get_themes(), get_allowed_themes() and get_broken_themes() -- use wp_get_themes()
 * get_theme() and current_theme_info() -- use wp_get_theme()
 * get_site_allowed_themes() -- use WP_Theme::get_allowed_on_network()
 * wpmu_get_blog_allowedthemes() -- use WP_theme::get_allowed_on_site()

see also [20016], [20018], [20019], [20020], [20021], [20022], [20025], [20026], [20027]. also fixes #19244.

see #20103.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 21:24:44 +00:00
nacin
7959828e48 Faster theme searching. Only calculate what is necessary -- if the theme doesn't have all of the features, bail. If a word matches a tag or header, jump to the next word, we don't care how many times it matches. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:51:19 +00:00
nacin
2a15b783aa Don't sanitize theme tags while trying to search through them, as it is unnecessary. It is also very expensive -- 50% of the pageload for a search was spent sanitizing tags. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:41:53 +00:00
nacin
9b49096f5e Add argument to get_theme_feature_list() to allow the tags to be returned without hitting the WP.org API. We'll be using this to translate tags. Remove trailing space in the 'Light' string. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:38:09 +00:00
duck_
a395e06896 Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:29:33 +00:00
nacin
b367a71d1a Do not save the last visited tab on the multisite Network Themes page and Site Themes tab. These are poor UX, see #18810 for plugins. Entering these screens will always default to 'all' themes view. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:13:21 +00:00
duck_
bb94e702f8 Drop image resizing code from wp_handle_upload(). Fixes #19800.
This code stops wp_handle_upload() from reporting errors when the upload couldn't be moved to its final local and it was a non-JS fallback that is unused.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:02:43 +00:00
ryan
d910c26182 Pinking shears 6-20000
git-svn-id: http://svn.automattic.com/wordpress/trunk@20000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:46:52 +00:00
ryan
e4ce1046b0 Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:23:03 +00:00
nacin
69f037f8cc Remove out-of-place double quote. props niallkennedy. fixes #20113.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 20:49:54 +00:00
bumpbot
a24bfc4d47 Compress scripts/styles: 3.4-alpha-19983.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 02:00:58 +00:00
azaozz
73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
westi
a1d2e646ab Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-23 18:16:46 +00:00
nacin
013b783a05 Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-23 14:42:01 +00:00
nacin
097be218c8 Use version_compare() when checking installed themes in the theme installer. fixes #20097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 14:03:59 +00:00
bumpbot
5c984c150e Compress scripts/styles: 3.4-alpha-19972.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 19:46:03 +00:00
koopersmith
c4f08de854 Second pass at infinite scroll for themes, including polling, fixed paging, and fewer ajax calls. props DH-Shredder, helenyhou, garyc40. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 19:44:10 +00:00
bumpbot
95f3fb0e57 Compress scripts/styles: 3.4-alpha-19967.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:45:56 +00:00
nacin
0d2018f4d0 Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:35:05 +00:00
nacin
4a9e14a011 Allow bundled plugin headers to be translated. see #19597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:26:08 +00:00
nacin
0674ddc846 Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-20 16:35:03 +00:00
bumpbot
becc83aba8 Compress scripts/styles: 3.4-alpha-19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-20 00:30:57 +00:00
azaozz
2dff362a1f Refresh wpCookie, fixes #20078
git-svn-id: http://svn.automattic.com/wordpress/trunk@19954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 23:08:10 +00:00
nacin
cbbef554e9 Add an @return. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 21:59:47 +00:00
nacin
fe96801c4b Add WP_Screen methods get_help_tabs(), get_help_tab( $id ), get_help_sidebar(). Store help tabs by tab ID, not numeric key; allows proper removal with remove_help_tab( $id ). props BenChapman, npetetin for initial getter patch. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:40:02 +00:00
nacin
bc73871a55 Only show 'Show on screen' once in screen options. fixes #17431.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:19:52 +00:00
nacin
a40a97dbc9 Use class name for @return. props markuak, fixes #20063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:15:05 +00:00
koopersmith
86c37ba7a7 Don't unintentionally override the global variable. props ocean90, see #20062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 19:17:38 +00:00
nacin
7167c79364 Remove unused logo-login.png after all. fixes #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 05:06:09 +00:00
bumpbot
3c5726a1c4 Compress scripts/styles: 3.4-alpha-19939.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 05:00:52 +00:00
nacin
87bc44fa86 Remove old logo-login.gif from manifest. props edward mindreantre, see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:59:42 +00:00
nacin
5ecb56896f Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:57:56 +00:00
nacin
aefde50081 Deprecate ancient "debugging" tools.
* logIO() and the global $xmlrpc_logging in XML-RPC.
 * log_app() and the global $app_logging in APP.
 * debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051.



git-svn-id: http://svn.automattic.com/wordpress/trunk@19935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 00:02:42 +00:00
duck_
af2eb34f8a Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-16 17:12:10 +00:00
bumpbot
a1fa25ee77 Compress scripts/styles: 3.4-alpha-19931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 19:27:20 +00:00
duck_
b7dd19a963 Display menu_order value in quick edit for non-hierarchical post types. Props nikolay.yordanov. Fixes #19911, see #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 17:19:59 +00:00
duck_
010396ab1a Remove use of nonexistent include_last_update_time arg from get_terms() call. See #19953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 16:48:27 +00:00
ryan
7ff7850931 Lose unnecessary space. Props SergeyBiryukov. fixes #19964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:25:40 +00:00
nacin
6484e3cda6 Cap check help text. see #19933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:23:31 +00:00
ryan
4b16686727 Cap check help text. Add mention of Welcome box. Props dougwrites, nacin. fixes #19933
git-svn-id: http://svn.automattic.com/wordpress/trunk@19919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:12:27 +00:00
duck_
751ce362db s/oembed_cache/oembed-cache/ in admin AJAX $core_actions_*. Props jeremyfelt. Fixes #20038.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 10:01:00 +00:00
bumpbot
03a40a476b Compress scripts/styles: 3.4-alpha-19904.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 18:30:49 +00:00
koopersmith
27c0170224 Trailing commas make JS cry. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 18:05:20 +00:00
ryan
86901353cf Add post ID argument to _wp_post_thumbnail_html() rather than relying on a global. Post the ID from wp_ajax_set_post_thumbnail(). Props batmoo. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 17:41:37 +00:00
bumpbot
70a6d8fb9c Compress scripts/styles: 3.4-alpha-19898.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 09:00:50 +00:00
markjaquith
481959acec Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 08:45:17 +00:00
bumpbot
570a54053f Compress scripts/styles: 3.4-alpha-19896.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:30:50 +00:00
duck_
0d06815963 Fix incorrect pending comment count updates for filtered views. Fixes #19905.
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:29:24 +00:00
bumpbot
10222bac79 Compress scripts/styles: 3.4-alpha-19894.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 22:00:49 +00:00
ryan
5cb35a7dfb Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: http://svn.automattic.com/wordpress/trunk@19893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 21:40:46 +00:00
bumpbot
03791d4ad6 Compress scripts/styles: 3.4-alpha-19888.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:30:50 +00:00
ryan
723bb1a99c Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: http://svn.automattic.com/wordpress/trunk@19887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:20:26 +00:00
nacin
6ef54c2016 Tabs, not spaces. Props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:05:40 +00:00
nacin
bfeb575df9 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
ryan
a575cd242e Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: http://svn.automattic.com/wordpress/trunk@19863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 14:51:18 +00:00
nacin
81bb2f7ed7 Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:05:35 +00:00
bumpbot
a9daac7bec Compress scripts/styles: 3.4-alpha-19861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:00:51 +00:00
nacin
0f8515abd9 Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 05:55:54 +00:00
duck_
4d600fe454 Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:51:14 +00:00
duck_
6f343f700f Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:48:45 +00:00
ryan
c1f604e78e Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: http://svn.automattic.com/wordpress/trunk@19857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:06:52 +00:00
nacin
2f9f7e3280 Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 19:13:30 +00:00
bumpbot
afb70b3f36 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:30:51 +00:00
nacin
72c995441a Allow localized commas to be used as tag separators. see #7897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:06:12 +00:00
bumpbot
69326c8063 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 21:00:50 +00:00
ryan
f3a546d0fd Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: http://svn.automattic.com/wordpress/trunk@19840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:54:01 +00:00
bumpbot
60c5026d4b Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:00:50 +00:00
nacin
d7fd5c3d42 In general, password fields should always be LTR. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:33:19 +00:00
nacin
720ad9b14d LTR for user-edit.php password fields and disabled user_login field. fixes #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:31:33 +00:00
azaozz
3a6154bc1f Fix typo in $core_actions_get in admin-ajax.php, see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 17:56:55 +00:00
azaozz
6981611202 Remove unused TinyMCE media plugin images, props SergeyBiryukov, fixes #19963
git-svn-id: http://svn.automattic.com/wordpress/trunk@19828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 17:58:41 +00:00
bumpbot
813a2dfdac Compress scripts/styles: 3.4-alpha-19827.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 01:16:30 +00:00
nacin
d4d7fb52a4 Add ru_RU CSS. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:58:09 +00:00
nacin
cb3b946d8c Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:54:42 +00:00
ryan
a2618da365 Setup now that global is not used. see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 20:13:22 +00:00
nacin
dad0c4ed9f Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:23:25 +00:00
nacin
e23bba5249 Use existing string to properly translate month + year combo. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:11:01 +00:00
nacin
16e038dcc5 mailserver_login and mailserver_pass should always be LTR. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:05:43 +00:00
nacin
f2da91e134 New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:03:26 +00:00
nacin
10410be1f7 Code is still code: force LTR for .code and <code>, and the function lists in plugin/theme editors. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-02 23:58:46 +00:00
ryan
c43ddd7284 Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@19815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-02 23:35:37 +00:00
bumpbot
7faa30a11c Compress scripts/styles: 3.4-alpha-19814.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:41:34 +00:00
ryan
3462b907d6 New gear icon. Props empireoflight. fixes #10318
git-svn-id: http://svn.automattic.com/wordpress/trunk@19813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:39:24 +00:00
nacin
cbafaaea36 Use home_url() rather than get_option() + is_ssl(). props ocean90, fixes #19942.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:31:35 +00:00
nacin
162546a7fc s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 16:08:36 +00:00
nacin
b94b02b316 Provide a more WordPress-like context for 'Welcome' on the install screen. see #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:49:41 +00:00
nacin
c1b4310367 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:47:49 +00:00
nacin
00db8b7053 Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:45:19 +00:00
bumpbot
f9f2bb6bd9 Compress scripts/styles: 3.4-alpha-19805.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:43:00 +00:00
nacin
4d8609635c Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:39:52 +00:00
nacin
bd5d732b05 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:37:52 +00:00
nacin
568fbf24e0 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 22:14:39 +00:00
bumpbot
8bd826e43b Compress scripts/styles: 3.4-alpha-19800.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 19:59:09 +00:00
ryan
5fd633b48b Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 18:26:07 +00:00
ryan
0f80145c67 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 17:45:22 +00:00
ryan
81b39f50fb Remove references to specific search engines. fixes #18605
git-svn-id: http://svn.automattic.com/wordpress/trunk@19794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:51:00 +00:00
ryan
36d2989fed Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:47:25 +00:00
ryan
5fce3217ad Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
git-svn-id: http://svn.automattic.com/wordpress/trunk@19792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 18:19:27 +00:00
nacin
92e46cf396 Poka-yoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:49:50 +00:00
nacin
9f4f2e85ce Give install.css on setup-config.php some cache busting. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:37:13 +00:00
nacin
788d169f31 LTR for fields on setup-config.php. see #19603, fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:28:04 +00:00
nacin
17ac9ebf82 Use the _x context function. props Mamaduka. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 23:43:14 +00:00
nacin
5d761c1cb6 Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:25:59 +00:00
nacin
fda09f5124 Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:04:11 +00:00
nacin
bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
nacin
19be993edd Kill the exclamation points off an error message for easier translation. props wojtek.szkutnik, fixes #11270.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 08:12:09 +00:00
nacin
b905dc7122 Offer default links and applicable URLs for translation. Some of these are already translatable elsewhere. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 05:14:59 +00:00
nacin
0b169b5361 Offer start_of_week for translation. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 04:21:53 +00:00
ryan
b2d61dab8a Load the new admin and network admin mo files, if present. see #19852
git-svn-id: http://svn.automattic.com/wordpress/trunk@19772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-27 22:19:56 +00:00
nacin
5d036c9b34 Make 0 the default status for admin-ajax.php. props TobiasBg. fixes #15327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 21:21:30 +00:00
nacin
81ed9a7563 Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 20:34:27 +00:00
nacin
0c141a4721 Formatting and i18n cleanup of repair.php. props zeo for initial patch. fixes #18770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-25 23:27:13 +00:00
nacin
6ca86ae3a8 Revert [19745].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:14:42 +00:00
nacin
bba7742b9f --no-auth-cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@19745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:12:53 +00:00
nacin
ba2c3e345e Strip down admin-ajax.php to be a bare ajax handler. Move core ajax handlers to admin/includes/ajax-actions.php. props kurtpayne, ryan. see #15327. see [19738] for initial commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:31:15 +00:00
nacin
61abfcd3c7 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:12:04 +00:00
duck_
cd43f96110 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-13 18:15:55 +00:00
duck_
f17cb006cf Remove extraneous single quote. Props garyc40. Fixes #19801.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-11 23:35:35 +00:00
duck_
81a7ad2c81 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 21:20:51 +00:00
nacin
ed3a628088 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 19:53:51 +00:00
nacin
d6fb70098f Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 15:55:30 +00:00
nacin
2ca88e2c25 Revert character encoding issue in [19716].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:17:46 +00:00
bumpbot
f15b9aa2e7 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:05:52 +00:00
bumpbot
e590227dba Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 22:53:10 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
dd32
3fe0d5e688 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: http://svn.automattic.com/wordpress/trunk@19711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 12:36:17 +00:00
dd32
f60ca6da11 Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 09:18:56 +00:00
dd32
aa4bd6dc9b Clean up the Plugin installer Screenshots page, Adds CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box. Fixes #19777
git-svn-id: http://svn.automattic.com/wordpress/trunk@19709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:53:19 +00:00
dd32
3928e40daf s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:39:49 +00:00
dd32
3686bc4b6e use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: http://svn.automattic.com/wordpress/trunk@19707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 03:48:05 +00:00
bumpbot
d50e2a9633 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:43:22 +00:00
duck_
65b840b565 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:31:43 +00:00
nacin
e5589e02b7 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:23:51 +00:00
nacin
f9b554814e about.php and friends for the global dashboard. see #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:08:45 +00:00
nacin
aa6c34ac3e Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 17:53:41 +00:00
dd32
e15f5275a8 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: http://svn.automattic.com/wordpress/trunk@19697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 13:46:22 +00:00
azaozz
b3fe8fca18 Wrap long titles in dashboard recent drafts, props Lardjo SergeyBiryukov, fixes #17424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 06:35:12 +00:00
nacin
277a8131d2 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:22:44 +00:00
nacin
c94b474b17 Update some old upgrade functions to use untrailingslashit().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:21:51 +00:00
duck_
5fbd6657f4 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:02:42 +00:00
ryan
83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
duck_
965a71033e Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:38:40 +00:00
ryan
616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
nacin
d5d55f62a7 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:06:49 +00:00
ryan
fd1393ab7a Clear strict notices for the walkers. fixes #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan
85304c2dc7 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: http://svn.automattic.com/wordpress/trunk@19678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 22:44:19 +00:00
ryan
37e65bddcd Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 20:02:11 +00:00
ryan
aa8a3f89d8 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:29:03 +00:00
ryan
d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
nacin
8323ba5cc7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:50:23 +00:00
nacin
fdd79a0960 Merge Press This inline styles into wp-admin.css. fixes #19735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:44:15 +00:00
nacin
5372ac002b Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 20:18:31 +00:00
nacin
b776fe7071 Revert a piece of [19424], go back to cloning a div for adding images in Press This. props azaozz, see #19498 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 19:05:05 +00:00
nacin
21dbfa40b6 Revert. Wasn't meant for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:58:24 +00:00
nacin
b566f92218 Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:57:31 +00:00
nacin
54016f80f2 Add a space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:06:03 +00:00
nacin
7bfc537c54 Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:04:56 +00:00
nacin
b66ca19aec Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:53:31 +00:00
nacin
33f5a73a63 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:24:51 +00:00
ryan
85dff92772 Immediately close a flyout when opening another one. Prevents brief occurrence of two flyouts at once. Props SergeyBiryukov. fixes #19575 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@19647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 21:49:58 +00:00
nacin
9aa60c4066 Only allow _multisite_ super admins to demote themselves on a site. props linuxologos, see #19684 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:13:48 +00:00
nacin
7931ec33f1 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:10:54 +00:00
ryan
5f0013ec51 Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:26:58 +00:00
ryan
3f94d307b3 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:25:09 +00:00
ryan
40345f1d63 Remove Plugins dashboard widget. fixes #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:57:21 +00:00
ryan
301b9aed41 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:21:57 +00:00
duck_
29d5e3c83c Show correct export date range for pages. The query should use provided $post_type instead of always 'post'. Props sorich87. Fixes #19312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 12:08:26 +00:00
ryan
c924060858 Remove extraneuos newlines
git-svn-id: http://svn.automattic.com/wordpress/trunk@19623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 18:42:11 +00:00
nacin
212e7bfc01 '3.4-alpha-19618'
git-svn-id: http://svn.automattic.com/wordpress/trunk@19618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:22:21 +00:00
nacin
d39a1d4b1b Remove dead variables and strings from edit-form-comment. props ocean90, fixes #19481.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:39:46 +00:00
nacin
e8b954fe7d Eliminate a string in options-permalink and end strings with full stops. fixes #19472.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:15:13 +00:00
nacin
31e5be0b66 Define json_encode() in load-scripts.php. see #19524 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 23:02:42 +00:00
ryan
340e93324c Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
markjaquith
429faf564a Fix a spelling error in user-new.php. props SergeyBiryukov. fixes #19518
git-svn-id: http://svn.automattic.com/wordpress/trunk@19595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 02:56:59 +00:00
ryan
95754aacc9 Trunk is now 3.4 alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:47:39 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
d5c2ccde9e Update _old_files for 3.3. fixes #19517
git-svn-id: http://svn.automattic.com/wordpress/trunk@19588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-12 20:24:19 +00:00
ryan
0358498b0a Use text/html to appease IE < 9. Props azaozz. fixes #19494
git-svn-id: http://svn.automattic.com/wordpress/trunk@19586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-11 00:03:24 +00:00
ryan
02a1dd7ccb Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 18:26:48 +00:00
ryan
9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
ryan
b6efe20e16 Fix list styling. Props koopersmith, azaozz, trepmal. fixes #19453
git-svn-id: http://svn.automattic.com/wordpress/trunk@19576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 22:55:18 +00:00
ryan
fc5c8d52d4 RTL fixes for the about page. Props helenyhou, SergeyBiryukov. fixes #19477
git-svn-id: http://svn.automattic.com/wordpress/trunk@19575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 22:50:17 +00:00
nacin
247dc83ecb Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 21:55:39 +00:00
nacin
ee72413797 Don't use esc_attr_e() function for a non-translatable context. props zeo. fixes #19479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 17:56:03 +00:00
nacin
6cb23aebab Add 'Contributing Developers' string to credits.php so it makes it into the POT. fixes #19480.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:55:55 +00:00
ryan
837d46fe67 Don't use a gettext function for a non-translatable context. Props nacin. fixes #19479
git-svn-id: http://svn.automattic.com/wordpress/trunk@19570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:51:52 +00:00
ryan
88b1f65116 s/Admin Bar/Toolbar/. Props ocean90. fixes #19461
git-svn-id: http://svn.automattic.com/wordpress/trunk@19569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:49:16 +00:00
nacin
958b4d73b7 Compress and bump colors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 01:06:02 +00:00
nacin
3d9e7c46e0 Update the bigger comments icon to reflect earlier 3.3 changes for the 16x16 icon. props empireoflight.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 00:37:34 +00:00
ryan
c6fcc03bcf Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 00:13:52 +00:00
ryan
0e16b63274 Update screenshot for feature pointer. Props EmpireofLight, chexee. fixes #19422
git-svn-id: http://svn.automattic.com/wordpress/trunk@19560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 03:54:01 +00:00
ryan
ebc1019651 Add missing comma to selector. Props nacin. fixes #19436
git-svn-id: http://svn.automattic.com/wordpress/trunk@19553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:56:45 +00:00
azaozz
f6047c397e Remove role="menu" and role="menuitem" for now, fixes #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 17:47:23 +00:00
azaozz
01fa7bdf7f Make the Add new Category fields up to 260px wide, fixes #19339
git-svn-id: http://svn.automattic.com/wordpress/trunk@19546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 21:49:37 +00:00
ryan
fe9de5f4a4 Handle themes that have no customization screens. fixes #19408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:48:47 +00:00
nacin
b000d19be4 Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:32:45 +00:00
nacin
35d5377887 CSS for the about.php point release changelog. props chexee, fixes #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:21:24 +00:00
nacin
f046807b64 Tweak strings for point release changelogs. see #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:17:08 +00:00
nacin
15ceab2647 Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 04:31:01 +00:00
nacin
d0c1dfcaf3 Add about.php maintenance/security release strings for translation. see #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:13:56 +00:00
nacin
46efcf6fdb Remove duplicated line. props ocean90, fixes #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:04:26 +00:00
nacin
9f2f75c7fb Copy about text to credits.php and freedoms.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:02:19 +00:00
nacin
de11d4cb22 Remove debug cruft and fix variable collision. fixes #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 06:02:18 +00:00
ryan
a6091e18e7 English, less butchering of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:03:19 +00:00
nacin
3aed7560f6 Push logic into _redirect_to_about_wordpress() and be more specific about which context this runs under. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:03:11 +00:00
ryan
6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
nacin
d9983a790c Use GLOBALS. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:49:57 +00:00
nacin
e209ce5948 Finalize the code which redirects to about.php after a core update. Only triggers on update-core.php in case wp_update_core() is called in a different context.
props ocean90 for initial patch. fixes #18467.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:38:51 +00:00
nacin
b1935deee4 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:37:22 +00:00
nacin
2c789f296a Make current_screen an action, not a filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:34:55 +00:00
nacin
a16fe7f86f Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:29:55 +00:00
ryan
32915a8574 Fix indent. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:28:47 +00:00
ryan
8ace5a6b4c Use WP_Screen::add_help_tab(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:22:07 +00:00
nacin
10cd387b2e Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:51:34 +00:00
nacin
7ff19d7485 Remove add_screen_option('overview') from dashboard (from earlier 3.3 help incarnation), add 'Overview' tab. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:39:21 +00:00
nacin
c0dcf616c1 Help tweaks for comments, media, edit.php, update-core.php. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:33:26 +00:00
nacin
65a10cedbb Help tweaks for themes, plugins screens. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:24:39 +00:00
nacin
3d51303ca3 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:17:14 +00:00
nacin
4c566cebc6 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:52:31 +00:00
azaozz
6e11173bd4 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:43:18 +00:00
nacin
cc50764a8b They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:36:19 +00:00
nacin
02dfdbbbf4 s/Screen Info/Overview/g, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:34:31 +00:00
nacin
9dc5cf45a8 Features are packaged by weight, not by volume. These features settled during shipping. fixes #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 22:34:16 +00:00
nacin
1d9b3eeb30 Don't use hard-coded version number. props duck_. see #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:34:15 +00:00
koopersmith
3424f94b08 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:19:39 +00:00
azaozz
5ec6bd4833 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: http://svn.automattic.com/wordpress/trunk@19494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:05:22 +00:00
nacin
5b248a72c8 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 20:58:39 +00:00
azaozz
ccfb36ace5 Fix css selectors mismatch in Press This, see #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 17:51:34 +00:00
nacin
b0ecdeeca2 Remove margin from h3's in press this. fixes #19341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:44:36 +00:00
nacin
532d1561f4 Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:08:29 +00:00
nacin
31c8813108 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:05:59 +00:00
nacin
63b2f4c6e7 Cap checks for pointers. see #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 15:59:55 +00:00
azaozz
880ac093a1 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: http://svn.automattic.com/wordpress/trunk@19487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 03:37:15 +00:00
azaozz
69cd88fc6f Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:23:21 +00:00
azaozz
4408443814 Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:15:24 +00:00
azaozz
7f81dbfe3f Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:27:33 +00:00
koopersmith
ba3f815726 Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:40:34 +00:00
nacin
798ccd0c97 Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:25:49 +00:00
koopersmith
3ede56505b In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:23:04 +00:00
koopersmith
58191c0b6b Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:47:35 +00:00
koopersmith
fcdf942e04 Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:37:04 +00:00
koopersmith
0575de32a7 Update help text on themes page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:34:08 +00:00
koopersmith
ed2c35ad0a Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 16:58:58 +00:00
nacin
65fde75e85 WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 22:58:51 +00:00
ryan
b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin
28276e825c Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:04:00 +00:00
nacin
f9ee8ccfd2 Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 18:33:40 +00:00
nacin
6e648d2356 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:47:26 +00:00
nacin
416b6749f4 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:47:11 +00:00
koopersmith
68a166cca7 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:44:08 +00:00
nacin
ad56beed8f Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:42:36 +00:00
koopersmith
93808a4a55 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:40:36 +00:00
koopersmith
626751a2f6 Update help content for import page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:38:13 +00:00
koopersmith
90f4fb3dd5 Update help content for user edit page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:32:33 +00:00
azaozz
a55d901b12 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 06:16:43 +00:00
dd32
6da2f73c78 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: http://svn.automattic.com/wordpress/trunk@19454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 04:08:38 +00:00
azaozz
952187eb76 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 20:00:21 +00:00
azaozz
f1ef47ded2 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 19:46:41 +00:00
nacin
572dcb6205 Use class_exists() rather than is_admin() as otherwise the unit tests won't work without a WP_ADMIN hack. see #19342.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 05:15:28 +00:00
azaozz
e8638a517a Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: http://svn.automattic.com/wordpress/trunk@19449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 17:44:53 +00:00
nacin
97dcf902db Revert [19372] for 3.3. see #13473.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 16:06:17 +00:00
azaozz
32267a39dd Few more RTL and IE7 fixes, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:40:31 +00:00
ryan
efbbab1b3c Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:21:39 +00:00
dd32
c85525aece Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: http://svn.automattic.com/wordpress/trunk@19444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:20:21 +00:00
koopersmith
1611327f11 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:49:33 +00:00
nacin
fd676baa81 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:38:36 +00:00
nacin
470a2bb683 Hide unrelated maintenance message on update-core when you are running the latest version, and show a link to about.php. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:28:50 +00:00
azaozz
cd153ba4fb Tweak the active help tab padding to line it up, see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:23:05 +00:00
koopersmith
e73fcd8c4a In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:19:12 +00:00
ryan
094ebdb120 Indent cleanup. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:08:02 +00:00
nacin
c563977e85 Update jQuery version on about.php. Force ltr for 'is_main_query()'. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:07:48 +00:00
ryan
c4b72bf705 Help tabs. Props Ipstenu. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:06:52 +00:00
ryan
0e95236e14 Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:02:22 +00:00
koopersmith
a854e80a19 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:50:46 +00:00
koopersmith
5ff76fd777 Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:14:03 +00:00
ryan
ff358379c9 Move convert_to_screen() back to template.php to avoid fatal errors with plugins and themes that direct include template.php into the front end. Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
git-svn-id: http://svn.automattic.com/wordpress/trunk@19428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:29:33 +00:00
azaozz
b2a114b952 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: http://svn.automattic.com/wordpress/trunk@19426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:17:20 +00:00
nacin
974108d57c Select the submenu item for post-new.php when using show_in_menu = 'some-parent-file' for post types. Continue to select the post-new.php submenu item if it has been separately added with add_submenu_page(). fixes #19125.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:45:23 +00:00
azaozz
d170df731a Fix inserting images from url in Press This, fixes #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:32:21 +00:00
duck_
5a84496f20 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:23:59 +00:00
nacin
388986f5b0 Punctuation tweaks to about.php. props jane. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:22:46 +00:00
nacin
a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
koopersmith
689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
nacin
dd697967bf Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:30:45 +00:00
duck_
84b34160fa Go back to $post_type global as get_current_screen()->post_type is empty during add/edit-tag AJAX requests. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 15:20:45 +00:00
duck_
ae41efe347 Texturized apostrophes. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:14:48 +00:00
markjaquith
279615ea59 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:05:42 +00:00
markjaquith
a1fb35ca98 Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:50:50 +00:00
duck_
91746f3179 Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:28 +00:00
azaozz
fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
azaozz
9d4c2efa7a RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: http://svn.automattic.com/wordpress/trunk@19404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:54:41 +00:00
markjaquith
a5b0f9d666 Remove the the typo that no one noticed on the the credits screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:34:34 +00:00
duck_
0c58e7b1a9 Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 17:11:06 +00:00
duck_
ca3bdacd5e Remove unused admin-bar.png image. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:16:54 +00:00
duck_
a0a892eaca Update "What's New" content and layout. Re-add i18n. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:07:36 +00:00
nacin
9cda4c5982 Remove 'update' from site-users.php on redirect. props PeteMall, fixes #18895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 05:55:55 +00:00
nacin
62b662cc14 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 04:07:34 +00:00
dd32
e06a8cc7d5 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: http://svn.automattic.com/wordpress/trunk@19392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 03:23:48 +00:00
nacin
00823b1deb Remove old dismissed pointers as the IDs have changed. Switch to underscores that way we don't need to translate them for method names. Avoid an empty pointer in the array. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 23:04:35 +00:00
koopersmith
f00103b488 Add new 3.3 pointer content, encapsulate 3.3 internal pointers in a final class. props ocean90, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 22:39:48 +00:00
azaozz
96681a7e56 Extend the workaround for adding the Press This bookmarklet to IE, props dllh SergeyBiryukov, fixes #18487
git-svn-id: http://svn.automattic.com/wordpress/trunk@19387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 22:23:39 +00:00
nacin
390394eaff New string on credits.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 21:25:27 +00:00
nacin
5f60ab4076 Remove $post_type global usage from media list table. Correct $post_type to 'attachment' for upload screens. see #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:48:57 +00:00
azaozz
3fcae6d702 Output the "After a file has been uploaded..." message by using the post-upload-ui action, fixes #18764
git-svn-id: http://svn.automattic.com/wordpress/trunk@19384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:46:15 +00:00
duck_
16cce52b9f Link the posts count on taxonomy list table for non-public taxonomies. Instead check if the post type has show_ui => true as we're linking to the post list table. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:44:48 +00:00
azaozz
8c67ff6831 Press This: fix duplicate HTML IDs, add the 'default_post_to_edit' ID, fix minor RTL css, fixes #18989
git-svn-id: http://svn.automattic.com/wordpress/trunk@19381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 18:32:39 +00:00
nacin
75c741cd8b Revert other stuffs from [19374].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:43:57 +00:00
nacin
5e69bd0caf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:35:57 +00:00
westi
a29b2945ae Respect the default comment/ping status for new posts even when someone has hidden the meta box which lets you alter them on a per-post basis.
Fixes #13473 props solarissmoke. 


git-svn-id: http://svn.automattic.com/wordpress/trunk@19372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 13:45:10 +00:00
azaozz
cd1621c23b Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 03:40:56 +00:00
azaozz
eb5dbde246 Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 02:03:02 +00:00
azaozz
3287ef6d9c Change the drop target border color, props ocean90, fixes #19298
git-svn-id: http://svn.automattic.com/wordpress/trunk@19367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 19:16:35 +00:00
nacin
3374c6e672 Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 18:59:49 +00:00
azaozz
eeedb253a7 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 02:10:10 +00:00
koopersmith
c65d96de08 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:03:17 +00:00
azaozz
2dd43e3337 Remove old styling for rtl progress bar, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 21:50:33 +00:00
azaozz
bc6ecba6de Fix the border color on Menus screen, props ocean90, fixes #19234
git-svn-id: http://svn.automattic.com/wordpress/trunk@19359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:11:27 +00:00
azaozz
87794e8973 Restore the handle arrow in Post publish metabox, props ocean90, fixes #19299
git-svn-id: http://svn.automattic.com/wordpress/trunk@19358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:03:58 +00:00
azaozz
9d8a007f27 Fix Quickpress labels in FF, props ocean90, fixes #19170
git-svn-id: http://svn.automattic.com/wordpress/trunk@19357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:00:50 +00:00
azaozz
d333309975 RTL refresh for Welcome panel, fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 19:49:20 +00:00
azaozz
a715cedef2 Remove the gap on folded admin menu item with submenu above a divider, props helenyhou, fixes #19269
git-svn-id: http://svn.automattic.com/wordpress/trunk@19355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 18:33:20 +00:00
azaozz
40058cb1b7 More RTL for the admin menu, props ocean90, see#19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 17:54:24 +00:00
azaozz
c71b4ada24 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:33:51 +00:00
azaozz
6c38abc51d Show Insert into post button in the media library when the current post supports editor (not the attachment parent), props SergeyBiryukov, fixes #18912
git-svn-id: http://svn.automattic.com/wordpress/trunk@19350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:28:39 +00:00
markjaquith
b144c63c74 Start documenting under the hood features for WordPress 3.3. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:18:54 +00:00
azaozz
507643807a Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:42:22 +00:00
koopersmith
931fbf8b36 Remove repetitive title on Credits and Freedoms pages. props ocean90, fixes #19294.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:35:13 +00:00
koopersmith
d5f9da0dfd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:32:15 +00:00
koopersmith
2f808f68d4 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 23:33:11 +00:00
azaozz
27531f0f9b Welcome Screen: update column widths to show 3-col view on 1280 wide screens. Props helenyhou chexee, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 20:11:39 +00:00
ryan
d89f81d168 Welcome Screen styling. Props chexee. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 18:58:46 +00:00
ryan
396d5a0184 Welcome Panel: Add 'First Steps With WordPress' link. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:32:23 +00:00
ryan
f42169fabb Welcome Panel: Consult current theme capabilities. Remove trailing punc from list items. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:30:31 +00:00
azaozz
7f9b0fcc1e Don't show the uploader on iPads (it's pointless), fixes #19004
git-svn-id: http://svn.automattic.com/wordpress/trunk@19335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 08:43:16 +00:00
azaozz
2d6d3c748a Prevent errors in assigning widgets to sidebars for themes with dynamic sidebars, props batmoo, fixes #19274
git-svn-id: http://svn.automattic.com/wordpress/trunk@19334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 07:00:26 +00:00
azaozz
042635b68c Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: http://svn.automattic.com/wordpress/trunk@19331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:56:50 +00:00
azaozz
af14c4fdb0 Change text prompt in HTML uploader, props jane, fixes #19276
git-svn-id: http://svn.automattic.com/wordpress/trunk@19330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:25:27 +00:00
ryan
76283bae32 First pass at Welcome Screen content. Props jane. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 22:54:54 +00:00
ryan
258bed4b6f Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 20:48:40 +00:00
nacin
304a36041a WP_Screen->post_type is always set. see #19131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 19:50:14 +00:00
ryan
1dda3e01dd Don't die in my-sites.php if the user has no sites. Intead, display message within admin chrome. Props trepmal. fixes #18935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:52:58 +00:00
ryan
66388c185e Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:01:08 +00:00
azaozz
930cd0862f mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 15:50:01 +00:00
nacin
f0eebf3376 Remove extra space. props danielbachhuber.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 04:41:51 +00:00
azaozz
44472ebcff Make switchEditors.go() fully back-compat, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 02:44:28 +00:00
markjaquith
2e2c07f094 Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:02:01 +00:00
markjaquith
cb220fd555 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 21:58:20 +00:00
nacin
cd33a2118d Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:58:13 +00:00
nacin
a14dd3db8b Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:45:11 +00:00
azaozz
ae3a4343e9 More RTL fixes, props rosshanney, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:58:42 +00:00
azaozz
28ec7872a2 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: http://svn.automattic.com/wordpress/trunk@19306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:22:27 +00:00
ryan
45ddf08e07 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: http://svn.automattic.com/wordpress/trunk@19304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:44:48 +00:00
duck_
5e3fe22bac Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 17:57:53 +00:00
azaozz
52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
ryan
7f10cf4814 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: http://svn.automattic.com/wordpress/trunk@19296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 14:02:42 +00:00
nacin
c657c79258 Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 03:51:28 +00:00
azaozz
a25b873fd4 Add some more padding to the Dismiss link in the uploader notices, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:48:21 +00:00
nacin
836051d1e9 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:24:30 +00:00
azaozz
8f4fd39550 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
nacin
0f3e2f79bd Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 22:09:15 +00:00
nacin
30ff37104d Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:35:44 +00:00
koopersmith
f04a3d38e8 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:03:14 +00:00
nacin
8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
koopersmith
699b72940f Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:10:14 +00:00
azaozz
e09e8f465c Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: http://svn.automattic.com/wordpress/trunk@19275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:35:32 +00:00
ryan
0ec7ae44ca Fix edit.php row action redirects when referrers are not sent. Return false from wp_get_referer() when no referrer found. Props mitchoyoshitaka. fixes #17628
git-svn-id: http://svn.automattic.com/wordpress/trunk@19272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 16:59:45 +00:00
koopersmith
8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
azaozz
a491abfbb2 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
ryan
23d963c967 Use correct var. Props ocean90. fixes #18176
git-svn-id: http://svn.automattic.com/wordpress/trunk@19267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 15:20:25 +00:00
azaozz
7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
azaozz
9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
nacin
64ab05ab09 Normal sentence case. see #19228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:32:20 +00:00
ryan
c4d9f38dce Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: http://svn.automattic.com/wordpress/trunk@19259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:01:56 +00:00
azaozz
a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
ryan
61fca35691 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: http://svn.automattic.com/wordpress/trunk@19256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:38:34 +00:00
ryan
04831b81ec Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: http://svn.automattic.com/wordpress/trunk@19255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 18:37:04 +00:00
ryan
73432f9c5a Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:44:16 +00:00
ryan
4c837e9522 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: http://svn.automattic.com/wordpress/trunk@19252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:04:54 +00:00
ryan
6bbc8d4ce4 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
nacin
58cdff8ce9 Style updates to translators list on Credits page. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 23:16:21 +00:00
ryan
ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +00:00
azaozz
6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
ryan
872428d60d More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:41:44 +00:00
nacin
22cf9f0fe4 New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:05:01 +00:00
nacin
89c5a967d6 Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:32:44 +00:00
nacin
087eb4e30a Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:23:31 +00:00
duck_
a57f6b0271 Stop multiple loading spinners showing when repeatedly accessing Press This Add Photos box. Fixes #18992.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 16:46:05 +00:00
nacin
4fa61390ef Fix link in welcome panel. see #19217, props cebradesign, SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 15:21:26 +00:00
azaozz
eca4184725 Revert media.php too, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:42:20 +00:00
azaozz
331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
azaozz
623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
koopersmith
b297f9061c Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:32:03 +00:00
azaozz
ee227a7e48 Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: http://svn.automattic.com/wordpress/trunk@19219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:24:55 +00:00
azaozz
10859e2b8f Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:05:59 +00:00
ryan
91bf9d9bae Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: http://svn.automattic.com/wordpress/trunk@19213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:24:14 +00:00
ryan
81a03236ec Use get_site_url() instead of hard-coding the protocol. Props SergeyBiryukov, exell.christopher. fixes #17466
git-svn-id: http://svn.automattic.com/wordpress/trunk@19211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:13:42 +00:00
azaozz
307f243ee4 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 19:49:50 +00:00
nacin
02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
nacin
461685f74f Allow tags autosuggest to work in quick edit when there are no tags. props solarissmoke, see #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:43:04 +00:00
nacin
3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin
3526f8a7da Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:28:20 +00:00
koopersmith
dae0be0711 Improve display logic for admin menu arrows. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 04:18:50 +00:00
koopersmith
91aaf6bdf5 Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 03:59:00 +00:00
koopersmith
df818bec66 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:39:46 +00:00
azaozz
0ec64132db Fixes for the blue theme, props helenyhou, see #19183
git-svn-id: http://svn.automattic.com/wordpress/trunk@19195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 23:01:51 +00:00
azaozz
a31f0ad164 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
nacin
84280671d4 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:14:27 +00:00
nacin
f30f2e5c17 Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:42:20 +00:00
azaozz
8284ef87fb Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: http://svn.automattic.com/wordpress/trunk@19186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:18:45 +00:00
nacin
ab5f3aa79c Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:13:06 +00:00
nacin
534578f339 Space out two strings. props ocean90, fixes #19167.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:21:12 +00:00
duck_
81587cecf4 Only hide "Most Used" category tab when the body has .no-js class. See #16810, fixes #19129.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:35:49 +00:00
azaozz
f7fa2684e8 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:09:38 +00:00
azaozz
9ca4a9a39a Update Comment -> Update, props ocean90, fixes #19166
git-svn-id: http://svn.automattic.com/wordpress/trunk@19176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:03:33 +00:00
azaozz
6e9010c128 Blue theme HTML editor fixes, min-width -> width for .inner-sidebar, props ocean90, fixes #19162
git-svn-id: http://svn.automattic.com/wordpress/trunk@19175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 17:03:17 +00:00
azaozz
63c55f4058 Remove min-width from #post-body-content, props ocean90, fixes #19062
git-svn-id: http://svn.automattic.com/wordpress/trunk@19174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:53:26 +00:00
nacin
fa76992c20 Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:41:25 +00:00
koopersmith
854684b63b Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 02:06:56 +00:00
koopersmith
eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
azaozz
94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
nacin
31c84c9d7b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:06:11 +00:00
nacin
0a825c74be Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:04:58 +00:00
nacin
7c0be8f0e5 Remove i18n until text settles. see #18795.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:57:45 +00:00
azaozz
a7d3a67b46 RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: http://svn.automattic.com/wordpress/trunk@19149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:09:53 +00:00
azaozz
9e6883bb8f Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:22:46 +00:00
azaozz
b9d481d371 Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:19:09 +00:00
nacin
75ec2f756d RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 04:35:06 +00:00
koopersmith
51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
koopersmith
84b6adf701 The about pages are lonely orphans. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:45:11 +00:00
koopersmith
011ade3db6 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:37:56 +00:00
duck_
4516c37a11 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:07:57 +00:00
nacin
dffd88b194 Remove copy-pasted classes. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:59:19 +00:00
nacin
3f606d28b0 Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:55:03 +00:00
nacin
17c3514a7f Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:41:45 +00:00
koopersmith
ac9486b7f8 Move about page CSS to main CSS files. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:32:44 +00:00
nacin
4454d5e50c Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:30:55 +00:00
nacin
230d3d62ce Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:23:31 +00:00
koopersmith
8576e8d07f Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:13:50 +00:00
nacin
1494ca6b9f Use a better method for [19133]. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:09:59 +00:00
nacin
04915a9b07 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:08:24 +00:00
nacin
9741ce2773 Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:00:46 +00:00
azaozz
8454367edf Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 20:26:09 +00:00
azaozz
f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
azaozz
84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz
1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
nacin
1e12e6713d More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:42:57 +00:00
nacin
cece838d8f More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:32:16 +00:00
nacin
e62b1ce3c9 More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:54:56 +00:00
nacin
bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan
b2bfe42593 Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 17:21:50 +00:00
azaozz
ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
dd32
16697d503e Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 12:16:47 +00:00
ryan
366db8c10b Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 05:33:53 +00:00
nacin
3932addc50 Reverse variable assignment order. D'oh. see #19108.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:24:17 +00:00
nacin
fff2457234 Remove cruft. see #19106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:14:14 +00:00
ryan
3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan
97d61ca5a2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:38:37 +00:00
markjaquith
c59f813e32 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: http://svn.automattic.com/wordpress/trunk@19109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:36:18 +00:00
nacin
6c9e82de0a Use more obvious variables in WP_Screen. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:36:04 +00:00
nacin
687642fead Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:23:05 +00:00
ryan
9e397bfb12 No need to setup current screen in wp-fullscreen-save-post handler. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:15:18 +00:00
duck_
0ca4df123a Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 12:36:14 +00:00
azaozz
a2e4511e5f Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz
b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
nacin
13db43d2d3 Always run the old contextual_help filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:37:43 +00:00
nacin
29e469f151 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:28:17 +00:00
ryan
6bc11ddcfe Use key(). Props scribu. fixes #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:46:10 +00:00
nacin
c2064f9976 Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 17:08:36 +00:00
nacin
aa6eb9729a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 16:57:29 +00:00
azaozz
efc7ca76d7 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:56:27 +00:00
azaozz
10c836c382 Some more css cleanup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:50:32 +00:00
nacin
4c9afe489a Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 05:30:57 +00:00
azaozz
12b9d51e2e Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
git-svn-id: http://svn.automattic.com/wordpress/trunk@19087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:55:58 +00:00
azaozz
697f2371e6 Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
git-svn-id: http://svn.automattic.com/wordpress/trunk@19086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:52:21 +00:00
azaozz
55fdf0eaaf Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:05:58 +00:00
azaozz
08ecc0293a RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
git-svn-id: http://svn.automattic.com/wordpress/trunk@19082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:42:36 +00:00
azaozz
eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
ryan
31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan
9c4728942f gettext fix. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 21:14:14 +00:00
ryan
e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
ryan
c23e0cc0bc Make repair.php fully translatable. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 18:31:45 +00:00
duck_
7ba5b2f7a3 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
nacin
1c9abd21ca Use correct object. props adambackstrom. fixes #19045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:08:24 +00:00
nacin
1e6e52e1c1 Add missing keyword. fixes #19046, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:05:39 +00:00
nacin
68225fdf13 Make convert_to_screen() more resilient. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 06:54:23 +00:00
nacin
f9d807d649 Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:50:39 +00:00
nacin
66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin
6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00
dd32
68037f4ac1 Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 04:25:52 +00:00
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
ryan
ad3eb8f7ab Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:10:56 +00:00
nacin
12de7d1e2d Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 18:34:08 +00:00
nacin
29f6c203cd screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:40:15 +00:00
nacin
a4a58839d0 Deprecate favorite_actions(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:10:36 +00:00
nacin
c62a9fe508 Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 19:22:27 +00:00
ryan
d01f93226d Fix sub menu highlighting for post type pages. see #13662
git-svn-id: http://svn.automattic.com/wordpress/trunk@19048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:45:06 +00:00
nacin
f6368c50c4 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:01:33 +00:00
nacin
7ed04cc2f3 Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:58:06 +00:00
nacin
ad0e83c165 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:55:24 +00:00
nacin
1a37559654 Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:48:58 +00:00
nacin
2b4b7aa211 Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:40:30 +00:00
nacin
870d7860fd Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:35:33 +00:00
nacin
f708c5eaff Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:04:52 +00:00
duck_
424cd58652 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:53:57 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
nacin
023143f7cd Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:12:25 +00:00
nacin
3e61e179d9 Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:51:06 +00:00
nacin
51657715c1 Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:01:55 +00:00
nacin
f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin
db86ea12d4 Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:52:14 +00:00
nacin
11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
ryan
d0d8eb2aaf Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: http://svn.automattic.com/wordpress/trunk@19013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:02 +00:00
duck_
16daac44ec Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:48:07 +00:00
markjaquith
aa64ec5d1d Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: http://svn.automattic.com/wordpress/trunk@19010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:08:57 +00:00
koopersmith
52829ad92f In welcome panel, move periods outside of links. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:05:12 +00:00
koopersmith
1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
nacin
9bfad4c43e Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 14:51:48 +00:00
azaozz
6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00
azaozz
9d05f1f94a Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:16:15 +00:00
ryan
67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
ryan
6623ea4b4a Avoid pass by ref warning. Props arena. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:38:18 +00:00
nacin
0b9a1f68da Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:33:34 +00:00
nacin
1387dfd1f2 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:32:40 +00:00
ryan
f1ec92751f Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:18:08 +00:00
ryan
3dc95bc55a Don't filter taxonomy list. see #18983
git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 16:33:31 +00:00
dd32
5194428741 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:48:07 +00:00
dd32
8e82c7560c Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: http://svn.automattic.com/wordpress/trunk@18985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:32:28 +00:00
koopersmith
5990b8ca14 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 21:04:29 +00:00
azaozz
e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
nacin
b040745a22 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 19:18:28 +00:00
nacin
2ce5a485ed Close strong tag. props scribu. fixes #18970.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 18:57:06 +00:00
duck_
6926503ebf Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 10:43:55 +00:00
azaozz
9127076d34 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:46:58 +00:00
azaozz
0f2431e25a RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
koopersmith
c47765dedb Simplify pointer API with smarter positioning. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:33:46 +00:00
azaozz
6141f8039b Menu RTL css refresh, fixes #18906
git-svn-id: http://svn.automattic.com/wordpress/trunk@18968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 01:06:23 +00:00
ryan
99d80d6b4a Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: http://svn.automattic.com/wordpress/trunk@18966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:55:40 +00:00
ryan
a733b40730 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: http://svn.automattic.com/wordpress/trunk@18965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:32:31 +00:00
dd32
53062d6414 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 10:43:38 +00:00
azaozz
32fa9f7d6c Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:33:10 +00:00
azaozz
c630639e8c Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: http://svn.automattic.com/wordpress/trunk@18961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:27:32 +00:00
azaozz
6b3786b425 Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 02:47:00 +00:00
azaozz
5865cc92fc Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: http://svn.automattic.com/wordpress/trunk@18959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:37:39 +00:00
azaozz
331b416756 IE7 fixes for the admin menu, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:06:07 +00:00
azaozz
000208b86d Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 22:24:53 +00:00
ryan
c28bd6af03 Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: http://svn.automattic.com/wordpress/trunk@18954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:30:50 +00:00
ryan
28a6d49c1a Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: http://svn.automattic.com/wordpress/trunk@18953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 19:47:00 +00:00
duck_
ba7651277e Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:35:33 +00:00
nacin
936107846c Restore object handling in add_contextual_help(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:24:55 +00:00
nacin
aa06a7de9f Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:22:50 +00:00
azaozz
0d8b1bdc51 Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: http://svn.automattic.com/wordpress/trunk@18948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 00:01:39 +00:00
koopersmith
d60869e490 Improve padding on admin menu submenus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:52:40 +00:00
koopersmith
bd56b8dbfc Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:48:20 +00:00
nacin
07a664da92 Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:45:28 +00:00
koopersmith
97201b0a7d Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:38:12 +00:00
nacin
7bf1ec1a01 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: http://svn.automattic.com/wordpress/trunk@18943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:32:16 +00:00
koopersmith
e10f6876d4 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:25:38 +00:00
nacin
35dd66044a Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 19:29:09 +00:00
azaozz
3804ef7519 Don't move current open submenus, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 17:59:51 +00:00
azaozz
96c3fa3274 More CSS cleanup, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 06:25:25 +00:00
ryan
82bcca520b Do the beta bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:50:20 +00:00
nacin
24d7c61eb5 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:31:36 +00:00
nacin
4dfdd9ea97 Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:56:35 +00:00
nacin
0a1fe6dc02 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: http://svn.automattic.com/wordpress/trunk@18930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:54:26 +00:00
azaozz
f85e0b3f00 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 04:19:05 +00:00
azaozz
1050e0023a Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 17:30:51 +00:00
azaozz
c86787bbd3 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 00:05:38 +00:00
azaozz
eb792ad204 Add translation comment, props ocean90, fixes #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-08 03:14:41 +00:00
azaozz
cce2047bc6 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:24:29 +00:00
azaozz
7efc9306f9 Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:14:21 +00:00
azaozz
7672731d95 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: http://svn.automattic.com/wordpress/trunk@18918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 19:12:55 +00:00
azaozz
18630a3d5a Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 16:59:33 +00:00
nacin
50078431dc 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: http://svn.automattic.com/wordpress/trunk@18915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:26:44 +00:00
nacin
850ea83baf 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: http://svn.automattic.com/wordpress/trunk@18914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:23:33 +00:00
nacin
cc199b6358 Remove redundant help tab title from the tab body. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:00:38 +00:00
nacin
d23f035e62 Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:58:36 +00:00
nacin
795ca8d394 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:57:12 +00:00
nacin
e88d2d7e5b Revert CSS that slipped into [18874]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 03:29:49 +00:00
nacin
653a6c1108 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 23:43:20 +00:00
nacin
af704000f6 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 16:24:14 +00:00
azaozz
f67f9729b8 Combine few styles for column containers, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 14:37:55 +00:00
azaozz
4878bc6ca0 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: http://svn.automattic.com/wordpress/trunk@18902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:57:50 +00:00
azaozz
0e358f2179 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:18:56 +00:00
azaozz
53ac6d4a37 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 08:43:01 +00:00
ryan
a0f6c4469d 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: http://svn.automattic.com/wordpress/trunk@18899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:21:24 +00:00
nacin
44590b1d78 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: http://svn.automattic.com/wordpress/trunk@18897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:42:11 +00:00
koopersmith
fb31c6f302 Refine new help styles. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:15:19 +00:00
nacin
7afd7005aa Align the bytes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:57:17 +00:00
nacin
330cf9d4a4 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: http://svn.automattic.com/wordpress/trunk@18894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:36:03 +00:00
nacin
4179013f06 Oops. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:05:43 +00:00
nacin
5d33f15fb3 Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:04:09 +00:00
nacin
337699e1cf Compress and bump scripts for [18890]. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:08:16 +00:00
nacin
593bce9f3e UI touches for the single media button. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:07:04 +00:00
azaozz
f9ebf31d4a Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:46:21 +00:00
koopersmith
dcf34868ed Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:45:32 +00:00
markjaquith
bc3fc076e1 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: http://svn.automattic.com/wordpress/trunk@18887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:48:41 +00:00
dd32
ecbc046a59 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: http://svn.automattic.com/wordpress/trunk@18883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:14:41 +00:00
dd32
5ad995f089 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: http://svn.automattic.com/wordpress/trunk@18882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:09:51 +00:00
koopersmith
725bcef080 Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 06:39:30 +00:00
azaozz
92cba72bef Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@18880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 23:10:02 +00:00
azaozz
d0ceca2496 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 17:21:59 +00:00
ryan
760a1f8b6c Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: http://svn.automattic.com/wordpress/trunk@18878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:09:24 +00:00
ryan
5e247750a1 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: http://svn.automattic.com/wordpress/trunk@18876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:00:36 +00:00
azaozz
41429f32a9 Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 04:14:36 +00:00
azaozz
bc6411bb52 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: http://svn.automattic.com/wordpress/trunk@18874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 03:32:12 +00:00
azaozz
6e0729790f Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:36:19 +00:00
ryan
69994de5d1 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: http://svn.automattic.com/wordpress/trunk@18871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:30:07 +00:00
azaozz
40794ebcd5 Fix typo when setting post_format in Press This.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:22:38 +00:00
ryan
435b3a0177 Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:35:43 +00:00
ryan
401c841c93 Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: http://svn.automattic.com/wordpress/trunk@18868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:03:01 +00:00
azaozz
bbafdfa0e5 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 04:00:57 +00:00
koopersmith
dbd18bea3d Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 18:19:49 +00:00
azaozz
3575537e5f Add screen_options with contextual content, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 06:59:36 +00:00
nacin
f626113f33 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 00:04:30 +00:00
azaozz
9662f2f87e Add phpdoc for the section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 22:22:33 +00:00
azaozz
0df31fc3c4 Separate the tab title from the help section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 21:18:04 +00:00
azaozz
9e37d9490d Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: http://svn.automattic.com/wordpress/trunk@18860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 20:50:08 +00:00
nacin
fcba7735c0 Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:13:27 +00:00
nacin
e635d0befc Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:07:41 +00:00
nacin
5522818ed3 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: http://svn.automattic.com/wordpress/trunk@18857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 17:59:46 +00:00
koopersmith
322c2bde5e Properly print per-page options. see #18690, [18853].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 03:21:36 +00:00
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
7be002d642 Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: http://svn.automattic.com/wordpress/trunk@18852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:19:07 +00:00
azaozz
ccb65a88b4 Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:12:39 +00:00
azaozz
d7a9037fec Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: http://svn.automattic.com/wordpress/trunk@18850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:52:29 +00:00
nacin
8721427446 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 21:35:05 +00:00
markjaquith
f1a1d07a13 More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@18843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:31:52 +00:00
ryan
ed4c502e16 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: http://svn.automattic.com/wordpress/trunk@18842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:26:14 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
ryan
33113c01c7 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: http://svn.automattic.com/wordpress/trunk@18839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:47:02 +00:00
azaozz
816fcad9e2 Fix editor detection when inserting image, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
nacin
cb3ab86c7c Compress and bump media.css. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
nacin
cb1477ecfd 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: http://svn.automattic.com/wordpress/trunk@18831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:22:29 +00:00
nacin
4adc74c379 Update Feedback support URL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 05:26:40 +00:00
azaozz
f5e6304ca6 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
ryan
2edc82cd61 * 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: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
2a38f122ab Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:28:29 +00:00
nacin
3440dbb182 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: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
ccf47d55c4 Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
e296e48b3d Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:54:05 +00:00
nacin
8c731f1cb2 Space out and capitalize 'Auto' in screen options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:28:00 +00:00
azaozz
d58e337d24 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: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
azaozz
fea5c38ef4 Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
azaozz
21d9701150 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: http://svn.automattic.com/wordpress/trunk@18801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 16:05:59 +00:00
azaozz
e076a246fd 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: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
8315e48d3a Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: http://svn.automattic.com/wordpress/trunk@18798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 06:08:56 +00:00
koopersmith
8c1bc6831a Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 00:57:56 +00:00
nacin
de8cc0eae1 Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
ryan
6c1f1b642a Revert fat fingers in [18793]. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:33:51 +00:00
ryan
022dcf68c0 First pass of WP_Screen phpdoc. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:30:56 +00:00
duck_
2b11174785 _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: http://svn.automattic.com/wordpress/trunk@18792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 10:22:58 +00:00
nacin
d415ceabeb wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 06:11:30 +00:00
nacin
30c473c4e0 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 23:31:54 +00:00
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
azaozz
5ca2255bba Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
nacin
b9bd6e3632 Use WP_PLUGIN_DIR, not PLUGINDIR. props ocean90, fixes #18772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 19:24:15 +00:00
azaozz
ce992634cc Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
azaozz
728c4379d7 Fix line-height inside postbox and stuffbox, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:48:41 +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
duck_
26d36e6eda Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
9f216ad715 delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +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
nacin
55a0bfcdc8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077 Correct text widget background color. It was really messing with our feng shui.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +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
azaozz
e7e4ceed22 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: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +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
koopersmith
f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +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
nacin
f2a6d07a9d 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: http://svn.automattic.com/wordpress/trunk@18750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 07:17:27 +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
koopersmith
723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
08f904ace5 Remove some duplicates and combine some css selectors, props DH-Shredder, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 22:23:09 +00:00
azaozz
1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +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
4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +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
dd32
5daf7aa2b0 Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
git-svn-id: http://svn.automattic.com/wordpress/trunk@18731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 04:17:55 +00:00
azaozz
456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
2f59ff622a Add the borders to the border-radius merge, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:21:18 +00:00
azaozz
eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +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
azaozz
4b38d0833e 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: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
nacin
e216db1950 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: http://svn.automattic.com/wordpress/trunk@18709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 23:23:39 +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
80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +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
nacin
2ee655428d Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +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
azaozz
f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
azaozz
5025fd9b02 Add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:26:42 +00:00
duck_
708f95adba Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 21:20:43 +00:00
duck_
c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
koopersmith
9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +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
westi
26b57f09a2 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:26:07 +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
64e98fd257 Put back float: left for postbox containers, fixes #18665
git-svn-id: http://svn.automattic.com/wordpress/trunk@18672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 02:55:31 +00:00
azaozz
05a76c78f4 Remove max-width for .widefat, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 00:50:35 +00:00
azaozz
c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
c9301a30be Loosen validation regex to use sanitize_key() in a few AJAX locations for things like pages, orders, columns. Change return value to 0 for failure, as -1 is reserved for authentication/intention. props ocean90, azaozz, fixes #18637.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-12 21:48:44 +00:00
nacin
4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
duck_
6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
fab91dd3d0 Fix attribute spacing. props mfields, fixes #18570.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:02 +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
duck_
9a5d3d4155 Pull out old import remnant from when importers were shipped in core. Fixes #15844.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:18:36 +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
azaozz
fb970629fb '.widget', not '.postbox' in [18635], props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:45:01 +00:00
azaozz
b645d74be4 Remove orphaned sidebars from the page when the user drags all widgets out of them, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:26:32 +00:00
azaozz
21dc8794bc Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +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
azaozz
d83b14c165 Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz
4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
azaozz
9813047aa0 Fix styling of the editors for the blue theme, props saracannon, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 00:58:41 +00:00
azaozz
63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
dd32
6f5da88d81 Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
git-svn-id: http://svn.automattic.com/wordpress/trunk@18622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 03:55:40 +00:00
koopersmith
51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +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
12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
ryan
39ba82bb3f Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: http://svn.automattic.com/wordpress/trunk@18608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:00:07 +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
dd32
392ef4c88c Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: http://svn.automattic.com/wordpress/trunk@18590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 07:48:13 +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
c8af09ed2c Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:36:21 +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
3d679a03e2 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz
ba3ad76771 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +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
azaozz
6041cd0410 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
4cca01b8c3 Another fix for Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 17:04:16 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +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
dbc5a36a14 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:26:18 +00:00
nacin
e00bc528b6 Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:17:47 +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
nacin
b5d445aa84 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 06:53:19 +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
nacin
51d2aef086 Clean up message handling logic in upload.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:12:02 +00:00
nacin
02831e8b84 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-14 22:23:22 +00:00
nacin
4e4932296f Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:01:26 +00:00
nacin
ae91e0dfcd Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 22:32:35 +00:00
duck_
f98e622c39 Direct a user to the main site to install importers, fixes #17990
git-svn-id: http://svn.automattic.com/wordpress/trunk@18535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 20:49:47 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
nbachiyski
4870176ad0 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:42:59 +00:00
nbachiyski
c8721d2600 Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: http://svn.automattic.com/wordpress/trunk@18530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:36:18 +00:00
nbachiyski
51e91e68c3 Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@18529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:33:22 +00:00
nacin
cdb9e49b8c Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 03:02:01 +00:00
nacin
5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
nacin
97730f64fa Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:26:36 +00:00
nacin
5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
45f2e1a527 Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:00:45 +00:00
nacin
bce03b27a6 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:53:54 +00:00
azaozz
9a65f6e237 Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 21:04:15 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
azaozz
042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan
1cf9dfacbf Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:29:46 +00:00
ryan
f5762a2aab Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: http://svn.automattic.com/wordpress/trunk@18508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:07:51 +00:00
nacin
ba9ae611eb Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 12:40:15 +00:00
ryan
6c81d023bb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz
6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan
514632d860 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 19:14:06 +00:00
ryan
24d480d088 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00
azaozz
3713abe855 Remove debug remnants, props scribu, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:36:18 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
230fb8f3e3 Refactor Quicktags, props garyc40, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
nacin
77cf05fbb7 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:20:06 +00:00
nacin
592e3c5d8f Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:16:19 +00:00
azaozz
07bf8b352e Remove tabs from JS, props duck_, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 08:44:29 +00:00
ryan
7e94f474cd Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: http://svn.automattic.com/wordpress/trunk@18487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 21:36:45 +00:00
azaozz
34467767ff Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz
c5657820fb Remove debug bits, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 09:03:24 +00:00
azaozz
91a8720fff Pluploader take 1, props jacobwg, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
nacin
3aff9d9464 Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 06:07:38 +00:00
ryan
ee12592231 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: http://svn.automattic.com/wordpress/trunk@18475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:10:00 +00:00
ryan
e3418e214e Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: http://svn.automattic.com/wordpress/trunk@18473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:35:39 +00:00
ryan
c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
azaozz
21058cf460 Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
dd32
adbcddd6eb Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: http://svn.automattic.com/wordpress/trunk@18462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 10:57:34 +00:00
azaozz
5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
azaozz
49c71bc6db UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan
3c930bc018 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:04:12 +00:00
ryan
4e538ea9c8 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:32:12 +00:00
ryan
a117773fc8 Typo fix. Props kawauso. fixes #18177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:46:01 +00:00
ryan
4ad0954961 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
ryan
7f88e6ee2f Sites search improvements. fixes #18013
git-svn-id: http://svn.automattic.com/wordpress/trunk@18442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:42:26 +00:00
azaozz
b87d9d50d6 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
nacin
6fba9adeaf Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:48:43 +00:00
nacin
916a1c943c Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 20:22:24 +00:00
azaozz
fcc103f0b2 Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin
61afb5def3 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin
8ead4891b9 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin
bac625849e Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin
0904773260 Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
ryan
7697960abe Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin
c8e85fcb81 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
azaozz
9d23dd8753 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00
nacin
4a387dc4f0 Affirm current credits timeout. see #17759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 15:58:43 +00:00
azaozz
86067bcf74 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: http://svn.automattic.com/wordpress/trunk@18390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:15:04 +00:00
ryan
98ea343717 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:59:45 +00:00
azaozz
a1beac9a44 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: http://svn.automattic.com/wordpress/trunk@18381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:46:00 +00:00
azaozz
f158ed15d2 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: http://svn.automattic.com/wordpress/trunk@18380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:23:09 +00:00
nacin
db78833264 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin
ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
ryan
68d8691cc8 Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:47:35 +00:00
ryan
db253a3fe7 Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:44:56 +00:00
azaozz
b80ad7a9cf User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 16:17:49 +00:00
dd32
4e0de4a1d3 Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 06:47:34 +00:00
ryan
08b6aa116e Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:47:04 +00:00
azaozz
06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz
df0cca6ae4 Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: http://svn.automattic.com/wordpress/trunk@18347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 19:35:26 +00:00
ryan
593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
ryan
65332fb735 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 21:49:22 +00:00
nbachiyski
f76ad7a71a Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: http://svn.automattic.com/wordpress/trunk@18337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 11:18:20 +00:00
ryan
5eaf7b7e05 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: http://svn.automattic.com/wordpress/trunk@18332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:57:21 +00:00
azaozz
7ba19933f3 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: http://svn.automattic.com/wordpress/trunk@18331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:41:42 +00:00
nacin
9096c1a3c6 Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:45:21 +00:00
westi
fda24a53ed Ensure we have a valid timezone identifier before trying to use it.
Validate the new timezone identifier during option update.
Fixes #17840.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-20 14:58:50 +00:00
nacin
c774b1b42d Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:05:46 +00:00
nacin
7b3569ab29 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:02:58 +00:00
dd32
6de00a0495 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: http://svn.automattic.com/wordpress/trunk@18318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-17 05:41:35 +00:00
nacin
c5f8e9a376 Add missing translate() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-16 00:18:51 +00:00
nacin
e169b152bd Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-15 19:23:35 +00:00
dd32
2f3d9c768f Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: http://svn.automattic.com/wordpress/trunk@18310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:55:04 +00:00
dd32
d8a6868d99 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: http://svn.automattic.com/wordpress/trunk@18309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:40:38 +00:00
dd32
aee92ce43b Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
git-svn-id: http://svn.automattic.com/wordpress/trunk@18308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:31:35 +00:00
dd32
9903d372b6 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@18307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 12:39:11 +00:00
nacin
e149164921 Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:50:16 +00:00
nacin
9d2edcd9ac [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:30:53 +00:00
azaozz
626fa3b3d3 Always use curly brackets with foreach, see [18295]
git-svn-id: http://svn.automattic.com/wordpress/trunk@18296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 01:03:55 +00:00
azaozz
8416d1c0e0 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@18295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 00:24:47 +00:00
nacin
7271998aa6 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 21:38:57 +00:00
dd32
ed5785c9ef Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 12:47:18 +00:00
azaozz
192a616b7f More Press This cleanup and fixes, see #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 23:12:21 +00:00
azaozz
caf4a20ae8 Press This RTL css fixes, props ocean90, fixes #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:17:34 +00:00
nacin
ea1c1a370b Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:14:03 +00:00
nacin
7542e878f0 UI refresh for Press This. props koopersmith, see #17757.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:37:23 +00:00
nacin
1a62cfa691 Fix display of browser nag, use lowercase hex values, move identical styles out of colors-* and into dashboard.css. props duck_, fixes #17765.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:32:19 +00:00
ryan
4bb54d8f68 Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: http://svn.automattic.com/wordpress/trunk@18277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:52:15 +00:00
ryan
46f63a6b1e Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
nacin
2571545ec0 @since s/3.2/3.2.0/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 04:40:18 +00:00
dd32
7123b0b62a Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:33:17 +00:00
dd32
694ec284a8 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:16:42 +00:00
nacin
fcf8586289 Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 02:35:00 +00:00
nacin
d648585363 Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 00:55:48 +00:00
koopersmith
0f85a171c2 The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:47:28 +00:00
ryan
a9ddd3474c Update _old_files for 3.2. see #17759
git-svn-id: http://svn.automattic.com/wordpress/trunk@18256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:15:01 +00:00
ryan
daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
nacin
bfe6bef203 Remove 'Development.' fixes #15991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:55:28 +00:00
nacin
60bdbe765f Don't add extra spaces. props duck_, see #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:30:54 +00:00
nacin
57f51582b1 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:28:02 +00:00
nacin
343d07bb5a Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:16:30 +00:00
azaozz
12dd9113cb Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: http://svn.automattic.com/wordpress/trunk@18247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:13:26 +00:00
nacin
9d31daac05 Revert [18243].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:01:52 +00:00
nacin
ca53db156d s/Blue/Classic/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:37:14 +00:00
nacin
d6b239adf1 Some more credits strings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:27:14 +00:00
azaozz
2c0b56039f DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: http://svn.automattic.com/wordpress/trunk@18241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:08:49 +00:00
koopersmith
262b95b4ad Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:48:25 +00:00
azaozz
692bc46e6c Fix pagination when searching or filtering, props solarissmoke, koopersmith, fixes #17685
git-svn-id: http://svn.automattic.com/wordpress/trunk@18237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:33:45 +00:00
koopersmith
3b4443b140 The Lightening, Part One: Lighten tabs UI on new post and menus screens. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:10:40 +00:00
markjaquith
856c2742ca Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:02:03 +00:00
ryan
e5765caf3b Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: http://svn.automattic.com/wordpress/trunk@18232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:40:42 +00:00
markjaquith
e67a3b2e32 Be less specific about theme and plugin repo licenses (as they can vary in specifics). They are all compatible with the license WordPress uses, which is what matters. fixes #16514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:35:32 +00:00
azaozz
a866368997 H2 font weight = normal as Helvetica Neue Light doesn't scale well for lighter setting, props dd32, fixes #17743
git-svn-id: http://svn.automattic.com/wordpress/trunk@18230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:24:10 +00:00
dd32
5df56d4bba Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:31:39 +00:00
nacin
bf9c99e1fa Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:22:33 +00:00
nacin
493ac83f33 Core support for partial updates. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:47:44 +00:00
nacin
fa2d658ab7 Update Core UI changes:
* Update Now instead of Update Automatically.
 * The first core update is now a primary button.
 * Hide the version number from the 'You are about to install WP in English' warning for development versions, as it lies and suggests you will be downgraded.
see #10611.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:37:51 +00:00
koopersmith
bc7d8a9dca Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 02:37:37 +00:00
azaozz
ec2778daa9 Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: http://svn.automattic.com/wordpress/trunk@18222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 00:01:16 +00:00
koopersmith
d831ae7504 Darken h2 subtitles on post pages to improve readability. see #17634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-09 21:55:39 +00:00
azaozz
c0cec1175e Enable autocomplete on the href and title fields in the link popup, props nacin, fixes #17101
Remove unneeded for=".." attributes from the <label> tags there.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:39:08 +00:00
koopersmith
e1b8dfc8fa Prevent items from overflowing from the 'howdy' menu. Props Otto42. fixes #17148.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:18:52 +00:00
koopersmith
a0485323c9 DFW: When hiding DFW, switch to correct main editors before saving content. Otherwise, some content will be lost. fixes #17729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 20:55:33 +00:00
azaozz
07356cc1a7 Fix borders at the bottom of tabs in postboxes, props dcowgill, fixes #17699
Fix color of active tab in Categories postbox.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 18:23:49 +00:00
ryan
152af39f98 Add padding to search subtitle. Props kawauso. fixes #17634
git-svn-id: http://svn.automattic.com/wordpress/trunk@18199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 17:52:18 +00:00
nacin
71c2782b1c Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:49:27 +00:00
markjaquith
029a8d1bef Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
git-svn-id: http://svn.automattic.com/wordpress/trunk@18193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:27:57 +00:00
azaozz
d697ce638b Make copying the PressThis bookmarklet code easier in WebKit browsers, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 01:33:07 +00:00
ryan
6c6db6a54e Don't add search wildcards to an empty string. fixes #17719
git-svn-id: http://svn.automattic.com/wordpress/trunk@18179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 16:05:04 +00:00
azaozz
9855641210 Some CSS cleanup and tuning, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@18173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 22:27:03 +00:00
azaozz
245d007ab2 Workaround for removeAttr('style') in Chromium, props duck_, fixes #17706
git-svn-id: http://svn.automattic.com/wordpress/trunk@18170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 18:59:10 +00:00
ryan
ebdc0d02b6 Fix warnings in menu.php when plugins.php is enabled for non-supes. Props PeteMall. fixes #17702
git-svn-id: http://svn.automattic.com/wordpress/trunk@18169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 16:59:24 +00:00
nacin
21abd80ac5 Oops. Credits API version remain unchanged. see #17518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:46:11 +00:00
nacin
cef8b6662f Credits screen redux. Add external libraries, gravatars for language validators. Backed by a new API. fixes #17518, fixes #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:38:29 +00:00
azaozz
af360e4077 Remove the title attribute from the Press This link as it needlessly repeats the text, props johnjamesjacoby, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 02:36:00 +00:00
azaozz
31e257b3c9 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: http://svn.automattic.com/wordpress/trunk@18158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 01:14:26 +00:00
nacin
e811e73322 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 00:30:17 +00:00
azaozz
71373b3fea Change cursor on hover on dashboard box toggles, props andrewryno, fixes #16440
git-svn-id: http://svn.automattic.com/wordpress/trunk@18156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:41:37 +00:00
azaozz
55c55c8f7d Fix JS error in Press This, props greuben, fixes #17501
git-svn-id: http://svn.automattic.com/wordpress/trunk@18155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:12:51 +00:00
koopersmith
4fc66df097 Update RTL blue admin theme. Props saracannon. fixes #17696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 22:09:26 +00:00
azaozz
c1638ee025 Properly add shadow to folded admin menu in RTL, props ocean90, fixes #17692
git-svn-id: http://svn.automattic.com/wordpress/trunk@18153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 21:29:28 +00:00
ryan
ffd5c4416d Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: http://svn.automattic.com/wordpress/trunk@18150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:14:51 +00:00
ryan
741a724b53 RTL fixes for credits.php. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:09:44 +00:00
westi
a9e78ba4a6 Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben
git-svn-id: http://svn.automattic.com/wordpress/trunk@18148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:36:12 +00:00
westi
866b39c617 Move the in_admin_footer action out of p#footer-left.alignleft so it is just in div#footer to allow for it to be used more flexibly. Fixes #17358 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:04:19 +00:00
westi
898e239ee2 Scroll up to the top when bulk editing so the form is completely visible. Fixes #17208 props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:56:12 +00:00
westi
45552f72d3 Whitespace fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@18144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:04:29 +00:00
westi
0397b60c04 Mark two missed strings in Press This for translation. Fixes #16334 props SergeyBiryukov and ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:02:08 +00:00
azaozz
1c9a877290 Fix collapsed menu transition glitch, props rosshanney, fixes #17534
git-svn-id: http://svn.automattic.com/wordpress/trunk@18138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 06:23:06 +00:00
azaozz
190670e218 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: http://svn.automattic.com/wordpress/trunk@18137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 00:46:47 +00:00
nacin
9a023b8378 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 23:30:46 +00:00
ryan
20ad00f2f1 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: http://svn.automattic.com/wordpress/trunk@18131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 18:59:12 +00:00
ryan
f938faa814 Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: http://svn.automattic.com/wordpress/trunk@18129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 15:35:45 +00:00
markjaquith
372f48b7a0 Tighten up the Credits page so it's not so spaced out.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 09:00:49 +00:00
ryan
209f213f56 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
azaozz
8d5a2a6cdf Also move the dark arrows, props ocean90, see #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:04:01 +00:00
azaozz
b0804966b2 Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:21:15 +00:00
koopersmith
e62e01b928 Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:55:27 +00:00
ryan
bc6a3ba8f8 RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:21:28 +00:00
ryan
15a6a89eb0 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:05:55 +00:00
ryan
46d0e53c7b RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: http://svn.automattic.com/wordpress/trunk@18113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 16:04:02 +00:00
ryan
3f7c9b5b76 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 15:26:01 +00:00
nacin
30729cc791 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 22:03:36 +00:00
ryan
538658c4de Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 21:27:42 +00:00
azaozz
92343666f3 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:50:04 +00:00
ryan
9b82395409 Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: http://svn.automattic.com/wordpress/trunk@18106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:33:45 +00:00
ryan
a0c3f4ce25 Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:30:29 +00:00
azaozz
a7189cbaa9 Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:08:41 +00:00
azaozz
40c95fc8f7 Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:01:29 +00:00
markjaquith
fb76d8852b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: http://svn.automattic.com/wordpress/trunk@18102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:31:42 +00:00
ryan
3d3fe65798 Decrement pending count after Approve and Reply. Props DH-Shredder. fixes #17380
git-svn-id: http://svn.automattic.com/wordpress/trunk@18100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:23:19 +00:00
azaozz
9972597f91 Widgets RTL fixes, props yoavf, fixes #16082
git-svn-id: http://svn.automattic.com/wordpress/trunk@18095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:29:10 +00:00
ryan
03602f19e6 url_encode file names in theme and plugin editor urls. Props kawauso. fixes #17038
git-svn-id: http://svn.automattic.com/wordpress/trunk@18094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:14:58 +00:00
ryan
44a218c639 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: http://svn.automattic.com/wordpress/trunk@18093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:03:41 +00:00
westi
1443193079 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 15:37:04 +00:00
westi
b64c0fb2f9 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: http://svn.automattic.com/wordpress/trunk@18090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:44:10 +00:00
ryan
9f677a0847 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:41:43 +00:00
westi
ea720f6a36 Make the css for the row status highlighting more specific so that it works regardless of the ordering of the CSS loading. Fixes #16827 props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 13:52:49 +00:00
ryan
3fc5956921 s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: http://svn.automattic.com/wordpress/trunk@18084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 19:58:36 +00:00
ryan
10334eff33 Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 16:08:46 +00:00
dd32
fc52dfeec4 Correct the logic for Taxonomy edit page actions. Props michaeltyson for initial patch. Fixes #17617
git-svn-id: http://svn.automattic.com/wordpress/trunk@18078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 05:05:42 +00:00
azaozz
c215525c41 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: http://svn.automattic.com/wordpress/trunk@18076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:53:18 +00:00
azaozz
e18aac6f90 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: http://svn.automattic.com/wordpress/trunk@18075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:22:09 +00:00
azaozz
ab43381c33 Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 14:12:08 +00:00
azaozz
7536a1107e Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 21:18:58 +00:00
azaozz
2d2f8d4c6f s/Colse/Close/, props nacin, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 05:07:32 +00:00
azaozz
9739cfea3c Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 02:04:52 +00:00
nacin
5a63a11c7c Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 19:29:32 +00:00
azaozz
b6fff6534a Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 02:30:04 +00:00
nacin
cbba3fe581 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:41:34 +00:00
ryan
eb825b2b40 Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: http://svn.automattic.com/wordpress/trunk@18041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:36:26 +00:00
ryan
e68292421d Fix notices. Props ocean90. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:46:40 +00:00
ryan
3462aab64e Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: http://svn.automattic.com/wordpress/trunk@18035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:06:42 +00:00
ryan
ae8f4a2a80 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:05:52 +00:00
azaozz
d5a2ea7d13 Remove wp-admin/js/list-table.js, not used anywhere and not listed in script-loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:06:24 +00:00
azaozz
65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
ryan
51fe428865 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@18026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:58:01 +00:00
azaozz
27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
azaozz
5d756ba5d2 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: http://svn.automattic.com/wordpress/trunk@18024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 16:49:01 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan
9aeffe1487 Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:11:03 +00:00
ryan
2e2807147c Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:08:19 +00:00
nacin
666e71d69b String swap. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 18:32:17 +00:00
westi
30f64bdbb5 Use context to tell the translators what to do and thereby remove a unused string.
Add a comment as to why we have translations after a return.
See #17532

git-svn-id: http://svn.automattic.com/wordpress/trunk@18005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 11:02:12 +00:00
nacin
02aad2f192 Add paragraph tags around the blocks of contributors. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:49:44 +00:00
nacin
d265a3a79d Prepare the Credits page to handle translators. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:33:33 +00:00
nacin
ab840f8074 Update the Credits page for changes in the API. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 00:08:51 +00:00
ryan
2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan
cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan
81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
ryan
117d081812 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:12 +00:00
ryan
0c93cb66be Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:18:58 +00:00
nacin
fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin
40b0b6c65e Add option_page_capability_$option_page filter. see #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:22 +00:00
nacin
e813941988 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:24:32 +00:00
azaozz
7815408b7a Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
nacin
c6e93b74ea s/add_css/_wp_credits_add_css/. props dimadin, see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 14:01:03 +00:00
azaozz
a34fe128c2 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: http://svn.automattic.com/wordpress/trunk@17979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 22:47:36 +00:00
nacin
69b3acb8db Remove non-functional vestigal code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 06:02:03 +00:00
nacin
1fdf0b9430 Add 'Add New' buttons to edit links, edit media, and edit user screens. props sbressler, fixes #17499.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 19:52:11 +00:00
nacin
b101aa6781 Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 17:43:19 +00:00
azaozz
33b0327924 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
azaozz
7ecc640949 FIx the position of Enter title here, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 15:34:37 +00:00
westi
a55c86ffbc Move the codex link into a seperate translation so you don't have to translate it if you have not got a version in your language and you only have to translate it once. Fixes #17480
git-svn-id: http://svn.automattic.com/wordpress/trunk@17967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:11:10 +00:00
azaozz
96c6667c5c Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +00:00
azaozz
af3ce311a0 More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 05:35:08 +00:00
azaozz
5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
markjaquith
188f57edfa Add New links when editing content. fixes #17499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 01:34:34 +00:00
nacin
6d8fa2f388 Allow Codex URLs to be translated. Don't offer wp.org/about/ URLs for translation. props zeo, xibe. fixes #17480.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:39:24 +00:00
nacin
9c7fce4ed5 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 18:11:48 +00:00
markjaquith
9f11444c89 Better CSS background color fallback for TinyMCE icons (for browsers without gradient support). props greuben. fixes #17469
git-svn-id: http://svn.automattic.com/wordpress/trunk@17956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:40:49 +00:00
markjaquith
33aba110ee Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:06:04 +00:00
markjaquith
bb8978972e Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
git-svn-id: http://svn.automattic.com/wordpress/trunk@17951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 16:44:21 +00:00
azaozz
d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz
24f315692d Fix width shortcuts in DFW, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 00:59:12 +00:00
nacin
dba8ade461 Fix inverse logic in [17946].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:36:58 +00:00
azaozz
dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +00:00
markjaquith
cb62ef2b58 Even better poka-yoke on Credits page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:14:08 +00:00
markjaquith
4eaf5b3ed9 Make sure we have an array on the Credits page. Handles situations where non-array data is sometimes cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 16:36:37 +00:00
azaozz
46c545cdba Remove links from the menu separators, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 06:19:00 +00:00
nacin
e46b1da6f4 Credits page HTML closing tag and alt fix, props Utkarsh. Link gravatars to profiles. fixes #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:58:40 +00:00
azaozz
c8f51203cf RTL styles, props yoavf, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:45:49 +00:00
azaozz
19c80ff93c Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 04:25:15 +00:00
azaozz
5869d175f6 Blue styles for DFW toolbar, props jorbin, fixes #17436
git-svn-id: http://svn.automattic.com/wordpress/trunk@17939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 03:58:27 +00:00
westi
e8ecf0f599 Use the correct cap for the export menu item. Fixes #17452
git-svn-id: http://svn.automattic.com/wordpress/trunk@17937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 10:44:42 +00:00
azaozz
3bb59dbc9c Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 06:17:44 +00:00
azaozz
3a9f1dcc5c Center admin menu icons when menu is folded, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 22:50:26 +00:00
azaozz
b42b310743 Refresh word count when switching editors in DFW.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 05:51:33 +00:00
koopersmith
8cae005972 Blue theme revisions. Migrate colors from nav-menu.css to colors-*.css. Props saracannon. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:57:24 +00:00
nacin
da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
nacin
57a5e26a27 Search Installed Plugins, Search Installed Themes. props garyc40, fixes #16543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:41:42 +00:00
westi
53ce9d6f50 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: http://svn.automattic.com/wordpress/trunk@17926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:56:59 +00:00
westi
65e341d0cb Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@17925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:50:20 +00:00
markjaquith
c379a72852 Blue admin theme updates for the new UI style. props saracannon. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 04:40:48 +00:00
azaozz
44cfe9d8b3 FIx static front page selector in Settings-Writing, props JDTrower duck_, fixes #17421
git-svn-id: http://svn.automattic.com/wordpress/trunk@17923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 00:43:58 +00:00
ryan
18335b5516 Update some network admin help text. Props dougwrites. fixes #16988
git-svn-id: http://svn.automattic.com/wordpress/trunk@17921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:25:38 +00:00
ryan
5316894390 Fix broken help link. Props SergeyBiryukov. fixes #17265
git-svn-id: http://svn.automattic.com/wordpress/trunk@17919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:08:09 +00:00
azaozz
799e614e68 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 06:27:49 +00:00
nacin
9ddadbd830 Use correct variable, see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 02:08:35 +00:00
nacin
ecc65d1f21 Show display names from wp.org profiles on the credits page. see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 01:46:08 +00:00
nacin
fe04318dc8 Add core contributors to credits page, first pass. see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 00:49:53 +00:00
azaozz
b1fe99c5ce jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@17907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 22:00:31 +00:00
nacin
bd7956b4f5 Update wp-logo.png version number. props zekeweeks, fixes #17402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 18:26:17 +00:00
markjaquith
096426deb9 Fix URL typo in freedoms.php. props duck_. see #17383
git-svn-id: http://svn.automattic.com/wordpress/trunk@17904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 08:10:59 +00:00
markjaquith
0e57bd3a37 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: http://svn.automattic.com/wordpress/trunk@17900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:09:42 +00:00
nacin
8abc94a139 Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:04:47 +00:00
koopersmith
b1a2d38dc8 Prevent shadow from showing in dfw visual editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:51:33 +00:00
nacin
351b6ce13e Move output buffering out of a loop, collapsing it into one buffer. props mitchoyoshitaka, fixes #17352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:50:53 +00:00
koopersmith
a5e724c025 Fix padding on 'save draft' button. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:48:37 +00:00
nacin
815d4fd975 Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:45:02 +00:00
nacin
54f42be38d Switch to 'Freedoms'. see #17383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:17:28 +00:00
koopersmith
e391c3fc2e Restore lines in publish box, speed up misc-action edit animations. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:06:47 +00:00
koopersmith
d22cbc0ed4 Improve publish box styles. Props chexee. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 04:08:00 +00:00
nacin
5bd0023422 Document img_src_ssl in wp_check_browser_version(), see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:45:25 +00:00
azaozz
8fe1d44938 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:33:27 +00:00
nacin
e324f8dd88 Add clear to custom background color field. props lancewillett for initial patch. fixes #15755.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:31:01 +00:00
koopersmith
1585387c59 Style upload form on custom header/background pages consistently. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:16:52 +00:00
azaozz
de88c22a6c Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:12:41 +00:00
koopersmith
ed94bd035b Widgets style refresh. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 02:43:06 +00:00
koopersmith
e3e2cb9710 Menu style updates. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 02:03:02 +00:00
azaozz
beae1e56aa Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:53:51 +00:00
nacin
d130158fa5 Make the footer text code a bit easier to read. see #17383, #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:45:42 +00:00
nacin
2e98bd9563 s/Your Rights/Rights/ in the footer. see #17383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:41:34 +00:00
nacin
aa12c37960 Credits page. see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:36:05 +00:00
koopersmith
2438287327 Prevent content from colliding with footer. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:32:36 +00:00
nacin
7f13fe523d Add 'Your Rights' screen to the admin. props matt, jane, ryan, markjaquith, westi. see #17383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:10:54 +00:00
koopersmith
83d86edc1d Tighten list table styles. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:57:25 +00:00
koopersmith
4a33d56ab4 Remove unnecessary CSS important declarations from gradient stacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:34:02 +00:00
koopersmith
2207bfe689 Admin Header 2: The Return of 32px Icons. Props, iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:22:22 +00:00
koopersmith
973d4901a1 New gradient menu shadow. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 23:18:15 +00:00
koopersmith
342aa25c3e Widgets: nibble the corners and use new arrows. Props chexee. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 22:37:48 +00:00
koopersmith
fb65cc1f7f Editor toolbar/textarea styling. Props chexee. see #17324, #15986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 22:28:29 +00:00
markjaquith
4584d39d5a Add missing Press This image, CSS background tweak. props Chexee. fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 21:44:58 +00:00
koopersmith
7667a1ca2f Menu tweaks. Bold top level items, less padding on submenu items. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 21:26:27 +00:00
koopersmith
29ca82dba7 Fix footer whitespace/clearing issues, support two-line footer for low widths. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 20:27:59 +00:00
markjaquith
301be4eeef Rename submenus to not clash with top level menus. Introduce all_items CPT string, defaulting to menu_name. fixes #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@17864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 20:09:28 +00:00
koopersmith
eec97f87c8 Style tweaks: remove accidental border, improve metabox arrow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 19:04:28 +00:00
koopersmith
a0f0a70d15 Gradients for everyone! Provide additional browser prefixes (including old webkit syntax) and clean up syntax errors. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 18:48:26 +00:00
koopersmith
8ed8b8751c Add new metabox styles. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 18:15:16 +00:00
westi
f99e85d728 Switch this to be inside the else to match previous functionality more closely.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:05:35 +00:00
koopersmith
c90a7a674d Embiggen fonts. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:04:40 +00:00
markjaquith
c1d58d7b75 change the padding on .wrap h2 by one pixel to make it align with the icon better. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:01:56 +00:00
westi
374cba6192 Add a filter in postbox_classes on the classes being returned so you can add ones to your metabox easily if you want. See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 16:57:00 +00:00
azaozz
e96949c9bd DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 09:18:32 +00:00
koopersmith
1109c6b919 Increase size of page title. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 08:56:49 +00:00
koopersmith
8cac666407 Font-size tweaks. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 08:42:16 +00:00
koopersmith
da5dae46ce Improve 'howdy' dropdown styles, add 'your profile' item and no-js. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 07:05:47 +00:00
azaozz
55fcecdba8 DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 23:21:34 +00:00
koopersmith
33a0cf3286 Trigger 'howdy' dropdown by click instead of hover. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 20:36:12 +00:00
markjaquith
d822248130 Lighten the big menu separators and make them 1px taller. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 19:58:04 +00:00
ryan
e5ec44416a Remove favorite_actions() from h2s. Restore Add New buttons. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 19:18:16 +00:00
koopersmith
6e356e3b0a Increase size of blog title in admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 00:19:45 +00:00
koopersmith
b4f8a1d0c4 Improve 'howdy user' dropdown trigger, delay, and animation. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 17:48:14 +00:00
azaozz
d73acccc10 Lighter background for the TinyMCE buttons, props chexee, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:36:17 +00:00
azaozz
20528f3463 Add the new grey TinyMCE icons, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:20:50 +00:00
azaozz
9a12a7d908 Close >> Exit fullscreen, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 15:37:28 +00:00
markjaquith
a51dd95511 More mouse-nibbled corners. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 10:52:04 +00:00
azaozz
a2fcf40bd8 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 06:32:44 +00:00
azaozz
8267ff9aae DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 02:01:53 +00:00
markjaquith
69ea469e12 Revert [17835] temporarily, as it accidentally reverted something else.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 18:19:07 +00:00
markjaquith
a5b8993dd8 Some more mouse-nibbled corners. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 17:46:29 +00:00
koopersmith
42c4d3126f Increase clickable area within favorite actions button. Props duck_. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 08:47:54 +00:00
koopersmith
1723d4eeea Reduce admin h2 (page title) size. Use smaller icons. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 08:39:28 +00:00
azaozz
b3a5a78607 Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 04:56:00 +00:00
markjaquith
87f06616a7 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 03:26:23 +00:00
koopersmith
700db493d8 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:42:37 +00:00
koopersmith
7a16085b8d Add user actions dropdown to admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:06:24 +00:00
ryan
edfc0fce3d Add context for widget Deactivate string. Props ocean90. fixes #17295
git-svn-id: http://svn.automattic.com/wordpress/trunk@17824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 20:38:49 +00:00
ryan
c39f85038e Don't fetch update info our show update bubbles if the user does not have install caps. Props nacin. fixes #16532
git-svn-id: http://svn.automattic.com/wordpress/trunk@17822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:48:13 +00:00
markjaquith
18220ff3a4 Compromise between a mix of razor-sharp corners and gratuitously over-rounded "safety corners" by standardizing around 3px border-radius (mouse-nibbled corners). see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:00:53 +00:00
koopersmith
a5151a2939 Improve dashboard styles and bump. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 06:46:01 +00:00
koopersmith
75d0dad1ef Updated list table styles. First pass, see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 04:27:45 +00:00
koopersmith
7e14a62035 Improve collapsed menu styling. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 22:13:03 +00:00
ryan
9d63ef130f Custom header admin UI fixes. Props lancewillett. fixes #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 20:15:19 +00:00
koopersmith
892a2a0df4 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 19:51:32 +00:00
dd32
dad316dccc * Allow Pagination for Must-Use/Dropin plugins
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
 * Move help text into WP_Plugins_List_Table
See #17327

git-svn-id: http://svn.automattic.com/wordpress/trunk@17806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 05:24:15 +00:00
markjaquith
8d24de2171 Style tweaks for the "Search Engines Blocked" notice. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:22:44 +00:00
markjaquith
8d87f5dcb4 Big UI style update. props koopersmith. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:15:05 +00:00
ryan
5161c47792 Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283
git-svn-id: http://svn.automattic.com/wordpress/trunk@17799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:49:25 +00:00
ryan
a7909cf4b6 Always show # items text. Props johnbillion. fixes #17260
git-svn-id: http://svn.automattic.com/wordpress/trunk@17798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:45:41 +00:00
ryan
26e2d8b986 Change View All Buttons into plain links. Show full set of status links in recent comments box. Drop Change Theme button.Props ryanimel. fixes #17282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:18:20 +00:00
ryan
69dfdd4a36 Show hierarchy for pages and taxonomies in nav menus admin. Props greuben. fixes #17029
git-svn-id: http://svn.automattic.com/wordpress/trunk@17796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:59:40 +00:00
ryan
d55f5b35af Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
git-svn-id: http://svn.automattic.com/wordpress/trunk@17793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:28:31 +00:00
azaozz
cf8c91ce03 Fix action handling code, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:28:58 +00:00
azaozz
1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +00:00
azaozz
2081fd0504 Cleanup in dashboard.js, props scribu, fixes 17292
git-svn-id: http://svn.automattic.com/wordpress/trunk@17784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 23:31:34 +00:00
azaozz
298bfc2910 Don't trigger "Exception thrown and not caught" error in jQuery 1.5.2 in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@17783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 19:42:31 +00:00
markjaquith
8464d7203d Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 17:24:06 +00:00
azaozz
9e4bee6c26 Add quotes to [value="some"] selectors, see #16426
git-svn-id: http://svn.automattic.com/wordpress/trunk@17777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 02:15:08 +00:00
ryan
a53b3f3bb9 Remove h3s. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 21:52:01 +00:00
ryan
04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
ryan
e0ffff9fb5 Fix hiding of header image. Fix radio selection when falling back to randomized default headers. Props lancewillett, kawauso. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 19:45:30 +00:00
nacin
b59bcc8720 Remove unused variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 18:21:38 +00:00
azaozz
b065fc6c3d Updated styles for the Visual editor buttons, props chexee, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 16:08:16 +00:00
nacin
5616ac7fb2 Remove space from string. props pavelevap, fixes #17274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:53:43 +00:00
nacin
124bb0289b Revert unrelated code from [17765].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:46:27 +00:00
nacin
52e6f54063 Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:44:43 +00:00
nacin
90928c0251 Don't load dashboard widgets via XHR when the feed cache is hot. What a difference it makes, too. Reverts part of [11613], fixes #16927.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 06:54:03 +00:00
nacin
567f0c21ec Use proper placeholders. No need to exit after wp_die(). fixes #17121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 01:51:53 +00:00
ryan
06c03f44f0 Show access denied page and list a user's sites if they visit an admin they don't have permissions for rather than redirecting to the users' primary blog. fixes #17121
git-svn-id: http://svn.automattic.com/wordpress/trunk@17762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:43:48 +00:00
ryan
da4c3a96ad Set meta when upload matches dimensions. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:14:08 +00:00
ryan
67d53316e0 Allow selecting previously uploader headers and randomly serving previously uploaded or default headers. Props lancewillett. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:02:16 +00:00
nacin
9fc2cddeea Define border-radius with vendor properties. props hebbet, see #17226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:51:12 +00:00
westi
80f4e83a8c Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre


git-svn-id: http://svn.automattic.com/wordpress/trunk@17749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:25:36 +00:00
nacin
9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
nacin
57975112e7 Add line height to QuickPress media buttons. Prevents jitters as the images load. see #16927.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:44:41 +00:00
nacin
8b5122b411 Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:02:24 +00:00
dd32
c85ae9cc94 Include TwentyEleven in the 3.2 upgrade process. Props markmcwilliams. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:08:39 +00:00
nacin
3b25728930 Only show the sticky posts checkbox when edit_others_posts. Doesn't work without it. props solarissmoke, linuxologos, fixes #16947.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 11:27:08 +00:00
ryan
78e15233b2 Validate post status against capabilities in press this. Props nacin. for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 17:15:44 +00:00
azaozz
d01d27abc4 Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 07:20:56 +00:00
azaozz
a5f2b7d50c DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 01:19:26 +00:00
azaozz
57134c64b7 Fix image insertion in IE, fixes #17237
git-svn-id: http://svn.automattic.com/wordpress/trunk@17701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 22:49:22 +00:00
ryan
a5361b3b24 Export commentmeta. Props duck_. see #12871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 19:25:45 +00:00
azaozz
c54adb08df Fix padding in DFW mode, add the new wpfullscreen plugin in wp-tinymce.js.gz, fix notices in press-this see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 14:27:11 +00:00
azaozz
2ec8740e9b Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:28:23 +00:00
azaozz
258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
dd32
bed23730dc Handle zip error's in PclZip better. PclZip::extract() returns an array on success, 0 on failure. Fixes #17224
git-svn-id: http://svn.automattic.com/wordpress/trunk@17693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 14:30:44 +00:00
dd32
26cc29597b Ensure all theme searching is done case-insensitive. Props solarissmoke for initial path. Fixes #17059
git-svn-id: http://svn.automattic.com/wordpress/trunk@17691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 13:01:52 +00:00
nacin
5f29ef7e7b Add the filter in display_rows, rather than _display_rows.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:33:53 +00:00
nacin
26989db5d4 Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:20:49 +00:00
ryan
8515d203d3 Singular and plural strings for bulk user delete. Props nacin. fixes #16360
git-svn-id: http://svn.automattic.com/wordpress/trunk@17673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 16:48:12 +00:00
ryan
834279201f Allow plugins to control user and network admin canonical redirects. fixes #17196
git-svn-id: http://svn.automattic.com/wordpress/trunk@17668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 20:19:50 +00:00
markjaquith
cefee535db Do not allow the Press This links to be click-activated when they are meant to be dragged. fixes #17192. see #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 17:43:01 +00:00
markjaquith
b08340a572 Press This HTML fix. Still waiting on the icon image. props andrewryno. see #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 17:38:34 +00:00
nacin
efce9e6953 This folder is back now under new management. Quit killing it on auto updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 16:55:48 +00:00
azaozz
b3bb537735 Press This bookmarklet redesign, props chexee, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 07:24:11 +00:00
dd32
f4ccdcc188 Do not delete local package files in WP_Upgrader. Props joelhardi. Fixes #14963
git-svn-id: http://svn.automattic.com/wordpress/trunk@17660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-19 05:54:01 +00:00
ryan
976fbf8505 Back to Authors and Users should say Back to Users. Props SergeyBiryukov. fixes #16054
git-svn-id: http://svn.automattic.com/wordpress/trunk@17657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:53:15 +00:00
ryan
5fc53472ce Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
git-svn-id: http://svn.automattic.com/wordpress/trunk@17656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:51:54 +00:00
azaozz
e4bf0a4e78 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: http://svn.automattic.com/wordpress/trunk@17640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-16 02:37:44 +00:00
azaozz
03c3c94d1e Remove redundant IE restore selection calls for TinyMCE, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-15 04:20:12 +00:00
ryan
8f8b8d16a7 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: http://svn.automattic.com/wordpress/trunk@17637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:30:02 +00:00
nacin
1e96186c14 Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 11:50:27 +00:00
nacin
1cdd5ad41a Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-12 09:21:13 +00:00
ryan
64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz
24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
azaozz
307e9a0753 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: http://svn.automattic.com/wordpress/trunk@17624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-08 20:35:51 +00:00
azaozz
9ac90e3262 Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: http://svn.automattic.com/wordpress/trunk@17623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 18:45:22 +00:00
markjaquith
b1f3de70e7 Restore compat.php includes. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:47:04 +00:00
dd32
efa709d1b5 Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
git-svn-id: http://svn.automattic.com/wordpress/trunk@17617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:07:56 +00:00
nacin
16e649f95f Remove type attribute from textarea. props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:30:08 +00:00
dd32
ba0153096a Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 00:42:07 +00:00
ryan
91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
dd32
7c6cf52194 Add missing closing fieldset tag. Props bluntelk. Fixes #17042 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-04 08:04:41 +00:00
dd32
9081c7636c Set the mb_string internal encoding to ISO-8859-1 whilst uncompressing archives using PclZip. Fixes 'PCLZIP_ERR_BAD_FORMAT (-10) : Invalid block size' errors on systems utilising mbstring.func_overload. Fixes #15789
git-svn-id: http://svn.automattic.com/wordpress/trunk@17592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 12:32:06 +00:00
dd32
65db854b9f Remove debug cruft from [17590]. See #14182
git-svn-id: http://svn.automattic.com/wordpress/trunk@17591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:55:27 +00:00
dd32
479e64c170 When upgrading plugins|themes, if the new destination folder is different from the previous folder, delete the old folder upon upgrade. Fixes #14182
git-svn-id: http://svn.automattic.com/wordpress/trunk@17590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 11:54:07 +00:00
dd32
01c50614c9 Allow plugins to hook into /wp-admin/update-core.php. Props ampt. Fixes #15221
git-svn-id: http://svn.automattic.com/wordpress/trunk@17589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 09:41:19 +00:00
dd32
6000019f89 Hide update bubble counts for users who can't perform the update. Props garyc40 for initial patch. Fixes #14447
git-svn-id: http://svn.automattic.com/wordpress/trunk@17588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 08:59:01 +00:00
azaozz
ade138d7ac Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: http://svn.automattic.com/wordpress/trunk@17587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 20:40:16 +00:00
ryan
c1a6c13f3a esc_url_raw() when doing urlencode()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:35:38 +00:00
ryan
05f63a579b s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:29:06 +00:00
dd32
ca26b494da @ignore for _copy_dir(). Props duck_. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 10:40:55 +00:00
dd32
dfaa85ee9a Back-compat for core upgrades with pre-3.2. Utilises a temporary _copy_dir() function which can be removed in 3.3-dev to bring immediate wp-content relief to the 3.1-3.2 upgrades. See #14484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:50:01 +00:00
dd32
dd3c9a5195 Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:17:27 +00:00
dd32
e16755db0d Back-compat for upgrades with WP_LANG_DIR. See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 09:13:50 +00:00
dd32
4a7cdbc0d7 Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:32:58 +00:00
dd32
5b12ecb83d Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
git-svn-id: http://svn.automattic.com/wordpress/trunk@17576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 13:28:36 +00:00
nacin
51b3f2faf2 Remove cryptic bitwise check. Todo, CPT/supports checks. see #17005.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 06:33:20 +00:00
ryan
924f783fda Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:30:59 +00:00
nacin
f88e2edae0 Bump update-core and readme for 3.2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:14:46 +00:00
azaozz
62f2f81ad9 Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:12:32 +00:00
dd32
00dc7a57d6 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 02:42:20 +00:00
nacin
adcc961d69 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:57:12 +00:00
nacin
28f5f2357c Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:47:45 +00:00
nacin
8d7df99551 Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:40:52 +00:00
dd32
ebf169b350 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:35:41 +00:00
dd32
a83a2842ea Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: http://svn.automattic.com/wordpress/trunk@17525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 00:04:15 +00:00
markjaquith
d36a6d3d6c Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: http://svn.automattic.com/wordpress/trunk@17523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-21 18:30:56 +00:00
azaozz
78c18602c6 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: http://svn.automattic.com/wordpress/trunk@17522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-17 22:01:40 +00:00
ryan
3b30ea65f5 Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:56:12 +00:00
ryan
30462d25ca Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 21:54:05 +00:00
nacin
68322f81b5 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 18:33:55 +00:00
nacin
c6edeffa66 Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 10:12:38 +00:00
nacin
1445d78cf0 Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 04:24:20 +00:00
nacin
30bf87b24d Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 18:57:09 +00:00
ryan
400dc5312f Don't allow changing the post type. Props nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:06 +00:00
ryan
65702d0ad1 Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 03:43:47 +00:00
nacin
7d7922ba19 s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-14 22:57:18 +00:00
markjaquith
4dbc1e1549 Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-13 14:44:16 +00:00
ryan
19afce5e23 Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:37:26 +00:00
ryan
f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
ryan
ba47c80ef7 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:26 +00:00
markjaquith
3dabc4a39e Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: http://svn.automattic.com/wordpress/trunk@17415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:58:41 +00:00
markjaquith
dff3130153 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:17 +00:00
ryan
322898f150 Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:05 +00:00
ryan
687c69d009 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:26:46 +00:00
ryan
3862c4c34c Add cap and type checks to media item fetch. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:22:53 +00:00
ryan
5385398e76 Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:00:21 +00:00
markjaquith
4d39c5894a Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 07:23:05 +00:00
nacin
95ef90de64 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 12:18:57 +00:00
nacin
277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
ryan
f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
westi
9400a59207 Don't redirect continually on empty search results pages. Fixes #16357 props garyc40
git-svn-id: http://svn.automattic.com/wordpress/trunk@17366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-26 09:56:17 +00:00
ryan
b2bf441bb1 Fix theme filtering when no JS. Props dd32. fixes #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@17364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:00:42 +00:00
ryan
011cc6550e Add name to reassign user dropdown. Props nacin. fixes #16361
git-svn-id: http://svn.automattic.com/wordpress/trunk@17363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:36:50 +00:00
ryan
75641ee14a Fix redirects for trashed post bulk ops. Props nacin, SergeyBiryukov. fixes #16355
git-svn-id: http://svn.automattic.com/wordpress/trunk@17362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:30:24 +00:00
ryan
b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
ryan
4ffa4e4f4e Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@17360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 17:39:10 +00:00
westi
5268a0e7d8 Fix the bulk actions on Network > Sites and Network > Users. Fixes #16364
git-svn-id: http://svn.automattic.com/wordpress/trunk@17359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 14:34:41 +00:00
markjaquith
7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
nacin
34358d9a42 Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:36:54 +00:00
nacin
45828057ed doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:31:35 +00:00
nacin
a1d3c1c62a Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:27:04 +00:00
nacin
19efd03fe8 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:25:32 +00:00
ryan
498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan
e9d62d1f01 From post back to get. Props SergeyBiryukov. fixes #16335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 01:31:21 +00:00
markjaquith
47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith
acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin
385ac2ef74 Use get_column_count() instead of manual logic. props scribu, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 07:39:21 +00:00
nacin
8dc4329246 Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:19:34 +00:00
nacin
7061e7efe0 Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:46 +00:00
nacin
cda05de396 Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:01 +00:00
nacin
ee1a4eba16 Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:08:24 +00:00
nacin
1dcd3afe46 Compress and bump, see #16308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 20:59:53 +00:00
nacin
0fca0b9807 Remove duplicated CSS section. props markmcwilliams, fixes #16308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 20:55:37 +00:00
nacin
495c7f1782 Add the load-edit-link-categories.php hook for back compat. fixes #16307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 03:05:22 +00:00
nacin
405e7dfa4f Correct user admin redirection checks, and deny access to the user admin when not running multisite. fixes #16297.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 03:04:20 +00:00
westi
3c278d6421 Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:49:46 +00:00
nacin
d4dd0fe211 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 09:44:17 +00:00
markjaquith
fb6bed81c7 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 17:32:35 +00:00
nacin
0fff0819e0 s/get_list_table/_get_list_table/ in admin-ajax. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 11:06:22 +00:00
markjaquith
df3882ab23 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: http://svn.automattic.com/wordpress/trunk@17324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-17 23:36:23 +00:00
nacin
75b43ead64 Set base if we return to network step 2. props scribu, fixes #15620.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:50:45 +00:00
nacin
37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin
94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin
a099ac06a7 Remove assignment that is later overridden. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:47:21 +00:00
markjaquith
e5a88166a9 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: http://svn.automattic.com/wordpress/trunk@17318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:38:44 +00:00
nacin
b563e11627 Pass id to the site-users and site-themes search form. props ocean90, fixes #16246.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 21:25:33 +00:00
westi
e13ae352eb Switch to REQUEST so the search always shows up when no-js not just when you have an old GET request in the url too. Fixes #14927 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@17311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 16:09:34 +00:00
nacin
49887cdd9a Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 07:26:45 +00:00
westi
035b3fb22a Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 03:40:52 +00:00
nacin
85ba6178b0 Broken Themes should be in an h3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 02:17:42 +00:00
westi
eb9c28f45a Switch back to GET from REQUEST for these so the non js searches work again. See #14927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 02:03:46 +00:00
ryan
d0e923486b Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: http://svn.automattic.com/wordpress/trunk@17303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:35:29 +00:00
nacin
dcbe9ba65d Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 07:20:13 +00:00
nacin
7a38616d0f Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 01:02:15 +00:00
westi
93465db918 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:19:51 +00:00
nacin
35066d7770 Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:56:10 +00:00
nacin
b2d0685b2d Old files removal for 3.1, against r17285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:19:05 +00:00
nacin
cf96892c2e Revert unrelated cruft in [17288]. see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:00:30 +00:00
nacin
c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
nacin
53f10213b6 Don't use deprecated arguments. props PeteMall, see #15605.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 08:39:26 +00:00
markjaquith
4920e7a54f Recompress some JS scripts that were done without YUI munging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 08:04:58 +00:00
markjaquith
05c334b51d script compress and bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:17:22 +00:00
markjaquith
bf473f3545 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:14:12 +00:00
nacin
519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
nacin
d1c2b06a7e Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:21:30 +00:00
nacin
9c1f2901cd Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:50:35 +00:00
nacin
68c994d72b Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:34:18 +00:00
nacin
c1c79447a3 Move wp_redirect calls to the end of the switch in users.php. Fix unrelated bug where the user's cap should be check, rather than their role's cap. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:22:53 +00:00
markjaquith
8e2683d127 Add "paged param is greater than total pages" redirects to a few more screens. props greuben. fixes #16187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:03:38 +00:00
nacin
5787bf3e0e #blamenacin, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 23:22:03 +00:00
nacin
99171772c8 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:24:34 +00:00
nacin
7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
nacin
f1b634cfbe Document abstract methods in WP_List_Table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 08:05:23 +00:00
nacin
3a59f70f18 Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 07:12:59 +00:00
nacin
f9cdc3156d Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:18:23 +00:00
nacin
f5cdbd1ded Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:42:22 +00:00
nacin
b8c4418d50 Only rely on is_super_admin for is_multisite when generating menu code. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 21:00:23 +00:00
ryan
8dbe915535 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:15:25 +00:00
nacin
6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
nacin
1d8f93ca24 Set the post format before publishing the post in Press This. props Otto42, fixes #16192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:58:58 +00:00
markjaquith
6031c43ecd Minify and bump list-table.js see #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:40:31 +00:00
markjaquith
52239c3f13 Simulate browser behavior for selecting first dropdown element in non-multiselect, if no elements are selected by default. props koopersmith. fixes #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:37:43 +00:00
markjaquith
5e71ad01fd Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@17250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:23 +00:00
nacin
727600ac64 RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:17:53 +00:00
nacin
caa9770b12 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 08:25:31 +00:00
markjaquith
39e64f8625 [17240] rendered the theme-change rules flush introduced in [16705] unnecessary.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 23:44:12 +00:00
ryan
536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00
ryan
e7890765b7 Fix post theme delete redirect. Props greuben. see #16117
git-svn-id: http://svn.automattic.com/wordpress/trunk@17238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 19:58:25 +00:00
ryan
9b88439cb6 Fix net admin theme deletion over FTP. see #16117
git-svn-id: http://svn.automattic.com/wordpress/trunk@17237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 19:01:34 +00:00
nacin
1b1997583b Err, oops. Put the class on the table row. props yoast, see [17234], see #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:47:39 +00:00
nacin
d2c179f49e Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:39:18 +00:00
ryan
5d9061c660 Add context to string. Props nbachiyski. fixes #16130
git-svn-id: http://svn.automattic.com/wordpress/trunk@17233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:23:52 +00:00
ryan
3baba9fd17 Use edit_comment cap. Props casben79. fixes #16129
git-svn-id: http://svn.automattic.com/wordpress/trunk@17232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:17:05 +00:00
westi
c0828c77d0 Ensure that we apply the absolute integer casting result to the variable we are going to use. See #16119
git-svn-id: http://svn.automattic.com/wordpress/trunk@17230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 08:51:45 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
nacin
02d663acb4 More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 00:57:24 +00:00
ryan
bfee572698 Avoid notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 18:18:31 +00:00
ryan
694e3e9bf3 Don't show button in placeholder row. Props SergeyBiryukov. fixes #16095
git-svn-id: http://svn.automattic.com/wordpress/trunk@17222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 16:27:39 +00:00
nacin
a4306e1f57 br tags must self close. props blamescribu. see #16095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 03:52:36 +00:00
nacin
41423e2dee Use correct variable. props SergeyBiryukov, TobiasBg, fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 19:09:20 +00:00
nacin
b61a5b0526 Update indicator for the Network Admin link. fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 08:36:06 +00:00
nacin
82dd4d569c Quick RTL CSS fix in widgets admin. see #16082, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:29:22 +00:00
nacin
679051e9b0 Alter admin_notices usage in admin/includes/ms.php due to changes in the action with the network/user admin. props PeteMall, see #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:26:57 +00:00
ryan
55d6d8af12 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
ryan
ea7daa92f9 RTL: Space between buttons. Props SergeyBiryukov. fixes #16084
git-svn-id: http://svn.automattic.com/wordpress/trunk@17209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:17:03 +00:00
ryan
a4c315bbe5 RTL: Custom background tweak. Props SergeyBiryukov, rasheed
git-svn-id: http://svn.automattic.com/wordpress/trunk@17208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:11:11 +00:00
ryan
3083d3c292 RTL: Space between texas and avatar. Props SergeyBiryukov, rasheed. fixes #16081
git-svn-id: http://svn.automattic.com/wordpress/trunk@17207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:09:36 +00:00
nacin
9602072aca Use correct variables. props garyc40, see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 10:55:10 +00:00
nacin
1be2df5578 Recommit [15986]. see #15226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 08:34:11 +00:00
nacin
89b6b2a050 Compress and bump scripts for [17202]. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:20:57 +00:00
nacin
e8d5e62d1b Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:19:26 +00:00
nacin
f15b1ad05d Allow us to return from whence we came. Specify wp_http_referer for user-edit in the network admin, as we may come from network/users or site-users. props PeteMall, SergeyBiryukov, fixes #16053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:30:46 +00:00
nacin
53d0af84b0 Don't esc_html the default error string. props SergeyBiryukov, fixes #16058.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 22:14:42 +00:00
ryan
a6e8ff128f Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 01:52:03 +00:00
nacin
48c84b91de Remove a random nacin typo introduced in 3.0. see [12976], #16055.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:58:02 +00:00
nacin
1322474b22 div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:56:38 +00:00
nacin
fea73f0bc5 Restore original argument order for the taxonomy quick_edit_custom_box hook. fixes #15285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 16:34:08 +00:00
nacin
a18f529d6e Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 04:49:27 +00:00
nacin
96aa2460d9 Use the blue background color around the blue gradient. see #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 03:11:59 +00:00
ryan
b6346ae5cd Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 23:38:21 +00:00
nacin
138c0ff862 Typo fix. props Kawauso.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:58:44 +00:00
ryan
ade413d098 Don't deactivate a plugin that is both network activated and activated on the main site after editing. Props SergeyBiryukov. fixes #16011
git-svn-id: http://svn.automattic.com/wordpress/trunk@17183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 19:02:14 +00:00
ryan
2df3d85f4e Fix registered and path column sorting. Props garyc40. fixes #16034
git-svn-id: http://svn.automattic.com/wordpress/trunk@17180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 18:06:33 +00:00
markjaquith
e90491bdec Fix some RTL CSS issues. props garyc40. props ocean90. fixes #16017
git-svn-id: http://svn.automattic.com/wordpress/trunk@17179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:26:25 +00:00
markjaquith
52eb3e668c s/Network Options/Settings/. props wpmuguru. Not a string change (already existed). fixes #16027
git-svn-id: http://svn.automattic.com/wordpress/trunk@17178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:14:41 +00:00
markjaquith
ff92f29be4 urlencode() theme name when creating theme edit link. props tomthewebmaster. fixes #16028
git-svn-id: http://svn.automattic.com/wordpress/trunk@17177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:09:01 +00:00
markjaquith
cb018d4e27 Reinstitute Intall Now AYS that was accidentally disabled. props ocean90. fixes #16032
git-svn-id: http://svn.automattic.com/wordpress/trunk@17176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:04:07 +00:00
westi
7b0389984e Ensure the Parent menu is hilighted correctly when Custom Post Types are shown under an existing top level menu. Fixes #16015 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 16:25:22 +00:00
ryan
9b3c2a5db3 Hard limit to 10 comments on edit post screen. Props greuben. fixes #15998
git-svn-id: http://svn.automattic.com/wordpress/trunk@17168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 15:58:46 +00:00
nacin
1e5dc9a372 RTL fixes for custom header page. props SergeyBiryukov, fixes #16018.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 14:40:44 +00:00
nacin
6a877c5713 RTL fixes for sortable list headings. props RanYanivHartstein, fixes #16008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 14:32:22 +00:00
nacin
a92b6663aa Move the admin bar profile preferences to a hook. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 19:37:11 +00:00
ryan
0630489d88 Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
git-svn-id: http://svn.automattic.com/wordpress/trunk@17160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 19:34:31 +00:00
ryan
226e983063 Link Links columns to link manager. Props nacin. fixes #15994
git-svn-id: http://svn.automattic.com/wordpress/trunk@17159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-27 16:57:19 +00:00
ryan
b9187228d2 Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: http://svn.automattic.com/wordpress/trunk@17156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:06:15 +00:00
ryan
9433827b1c RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: http://svn.automattic.com/wordpress/trunk@17153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:54:52 +00:00
ryan
313d646287 RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: http://svn.automattic.com/wordpress/trunk@17152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:54:42 +00:00
ryan
964e5e46ec Give search submit buttons a unique ID. Props dd32. fixes #15979
git-svn-id: http://svn.automattic.com/wordpress/trunk@17151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:49:51 +00:00
nacin
10dfd2b856 Add files missing in [17149]. see #15984.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 06:36:06 +00:00
nacin
434087c311 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 06:31:46 +00:00
nacin
b1c557fa4b D'oh. Use the proper URL to the multisite support forum. see #15880.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 19:21:00 +00:00
nacin
8011db1107 Revert to esc_html when escaping the textarea for nav menu item description. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 18:42:59 +00:00
nacin
9009245db5 Tag textareas escaped earlier with textarea_escaped. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 17:58:01 +00:00
nacin
a0313cde8c Delay wp_tiny_mce_preload_dialogs to the footer, as occurs in admin-header. props ocean90, fixes #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 15:03:35 +00:00
nacin
6ca0be1c1e RTL for the new style pagination links. fixes #15974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 13:48:13 +00:00
nacin
291e6c8038 Remove redundancy in these arguments. props PeteMall, fixes #15920.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 13:44:03 +00:00
westi
d12cf5f1b2 Improved messaging for theme enabled/disabled on a per-site bases. Fixes #15920 props PeteMall
git-svn-id: http://svn.automattic.com/wordpress/trunk@17137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 08:19:29 +00:00
westi
faa07b6636 Nonce checks for site-users. See #15969 props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 22:37:51 +00:00
ryan
9e7327963f nonce checks for site-themes. Props PeteMall. see #15969
git-svn-id: http://svn.automattic.com/wordpress/trunk@17134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:59:58 +00:00
ryan
36170f172d Clear messages when searching, sorting, paginating. Props scribu. fixes #15973
git-svn-id: http://svn.automattic.com/wordpress/trunk@17132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:45:59 +00:00
nacin
64c6c96b14 Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:43:01 +00:00
ryan
625a229313 MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:41:36 +00:00
nacin
b0be8cd9f4 Validation fixes. props ocean90, fixes #15287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 14:19:41 +00:00
nacin
f80939fdc2 Prevent notices in the allblogs and allusers branches. props SergeyBiryukov, see #15920.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 19:45:19 +00:00
nacin
79b1cc7492 Remove this check in favor of the one added in [17126]. see #15969.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 19:40:32 +00:00
nacin
c7677394b7 bulk-themes nonce for network/themes.php deletion. props PeteMall, see #15969.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 18:53:44 +00:00
ryan
476e468faf Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:21:29 +00:00
ryan
7d88a90a22 nonce checks for ms themes. see #15969
git-svn-id: http://svn.automattic.com/wordpress/trunk@17122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 16:20:36 +00:00
ryan
602c7e4762 Check bulk-themes nonce before bulk delete. fixes #15922
git-svn-id: http://svn.automattic.com/wordpress/trunk@17121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:56:32 +00:00
westi
56584f6801 Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:41:05 +00:00
ryan
ad52588e82 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@17117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:44:51 +00:00
ryan
2b151f1cdf Remove unnecessary nowraps. Props scribu. fixes #15834
git-svn-id: http://svn.automattic.com/wordpress/trunk@17116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:38:24 +00:00
ryan
41476a07ea Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
git-svn-id: http://svn.automattic.com/wordpress/trunk@17115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:34:14 +00:00
nacin
4c955292f9 Restore an exit we need. props duck_, fixes #15518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 23:00:53 +00:00
ryan
edc2f694ad Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
ryan
ec28e5ddb6 Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:01:15 +00:00
ryan
1fe263e46c Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: http://svn.automattic.com/wordpress/trunk@17108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 17:38:22 +00:00
nacin
58af295c54 Use a separate variable to fix plugin deletion. props phill_brown, fixes #15940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 23:18:10 +00:00
markjaquith
d22aac01b6 Remove overly broad CSS rule. fixes #15913
git-svn-id: http://svn.automattic.com/wordpress/trunk@17104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:46:39 +00:00
markjaquith
b9a7bb4bc7 Display placeholder when no comments found. props garyc40. fixes #15937
git-svn-id: http://svn.automattic.com/wordpress/trunk@17103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:34:29 +00:00
ryan
587ea006b5 Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
ryan
a1d8c65604 Add delete support to network themes. Props PeteMall. fixes #15707
git-svn-id: http://svn.automattic.com/wordpress/trunk@17101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 16:50:16 +00:00
nacin
9fdf778067 New help strings in internal linking. props jane, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 15:04:59 +00:00
nacin
e5b099a459 Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:54 +00:00
nacin
53895d9778 Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:58:17 +00:00
nacin
a50012abc7 Final string tweaks to admin bar preferences. props jane, fixes #15829.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 14:45:55 +00:00
ryan
3bce6d9be9 List table spinner. Props scribu. see #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 18:45:05 +00:00
ryan
8a8785c98b Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: http://svn.automattic.com/wordpress/trunk@17089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:53:50 +00:00
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
092e3350ec Minify plugin-install.js. see #15842.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:48:19 +00:00
nacin
d0cb592cd7 Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:47:23 +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
65f14e4fd3 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 13:30:39 +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
708153f294 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 11:06:54 +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
westi
ae4c6c70c0 Improve the button and header test to give a clearer picture between Adding New Users and Adding Exiting Users to a site. Fixes #14756
git-svn-id: http://svn.automattic.com/wordpress/trunk@17069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 22:27:30 +00:00
nacin
dfe2759a06 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:14:09 +00:00
nacin
b43210d793 Support post formats in Press This. fixes #15795, props greuben for initial patch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:12:13 +00:00
nacin
e4f7310d27 Fix name attribute in export. props ocean90, see [16975], fixes #15901.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 20:56:38 +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
westi
6c0e2ac0a4 Commit the image not the trac download page. See #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 10:12:35 +00:00
westi
c528c1f404 Add missing file from Blue Theme refresh. See #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 10:05:25 +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
nacin
d2b0ef40c8 String changes to admin bar preferences. props jane, see #15829.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:23:25 +00:00
nacin
30957ebb1f Simplify this string. props jane, see #15346, see #15829.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:19:41 +00:00
nacin
9d139a36c5 Remove old string. props SergeyBiryukov, see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 04:38:04 +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
e6282fa608 Clarify button text. fixes #14756
git-svn-id: http://svn.automattic.com/wordpress/trunk@17049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 00:53:45 +00:00
nacin
453fd478a1 Use the update_core, update_plugins and update_themes caps in update-core.php. fixes #15866.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:43:35 +00:00
nacin
afd6a5e453 Slight tweak. props andrea_r, #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:37:11 +00:00
nacin
be9bd035b3 Network-specific language on the plugin and theme editor help tabs. props andrea_r, see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:33:21 +00:00
nacin
0f2672e53d Move to what will be the new Network Admin Codex page URLs. see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:27:12 +00:00
nacin
661ff40dfe Merge the help strings across the network/site- pages. see #15880.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:02:11 +00:00
nacin
c00788260a s/id/ID/. props ocean90, fixes #15868.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 17:23:31 +00:00
ryan
0a2e59988d Fix menu highlight for link category edit. Props duck_. fixes #15877
git-svn-id: http://svn.automattic.com/wordpress/trunk@17041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 16:48:20 +00:00
nacin
a624eecb96 Change this string now so we can freeze earlier. see #15866.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 08:14:54 +00:00
nacin
74ee0ad290 Fix one of my typos. props SergeyBiryukov, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 06:18:44 +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
nacin
5fa861493b Network admin contextual help fixes. props SergeyBiryukov, fixes #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 23:34:10 +00:00
nacin
c4be6fcbe1 Network Admin: Show a warning when deleting non-network-only plugins, as they may be activated on subsites. fixes #15709.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 23:21:15 +00:00
nacin
6ce74f9c0a s/Discuusion/Discussion/. props dougwrites, fixes #15870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 22:21:58 +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
nacin
86daabffdf Add theme update bubble, hide redundant bubble on network admin. props PeteMall, see #15866.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 18:51:19 +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
nacin
43983291e3 Revert [16292], admin_notices for non-network non-user only. all_admin_notices for all. fixes #14696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 03:46:47 +00:00
nacin
761dfa3c34 Final network admin help tweaks. props andrea_r, fixes #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 03:34:00 +00:00
nacin
411b6fed54 Help fixes. props zeo, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 03:32:46 +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
scribu
567c9bc2a6 Use wp_dropdown_users() in the delete confirmation screen. Props duck_. See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 23:40:46 +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
af0d6246ae Remove placeholder row when adding first term. See #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:13:47 +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
ryan
7e25e3b363 Add like_escape() to some queries. fixes #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 14:22:41 +00:00
westi
ad2ab9b7ae Ensure we always have a $help to append to. Fixes #15845 props garyc40.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 13:09:16 +00:00
westi
dc103571eb Check for the wp-admin/imports folder before we open it so we don't show notices when it isn't there.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 10:20:12 +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
a132ad0ced Translate and markup plugins in a directory when deleting a plugin. fixes #15742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:09:21 +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
31b4959b1b Minor cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:41:38 +00:00
nacin
a60664a37b A few more s/site-options/site-settings/. see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:14:34 +00:00
nacin
f32e4cb961 Network Admin: Rename Options to Settings. Kick the tab to the end as well. see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:13:01 +00:00
nacin
9417d79543 Move to 'Documentation on XY' in the network admin. see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:07:42 +00:00
nacin
86e2114e20 Network admin contextual help edits. props vegasgeek, see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:02:56 +00:00
nacin
d0e27b0935 Network Admin contextual help. props andrea_r (!), see #15314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:52:47 +00:00
nacin
1cd758dc89 Help text edits. props dougwrites, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:37:03 +00:00
nacin
778455ff2d This is already cap checked - no need to show outdated message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:14:14 +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
ded6118548 Use net admin plugin-install in site admin tools. Fixes #15839
git-svn-id: http://svn.automattic.com/wordpress/trunk@16976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 03:09:06 +00:00
scribu
15249d5c98 Use wp_dropdown_users() in export.php again, due to [16974]. See #15786
git-svn-id: http://svn.automattic.com/wordpress/trunk@16975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 00:02:36 +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
scribu
209e17506d Revert to raw SQL query and HTML in export author dropdowns. Fixes #15786
git-svn-id: http://svn.automattic.com/wordpress/trunk@16972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 22:38:07 +00:00
nacin
2e3644a3d7 Italicize. see #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:25:39 +00:00
westi
d76925ec0f More caps back. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:24:42 +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
PeteMall
e69df828df Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
git-svn-id: http://svn.automattic.com/wordpress/trunk@16961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:32:25 +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
ryan
93908c2670 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: http://svn.automattic.com/wordpress/trunk@16949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:04:19 +00:00
nacin
ba68477479 Fix this in RTL too. see #14985.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:54:56 +00:00
westi
232c96860d Clear both in the right now widget so it clears nicely when there are extra comment statuses added. Fixes #14985 props doktorbro.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:52:38 +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
PeteMall
e44e212641 Use get_blog_option() isntead of raw SQL in site-users. See #14756
git-svn-id: http://svn.automattic.com/wordpress/trunk@16935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 09:05:10 +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
PeteMall
47b8f4a8cc s/Creationism/Evolution/ in site-users. See #14756
git-svn-id: http://svn.automattic.com/wordpress/trunk@16930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:22:53 +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
ryan
cf3bf584f0 Better backup notices. Props SergeyBiryukov, kapeels. fixes #15753
git-svn-id: http://svn.automattic.com/wordpress/trunk@16921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:02:29 +00:00
ryan
9fbd8c032e Hide add new button or link to network/plugin-install on plugins page. Props ocean90. fixes #15785
git-svn-id: http://svn.automattic.com/wordpress/trunk@16919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:46:45 +00:00
markjaquith
c9e6e7af19 Recreate initial taxonomies after updating their URL base. props nacin. fixes #15815
git-svn-id: http://svn.automattic.com/wordpress/trunk@16917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:27:03 +00:00
ryan
dfce49cf02 Fix notice in ajax response. Props garyc40. fixes #15810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 15:07:43 +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
49ae9c8b6e Make classes global. Props JohnONolan. fixes #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:53:26 +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
93fb27623f Apply the break. Props ocean90. fixes #15802
git-svn-id: http://svn.automattic.com/wordpress/trunk@16899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:03:34 +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
westi
70baa41126 Add cap checks. do the action in php. See #15793
git-svn-id: http://svn.automattic.com/wordpress/trunk@16892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 12:08:27 +00:00
westi
54d404134c Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 11:58:49 +00:00
scribu
ccd9189ca4 Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: http://svn.automattic.com/wordpress/trunk@16887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 20:21:58 +00:00
scribu
92a73b942e Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
git-svn-id: http://svn.automattic.com/wordpress/trunk@16884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 10:29:19 +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
bbbf5dcff5 Use the blue background in the HTML editor, same as the visual editor. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:04:37 +00:00
nacin
e384bd8c2f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:41:48 +00:00
scribu
3f2c0aff8a Don't show search box if there are no items available. See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@16868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 20:22:34 +00:00
scribu
052500b76f Don't show search box if there are no themes available. See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@16861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 18:40:48 +00:00
nacin
c6c9ce82b3 IFRAME_REQUEST for network/update.php. props duck_, see #15724.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 18:25:18 +00:00
ryan
f7ed8dd01e Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@16859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 17:25:04 +00:00
ryan
ad8e837dc2 Add retro gravatar option. Props beaulebens. fixes #15759
git-svn-id: http://svn.automattic.com/wordpress/trunk@16857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 14:50:43 +00:00
scribu
c3b2eb3c14 Remove unnecessary comments. See #15416
git-svn-id: http://svn.automattic.com/wordpress/trunk@16856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:55:17 +00:00
scribu
a4f15ae9a8 Redirect to correct page after bulk action for posts and comments. Props garyc40. Fixes #15416
git-svn-id: http://svn.automattic.com/wordpress/trunk@16855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:49:16 +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
ryan
30132df841 Link to unobfuscated JS. Props filosofo. fixes #15262
git-svn-id: http://svn.automattic.com/wordpress/trunk@16826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:37:19 +00:00
nacin
af5cc65c1c Fix typo. props SergeyBiryukov, fixes #14107.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:35:08 +00:00
ryan
d65ad7cdf0 Close br. Props wahgnube. see #15287
git-svn-id: http://svn.automattic.com/wordpress/trunk@16817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:09:29 +00:00
nacin
0bee77d185 Update show_on_front to posts if there are no pages, just in case. see #14403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:02:07 +00:00
PeteMall
cab472f456 Remove plugin-install from site admin for is_multisite(). See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 20:11:52 +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
nacin
fdb3b09a99 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:51:22 +00:00
ryan
a821a154f0 Fix media form error display. Props andyblackwell. fixes #13810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:44:48 +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
35b4860563 Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +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
ryan
dfbd83784f Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721
git-svn-id: http://svn.automattic.com/wordpress/trunk@16780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:05:27 +00:00
westi
eba0b400c3 Revert brokenness. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:35:46 +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
westi
46cd784f3c Restore some more cap checks for clarity. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:19 +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
057ed950e7 Fix a sprintf call. props wojtek.szkutnik, sorich87. fixes #14555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:41:43 +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
72a9848aa5 Fix notice. Props ocean90. fixes #15692
git-svn-id: http://svn.automattic.com/wordpress/trunk@16772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:00:58 +00:00
nacin
1dd324451f Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:59:25 +00:00
ryan
d5f81d06f9 Don't show super admin checkbox for the user that has the network admin email address. Props duck_. fixes #14051
git-svn-id: http://svn.automattic.com/wordpress/trunk@16767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:10:16 +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
PeteMall
6a13266c40 Hide tabs on site admin themes screen for multisite. See #15525
git-svn-id: http://svn.automattic.com/wordpress/trunk@16754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 18:15:27 +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
25729cb3c5 Optimize the keys/salts textarea. fixes #15092.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:26:30 +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
ee718e28c0 Don't double-escape user description. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 08:55:09 +00:00
markjaquith
7b83e5082e Remove some unused CSS. props ocean90. fixes #15696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:37:03 +00:00
nacin
6c2529ebac Remove merge cruft. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 00:58:20 +00:00
scribu
86e27c44b9 Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 21:29:59 +00:00
scribu
2c96912612 remove redundant require()s in wp-admin/update.php. See #15679
git-svn-id: http://svn.automattic.com/wordpress/trunk@16735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 21:12:40 +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
markjaquith
9cb7a9b837 We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 23:31:01 +00:00
westi
cd767d889e Revert [16719] until it has has UI review. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:01:23 +00:00
scribu
2e2ac55ced Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:01:23 +00:00
nacin
88d961937e Always land on style.css by default, rather than whichever stylesheet came first in the directory scan. Prevents useless trips to editor-style-rtl.css and the like. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:31:55 +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
nacin
f3c57e9940 Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:18:27 +00:00
nacin
3fb64e512a Remove unused logic. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:16:23 +00:00
nacin
c7fe205805 Don't even show parent theme files when viewing the child theme. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 03:52:59 +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
nacin
67f2b68ed6 Sanity text in the theme editor when you have a child theme. fixes #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 22:58:56 +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
ef90a47ff8 Always exit after we redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 12:37:43 +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
nacin
47cfe8dd05 Post format indexes. First pass. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:13:17 +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
markjaquith
775c840d95 Use get_taxonomies() when iterating taxonomies for menus. props wojtek.szkutnik. fixes #13936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:32:19 +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
westi
3640dfb0db Restore the fix with to the Create New User form fields. Fixes #15642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 09:55:13 +00:00
westi
be305cb6f9 If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 08:09:58 +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
markjaquith
a1b12eb6e5 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: http://svn.automattic.com/wordpress/trunk@16681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:20:48 +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
ryan
92c2b40e0b Network setup fixes. Props wpdavis. fixes #15620
git-svn-id: http://svn.automattic.com/wordpress/trunk@16672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 21:32:40 +00:00
markjaquith
3a7b4b71d4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: http://svn.automattic.com/wordpress/trunk@16671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:48:52 +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
scribu
9c8582d681 Don't show permalink box unless the post type is publicly queryable. Props filosofo. Fixes #14321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:21:00 +00:00
ryan
481a15f15d Allow long plugin upgrade notices to wrap. Props duck_. fixes #14068
git-svn-id: http://svn.automattic.com/wordpress/trunk@16663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:07:22 +00:00
ryan
fab93cc99f Define IFRAME_REQUEST only if not inline. Props ocean90. fixes #15630
git-svn-id: http://svn.automattic.com/wordpress/trunk@16661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:28:24 +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
PeteMall
1065472816 Set IFRAME_REQUEST for theme/plugin information iframe. Props SergeyBiryukov, fixes #15509
git-svn-id: http://svn.automattic.com/wordpress/trunk@16658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:53:37 +00:00
scribu
98208ed882 Prevent post_parent from being reset when there's no page attributes box. Props mikeschinkel. Fixes #13179
git-svn-id: http://svn.automattic.com/wordpress/trunk@16657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:50:24 +00:00
scribu
f75da0a4ab Fix edit-tags button conflict. Props batmoo. Fixes #15356
git-svn-id: http://svn.automattic.com/wordpress/trunk@16655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:21:42 +00:00
ryan
93f077ce74 Set IFRAME_REQUEST for theme-information iframe. Props Utkarsh. see #15509
git-svn-id: http://svn.automattic.com/wordpress/trunk@16654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:13:54 +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
ryan
b9fe49b63d Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: http://svn.automattic.com/wordpress/trunk@16647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:51:20 +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
scribu
2d2dea8fa2 Validate pagination input. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 06:02:19 +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
PeteMall
0ce36a9d29 Add missign hooks in site-options. Fixes #15593
git-svn-id: http://svn.automattic.com/wordpress/trunk@16627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:29:02 +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
69277a1e7c Link post title on comments for a single post screen. Fixes #15609
git-svn-id: http://svn.automattic.com/wordpress/trunk@16619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 21:23:20 +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
scribu
f2bad7cd38 Add missing quote char when creating overlay. See #14579. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 19:08:15 +00:00