Commit Graph

9918 Commits

Author SHA1 Message Date
koopersmith
67e4ef9102 Theme Customizer: Sidebar RTL fixes. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 17:08:20 +00:00
bumpbot
125c5610af Compress scripts/styles: 3.4-beta4-20821.
git-svn-id: http://core.svn.wordpress.org/trunk@20821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:58:23 +00:00
koopersmith
d28902a112 Theme Customizer: Ensure image control tabs are full-width to prevent floating bugs. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:56:18 +00:00
bumpbot
8f5251dc61 Compress scripts/styles: 3.4-beta4-20819.
git-svn-id: http://core.svn.wordpress.org/trunk@20819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 01:58:25 +00:00
bumpbot
88f873c6a5 Compress scripts/styles: 3.4-beta4-20817.
git-svn-id: http://core.svn.wordpress.org/trunk@20817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 00:58:25 +00:00
koopersmith
10a17d1757 Theme Customizer: Add 'ready' event to customize-controls. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 00:00:57 +00:00
bumpbot
9047cffc73 Compress scripts/styles: 3.4-beta4-20815.
git-svn-id: http://core.svn.wordpress.org/trunk@20815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:58:26 +00:00
azaozz
0450af0ad5 Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:55:38 +00:00
koopersmith
507f3b2d0c Theme Customizer: Properly escape customize settings when sending values to JS. Add WP_Customize_Setting->js_value(). fixes #20687, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 20:59:02 +00:00
ryan
0983e9afcb Fix wp.getPages response when fetching pages the current user does not have caps for. Props maxcutler, redsweater. fixes #20629
git-svn-id: http://core.svn.wordpress.org/trunk@20807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 18:06:34 +00:00
bumpbot
9179471b0f Compress scripts/styles: 3.4-beta4-20805. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@20805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 07:58:24 +00:00
azaozz
bf0154a731 DFW: another attempt to get auto-resize working right, see #20608, see #20684
git-svn-id: http://core.svn.wordpress.org/trunk@20804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 07:02:55 +00:00
bumpbot
5181e0abd3 Compress scripts/styles: 3.4-beta4-20803.
git-svn-id: http://core.svn.wordpress.org/trunk@20803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:58:24 +00:00
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
koopersmith
a2eb607264 Theme Customizer: Make the wp.customize.Events methods chainable. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:17:26 +00:00
bumpbot
a13f5e45ba Compress scripts/styles: 3.4-beta4-20800.
git-svn-id: http://core.svn.wordpress.org/trunk@20800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 22:58:23 +00:00
koopersmith
7ea4eef7f0 Theme Customizer: Add the wp.customize.Events mixin to wp.customize.Values. Provide 'add', 'remove', and 'change' events by default. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 22:43:49 +00:00
koopersmith
3165e6d50a Theme Customizer: Clarify wp.customize.Values API by removing Values.pass and all methods that passed through to the wp.customize.Value objects it contained. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 22:14:46 +00:00
koopersmith
f2ecf78e88 Theme Customizer: Make wp.customize.Values.when return a jQuery.Deferred.promise() object, to add additional flexibility. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 22:01:36 +00:00
bumpbot
ed3c93ae6a Compress scripts/styles: 3.4-beta4-20796.
git-svn-id: http://core.svn.wordpress.org/trunk@20796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 21:58:21 +00:00
koopersmith
edc5274b20 Theme Customizer: Add an Events mixin to wp.customize, used by default in wp.customize.Messenger. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 21:28:21 +00:00
ryan
9c3ce86280 API for allowing cross origin resource sharing.
* Allowed origin whitelist that can be altered by plugins
* Validation of the request origin against the whitelist
* Send Access-Control-Allow-Origin if origin allowed
* get_http_origin(), get_allowed_http_origins(), is_allowed_http_origin(), send_origin_headers()

See #20681



