koopersmith
d8abece877
Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582 , #19910 .
...
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.
git-svn-id: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 00:15:12 +00:00
bumpbot
bff286c100
Compress scripts/styles: 3.4-beta4-20892.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:58:21 +00:00
azaozz
c4942fae11
Pointers: fix check for defer_loading, fixes #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:50:30 +00:00
koopersmith
2f09b8d0a6
Theme Customizer: Fix hash-based loader fallbacks. see #20736 , #19910 , [20886].
...
git-svn-id: http://core.svn.wordpress.org/trunk@20890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:45:27 +00:00
bumpbot
29eb5af53f
Compress scripts/styles: 3.4-beta4-20889.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:40:40 +00:00
nacin
d928ce089a
_wp_ajax_add_hierarchical_term() no longer gets passed an action, so pull it from POST. see #20699 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:38:01 +00:00
nacin
9f97ddf45c
When auth_redirect() detects a logged out user and the target
...
page was about.php?updated, then issue a message welcoming them.
This is to prevent it from being so jolting if you are taken to
the login screen after an update.
In WordPress 3.4, the changes to wp_salt() provide for extra
security, but will cause a log-out for any installs without 8
unique keys and salts in wp-config.php (with some exceptions).
Properly re-issuing cookies, even for the logged in user, is
not easily doable via admin/includes/update-core.php, as that
file is included long after the headers are sent.
see #19599 .
git-svn-id: http://core.svn.wordpress.org/trunk@20887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:22:09 +00:00
koopersmith
c3e7ce5320
Theme Customizer: Check for CORS support when the preview and admin urls are cross-domain. Add a fallback to the customize control frame, and check support there as well. see #20582 , #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:13:21 +00:00
nacin
92423061e4
Move from 'Upload Image' to 'Select Image' as this section now includes choosing an image from the media library. see #20737 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:07:39 +00:00
ryan
4cad786961
Improve appearance of "choose from library" link for headers and backgrounds. Props SergeyBiryukov, sabreuse. see #20737
...
git-svn-id: http://core.svn.wordpress.org/trunk@20884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:03:38 +00:00
bumpbot
878433583e
Compress scripts/styles: 3.4-beta4-20883.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:58:22 +00:00
koopersmith
84cc00a6e8
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: http://core.svn.wordpress.org/trunk@20882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:17:49 +00:00
nacin
d0eb7ef75e
Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 18:05:36 +00:00
azaozz
7729e3742e
Pointers: center pointer on Themes screen, fixes #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:34:51 +00:00
westi
b1dc47cc32
Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:15:18 +00:00
ryan
c727c4ef21
"Save & Activate" for customize controls localization. see #20692 #19910
...
git-svn-id: http://core.svn.wordpress.org/trunk@20878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 15:20:33 +00:00
ryan
35d5894c27
"Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
...
git-svn-id: http://core.svn.wordpress.org/trunk@20877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 14:44:13 +00:00
potbot
400c0fdabe
POT, generated from r20875
...
git-svn-id: http://core.svn.wordpress.org/trunk@20876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 08:18:26 +00:00
markjaquith
5a1279320a
Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
...
git-svn-id: http://core.svn.wordpress.org/trunk@20875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:38:13 +00:00
markjaquith
c1fe189ec3
ALIGN *ALL* THE THINGS! see #20324
...
git-svn-id: http://core.svn.wordpress.org/trunk@20874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:14:10 +00:00
nacin
6e96ad62aa
Update dailymotion's oEmbed endpoint. props arena. fixes #20324 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:07:55 +00:00
nacin
111f59eac5
Remove reference to a global eliminated long ago. props tamlyn, fixes #20668 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:06:13 +00:00
nacin
9dc633d261
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: http://core.svn.wordpress.org/trunk@20871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:05:32 +00:00
markjaquith
94dcf629f2
Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
...
git-svn-id: http://core.svn.wordpress.org/trunk@20870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:04:34 +00:00
azaozz
453ab841d0
s/deffer/defer, see #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:02:25 +00:00
azaozz
b0e634031f
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: http://core.svn.wordpress.org/trunk@20867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:45:49 +00:00
markjaquith
02ed477f1b
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: http://core.svn.wordpress.org/trunk@20866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:40:53 +00:00
bumpbot
62608b9370
Compress scripts/styles: 3.4-beta4-20865.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:58:23 +00:00
koopersmith
4973f92107
Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:29:51 +00:00
koopersmith
f6882e94ef
Theme Customizer: Add a base element to the preview's head element to allow relative links (root, hash, and query strings). see #20507 , #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 02:07:16 +00:00
bumpbot
e07ced46ab
Compress scripts/styles: 3.4-beta4-20862.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 01:58:20 +00:00
koopersmith
46f03144b0
Theme Customizer: Properly handle redirects in the preview by setting wp_redirect_status to 200. props nacin, see #20507 , #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 01:48:32 +00:00
nacin
0f259eaae1
Remove temporary magic call method in favor of theme(), settings(), controls(), and sections() methods for WP_Customize_Manager. fixes #20736 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:21:29 +00:00
westi
b36c335b7a
i18n: Update the word splitting we use when trimming strings to build excerpts so that it has support for a character based mode for locales where character splitting is more approproate like Japan.
...
See #16079 props tenpura.
git-svn-id: http://core.svn.wordpress.org/trunk@20859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:04:35 +00:00
nacin
397fc6f8c9
Refine early bailing checks in customize.php. see #20852 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:00:02 +00:00
ryan
5ed25d4725
Don't pass action ID to the ajax actions to avoid possible back compat problems. Props sivel. fixes #20699
...
git-svn-id: http://core.svn.wordpress.org/trunk@20857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:46:38 +00:00
ryan
f35fdc678f
Introduce _prepare_comment(). Avoid repeated auth attempts. Props maxcutler. fixes #20703
...
git-svn-id: http://core.svn.wordpress.org/trunk@20856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:40:40 +00:00
duck_
c4ff39edf8
Fix minor typos in about.php. See #20423 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:36:46 +00:00
ryan
2f97993537
Updated text for Customize pointer. Props jane. see #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 19:49:14 +00:00
nacin
f3ec4f06c6
Remove debug cruft from [20852].
...
git-svn-id: http://core.svn.wordpress.org/trunk@20853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 18:00:09 +00:00
nacin
95e1c32720
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: http://core.svn.wordpress.org/trunk@20852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 17:56:42 +00:00
ryan
5a53ce6d28
Translate and empty header text color into the default text color. Honor blank. Props kovshenin. fixes #20600
...
git-svn-id: http://core.svn.wordpress.org/trunk@20851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 15:36:27 +00:00
ryan
f550bc01e5
Update old_files. fixes #20727
...
git-svn-id: http://core.svn.wordpress.org/trunk@20850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 15:05:29 +00:00
azaozz
1b0677795c
About screen: fix typo, see #20423
...
git-svn-id: http://core.svn.wordpress.org/trunk@20849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:29:58 +00:00
nacin
1627a8cb52
Use mdash. see #20423 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:22:43 +00:00
azaozz
c29d5f423b
About screen: make the text translatable again and escape <img src=admin_url(), see #20423
...
git-svn-id: http://core.svn.wordpress.org/trunk@20847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:03:52 +00:00
ryan
4077461708
Fix post limiting in wp_getPosts(). Props djcp. fixes #20723
...
git-svn-id: http://core.svn.wordpress.org/trunk@20846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 22:25:17 +00:00
ryan
4685f9ea04
Don't concatenate. see #19910
...
git-svn-id: http://core.svn.wordpress.org/trunk@20845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 20:34:45 +00:00
ryan
b66fb16fe5
Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
...
git-svn-id: http://core.svn.wordpress.org/trunk@20844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 15:25:35 +00:00
ryan
cb33ac7824
about.php text. Props jane. see #20423
...
git-svn-id: http://core.svn.wordpress.org/trunk@20843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 14:45:50 +00:00