Commit Graph

  • 6fba47a265 Correct @since and remove invalid code example in wpdb::delete() documentation. Props GaryJ, scribu. See #18948. Jon Cave 2012-03-27 12:00:39 +00:00
  • 655b18cb36 Compress scripts/styles: 3.4-alpha-20291. bumpbot 2012-03-25 21:58:20 +00:00
  • d8513a5ebb Theme Customizer: Add 'choose image' functionality to image controls. Rough first pass, using header images as an example. see #19910. Daryl Koopersmith 2012-03-25 21:18:32 +00:00
  • 76e4fbee38 Remove step="" from upload size inputs, as the step is enforced in the spec, rather than being a recommendation. finally fixes #17863. Andrew Nacin 2012-03-25 13:02:01 +00:00
  • 99a61c7590 Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465. Andrew Nacin 2012-03-25 12:53:17 +00:00
  • 54a6a40533 Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948. Andrew Nacin 2012-03-24 15:24:31 +00:00
  • 2a020b2d93 Use correct filter name in wp_update_themes(): s/load-plugins/load-themes/. See r19683, #18876. Jon Cave 2012-03-24 14:07:12 +00:00
  • 6624783c75 Use get_taxonomies() instead of get_object_taxonomies() in the tag cloud widget. props GautamGupta, scribu. see #20238, see #16125. Andrew Nacin 2012-03-24 14:00:52 +00:00
  • 94789b3b7c Compress scripts/styles: 3.4-alpha-20284. bumpbot 2012-03-24 13:58:30 +00:00
  • f0a12b86ea Move editor-buttons.css to editor.css to reflect its current use. see #19843. Andrew Nacin 2012-03-24 13:43:52 +00:00
  • 1568ee99ee Revert UI for caption fields to pre-[19982], keeping textarea for the caption field. No monospaced font, revert label. see #18311. Andrew Nacin 2012-03-24 13:37:42 +00:00
  • 4507ff0b4a Fix typo: remove extraneous "@". See r20269. Jon Cave 2012-03-24 13:37:16 +00:00
  • d079275e8c Compress scripts/styles: 3.4-alpha-20280. bumpbot 2012-03-24 04:58:29 +00:00
  • 461e24643c Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810. Mark Jaquith 2012-03-24 04:54:58 +00:00
  • 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. Daryl Koopersmith 2012-03-24 04:35:13 +00:00
  • 1c6f00b0f3 Compress scripts/styles: 3.4-alpha-20277. bumpbot 2012-03-24 01:58:28 +00:00
  • 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. Daryl Koopersmith 2012-03-24 01:02:29 +00:00
  • 5e3e0b0404 Compress scripts/styles: 3.4-alpha-20275. bumpbot 2012-03-23 22:58:27 +00:00
  • c41689115f Theme Customizer: Change 'Random Image' control to be a proper 'Header Image' control. First step to integrating header images. see #19910. Daryl Koopersmith 2012-03-23 22:43:00 +00:00
  • b87fb24f21 Compress scripts/styles: 3.4-alpha-20273. bumpbot 2012-03-23 21:58:28 +00:00
  • 74cfcd36e3 Responsive columns on the dashboard and write screens, first run, see #20015 Andrew Ozz 2012-03-23 21:41:00 +00:00
  • a42caf87b4 XMLRPC: Add new wp.getPostType and wp.getPostTypes apis. See #18436 props maxcutler, markoheijnen and nprasath002. Peter Westwood 2012-03-23 17:53:14 +00:00
  • d605d742d5 XMLRPC: Add support for Feature Images to the new wp.xxxPost apis. See #18429 props maxcutler and markoheijen. Peter Westwood 2012-03-23 15:35:44 +00:00
  • f9d787fae1 Deprecate get_theme_data(). Use wp_get_theme() instead. see #20103. Andrew Nacin 2012-03-23 10:21:24 +00:00
  • 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. Andrew Nacin 2012-03-23 10:20:26 +00:00
  • 01be85d9c2 Support child theme installation in the theme installer. props otto42, dd32. fixes #13774. Andrew Nacin 2012-03-23 10:10:06 +00:00
  • 844d95b6fb Theme Customizer: Use a more complex name for the save parameter to prevent the customizer from clashing with plugins. see #19910. Daryl Koopersmith 2012-03-23 00:16:46 +00:00
  • 570cf18255 s/background/header/ in add_custom_image_header() deprecated function. see #20249 Ryan Boren 2012-03-22 19:31:03 +00:00
  • 8f741e4f24 Compress scripts/styles: 3.4-alpha-20264. bumpbot 2012-03-22 08:58:23 +00:00
  • 95ab797033 Theme Customizer: Add background repeat, position, and attachment settings. Change visibility parameter to accept a string or array( , ). see #19910. Daryl Koopersmith 2012-03-22 08:07:44 +00:00
  • c22a8a6cf6 Compress scripts/styles: 3.4-alpha-20262. bumpbot 2012-03-22 07:58:24 +00:00
  • f28d57454f Theme Customizer: Only show uploader 'remove' links when there is an image to remove. see #19910. Daryl Koopersmith 2012-03-22 07:30:44 +00:00
  • 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. Daryl Koopersmith 2012-03-22 07:17:26 +00:00
  • f561219e0b Theme Customizer: Ensure background_color and background_image exist instead of blindly attempting to access their controls. see #19910. Daryl Koopersmith 2012-03-22 07:03:44 +00:00
  • b1b507b2a9 Compress scripts/styles: 3.4-alpha-20258. bumpbot 2012-03-22 06:58:22 +00:00
  • a2e813571e Theme Customizer: In JavaScript, add the ability to execute a callback once a set of values have been initialized. see #19910. Daryl Koopersmith 2012-03-22 06:52:44 +00:00
  • a66dd764d6 Instantiate an object in get_default_link_to_edit(). fixes #20280. Andrew Nacin 2012-03-22 05:07:27 +00:00
  • 5c54b48c3c Compress scripts/styles: 3.4-alpha-20255. bumpbot 2012-03-22 04:58:24 +00:00
  • 999b57a813 Theme Customizer: Make dropdown-pages a native customize control. see #19910. Daryl Koopersmith 2012-03-22 04:14:26 +00:00
  • 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. Daryl Koopersmith 2012-03-22 03:58:06 +00:00
  • fa15fe4754 Compress scripts/styles: 3.4-alpha-20251. bumpbot 2012-03-22 02:58:22 +00:00
  • e678aca6f4 Theme Customizer: If a section has no settings, prevent it from being rendered. see #19910. Daryl Koopersmith 2012-03-22 02:58:07 +00:00
  • 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. Daryl Koopersmith 2012-03-22 02:39:03 +00:00
  • d26c70be9f Compress scripts/styles: 3.4-alpha-20249. bumpbot 2012-03-21 22:58:23 +00:00
  • ca4b8f3eac Theme Customizer: Numerous API refinements and bugfixes. Add a theme_supports check for header_textcolor. see #19910. Daryl Koopersmith 2012-03-21 22:55:43 +00:00
  • b88a68aad2 Don't use class="code" for the captions textareas as it resets RTL, see #18311 Andrew Ozz 2012-03-21 22:48:36 +00:00
  • 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. Andrew Nacin 2012-03-21 22:21:22 +00:00
  • 9c5f3d0243 Remove dead code from the Links widget. Props pavelevap, SergeyBiryukov. Fixes #19179. Jon Cave 2012-03-21 21:01:05 +00:00
  • 88482603e4 Compress scripts/styles: 3.4-alpha-20244. bumpbot 2012-03-21 20:58:20 +00:00
  • a1d8542c67 Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887. Andrew Nacin 2012-03-21 20:55:58 +00:00
  • 2a51977bfc Tidy up sanity checks in theme.dev.js. props DH-Shredder, fixes #19815. Andrew Nacin 2012-03-21 20:17:47 +00:00
  • 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. Andrew Nacin 2012-03-21 19:10:13 +00:00
  • b7e526d2ce Introduce display_header_text(). props chipbennett for initial patch. see #18887. Andrew Nacin 2012-03-21 18:48:57 +00:00
  • 33e990c8dd Remove unused $field_no_prefix variable and associated documentation from sanitize_user_field(). Fixes #20274. Jon Cave 2012-03-21 17:33:11 +00:00
  • 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. Andrew Nacin 2012-03-21 17:32:28 +00:00
  • 110ff8c995 Compress scripts/styles: 3.4-alpha-20237. bumpbot 2012-03-21 16:58:20 +00:00
  • 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. Andrew Nacin 2012-03-21 16:19:27 +00:00
  • 65bb406853 We use colon as the case separator. Jon Cave 2012-03-21 15:04:52 +00:00
  • 8d9d86352a Pass post_type through sanitize_key() instead of sanitize_user(). Fixes #20202. Jon Cave 2012-03-21 15:04:00 +00:00
  • cfb4179f87 Sanitize Theme URI and Author URI in WP_Theme with esc_url_raw. Escape with esc_url on display. see #20103. Andrew Nacin 2012-03-21 14:51:10 +00:00
  • 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. Daryl Koopersmith 2012-03-21 04:59:57 +00:00
  • 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. Andrew Nacin 2012-03-21 03:36:17 +00:00
  • 6caf12d0bc Remove enqueue of wp_plupload_default_settings() from admin_enqueue_scripts(). For now, it needs to be enqueued selectively when needed. see #19910. Andrew Nacin 2012-03-21 03:21:07 +00:00
  • 910804c30e Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266. Andrew Nacin 2012-03-20 23:04:59 +00:00
  • 3fd13e90b5 POT, generated from r20226 potbot 2012-03-20 22:16:13 +00:00
  • 8239a17df0 POT, generated from r20226 potbot 2012-03-20 22:16:07 +00:00
  • 928e6b012b Remove unused variable. see #20265. Andrew Nacin 2012-03-20 21:38:22 +00:00
  • 27656b6d3f Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249. Andrew Nacin 2012-03-20 21:32:42 +00:00
  • 56a2ee069e POT, generated from r20223 potbot 2012-03-20 21:17:55 +00:00
  • ad7eb88a49 Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265. Andrew Nacin 2012-03-20 20:46:46 +00:00
  • 48598e8b18 Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265. see #20249. Andrew Nacin 2012-03-20 20:37:53 +00:00
  • 1c04dd0576 In new add_theme_support() logic, fix logic inversion, define HEADER_IMAGE in a simpler way, and force args to be an array. see #20249. Andrew Nacin 2012-03-20 20:34:49 +00:00
  • 388dacf0e2 Don't suggest only add_theme_support('custom-background') -- suggest it with $args even if it wasn't called with any arguments. In particular, default-color should be used by themes as a good user experience improvement. see #20249. Andrew Nacin 2012-03-20 19:06:43 +00:00
  • 50bf8dfaef Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA. Andrew Nacin 2012-03-20 18:41:54 +00:00
  • 4642f9d093 Deprecate add_custom_image_header(), remove_custom_image_header(), add_custom_background(), remove_custom_background(). Replacements are add_theme_support() and remove_theme_support(). see #20249. Andrew Nacin 2012-03-19 21:14:41 +00:00
  • 197ec5d82e Revert type="number" for the date/time fields as it introduces UI/styling issues, fixes #20217, see #17863 Andrew Ozz 2012-03-19 19:30:07 +00:00
  • 83604c7fbb Don't generate a query when the all_page_ids cache is an empty array. An empty array is a valid cache value when no pages are present. Avoids a useless query for sites with no pages. Props andy. see #20236 Ryan Boren 2012-03-19 19:09:03 +00:00
  • d89a24a902 Consolidate some strings. Props ramiy. see #20216 Ryan Boren 2012-03-19 19:04:49 +00:00
  • 43cd1ca516 The word 'support' does not have a overly long 'p'. see #20249. Andrew Nacin 2012-03-19 18:00:27 +00:00
  • ad5a3736e6 Fix copy-paste issue. see #20249. Andrew Nacin 2012-03-19 17:15:30 +00:00
  • 070a9e5c59 Introduce new registration methods for custom headers and custom backgrounds. Backwards compatible, but old methods will be deprecated. see #20249. see #17242. Andrew Nacin 2012-03-19 17:12:44 +00:00
  • 866e4df183 Return to step 1 on custom-header.php if not POST data is sent. Good for if step=2 or 3 is in the URL and the page is refreshed (otherwise a nonce check fails). see #20249. Andrew Nacin 2012-03-19 14:45:29 +00:00
  • 4a99a54b23 Theme Customizer: In customize_control_dropdown_pages(), remove bad translation. Replace with proper customize-control- markup. see #19910. Andrew Nacin 2012-03-19 13:38:43 +00:00
  • cc9bcf724b Restore the h1 styling for wp_die(), primarily affects database down messages. See #17975 Dion Hulse 2012-03-18 11:51:25 +00:00
  • 5e9301f14c WP_HTTP: Curl: Handle Redirections in PHP rather than internally in Curl, Simplifies code flow between safe_mode On and Off, and works around certain bugs. Props simonwheatley for initial patch. Fixes #20219, Fixes #17490 Dion Hulse 2012-03-18 05:00:05 +00:00
  • 652212f123 WP_Http: cURL: Use the parsed args $r, rather than the raw $args. Mentioned in #20219 Dion Hulse 2012-03-18 03:12:12 +00:00
  • 15c3656249 Remove jQuery Masonry from Appearance > Header until we figure out sporadic issues relating to overlapping images (probably due to lame markup). see #17242. Andrew Nacin 2012-03-16 21:05:00 +00:00
  • 881ec57e40 Compress scripts/styles: 3.4-alpha-20205. bumpbot 2012-03-16 04:58:24 +00:00
  • c7a6f3bdf2 upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863. Andrew Nacin 2012-03-16 04:43:20 +00:00
  • 671a9f07e2 Size options on options-media.php are allowed to be 0 or otherwise empty. see #17863. Andrew Nacin 2012-03-16 04:37:49 +00:00
  • 01846b1aa5 It is possible for comments_per_page to be 0, which turns off pagination. See sanitize_option(); wp_list_commnts(); get_comment_link(). see #17863. Andrew Nacin 2012-03-16 04:36:12 +00:00
  • d49d30651b Only grow input.small-text if type='number'. see [20168], see #17863. Andrew Nacin 2012-03-16 04:28:32 +00:00
  • 492400a0eb comment_max_links may be zero to bypass the moderation check entirely. [20168] erred. see #17863. Andrew Nacin 2012-03-16 04:26:25 +00:00
  • eb066c0b33 Adjust site upload space HTML5 type='number' validation. see #17863. Andrew Nacin 2012-03-16 04:16:21 +00:00
  • a30c7c32c4 Remove type='number' from list table page inputs out of a concern for UX, as well as styling issues. fixes #20247. see #17863 for further discussion. Andrew Nacin 2012-03-16 04:04:07 +00:00
  • 7d868db67b Theme Customizer: Bind wp_plupload_default_settings() to the customize_controls_enqueue_scripts hook. Fixes JS errors. see #19910, [20189]. Daryl Koopersmith 2012-03-15 19:46:15 +00:00
  • ce48b0d471 Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863. Andrew Nacin 2012-03-15 18:09:14 +00:00
  • a72a104a4c Change 'Post Format' bulk/quick edit label to 'Format'. Consistent with the UI and prevents word wrapping. Tidy logic. see #20245. Andrew Nacin 2012-03-15 17:19:30 +00:00
  • 183c5df8c2 Hide unsupported post formats from bulk edit. fixes #20245. Andrew Nacin 2012-03-15 17:17:56 +00:00
  • e71167bbee Updates to WP_Theme, wp_get_themes(), and related deprecated functions, after [UT570] [UT578] [UT579]. see #20103. * ['Template Files'] and ['Stylesheet Files'] need to return files from the parent theme as well. * Don't strip links from the Author header. Some themes rely on the previous behavior, such as to link multiple authors (Sandbox, for example.) Don't restore links to the Name, that's just a bad idea. * Ensure we are always passing around arrays in get_files/scandir. * Better inline doc for wp_get_themes() arguments. * Introduce a 'force' flag for search_theme_directories() to re-scan, rather than return the cache. We will use this to re-build the theme_roots transient in get_theme_roots(), but it is more helpful for unit tests. Since search_theme_directories() is cached, don't cache again in wp_get_themes(). (Again benefits testing.) * Handle duplicate theme names in the old get_themes() when two themes match (and neither are a default theme, which is already handled). wp_get_themes() will consider both names to be the same; this is just for back compat since get_themes() is keyed by name. * Include an old array key in wp_broken_themes(). Andrew Nacin 2012-03-15 15:39:21 +00:00