git-svn-id: http://core.svn.wordpress.org/trunk@20794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 18:46:03 +00:00
ryan
809da11403 Don't force frontend scheme to match backend. This fails if the frontend doesn't have proper SSL certs. Access-Control-Allow-Origin handles this without the need to make the schemes match. see #20507
git-svn-id: http://core.svn.wordpress.org/trunk@20793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 15:45:40 +00:00
bumpbot
d8b1541f91 Compress scripts/styles: 3.4-beta4-20792.
git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:58:21 +00:00
koopersmith
ae14873b96 Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:03:31 +00:00
bumpbot
2387c0248f Compress scripts/styles: 3.4-beta4-20790.
git-svn-id: http://core.svn.wordpress.org/trunk@20790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 19:58:19 +00:00
ryan
f6b643e971 Exclude admin pot files when calculating the list of installed languages in get_available_languages(). fixes #20676
git-svn-id: http://core.svn.wordpress.org/trunk@20788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:58:06 +00:00
ryan
5729685cb7 Remove accidental bits in [20784]
git-svn-id: http://core.svn.wordpress.org/trunk@20785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:01:35 +00:00
ryan
7c3c1267ec Call filters for default option values only as needed to reduce number of filter calls. Props Ott042. see #20448
git-svn-id: http://core.svn.wordpress.org/trunk@20784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:00:13 +00:00
ryan
db3da0b695 Add filters for the default to get_option() and get_site_option(). Provide default overrides in the customizer. Props Otto42. see #20448
git-svn-id: http://core.svn.wordpress.org/trunk@20783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 16:45:32 +00:00
duck_
2b6e2d287a Minor XML-RPC documentation improvements. See #20566.
Also make newly introduced _is_greater_than_one() private.


git-svn-id: http://core.svn.wordpress.org/trunk@20782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 10:10:01 +00:00
duck_
a2cf2fa988 get_post_stati() returns post statuses not types. Props jeremyfelt. Fixes #20664.
git-svn-id: http://core.svn.wordpress.org/trunk@20779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-13 07:41:47 +00:00
bumpbot
791e0df3dd Compress scripts/styles: 3.4-beta4-20778.
git-svn-id: http://core.svn.wordpress.org/trunk@20778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:58:21 +00:00
koopersmith
eb44b211af Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:48:20 +00:00
ryan
34a92a5f0e Remove extra underscore from XML-RPC filter. props maxcutler. fixes #20549
git-svn-id: http://core.svn.wordpress.org/trunk@20775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 21:04:47 +00:00
bumpbot
eefdd33f6c Compress scripts/styles: 3.4-beta4-20773.
git-svn-id: http://core.svn.wordpress.org/trunk@20773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:58:22 +00:00
nacin
eff63ef3f0 display_header_text() should only return true if the theme mod value is not 'blank'. An empty string is valid -- there is no requirement for it to be truthy. see #18887. see #20600.
git-svn-id: http://core.svn.wordpress.org/trunk@20772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:55:07 +00:00
ryan
d58d5993b0 Collect intermediate images before deleting an attachment and its meta. Fixes thumbnail deletion. Props SergeyBiryukov. fixes #20658
git-svn-id: http://core.svn.wordpress.org/trunk@20770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 18:47:32 +00:00
ryan
08d01e2950 Handle relative urls when processing redirects. Introduce WP_Http::make_absolute_url(). Props dd32. fixes #20434
git-svn-id: http://core.svn.wordpress.org/trunk@20767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 21:32:02 +00:00
bumpbot
dfbb0b3a07 Compress scripts/styles: 3.4-beta4-20766.
git-svn-id: http://core.svn.wordpress.org/trunk@20766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 20:58:24 +00:00
bumpbot
65a3d05fdf Compress scripts/styles: 3.4-beta4-20764.
git-svn-id: http://core.svn.wordpress.org/trunk@20764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:58:25 +00:00
bumpbot
e12aedf713 Compress scripts/styles: 3.4-beta4-20762.
git-svn-id: http://core.svn.wordpress.org/trunk@20762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:58:25 +00:00
koopersmith
1bac3f30e3 Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910, #20452, #20582.
git-svn-id: http://core.svn.wordpress.org/trunk@20761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:15:53 +00:00
bumpbot
572fc170fe Compress scripts/styles: 3.4-beta4-20760.
git-svn-id: http://core.svn.wordpress.org/trunk@20760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:58:31 +00:00
koopersmith
08e4e98c16 Uploader & Theme Customizer: Refresh uploader flash/silverlight shims when the mouse enters the browse button. Add class to body based on uploader's drag/drop support. Properly assign customize image uploader containers (so flash shims are positioned correctly when scrolled). see #19910, #20452, #20582.
git-svn-id: http://core.svn.wordpress.org/trunk@20758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:26:19 +00:00
ryan
97aff78b06 Set split_the_query to false if more than 500 rows requested. Props SergeyBiryukov. fixes #20628
git-svn-id: http://core.svn.wordpress.org/trunk@20756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 17:20:22 +00:00
bumpbot
8c2cc130f6 Compress scripts/styles: 3.4-beta4-20755.
git-svn-id: http://core.svn.wordpress.org/trunk@20755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:58:29 +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
bumpbot
4b38f2fe45 Compress scripts/styles: 3.4-beta4-20746.
git-svn-id: http://core.svn.wordpress.org/trunk@20746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 00:58:22 +00:00
koopersmith
c3ff01b334 Theme Customizer: Maintain scrolled position when preview performs a full refresh. Allow wp.customize.Messenger to send/receive falsy values. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 00:23:05 +00:00
bumpbot
d5cf655ad3 Compress scripts/styles: 3.4-beta4-20744.
git-svn-id: http://core.svn.wordpress.org/trunk@20744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:58:24 +00:00
koopersmith
d5d0a73719 Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:37:05 +00:00
bumpbot
484bf6e4ef Compress scripts/styles: 3.4-beta4-20742.
git-svn-id: http://core.svn.wordpress.org/trunk@20742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 20:58:20 +00:00
koopersmith
69d975d205 Theme Customizer: Add cross-domain handling for when the admin and front-end are different origins. Handles both ajax and postMessage calls. props rboren, mdawaffe, nacin. see #20507, #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 20:13:34 +00:00
ryan
bfe82654d6 Don't split the main query if there is no limit. This helps avoid extremely long query strings that could cause segfaults. Allow plugins to control splitting via split_the_query filter. see #20628
git-svn-id: http://core.svn.wordpress.org/trunk@20740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 20:01:47 +00:00
ryan
f5366a2ccf Don't delete nav menu items when the user that owns them is deleted.
* Introduce delete_with_user flag to register_post_type
* Set delete_with_user to false for the nav_menu_item post type
* Set it to true for all other core post types
* If delete_with_user is not set, fallback to post_type_supports('author')

