bumpbot
5e3e0b0404
Compress scripts/styles: 3.4-alpha-20275.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20275 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 22:58:27 +00:00
Daryl Koopersmith
c41689115f
Theme Customizer: Change 'Random Image' control to be a proper 'Header Image' control. First step to integrating header images. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20274 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 22:43:00 +00:00
bumpbot
b87fb24f21
Compress scripts/styles: 3.4-alpha-20273.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20273 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 21:58:28 +00:00
Andrew Ozz
74cfcd36e3
Responsive columns on the dashboard and write screens, first run, see #20015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20272 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 21:41:00 +00:00
Peter Westwood
a42caf87b4
XMLRPC: Add new wp.getPostType and wp.getPostTypes apis. See #18436 props maxcutler, markoheijnen and nprasath002.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20271 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 17:53:14 +00:00
Peter Westwood
d605d742d5
XMLRPC: Add support for Feature Images to the new wp.xxxPost apis. See #18429 props maxcutler and markoheijen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20270 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 15:35:44 +00:00
Andrew Nacin
f9d787fae1
Deprecate get_theme_data(). Use wp_get_theme() instead. see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20269 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 10:21:24 +00:00
Andrew Nacin
7f5fa1193e
Leverage WP_Theme in the upgrader. Remove debug line from [20267]. Stop using get_theme_data() as it will be deprecated. see #13774 . see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20268 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 10:20:26 +00:00
Andrew Nacin
01be85d9c2
Support child theme installation in the theme installer. props otto42, dd32. fixes #13774 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20267 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 10:10:06 +00:00
Daryl Koopersmith
844d95b6fb
Theme Customizer: Use a more complex name for the save parameter to prevent the customizer from clashing with plugins. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20266 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 00:16:46 +00:00
Ryan Boren
570cf18255
s/background/header/ in add_custom_image_header() deprecated function. see #20249
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20265 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 19:31:03 +00:00
bumpbot
8f741e4f24
Compress scripts/styles: 3.4-alpha-20264.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20264 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 08:58:23 +00:00
Daryl Koopersmith
95ab797033
Theme Customizer: Add background repeat, position, and attachment settings. Change visibility parameter to accept a string or array( , ). see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20263 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 08:07:44 +00:00
bumpbot
c22a8a6cf6
Compress scripts/styles: 3.4-alpha-20262.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20262 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:58:24 +00:00
Daryl Koopersmith
f28d57454f
Theme Customizer: Only show uploader 'remove' links when there is an image to remove. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20261 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:30:44 +00:00
Daryl Koopersmith
7dc476bd8b
Theme Customizer: Add a WP_Customize_Setting->visibility parameter to show/hide a control based upon the value of another control. Also shifts rendering the setting wrapper element into WP_Customize_Setting->render() and adds WP_Customize_Setting->render_content(). see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20260 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:17:26 +00:00
Daryl Koopersmith
f561219e0b
Theme Customizer: Ensure background_color and background_image exist instead of blindly attempting to access their controls. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20259 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:03:44 +00:00
bumpbot
b1b507b2a9
Compress scripts/styles: 3.4-alpha-20258.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20258 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 06:58:22 +00:00
Daryl Koopersmith
a2e813571e
Theme Customizer: In JavaScript, add the ability to execute a callback once a set of values have been initialized. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20257 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 06:52:44 +00:00
Andrew Nacin
a66dd764d6
Instantiate an object in get_default_link_to_edit(). fixes #20280 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20256 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 05:07:27 +00:00
bumpbot
5c54b48c3c
Compress scripts/styles: 3.4-alpha-20255.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20255 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 04:58:24 +00:00
Daryl Koopersmith
999b57a813
Theme Customizer: Make dropdown-pages a native customize control. see #19910 .
...
While the customize_render_control- action has been removed, we could still accomplish this with the customize_render_setting action. That said, in this case, avoiding native integration was a matter of minor semantics that ended in the same result.
git-svn-id: https://develop.svn.wordpress.org/trunk@20254 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 04:14:26 +00:00
Daryl Koopersmith
44880bceb5
Theme Customizer: Plupload does not support objects in its multipart_params setting (which causes exceptions in Firefox). Use multidimensional keys to circumnavigate this issue. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20253 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 03:58:06 +00:00
bumpbot
fa15fe4754
Compress scripts/styles: 3.4-alpha-20251.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20252 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 02:58:22 +00:00
Daryl Koopersmith
e678aca6f4
Theme Customizer: If a section has no settings, prevent it from being rendered. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20251 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 02:58:07 +00:00
Daryl Koopersmith
ee5dcc012f
Theme Customizer: Do not attempt to grab the contents of the preview iframe to populate the window title. Reverts plugins repo revision 508947. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20250 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 02:39:03 +00:00
bumpbot
d26c70be9f
Compress scripts/styles: 3.4-alpha-20249.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20249 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 22:58:23 +00:00
Daryl Koopersmith
ca4b8f3eac
Theme Customizer: Numerous API refinements and bugfixes. Add a theme_supports check for header_textcolor. see #19910 .
...
* prepare_controls() now removes any settings and sections that return false for check_capabilities().
* Added maybe_render() methods to both settings and sections that call the protected render() methods.
* Stop firing front-end preview functionality when rendering the controls.
* Merged the WP_Customize_Setting->_render_type() method into WP_Customize_Setting->render().
* Removed the 'customize_render_control-' hook; use 'customize_render_setting' instead.
* Added a property to sections and settings so they no longer rely on the global. Hooray for dependency injection.
* Shifted calls to WP_Customize_Setting->enqueue() to the 'customize_controls_enqueue_scripts' action.
* Added a theme_supports check for the header_textcolor setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@20248 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 22:55:43 +00:00
Andrew Ozz
b88a68aad2
Don't use class="code" for the captions textareas as it resets RTL, see #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20247 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 22:48:36 +00:00
Andrew Nacin
c885e3530a
Only pass arguments from the deprecated add_custom_background() or add_custom_image_header() to add_theme_support() if the argument was actually supplied. With [20212], default argument values (like wp-head-callback=_custom_background_cb) only work for arguments that were not explicitly set, so don't set empty values. see #20249 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20246 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 22:21:22 +00:00
Jon Cave
9c5f3d0243
Remove dead code from the Links widget. Props pavelevap, SergeyBiryukov. Fixes #19179 .
...
The widget() method isn't called on the admin screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@20245 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 21:01:05 +00:00
bumpbot
88482603e4
Compress scripts/styles: 3.4-alpha-20244.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20244 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 20:58:20 +00:00
Andrew Nacin
a1d8542c67
Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20243 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 20:55:58 +00:00
Andrew Nacin
2a51977bfc
Tidy up sanity checks in theme.dev.js. props DH-Shredder, fixes #19815 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20242 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 20:17:47 +00:00
Andrew Nacin
0a6a9c2a8c
Use display_header_text() in custom-header.php. Rework the UI to be a 'Show header text' checkbox (rather than radio buttons). Remove lame 'blank' hack for no-JS -- checkboxes work without JS. Move 'Select a Color' to a link like it is for custom background. Nearby code cleanup. see #18887 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20241 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 19:10:13 +00:00
Andrew Nacin
b7e526d2ce
Introduce display_header_text(). props chipbennett for initial patch. see #18887 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20240 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 18:48:57 +00:00
Jon Cave
33e990c8dd
Remove unused $field_no_prefix variable and associated documentation from sanitize_user_field(). Fixes #20274 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20239 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 17:33:11 +00:00
Andrew Nacin
1872a4a8fc
WP_Theme::get_allowed_on_network() doesn't take a blog_id argument. props duck_. Restore static declaration accidentally removed in [20193]. see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20238 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 17:32:28 +00:00
bumpbot
110ff8c995
Compress scripts/styles: 3.4-alpha-20237.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20237 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 16:58:20 +00:00
Andrew Nacin
a372b1a704
Visually merge a plugin with its update notice. Same applies to themes in the network admin. Move from 'update automatically' to 'update now'. fixes #20273 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20236 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 16:19:27 +00:00
Jon Cave
65bb406853
We use colon as the case separator.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20235 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 15:04:52 +00:00
Jon Cave
8d9d86352a
Pass post_type through sanitize_key() instead of sanitize_user(). Fixes #20202 .
...
For consistency with the registration API and because it does less work.
git-svn-id: https://develop.svn.wordpress.org/trunk@20234 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 15:04:00 +00:00
Andrew Nacin
cfb4179f87
Sanitize Theme URI and Author URI in WP_Theme with esc_url_raw. Escape with esc_url on display. see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20233 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 14:51:10 +00:00
Daryl Koopersmith
c6043b2fa2
Theme Customizer: Improve WP_Customize_Setting->check_capabilities(). Add support for arrays in WP_Customize_Setting->capability and WP_Customize_Setting->theme_supports. Don't bail when WP_Customize_Setting->capability is empty. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20232 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 04:59:57 +00:00
Andrew Nacin
67f21026b9
Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20231 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:36:17 +00:00
Andrew Nacin
6caf12d0bc
Remove enqueue of wp_plupload_default_settings() from admin_enqueue_scripts(). For now, it needs to be enqueued selectively when needed. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20230 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:21:07 +00:00
Andrew Nacin
910804c30e
Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20229 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 23:04:59 +00:00
potbot
3fd13e90b5
POT, generated from r20226
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20228 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:13 +00:00
potbot
8239a17df0
POT, generated from r20226
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20227 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:07 +00:00
Andrew Nacin
928e6b012b
Remove unused variable. see #20265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20226 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:38:22 +00:00