Commit Graph

906 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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