Props nacin
Fixes #16358


git-svn-id: http://core.svn.wordpress.org/trunk@20739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 17:01:50 +00:00
bumpbot
c6dbd4b6a1 Compress scripts/styles: 3.4-beta4-20738.
git-svn-id: http://core.svn.wordpress.org/trunk@20738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 20:58:22 +00:00
koopersmith
13628d9186 Theme Customizer: Use a internal global _wpCustomizeSettings object for wp.customize.settings to prevent script race conditions in IE (which blocked interaction with the preview). see #20582, #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 20:03:39 +00:00
ryan
85781eaed2 phpdoc updates for register_post_type(). Props jeremyfelt. fixes #20622
git-svn-id: http://core.svn.wordpress.org/trunk@20734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 16:25:06 +00:00
nacin
e635716c0c Add version numbers to Plupload in the script-loader.
git-svn-id: http://core.svn.wordpress.org/trunk@20732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 04:43:30 +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
ryan
ea65aae093 phpdoc fix for register_post_status(). Props yoavf. fixes #20616
git-svn-id: http://core.svn.wordpress.org/trunk@20726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-05 19:04:34 +00:00
bumpbot
df245e9b09 Compress scripts/styles: 3.4-beta4-20725. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@20725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 03:58:20 +00:00
azaozz
cdcd99e11d Remove unneeded var added in [20723], see #20608
git-svn-id: http://core.svn.wordpress.org/trunk@20724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 03:28:35 +00:00
azaozz
d70be41ae6 DFW: fix auto-resize in WebKit, fixes #20608
git-svn-id: http://core.svn.wordpress.org/trunk@20723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 03:23:01 +00:00
azaozz
912fbd7e56 Update jQuery UI version strings in script-loader, props niallkennedy, fixes #20611
git-svn-id: http://core.svn.wordpress.org/trunk@20721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 01:11:28 +00:00
bumpbot
37d49fc7b4 Compress scripts/styles: 3.4-beta4-20717.
git-svn-id: http://core.svn.wordpress.org/trunk@20717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 17:58:27 +00:00
ryan
8c114f0c54 Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@20715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 16:41:59 +00:00
duck_
281ad053fc Declare visibility of _prepare_post_type() as protected. See #20566.
git-svn-id: http://core.svn.wordpress.org/trunk@20714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 15:59:50 +00:00
nacin
15b661ecab Make admin-head-callback optional for custom headers. Reverts part of [20684]. fixes #20603.
git-svn-id: http://core.svn.wordpress.org/trunk@20712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 13:30:55 +00:00
ryan
6ea0172254 Beta 4 bump
git-svn-id: http://core.svn.wordpress.org/trunk@20711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 02:08:43 +00:00
bumpbot
a5e53687b9 Compress scripts/styles: 3.4-beta3-20709.
git-svn-id: http://core.svn.wordpress.org/trunk@20709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 22:58:29 +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
nacin
296a97f566 We indent with spaces, not tabs. props sivel. fixes #20394.
git-svn-id: http://core.svn.wordpress.org/trunk@20703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:13:08 +00:00
nacin
06c86f519d In image_resize(), do not force the destination filename to *.jpg when we are dealing with a *.jpeg.
props SergeyBiryukov.
fixes #16458.



