Daryl Koopersmith
b0a9ad5216
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: https://develop.svn.wordpress.org/trunk@20882 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 19:17:49 +00:00
Andrew Ozz
ff16e0f409
Pointers: center pointer on Themes screen, fixes #20554
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20880 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 16:34:51 +00:00
Peter Westwood
a45f8f3763
Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20879 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 16:15:18 +00:00
Ryan Boren
65125dccb3
"Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20877 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 14:44:13 +00:00
Andrew Nacin
4423fd7c68
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: https://develop.svn.wordpress.org/trunk@20871 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:05:32 +00:00
Andrew Ozz
f0bbe7fe57
s/deffer/defer, see #20554
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20869 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:02:25 +00:00
Andrew Ozz
17fa8d52ec
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: https://develop.svn.wordpress.org/trunk@20867 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 06:45:49 +00:00
Mark Jaquith
2b9809f381
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: https://develop.svn.wordpress.org/trunk@20866 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 06:40:53 +00:00
Daryl Koopersmith
4b9f6216e9
Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692 , see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20864 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 03:29:51 +00:00
Andrew Nacin
694228f319
Refine early bailing checks in customize.php. see #20852 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20858 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 21:00:02 +00:00
Ryan Boren
18c7acb94b
Don't pass action ID to the ajax actions to avoid possible back compat problems. Props sivel. fixes #20699
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20857 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 20:46:38 +00:00
Jon Cave
19b58518c5
Fix minor typos in about.php. See #20423 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20855 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 20:36:46 +00:00
Ryan Boren
6149a105fc
Updated text for Customize pointer. Props jane. see #20554
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20854 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 19:49:14 +00:00
Andrew Nacin
f83435d1bd
Remove debug cruft from [20852].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20853 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 18:00:09 +00:00
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
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
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
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
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
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
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
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