bumpbot
b739ea4152
Compress scripts/styles: 3.4-beta4-20819.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20819 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 01:58:25 +00:00
Andrew Ozz
a6124a8f72
Retina display icons: add 2x image for wp-badge.png, props chexee, fixes #20293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20818 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 01:04:20 +00:00
bumpbot
2f156a8756
Compress scripts/styles: 3.4-beta4-20815.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20815 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:58:26 +00:00
Daryl Koopersmith
7ef3949049
Theme Installer: IE7 compatibility. props ocean90, fixes #20696 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20813 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:41:33 +00:00
Daryl Koopersmith
b4277fcd40
Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20812 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:38:53 +00:00
Daryl Koopersmith
3ae49bd759
Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20811 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 21:08:10 +00:00
Daryl Koopersmith
9f550982a1
Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20810 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 21:05:11 +00:00
Ryan Boren
c992db3d22
Remove debug cruft. Fix typo. Props SergeyBiryukov. fixes #20657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20808 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 18:11:19 +00:00
Ryan Boren
b36e895a24
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: https://develop.svn.wordpress.org/trunk@20806 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 17:47:55 +00:00
bumpbot
ed5c4343f0
Compress scripts/styles: 3.4-beta4-20803.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20803 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:58:24 +00:00
Daryl Koopersmith
5c77fcc30b
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: https://develop.svn.wordpress.org/trunk@20802 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:55:54 +00:00
bumpbot
2e1a9bc4a4
Compress scripts/styles: 3.4-beta4-20792.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20792 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:58:21 +00:00
Daryl Koopersmith
ecf6940ffb
Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649 , #20650 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20791 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-15 01:03:31 +00:00
bumpbot
376a2485c1
Compress scripts/styles: 3.4-beta4-20790.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20790 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 19:58:19 +00:00
Daryl Koopersmith
755009ae77
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: https://develop.svn.wordpress.org/trunk@20789 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 19:19:34 +00:00
Ryan Boren
cdc9ebd779
Make the file names unique for cropped header images. Props SergeyBiryukov. fixes #20666
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20787 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:53:03 +00:00
Ryan Boren
c6e002e4b0
Remove activate/deactivate messages from plugin upgrades. Props toppa. fixes #17833
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20786 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-14 17:24:44 +00:00
Andrew Nacin
b8caf0e864
Revert [20776], and instead pass the current locale to browsehappy.com.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20781 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-13 22:44:01 +00:00
Andrew Nacin
212552cb9e
Translate the ' http://browsehappy.com/ ' URL. See http://wp.me/p10SQN-r8 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20776 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 21:29:01 +00:00
Ryan Boren
0f9af78c3f
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: https://develop.svn.wordpress.org/trunk@20774 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 20:29:08 +00:00
bumpbot
54ea6cb17a
Compress scripts/styles: 3.4-beta4-20773.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20773 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:58:22 +00:00
Ryan Boren
7bb44e9f43
Lighten login form input foreground. Props helenyhou. fixes #20648
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20771 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 19:33:09 +00:00
Ryan Boren
9ffc69487f
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: https://develop.svn.wordpress.org/trunk@20769 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 16:15:15 +00:00
Jon Cave
73586de8bd
Fix typo in Custom Header contextual help. Props klagraff. Fixes #20518 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20768 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-11 07:12:20 +00:00
bumpbot
4584d4022b
Compress scripts/styles: 3.4-beta4-20766.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20766 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 20:58:24 +00:00
Ryan Boren
24a6a399d8
Normalize star ratings markup. Props helenyhou. fixes #20655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20765 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:59:48 +00:00
bumpbot
9ce7cbaf4d
Compress scripts/styles: 3.4-beta4-20764.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20764 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:58:25 +00:00
Ryan Boren
bb49193ead
Use stars-rtl.png for RTL start support in the theme installer. Props helenyhou, ocean90. fixes #20583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20763 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-10 19:37:16 +00:00
bumpbot
243ecb7b13
Compress scripts/styles: 3.4-beta4-20760.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20760 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:58:31 +00:00
Daryl Koopersmith
d314192cfb
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: https://develop.svn.wordpress.org/trunk@20759 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:47:15 +00:00
Ryan Boren
fe7d612b97
Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20757 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:13:22 +00:00
bumpbot
d50aba69e4
Compress scripts/styles: 3.4-beta4-20755.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20755 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:58:29 +00:00
Ryan Boren
1b25bfa42e
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: https://develop.svn.wordpress.org/trunk@20754 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:27:24 +00:00
Ryan Boren
b5904b9525
Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20753 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 16:16:03 +00:00
Ryan Boren
5b64115fc6
Friendlier strings with links to the support forums when experiencing problems talking to api.wordpress.org. fixes #20605
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20752 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 15:55:59 +00:00
Ryan Boren
0bed53f213
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: https://develop.svn.wordpress.org/trunk@20751 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 15:01:49 +00:00
bumpbot
81918eaf4a
Compress scripts/styles: 3.4-beta4-20750.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20750 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 03:58:27 +00:00
Andrew Ozz
a80f1997b8
Auto-fold the admin menu with CSS, fixes #20642
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20749 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 03:56:40 +00:00
Daryl Koopersmith
36ec8ea7d0
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: https://develop.svn.wordpress.org/trunk@20748 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 03:25:22 +00:00
Daryl Koopersmith
548960fe58
Theme Customizer: Link the current theme screenshot to the customizer. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20747 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 01:38:54 +00:00
bumpbot
d16b4050ad
Compress scripts/styles: 3.4-beta4-20744.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20744 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 23:58:24 +00:00
Daryl Koopersmith
e1e949728c
Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20743 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 23:37:05 +00:00
Ryan Boren
0de14403bf
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: https://develop.svn.wordpress.org/trunk@20739 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-08 17:01:50 +00:00
Ryan Boren
6e6fe46e2c
Contextual help updates for themes.php and theme-install.php. Props TomAuger. fixes #20515
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20736 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 17:26:16 +00:00
Ryan Boren
144b8d7135
Update upload-html-bypass string to reflect that the uploader is no longer new. Props Ipstenu. fixes #20627
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20735 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 16:48:35 +00:00
Ryan Boren
4c3eea178d
Switch to WP_Theme::display() in theme update message. Props SergeyBiryukov. fixes #20623
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20733 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 16:16:17 +00:00
bumpbot
40f3bd8d9c
Compress scripts/styles: 3.4-beta4-20731.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20731 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-06 23:58:23 +00:00
Daryl Koopersmith
b379473aa4
Add 'Install now', 'Preview', and 'Details' links to theme install list items. fixes #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20730 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-06 23:06:47 +00:00
Ryan Boren
7e82f59653
Remove editor_template_src.js from old files list. It should not be deleted. Props Jayjdk. fixes #20539
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20728 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-05 21:10:18 +00:00
Ryan Boren
b77c923e9a
Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20727 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-05 19:09:08 +00:00
Andrew Nacin
eeb4df859b
Remove the Ryan Boren Comedy Script from the POT file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20722 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 01:17:27 +00:00
Ryan Boren
4be0285f26
Dummy test for about.php. see #20423
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20720 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 00:39:28 +00:00
Ryan Boren
640aae0575
Don't concatenate translated strings. see #20518
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20719 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 22:00:25 +00:00
Ryan Boren
7f64f1a8dc
Custom header contextual help updates. Props TomAuger. see #20518
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20718 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 21:54:50 +00:00
bumpbot
d108fa8ee3
Compress scripts/styles: 3.4-beta4-20717.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20717 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 17:58:27 +00:00
Daryl Koopersmith
55838e9b55
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: https://develop.svn.wordpress.org/trunk@20716 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 17:54:20 +00:00
Ryan Boren
8c50f982ea
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20715 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 16:41:59 +00:00
Andrew Nacin
8ecb207683
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: https://develop.svn.wordpress.org/trunk@20713 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 13:34:33 +00:00
Andrew Nacin
dd57074aed
Make admin-head-callback optional for custom headers. Reverts part of [20684]. fixes #20603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20712 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 13:30:55 +00:00
Andrew Nacin
75f4959b2a
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: https://develop.svn.wordpress.org/trunk@20710 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-03 01:15:18 +00:00
bumpbot
0569761737
Compress scripts/styles: 3.4-beta3-20709.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20709 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 22:58:29 +00:00
Andrew Ozz
7e63aeb361
Fix columns in IE7 on Appearance -> Themes screen, props SergeyBiryukov, fixes #20591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20708 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 22:11:58 +00:00
bumpbot
5f3e663586
Compress scripts/styles: 3.4-beta3-20707.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20707 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:58:30 +00:00
Ryan Boren
71150d164a
Don't convert png to jpg when cropping a header. Prevents stomping transparency. Props SergeyBiryukov, kovshenin. fixes #20555
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20706 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:35:56 +00:00
Ryan Boren
19842a6b22
Styling and RTL style fixes for user/site autocomplete. Props ocean90, helenyhou. fixes #20584
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20705 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:33:43 +00:00
Andrew Nacin
b128d68f11
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: https://develop.svn.wordpress.org/trunk@20704 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:19:37 +00:00
Andrew Ozz
85d0bc608b
Add blue sprite for icons32, props SergeyBiryukov, fixes #20293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20702 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 21:01:21 +00:00
Andrew Nacin
fcf7cda3c6
A more resilient check for the base table prefix. see #19970 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20700 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:38:58 +00:00
Andrew Nacin
6b46997aa1
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: https://develop.svn.wordpress.org/trunk@20699 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:37:18 +00:00
Andrew Ozz
fd506b7f3a
Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20698 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:36:07 +00:00
Daryl Koopersmith
165131716b
Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20695 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:22:02 +00:00
bumpbot
5a5975a641
Compress scripts/styles: 3.4-beta3-20693.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20693 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:58:23 +00:00
Andrew Nacin
3cb1ad3438
Widen fields for QuickPress and Quick Edit for the lt_LT locale. props settle. see #19603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20692 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:30:38 +00:00
bumpbot
c6f7bb0af1
Compress scripts/styles: 3.4-beta3-20690.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20690 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:58:25 +00:00
Andrew Nacin
1558ba7faf
Fix the image overlap with the Press This bookmarklet in RTL. props dd32 for the initial patch. fixes #19502 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20689 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:54:20 +00:00
bumpbot
93a7eaf328
Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20681 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:58:25 +00:00
Andrew Ozz
859a659be9
Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20680 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:41:15 +00:00
Andrew Ozz
95808e088f
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: https://develop.svn.wordpress.org/trunk@20679 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:14:52 +00:00
bumpbot
19a3e3799e
Compress scripts/styles: 3.4-beta3-20678.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20678 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:58:23 +00:00
Andrew Ozz
06ede87876
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: https://develop.svn.wordpress.org/trunk@20677 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:50:47 +00:00
Ryan Boren
8dca40f570
Clarify the uploading options in the media-new.php contextual help.
...
Props Ipstenu, DrewAPicture
fixes #19442
git-svn-id: https://develop.svn.wordpress.org/trunk@20676 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:23:15 +00:00
Andrew Nacin
869f8217ff
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: https://develop.svn.wordpress.org/trunk@20675 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:09:55 +00:00
Ryan Boren
defdae610e
RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20674 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:06:53 +00:00
Ryan Boren
65495f3660
RTL style fixes for the install theme info sidebar. Props ocean90. fixes #20583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20673 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:05:35 +00:00
Andrew Nacin
e9ee18fa5a
Don't show the 'Preview Changes' button for a non-public post type. props intoxstudio, see #17609 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20667 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 17:52:08 +00:00
bumpbot
25463b343f
Compress scripts/styles: 3.4-beta3-20663.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20663 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:58:31 +00:00
Andrew Nacin
c6330862b6
Make the Press This draggable bookmarklet a flexible width to support languages with long words. props SergeyBiryukov, fixes #19957 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20662 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:57:11 +00:00
Ryan Boren
60c6011c61
setup-config.php cleanups
...
* Don't allow an empty prefix
* Make slashing consistent and sane
Props SergeyBiryukov
Fixes #13839
git-svn-id: https://develop.svn.wordpress.org/trunk@20661 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:56:32 +00:00
Ryan Boren
5891008f9e
Set foreground color to #000 for form inputs. Props helenyhou, convissor. fixes #19923
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20659 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:45:10 +00:00
Andrew Nacin
00d6e93374
Remove ru_RU-specific CSS that is no longer necessary after [20616]. props SergeyBiryukov. fixes #20568 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20658 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:42:47 +00:00
Andrew Nacin
0bfce84f5c
Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20655 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:32:44 +00:00
bumpbot
baa8fa8a0f
Compress scripts/styles: 3.4-beta3-20651.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20651 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 20:58:24 +00:00
Ryan Boren
3ea234a24b
Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20650 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 20:50:50 +00:00
Andrew Nacin
f553c11f28
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: https://develop.svn.wordpress.org/trunk@20639 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 00:44:47 +00:00
bumpbot
f78ebb0c3e
Compress scripts/styles: 3.4-beta3-20634.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20634 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:58:20 +00:00
Andrew Ozz
99868b2742
Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20633 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:55:56 +00:00
Andrew Nacin
82ceeca5de
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: https://develop.svn.wordpress.org/trunk@20631 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 23:13:39 +00:00
Andrew Nacin
1c9dcbeb0b
Clean up messages on edit.php. see #19470 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20630 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 22:54:02 +00:00
bumpbot
caeec90610
Compress scripts/styles: 3.4-beta3-20629.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20629 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:58:24 +00:00
Andrew Ozz
29e2ec2ac5
Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20628 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:34:35 +00:00
bumpbot
001e92a1f2
Compress scripts/styles: 3.4-beta3-20627.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20627 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:58:23 +00:00
Andrew Ozz
2637447a05
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: https://develop.svn.wordpress.org/trunk@20626 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:52:13 +00:00
Andrew Nacin
e3e988bf58
Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20625 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:46:33 +00:00
Jon Cave
858ba1fabd
Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20623 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:32:32 +00:00
Andrew Nacin
d8e2eb8943
Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20621 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:02:10 +00:00
bumpbot
7f0d1f1a6b
Compress scripts/styles: 3.4-beta3-20620.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20620 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:58:22 +00:00
Andrew Nacin
27f74ce583
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: https://develop.svn.wordpress.org/trunk@20619 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:59 +00:00
Andrew Nacin
5b0664dde5
Int cast a step variable. see #19786 . props Caspie.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20618 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:08 +00:00
Andrew Nacin
75bd431c76
Force the plugin details to be LTR for all screens. props dd32. fixes #19778 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20617 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:52:58 +00:00
Andrew Nacin
efd16eb622
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: https://develop.svn.wordpress.org/trunk@20616 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:22:47 +00:00
Andrew Nacin
8f0e83ffdc
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: https://develop.svn.wordpress.org/trunk@20614 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:05:43 +00:00
Andrew Nacin
07fce717e7
Use maybe_serialize() where appropriate. fixes #19617 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20612 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:57:51 +00:00
Andrew Nacin
4fa4a3339e
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: https://develop.svn.wordpress.org/trunk@20609 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 21:09:51 +00:00
Andrew Nacin
eb4dd3e15f
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: https://develop.svn.wordpress.org/trunk@20605 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 00:58:16 +00:00
Ryan Boren
91edc71696
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: https://develop.svn.wordpress.org/trunk@20594 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:24:20 +00:00
Andrew Nacin
cfe73da905
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: https://develop.svn.wordpress.org/trunk@20592 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:37:19 +00:00
Andrew Ozz
de55e6200e
Fix typo in a comment, props SergeyBiryukov, fixes #20506
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20591 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:49:48 +00:00
Andrew Nacin
b7101b038f
Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20589 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:34:19 +00:00
bumpbot
05654f8874
Compress scripts/styles: 3.4-beta3-20582.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20582 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:58:22 +00:00
Ryan Boren
d3571040fb
* 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: https://develop.svn.wordpress.org/trunk@20581 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:13:47 +00:00
Andrew Ozz
f55dbdbd27
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: https://develop.svn.wordpress.org/trunk@20580 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:06:55 +00:00
Ryan Boren
d04dbfb0e5
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: https://develop.svn.wordpress.org/trunk@20579 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 20:46:04 +00:00
bumpbot
3aaa209968
Compress scripts/styles: 3.4-beta3-20574.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20574 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:58:22 +00:00
Andrew Ozz
d1902fc4bf
Remove one more duplicate of .screen-per-page, props ocean90, fixes #20526
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20573 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:36:09 +00:00
Andrew Ozz
2407473309
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: https://develop.svn.wordpress.org/trunk@20571 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:00:14 +00:00
Andrew Ozz
aff09817e7
Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20570 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:40:59 +00:00
Jon Cave
83a3cc73df
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: https://develop.svn.wordpress.org/trunk@20569 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:04:35 +00:00
Ryan Boren
381942320a
Add additional files/dirs for removal and tidy up $_old_files.
...
Props aldenta
Fixes #20472
git-svn-id: https://develop.svn.wordpress.org/trunk@20567 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:48:09 +00:00
Andrew Ozz
036ddb0b5b
Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20564 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-22 23:29:52 +00:00
Andrew Nacin
b02db0626b
Issue a 'This theme is broken' error (when applicable) on the theme editor. see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20560 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:23:27 +00:00
Andrew Nacin
a63f87682d
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: https://develop.svn.wordpress.org/trunk@20559 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:03:23 +00:00
Andrew Nacin
65099d16b6
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: https://develop.svn.wordpress.org/trunk@20558 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:00:24 +00:00
Andrew Nacin
a22cdde6d2
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: https://develop.svn.wordpress.org/trunk@20557 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 20:57:54 +00:00
Andrew Nacin
40b676037c
Correct logic in deactivate_plugins() where network_wide = null. props SergeyBiryukov. fixes #20497 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20555 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 00:45:53 +00:00
Andrew Ozz
a791550056
Fix typo in the error message shown when a device doesn't support uploading, props SergeyBiryukov, fixes #20410
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20544 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 01:10:39 +00:00
bumpbot
abaca87e32
Compress scripts/styles: 3.4-beta2-20536.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20536 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:58:27 +00:00
Jon Cave
12042b56b8
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: https://develop.svn.wordpress.org/trunk@20535 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:32:45 +00:00
Jon Cave
42437fa97e
Remove "Approve" bulk action when viewing spam comments as it isn't shown in the row actions. Props russellwwest. Fixes #20123 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20533 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:00:44 +00:00
Andrew Nacin
3ac1beb836
Add missing variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20528 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 06:38:19 +00:00
Andrew Nacin
5ed7eb7f1c
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: https://develop.svn.wordpress.org/trunk@20525 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 03:41:29 +00:00
Jon Cave
e8a29e70d6
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: https://develop.svn.wordpress.org/trunk@20523 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 21:24:53 +00:00
Jon Cave
c0dd73f68d
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: https://develop.svn.wordpress.org/trunk@20522 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 21:07:31 +00:00
bumpbot
f8852b73a5
Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20521 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:58:24 +00:00
Daryl Koopersmith
e5a53305a2
Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20520 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:57:06 +00:00
Andrew Ozz
1792d8606b
Fix floated #post-body-content on the Appearance -> Menus screen, props SergeyBiryukov, fixes #20467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20516 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:05:48 +00:00
bumpbot
3878924dc2
Compress scripts/styles: 3.4-beta2-20515.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20515 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:58:21 +00:00
Daryl Koopersmith
b0dc41a48b
RTL styles for theme browsing. props ocean90, fixes #20391 , see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20514 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:28:36 +00:00
Andrew Nacin
8481a619b6
Check for the response property in tue update_plugins transient object. props ampt, fixes #20441 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20490 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 02:43:13 +00:00
Andrew Nacin
65de4fbbb0
Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20482 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 21:52:02 +00:00
Daryl Koopersmith
b22764aa86
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: https://develop.svn.wordpress.org/trunk@20479 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:59:09 +00:00