git-svn-id: http://core.svn.wordpress.org/trunk@20701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:58:57 +00:00
ryan
30e6bb654d Rolling upgrade to set the welcome_user_email network-wide option via the welcome_user_msg_filter() callback. Fixes ability to save the welcome user email when no entry exists in the database. see #20116
git-svn-id: http://core.svn.wordpress.org/trunk@20697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:31:37 +00:00
nacin
778c887fef Have the $fields argument for XML-RPC's wp.getPostType, getPostTypes, wp.getTaxonomy and wp.getTaxonomies take the names of the post type or taxonomy object keys that will be returned.
* capabilities becomes cap
 * object_types becomes object_type

fixes #17626.



git-svn-id: http://core.svn.wordpress.org/trunk@20696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:29:34 +00:00
nacin
fbea58a1b7 Add filter to image_resize_dimensions() so plugins can perform this calculation on their own. props ebababi. fixes #15989.
git-svn-id: http://core.svn.wordpress.org/trunk@20694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:15:44 +00:00
bumpbot
803b3aa13a Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: http://core.svn.wordpress.org/trunk@20693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:58:23 +00:00
nacin
725e0cc1df Remove $wp_secret_key_default.
With the duplicate key checks, this is isn't necessary. It could also cause problems when you
temporarily update to an English translation of a new version before going back to the locale.

see #19599.



git-svn-id: http://core.svn.wordpress.org/trunk@20691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:29:39 +00:00
bumpbot
dad497a12a Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: http://core.svn.wordpress.org/trunk@20690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:58:25 +00:00
nacin
4144452598 Only look for public post types in redirect_guess_404_permalink() when no post type query var is present. props jeremyfelt. fixes #19693.
git-svn-id: http://core.svn.wordpress.org/trunk@20688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:39:43 +00:00
nacin
d74bcb4a14 Add Vietnamese vowels to remove_accents(). props SergeyBiryukov. fixes #17738.
git-svn-id: http://core.svn.wordpress.org/trunk@20687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 16:55:16 +00:00
nacin
874cd9077f Add characters to be stripped or replaced in sanitize_title_with_dashes().
* Replace times (multiplication sign) with x.
 * Strip low quotation marks and other curly quotes we don't already deal with.
props SergeyBiryukov. fixes #19820.



git-svn-id: http://core.svn.wordpress.org/trunk@20686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 16:37:42 +00:00
nacin
4c7a3a6492 Always escape the output of get_pagenum_link(). fixes #14556.
git-svn-id: http://core.svn.wordpress.org/trunk@20685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 16:29:39 +00:00
nacin
a5a40528c2 Require both wp-head-callback and admin-head-callback for custom header theme support. fixes #20603.
git-svn-id: http://core.svn.wordpress.org/trunk@20684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 15:16:48 +00:00
nacin
bd1224eacf Update phpdoc for WP_User::has_cap(). props nunomorgadinho. see #19756.
git-svn-id: http://core.svn.wordpress.org/trunk@20683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 14:17:04 +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
nacin
886ee992be Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points.
In these cases, we want a period because it is going to be used by CSS.

props SergeyBiryukov.
fixes #19593.



git-svn-id: http://core.svn.wordpress.org/trunk@20675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:09:55 +00:00
ryan
52c4490065 RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
markjaquith
38dffbfe04 Ignore this. Just need an un-synced-to-GitHub commit so I can switch to using the new core.svn.wordpress.org URL.
git-svn-id: http://core.svn.wordpress.org/trunk@20672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 21:05:02 +00:00
nacin
9bb0b895da Kill all notices in XML-RPC found when running the test suite with WP_DEBUG. see [UT706], [UT707]. see #20566.
git-svn-id: http://core.svn.wordpress.org/trunk@20671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 21:03:50 +00:00
nacin
a6b1be42b4 Fix copy-paste issues in XML-RPC's _prepare_taxonomy(). see #20566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 20:33:06 +00:00
duck_
6fd24edbec Prevent a notice: don't attempt to parse the query string if it doesn't exist. Props johnjamesjacoby. Fixes #20528.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 18:26:38 +00:00
nacin
81861e8cf8 Don't try to translate tags in WP_Theme::translate_header() if we are not in the admin and get_theme_feature_list() isn't defined. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 18:02:40 +00:00
ryan
f7ae4d41f6 Add a link to the Customizer from the Admin Bar appearance menu. Props sabreuse. fixes #20575
git-svn-id: http://svn.automattic.com/wordpress/trunk@20666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 12:47:46 +00:00
nacin
6fff51eebe Use correct variables. props batmoo. fixes #20566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 01:11:18 +00:00
nacin
f8eeababd4 Use correct variables. props batmoo. fixes #20566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 23:45:01 +00:00