Daryl Koopersmith
21449c3269
Theme Customizer: Add data binding to page dropdown controls. Add WP_Customize_Control->get_link() to return the data attribute string. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20302 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:45:51 +00:00
Daryl Koopersmith
d5f5376394
Theme Customizer: Properly bind the 'upload new' and 'remove image' actions in the image picker. see #19910 .
...
This occurred because we weren't calling UploadControl.ready (where the actions are declared and the uploader is initialized) in ImageControl.ready.
git-svn-id: https://develop.svn.wordpress.org/trunk@20301 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:33:32 +00:00
Daryl Koopersmith
26bba58bdb
Theme Customizer: Properly pass arguments by reference to WP_Customize_Setting->multidimensional(). see #19910 , [20136], #20163 .
...
This is necessary for WP_Customize_Setting->multidimensional_replace() to work properly on multidimensional arrays (which was, as the name indicates, the point of the function in the first place).
git-svn-id: https://develop.svn.wordpress.org/trunk@20300 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:27:26 +00:00
Daryl Koopersmith
ea85772eb6
Theme Customizer: Sanitize selectors by transforming square brackets into dashes. see #19910 .
...
This both better conforms to the CSS spec and prevents bugs from occurring in JavaScript selector engines.
git-svn-id: https://develop.svn.wordpress.org/trunk@20299 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:10:29 +00:00
bumpbot
4e658d4443
Compress scripts/styles: 3.4-alpha-20298.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20298 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 08:58:23 +00:00
Daryl Koopersmith
1a03f9af0d
Theme Customizer: Fix postMessage for background_color. The method parameter affects settings, not controls. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20297 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 08:55:25 +00:00
bumpbot
4d703df740
Compress scripts/styles: 3.4-alpha-20296.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20296 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 04:58:24 +00:00
Daryl Koopersmith
2ca07cdf2a
Create WP_Customize_Control to separate the process of rendering a control from fetching, previewing, and saving its values. see #19910 .
...
Many-to-many mapping between settings and controls.
* Settings and controls have been separated in both the PHP (WP_Customize_Setting, WP_Customize_Control) and the JS (wp.customize.Setting, wp.customize.Control).
* While most settings are tied to a single control, some require multiple controls. The 'header_textcolor' control is a good example: to hide the header text, header_textcolor is set to 'blank'.
Add 'Display Header Text' control.
A handful of miscellaneous bugfixes along the way.
Notes:
* Controls should be separated out a bit more; juggling type-specific arguments in the switch statement is rather inelegant.
* Page dropdowns are currently inactive and need to be re-linked.
git-svn-id: https://develop.svn.wordpress.org/trunk@20295 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 04:14:09 +00:00
bumpbot
4337bd15e7
Compress scripts/styles: 3.4-alpha-20294.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20294 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 02:58:21 +00:00
Andrew Ozz
721da35048
Don't show dashed border on empty postbox containers under the editor, see #20015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20293 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 02:10:19 +00:00
Jon Cave
6fba47a265
Correct @since and remove invalid code example in wpdb::delete() documentation. Props GaryJ, scribu. See #18948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20292 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-27 12:00:39 +00:00
bumpbot
655b18cb36
Compress scripts/styles: 3.4-alpha-20291.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20291 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 21:58:20 +00:00
Daryl Koopersmith
d8513a5ebb
Theme Customizer: Add 'choose image' functionality to image controls. Rough first pass, using header images as an example. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20290 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 21:18:32 +00:00
Andrew Nacin
76e4fbee38
Remove step="" from upload size inputs, as the step is enforced in the spec, rather than being a recommendation. finally fixes #17863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20289 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 13:02:01 +00:00
Andrew Nacin
99a61c7590
Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20288 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 12:53:17 +00:00
Andrew Nacin
54a6a40533
Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20287 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 15:24:31 +00:00
Jon Cave
2a020b2d93
Use correct filter name in wp_update_themes(): s/load-plugins/load-themes/. See r19683, #18876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20286 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 14:07:12 +00:00
Andrew Nacin
6624783c75
Use get_taxonomies() instead of get_object_taxonomies() in the tag cloud widget. props GautamGupta, scribu. see #20238 , see #16125 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20285 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 14:00:52 +00:00
bumpbot
94789b3b7c
Compress scripts/styles: 3.4-alpha-20284.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20284 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 13:58:30 +00:00
Andrew Nacin
f0a12b86ea
Move editor-buttons.css to editor.css to reflect its current use. see #19843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20283 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 13:43:52 +00:00
Andrew Nacin
1568ee99ee
Revert UI for caption fields to pre-[19982], keeping textarea for the caption field. No monospaced font, revert label. see #18311 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20282 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 13:37:42 +00:00
Jon Cave
4507ff0b4a
Fix typo: remove extraneous "@". See r20269.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20281 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 13:37:16 +00:00
bumpbot
d079275e8c
Compress scripts/styles: 3.4-alpha-20280.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20280 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:58:29 +00:00
Mark Jaquith
461e24643c
Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20279 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:54:58 +00:00
Daryl Koopersmith
e0773710ec
Theme Customizer: First pass at image controls. Use header_image as the initial case. Add a 'removed' control param for upload/image controls to map 'removed' to a value other than the empty string. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20278 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:35:13 +00:00
bumpbot
1c6f00b0f3
Compress scripts/styles: 3.4-alpha-20277.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20277 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 01:58:28 +00:00
Daryl Koopersmith
b0f973d884
Theme Customizer: Add WP_Customizer_Setting->control_params, and wp.customize.Control.params to allow settings to pass arbitrary parameters to controls. Add the 'context' parameter to wp.customize.UploadControl. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20276 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 01:02:29 +00:00
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