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
bumpbot
1fc608b2e0
Compress scripts/styles: 3.4-beta2-20478.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20478 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:58:23 +00:00
Andrew Nacin
266a785f77
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: https://develop.svn.wordpress.org/trunk@20477 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:36:47 +00:00
Daryl Koopersmith
a43958baeb
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: https://develop.svn.wordpress.org/trunk@20476 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:02:28 +00:00
bumpbot
acfa043b2a
Compress scripts/styles: 3.4-beta2-20460.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20460 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:58:24 +00:00
Daryl Koopersmith
7dcf9d5a61
Manage Themes: Improved separators (markup/styles) for current theme options menu. see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20459 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:16:51 +00:00
Daryl Koopersmith
8b48d30d79
Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20458 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:03:57 +00:00
bumpbot
094fca576e
Compress scripts/styles: 3.4-beta2-20457.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20457 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:58:23 +00:00
Daryl Koopersmith
6685c0fd9d
Theme Customizer: RTL styles. props ocean90. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20456 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:53:19 +00:00
Daryl Koopersmith
68ce88b380
Theme list table style improvements. Make 'delete' link red and separate from other actions. New action separators. see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20455 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:10:40 +00:00
Ryan Boren
1b6cda0c48
Use correct var name. Props mattonomics. fixes #20432
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20454 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:02:24 +00:00
Ryan Boren
d1100bacb4
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: https://develop.svn.wordpress.org/trunk@20453 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 18:49:48 +00:00
Andrew Ozz
e032e94c4f
Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20449 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 00:16:37 +00:00
bumpbot
515c988dbc
Compress scripts/styles: 3.4-beta1-20447.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20447 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:58:22 +00:00
Daryl Koopersmith
38acd9198b
Shrink theme screenshots for smaller screen resolutions. props helenyhou, see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20446 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:54:56 +00:00
Daryl Koopersmith
b908a19e95
CSS improvements for the 'Current Theme' section. see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20445 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:19:32 +00:00
Andrew Nacin
c16d06c447
s/website/network/ on the network settings screen. props Ipstenu, fixes #20314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20442 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:45:03 +00:00
Ryan Boren
03512f97e8
Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20440 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:39:09 +00:00
Andrew Nacin
a6b212b230
Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20439 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:22:48 +00:00
Andrew Nacin
5ac059e12c
Check if the response property is set before continuing with the update_themes transient return value. props johnbillion, fixes #20378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20438 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:15:31 +00:00
Andrew Ozz
3b9e5468e1
Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20433 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:20:51 +00:00
bumpbot
96a2b2be8a
Compress scripts/styles: 3.4-beta1-20432.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20432 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:58:23 +00:00
Andrew Ozz
14dca5a882
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: https://develop.svn.wordpress.org/trunk@20431 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:57:58 +00:00
Andrew Ozz
c148fb4eb5
Move mobile devices CSS from wp-login.php to wp-admin.css, props SergeyBiryukov, fixes #19673
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20430 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:45:01 +00:00
bumpbot
aa5aee3d92
Compress scripts/styles: 3.4-beta1-20427.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20427 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 21:58:27 +00:00
Daryl Koopersmith
d48177f817
Larger screenshots in theme list tables. see #20403 , #19816 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20426 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 21:09:14 +00:00
Ryan Boren
27592057cd
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: https://develop.svn.wordpress.org/trunk@20423 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 16:09:44 +00:00
Andrew Ozz
69eca59eba
Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20422 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 03:18:48 +00:00
Andrew Ozz
6e3b368bc9
Move the wp_is_mobile() check after the admin bootstrap in media-new.php, props SergeyBiryukov, see #20014
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20420 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:34:47 +00:00
Daryl Koopersmith
955ca76116
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: https://develop.svn.wordpress.org/trunk@20419 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:25:03 +00:00
bumpbot
9492b5a622
Compress scripts/styles: 3.4-beta1-20418.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20418 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:58:27 +00:00
Andrew Ozz
bce0d37a67
Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
bumpbot
fdce6271d0
Compress scripts/styles: 3.4-beta1-20416.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20416 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:58:23 +00:00
Daryl Koopersmith
5a6dc7c758
Fix showing/hiding theme details and move code from theme-preview.js to theme.js. see #20403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20415 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:34:39 +00:00
Daryl Koopersmith
98f37d532d
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: https://develop.svn.wordpress.org/trunk@20414 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:15:13 +00:00