Commit Graph

19294 Commits

Author SHA1 Message Date
Andrew Nacin aba958e81c 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: https://develop.svn.wordpress.org/trunk@20852 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 17:56:42 +00:00
Ryan Boren ae4d54928c Translate and empty header text color into the default text color. Honor blank. Props kovshenin. fixes #20600
git-svn-id: https://develop.svn.wordpress.org/trunk@20851 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 15:36:27 +00:00
Ryan Boren cd142f3e26 Update old_files. fixes #20727
git-svn-id: https://develop.svn.wordpress.org/trunk@20850 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 15:05:29 +00:00
Andrew Ozz a02a07f1c1 About screen: fix typo, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20849 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:29:58 +00:00
Andrew Nacin bd5a0fae45 Use mdash. see #20423.
git-svn-id: https://develop.svn.wordpress.org/trunk@20848 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:22:43 +00:00
Andrew Ozz 384fa4895b About screen: make the text translatable again and escape <img src=admin_url(), see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20847 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:03:52 +00:00
Ryan Boren ee33772ce7 Fix post limiting in wp_getPosts(). Props djcp. fixes #20723
git-svn-id: https://develop.svn.wordpress.org/trunk@20846 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 22:25:17 +00:00
Ryan Boren 8ff3ad7903 Don't concatenate. see #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20845 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 20:34:45 +00:00
Ryan Boren 4500216283 Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
git-svn-id: https://develop.svn.wordpress.org/trunk@20844 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 15:25:35 +00:00
Ryan Boren b90c032c96 about.php text. Props jane. see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20843 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 14:45:50 +00:00
Andrew Ozz 244efd50f2 Crush flex-header-media-library.png, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20842 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 02:46:59 +00:00
bumpbot 868e56e940 Compress scripts/styles: 3.4-beta4-20841.
git-svn-id: https://develop.svn.wordpress.org/trunk@20841 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 01:58:24 +00:00
Andrew Ozz 9f52c43a09 Simpler layout for the about screen (still needs text), props chexee, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20840 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 01:58:00 +00:00
Ryan Boren 8e75e8ce49 Feature pointers for choosing an image from the library on the custom header and background pages. see #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20839 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 20:34:20 +00:00
bumpbot 270a3de367 Compress scripts/styles: 3.4-beta4-20838.
git-svn-id: https://develop.svn.wordpress.org/trunk@20838 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:58:25 +00:00
Ryan Boren fd6d65117c Accordion for the customizer. Props markjaquith. fixes #20700
git-svn-id: https://develop.svn.wordpress.org/trunk@20837 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:53:22 +00:00
Ryan Boren c392250983 Disambiguate menu_order. Props markjaquith. fixes #20711
git-svn-id: https://develop.svn.wordpress.org/trunk@20836 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:50:58 +00:00
Ryan Boren 039002fbc7 Fix path to customizer collpase arrows. Props markjaquith. fixes #20701
git-svn-id: https://develop.svn.wordpress.org/trunk@20835 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:49:51 +00:00
bumpbot c0d9bee71f Compress scripts/styles: 3.4-beta4-20834.
git-svn-id: https://develop.svn.wordpress.org/trunk@20834 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 18:58:19 +00:00
Daryl Koopersmith 4370cd7063 Theme Customizer: Reset scroll to top when the preview url is changed. props ocean90, fixes #20713, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20833 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 17:58:17 +00:00
Andrew Ozz 3ca0c089f2 Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: https://develop.svn.wordpress.org/trunk@20832 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-20 22:20:00 +00:00
Andrew Ozz 057704f003 Image captions: change query arg in the Edit Image iframe HTML to refresh browser cache, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20831 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 23:09:59 +00:00
Ryan Boren bb4ab7e842 set_url_scheme() for header and background image srcs. see #20702
git-svn-id: https://develop.svn.wordpress.org/trunk@20830 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:22:57 +00:00
Ryan Boren 9c2fe1c948 Load the customize preview over ssl if the customize admin page is loaded over ssl and the frontend and admin are on the same domain. This avoids insecure content warnings and allows a more complete preview in browsers such as Chrome that block loading of css until user confirmation allows mixed content loading. see #20702
git-svn-id: https://develop.svn.wordpress.org/trunk@20829 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:09:53 +00:00
Ryan Boren c7b61a2a57 Introduce set_url_scheme(). Includes get_site_url() logic for determining when to use http vs. https. Use this to rerite urls to obey is_ssl(). Props jkudish. fixes #18017
git-svn-id: https://develop.svn.wordpress.org/trunk@20828 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:04:59 +00:00
Ryan Boren 74b9335d43 'Live Preview' instead of 'Customize' for the customizer links in the theme browser. see #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20827 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 16:27:24 +00:00
Andrew Ozz 63e747792d Image captions: revert label change back to "Caption", fixes #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20826 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 02:50:05 +00:00
bumpbot 3474f26526 Compress scripts/styles: 3.4-beta4-20825.
git-svn-id: https://develop.svn.wordpress.org/trunk@20825 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:58:27 +00:00
Daryl Koopersmith 5ebe631a77 Theme Customizer: RTL fixes. props ocean90, fixes #20585, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20824 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:37:00 +00:00
bumpbot 4ec3e44488 Compress scripts/styles: 3.4-beta4-20823.
git-svn-id: https://develop.svn.wordpress.org/trunk@20823 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 17:22:40 +00:00
Daryl Koopersmith b2f795b43a Theme Customizer: Sidebar RTL fixes. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20822 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 17:08:20 +00:00
bumpbot afc016874f Compress scripts/styles: 3.4-beta4-20821.
git-svn-id: https://develop.svn.wordpress.org/trunk@20821 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 15:58:23 +00:00
Daryl Koopersmith d2b1637a9d Theme Customizer: Ensure image control tabs are full-width to prevent floating bugs. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20820 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 15:56:18 +00:00
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 0c555027ba Compress scripts/styles: 3.4-beta4-20817.
git-svn-id: https://develop.svn.wordpress.org/trunk@20817 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:58:25 +00:00
Daryl Koopersmith 0e3b3a7555 Theme Customizer: Add 'ready' event to customize-controls. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20816 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 00:00:57 +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
Andrew Ozz a3033f1506 Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20814 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 23:55:38 +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
Daryl Koopersmith 621e3c1fc6 Theme Customizer: Properly escape customize settings when sending values to JS. Add WP_Customize_Setting->js_value(). fixes #20687, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20809 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 20:59:02 +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 cf58f72258 Fix wp.getPages response when fetching pages the current user does not have caps for. Props maxcutler, redsweater. fixes #20629
git-svn-id: https://develop.svn.wordpress.org/trunk@20807 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 18:06:34 +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 8471a0947c Compress scripts/styles: 3.4-beta4-20805. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20805 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:58:24 +00:00
Andrew Ozz 136f951922 DFW: another attempt to get auto-resize working right, see #20608, see #20684
git-svn-id: https://develop.svn.wordpress.org/trunk@20804 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 07:02: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