Commit Graph

9775 Commits

Author SHA1 Message Date
Ryan Boren 6f9ceb2326 Introduce WP_User::exists(). see #20372
git-svn-id: https://develop.svn.wordpress.org/trunk@20378 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:18:45 +00:00
Andrew Ozz f880b3544d Pluck a tab (whitespace), props SergeyBiryukov, see #20369
git-svn-id: https://develop.svn.wordpress.org/trunk@20377 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 18:26:14 +00:00
Andrew Ozz 80df7fe2cf Fix second callback when filtering caption text for shortcode, props SergeyBiryukov, fixes #20369
git-svn-id: https://develop.svn.wordpress.org/trunk@20376 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 17:38:49 +00:00
bumpbot c16ba6d8c7 Compress scripts/styles: 3.4-beta1-20370.
git-svn-id: https://develop.svn.wordpress.org/trunk@20371 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:58:23 +00:00
Jon Cave 8578804f80 Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.
git-svn-id: https://develop.svn.wordpress.org/trunk@20369 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:14:32 +00:00
bumpbot 62c705e044 Compress scripts/styles: 3.4-beta1-20368.
git-svn-id: https://develop.svn.wordpress.org/trunk@20368 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:57:33 +00:00
Andrew Ozz 214f1e8672 Dashboard icon back in, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20367 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:55:35 +00:00
bumpbot dcda0d1c10 Compress scripts/styles: 3.4-alpha-20365.
git-svn-id: https://develop.svn.wordpress.org/trunk@20365 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:34:01 +00:00
Andrew Ozz 130b4f2645 More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20364 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:30:06 +00:00
Andrew Nacin f9a131231d Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20363 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:05:49 +00:00
Andrew Ozz 7ceb8f1a68 More specific selectors for the 2x images, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20362 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:02:36 +00:00
bumpbot 897d692c6d Compress scripts/styles: 3.4-alpha-20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20361 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:58:26 +00:00
Andrew Nacin 7e614e2ff1 Empty media-gallery.js - bumpbot hungry. see [20359].
git-svn-id: https://develop.svn.wordpress.org/trunk@20360 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:23:12 +00:00
Ryan Boren 5ca4c46c85 Add media-gallery js. see #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20359 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:21:28 +00:00
Ryan Boren 485e7bc261 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20358 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:20:28 +00:00
bumpbot f027063f41 Compress scripts/styles: 3.4-alpha-20357.
git-svn-id: https://develop.svn.wordpress.org/trunk@20357 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:58:25 +00:00
Andrew Ozz f62e952ae9 Double-size icons and WordPress logo for retina displays, props chexee, props empireoflight, props iammattthomas, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20356 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:02:51 +00:00
bumpbot 7f938af8c5 Compress scripts/styles: 3.4-alpha-20355.
git-svn-id: https://develop.svn.wordpress.org/trunk@20355 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:58:23 +00:00
Daryl Koopersmith 786145ebbf Theme Customizer: Add a link to customize the current theme. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20354 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:41:51 +00:00
Daryl Koopersmith 31caea7b9b Theme Customizer: Improve the customize loader and themes list table markup. see #19910.
* Use event delegation for triggering the customize loader (so we play nicely with infinite scroll).
* Use data attributes on .load-customize links instead of parsing the href.
* Properly translate the 'Customize' string instead of injecting the replacement with JS.

git-svn-id: https://develop.svn.wordpress.org/trunk@20352 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:02:29 +00:00
Jon Cave d90bb2403a Make comment type filter persist across views (e.g. approved, spam) of the list of comments. Fixes #20281.
git-svn-id: https://develop.svn.wordpress.org/trunk@20350 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 17:36:23 +00:00
Jon Cave ecd1caa054 Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@20349 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 17:32:03 +00:00
bumpbot 0d6710383f Compress scripts/styles: 3.4-alpha-20348.
git-svn-id: https://develop.svn.wordpress.org/trunk@20348 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:58:22 +00:00
Andrew Ozz 8df58a787f RTL for the responsive columns, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20347 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:46:38 +00:00
Andrew Ozz 9dcc77d9c1 Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20346 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:45:30 +00:00
bumpbot 3a460964ae Compress scripts/styles: 3.4-alpha-20339.
git-svn-id: https://develop.svn.wordpress.org/trunk@20339 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 22:58:18 +00:00
Andrew Ozz ffbdfe9b06 Fix getting the checked radio button when attaching orphan attachments, props solarissmoke SergeyBiryukov, fixes #16655
git-svn-id: https://develop.svn.wordpress.org/trunk@20338 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 22:46:29 +00:00
bumpbot c4e65f5f3f Compress scripts/styles: 3.4-alpha-20336.
git-svn-id: https://develop.svn.wordpress.org/trunk@20336 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 17:58:19 +00:00
Andrew Ozz 603565a190 Switch to one column on the edit/write screens at 850px (the editor becomes unusable at narrower screens and two columns), see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20335 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 17:00:08 +00:00
Andrew Nacin 467905e308 Use 'Keyword' instead of 'Term' in the search type selector in the plugin and theme installers. see #19619.
git-svn-id: https://develop.svn.wordpress.org/trunk@20333 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 21:17:22 +00:00
Andrew Nacin 48c5af2ac0 Clean up cap checks for autocompletes for sites and users in a network. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@20332 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 21:04:48 +00:00
Andrew Nacin 47a29d2c26 Ensure we get a theme back from wp_get_theme() before checking ->errors(). see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20331 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 16:35:51 +00:00
Andrew Nacin 8abd8624be Clear WP_Theme caches on update. fixes #20331.
git-svn-id: https://develop.svn.wordpress.org/trunk@20329 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 14:46:52 +00:00
Andrew Nacin 09f946105d Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: https://develop.svn.wordpress.org/trunk@20328 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 14:39:05 +00:00
Daryl Koopersmith bdee6c8e15 Theme Customizer: Move upload and image controls to subclasses. see #19910.
Instead of grouping together every control parameter into a single  array and passing them all to the JS, use subclasses with custom parameters to implement additional PHP functionality and the  parameter to send only the necessary variables to the JavaScript control.

Replaces WP_Customize_Control->control_params with WP_Customize_Control->json and WP_Customize_Control->to_json(). The to_json() method refreshes the json array passed to the JavaScript control (set to control.param by default).

Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.

git-svn-id: https://develop.svn.wordpress.org/trunk@20319 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 06:35:54 +00:00
Andrew Nacin 50346e7955 Always set WP_Theme->template even when there is an error and we have no idea what the template is. (Assume it is the stylesheet.) Prevents a number of issues including WP_Theme->is_child_theme() lying. Tidy the theme editor for broken themes and themes with no templates (PHP files), or no template (parent), or are broken. Allow broken themes to be edited. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20315 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 04:16:17 +00:00
Andrew Nacin c654d0ccf0 urldecode() the incoming $file in the theme editor. see [20313] when the encode was added. see #2994 for the original bug report. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20314 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 03:34:51 +00:00
Andrew Nacin 3b38b4a124 Rewrite theme-editor.php to use the new WP_Theme API. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20313 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 03:00:38 +00:00
Dion Hulse c024ae710c WP_Filesystem: PemFTP: Detect dl() being disabled in order to avoid any fatals which may be produced when the Sockets extension is not available. Props to kurtpayne for initial patch, Fixes #20187
git-svn-id: https://develop.svn.wordpress.org/trunk@20311 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 02:15:06 +00:00
Andrew Nacin eeee02b520 Revert label change in [20282]. see #18311.
git-svn-id: https://develop.svn.wordpress.org/trunk@20310 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 20:32:29 +00:00
Mark Jaquith 5fa84e63ec Wrap attachment delete link in <p> for semantics and alignment. props aaroncampbell, lancewillett. fixes #19785
git-svn-id: https://develop.svn.wordpress.org/trunk@20309 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 20:28:34 +00:00
Andrew Ozz f615043fea Improve _fix_attachment_links(), replace attachment URLs with the real permalink only for published posts, re-save only when there are changes, see #13429
git-svn-id: https://develop.svn.wordpress.org/trunk@20308 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 16:02:12 +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
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
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 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
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
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
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
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 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
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
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
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
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
Andrew Ozz 197ec5d82e Revert type="number" for the date/time fields as it introduces UI/styling issues, fixes #20217, see #17863
git-svn-id: https://develop.svn.wordpress.org/trunk@20217 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-19 19:30:07 +00:00
Andrew Nacin 070a9e5c59 Introduce new registration methods for custom headers and custom backgrounds. Backwards compatible, but old methods will be deprecated. see #20249. see #17242.
Custom header: Use add_theme_support('custom-header', $args) instead of add_custom_image_header(). Deprecates all use of constants.
 * HEADER_TEXTCOLOR is now (string) 'default-text-color'.
 * NO_HEADER_TEXT is nowi ! (bool) 'header-text'.
 * HEADER_IMAGE_WIDTH (and _HEIGHT) are now (int) 'width' and 'height'.
 * HEADER_IMAGE is now (string) 'default-image'.
 * The 3.4 arguments 'suggested-width' and 'suggested-height' are now just 'width' and 'height' (they are "suggested" when flex-width and flex-height are set).
 * Callback arguments for add_custom_image_header() can now be passed to add_theme_support().

Custom background: Use add_theme_support('custom-background, $args) instead of add_custom_background(). Deprecates all use of constants.
 * BACKGROUND_COLOR is now (string) 'default-color'.
 * BACKGROUND_IMAGE is now (string) 'default-image'.
 * Callback arguments for add_custom_background() can now be passed to add_theme_support().

Inheritance: add_theme_support() arguments for custom headers and custom backgrounds is a first-one-wins situation. This is not an unusual paradigm for theming as a child theme (which is included first) overrides a parent theme.
 * Once an argument is explicitly set, it cannot be overridden. You must hook in earlier and set it first.
 * Any argument that is not explicitly set before WP is loaded will inherit the default value for that argument.
 * It is therefore possible for a child theme to pass minimal arguments as long as the parent theme specifies others that may be necessary.
 * Allows for a child theme to alter callbacks for <head> and preview (previously, calling add_custom_image_header more than once broke things).
 * The just-in-time bits ensure that arguments fall back to default values, that the values of all constants are considered (such as one defined after an old add_custom_image_header call), and that all constants are defined (so as to be backwards compatible).

get_theme_support(): Introduce new second argument, which headers and backgrounds leverage to return an argument. current_theme_supports() already supported checking the truthiness of the argument.
 * For example, get_theme_support( 'custom-header', 'width' ) will return the width specified during registration.
 * If you had wanted the default image, use get_theme_support( 'custom-header', 'default-image' ) instead of HEADER_IMAGE. 

Deprecate remove_custom_image_header(), remove_custom_background(). Use remove_theme_support('custom-header'), 'custom-background'.

Deprecate short-lived custom-header-uploads internal support; this is now (bool) 'uploads' for add_theme_support().

New 3.4 functions renamed or removed: Rename get_current_header_data() to get_custom_header(). Remove get_header_image_width() and _height() in favor of get_custom_header()->width and height.



git-svn-id: https://develop.svn.wordpress.org/trunk@20212 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-19 17:12:44 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20211 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-19 14:45:29 +00:00
Andrew Nacin 15c3656249 Remove jQuery Masonry from Appearance > Header until we figure out sporadic issues relating to overlapping images (probably due to lame markup). see #17242.
git-svn-id: https://develop.svn.wordpress.org/trunk@20206 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 21:05:00 +00:00
bumpbot 881ec57e40 Compress scripts/styles: 3.4-alpha-20205.
git-svn-id: https://develop.svn.wordpress.org/trunk@20205 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:58:24 +00:00
Andrew Nacin c7a6f3bdf2 upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20204 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:43:20 +00:00
Andrew Nacin 671a9f07e2 Size options on options-media.php are allowed to be 0 or otherwise empty. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20203 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:37:49 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20202 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:36:12 +00:00
Andrew Nacin d49d30651b Only grow input.small-text if type='number'. see [20168], see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20201 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:28:32 +00:00
Andrew Nacin 492400a0eb comment_max_links may be zero to bypass the moderation check entirely. [20168] erred. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20200 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:26:25 +00:00
Andrew Nacin eb066c0b33 Adjust site upload space HTML5 type='number' validation. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20199 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:16:21 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20198 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:04:07 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@20196 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 18:09:14 +00:00
Andrew Nacin a72a104a4c Change 'Post Format' bulk/quick edit label to 'Format'. Consistent with the UI and prevents word wrapping. Tidy logic. see #20245.
git-svn-id: https://develop.svn.wordpress.org/trunk@20195 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 17:19:30 +00:00
Andrew Nacin 183c5df8c2 Hide unsupported post formats from bulk edit. fixes #20245.
git-svn-id: https://develop.svn.wordpress.org/trunk@20194 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 17:17:56 +00:00
Andrew Nacin 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().



git-svn-id: https://develop.svn.wordpress.org/trunk@20193 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 15:39:21 +00:00
bumpbot 8715cf588b Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: https://develop.svn.wordpress.org/trunk@20192 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:58:27 +00:00
Andrew Nacin 0cbc56cfa8 Use ajaxurl rather than direct references to admin-ajax.php. see #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@20191 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:30:28 +00:00
Andrew Nacin 681c6ea428 Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242.
git-svn-id: https://develop.svn.wordpress.org/trunk@20190 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:20:00 +00:00
Daryl Koopersmith d254551dd7 Theme Customizer: First pass for upload controls, using background image as an example. Add a wrapper for Plupload that allows for custom upload UIs. see #19910.
wp.Uploader is a wrapper that provides a simple way to upload an attachment (using the wp_ajax_upload_attachment handler). It is intentionally decoupled from the UI. When an upload succeeds, it will receive the attachment information (id, url, meta, etc) as a JSON response. If the upload fails, the wrapper handles both WordPress and plupload errors through a single handler.

As todos, we should add drag classes for the uploader dropzone and account for the rough 100mb filesize limit in most browsers. The UI for the customizer upload controls could be improved as well.

git-svn-id: https://develop.svn.wordpress.org/trunk@20179 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 04:14:05 +00:00
bumpbot 02e1841cc4 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20175 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 22:00:22 +00:00
Andrew Ozz 995926a5f0 Add support for line breaks to the caption textareas, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20174 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 21:53:11 +00:00
Andrew Nacin 0459805741 Increase default upload space for sites on a network from 10M to 100M. props andrea_r. fixes #18831.
git-svn-id: https://develop.svn.wordpress.org/trunk@20170 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-10 22:07:17 +00:00
bumpbot 9890600190 Compress scripts/styles: 3.4-alpha-20169.
git-svn-id: https://develop.svn.wordpress.org/trunk@20169 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-10 01:30:30 +00:00
Andrew Ozz fcbd8f7f57 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: https://develop.svn.wordpress.org/trunk@20168 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-10 01:23:48 +00:00
bumpbot 1ae155013d Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20167 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:30:29 +00:00
Andrew Ozz 78c8dedcdc Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20166 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:23:10 +00:00
bumpbot 4147d09fd0 Compress scripts/styles: 3.4-alpha-20165.
git-svn-id: https://develop.svn.wordpress.org/trunk@20165 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 01:45:40 +00:00
Andrew Ozz 654e72714c Add new comment from post edit screen, partial props: garyc40, see #15527
git-svn-id: https://develop.svn.wordpress.org/trunk@20164 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 01:30:11 +00:00
Andrew Nacin f173370ae1 Don't show the Network Enable link for broken themes. Include broken themes in searching on network/themes.php. fixes #20099, see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20160 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 17:08:55 +00:00
Andrew Nacin c7b3d21c18 In multisite, list broken themes on network/themes.php instead of on individual Manage Themes pages. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20151 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 07:32:42 +00:00
bumpbot 59844ad848 Compress scripts/styles: 3.4-alpha-20150.
git-svn-id: https://develop.svn.wordpress.org/trunk@20150 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 07:00:38 +00:00
Andrew Nacin df153a9a64 Add missing CSS selectors for when these admin menus are missing submenus. fixes #20199.
git-svn-id: https://develop.svn.wordpress.org/trunk@20149 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 06:59:02 +00:00
Andrew Nacin f9d7952855 The allowed_themes rolling upgrade for individual sites should not add empty allowedthemes arrays. If there are no allowed themes, don't add an empty option. Move the network rolling upgrade to upgrade_network(). see #20146.
git-svn-id: https://develop.svn.wordpress.org/trunk@20148 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 03:22:39 +00:00
Andrew Nacin c57039543d Always print the Author in the MS themes list table. display('Author') will be 'Anonymous' if no author is specified. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20147 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-08 00:01:35 +00:00
Daryl Koopersmith 8ae9285c2a Combine two strings. Cheatin', uh?
git-svn-id: https://develop.svn.wordpress.org/trunk@20143 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 19:00:12 +00:00
bumpbot ff65fe6d6b Compress scripts/styles: 3.4-alpha-20142.
git-svn-id: https://develop.svn.wordpress.org/trunk@20142 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 18:30:21 +00:00
Andrew Nacin b1ba2dd995 Deprecate display_theme(). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20141 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 18:29:36 +00:00
Daryl Koopersmith 7464fa9565 Theme Customizer: Make theme installer no-js compatible. Fix JS click handler that caught clicks on the 'Activate' link. Relocate display_theme() to WP_Theme_Install_List_Table->single_row(). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20140 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 18:24:34 +00:00
bumpbot eb50f7efa4 Compress scripts/styles: 3.4-alpha-20139.
git-svn-id: https://develop.svn.wordpress.org/trunk@20139 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 17:45:21 +00:00
Daryl Koopersmith 6e93f773b4 Theme Customizer: Begin integration into the install process. Combine previews, details, and install into a single workflow. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20138 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 17:35:17 +00:00
bumpbot 98715e56d9 Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: https://develop.svn.wordpress.org/trunk@20134 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:30:21 +00:00
Daryl Koopersmith f5b9beb8dd Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20133 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:19:35 +00:00
Jon Cave 9e9f4ad923 Use WP_Rewrite::set_permalink_structure instead of plain update_option() in populate_network(). Fixes #20174.
This has the benefit of calling WP_Rewrite::init() which correctly resets the permalink_structure
property of the $wp_rewrite global so that the rewrite rules generated on the next flush are correct.


git-svn-id: https://develop.svn.wordpress.org/trunk@20117 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 17:39:26 +00:00
bumpbot d24750e3a1 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: https://develop.svn.wordpress.org/trunk@20115 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:45:20 +00:00
Andrew Ozz e169217ad0 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20114 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:31:31 +00:00
Andrew Nacin 21dd77dbe2 Use new WP_Theme API in list_theme_updates(). fixes #20173. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20113 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 13:03:48 +00:00
Daryl Koopersmith 90a115e4b4 Partially revert [20100]. The list_args JS variable cannot be extended due to its use as an argument in fetch-list. see #19815.
We should reattempt extending the args created in WP_List_Table, but will need to deprecate the current list_args to do so.

Also, infinite scroll on themes pages is no longer broken. Go team.

git-svn-id: https://develop.svn.wordpress.org/trunk@20104 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 02:40:43 +00:00
bumpbot ba75fc6e7d Compress scripts/styles: 3.4-alpha-20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20103 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 00:30:21 +00:00
Andrew Nacin a7122f9269 Don't hide PHP warnings under the toolbar in the admin. fixes #19196.
git-svn-id: https://develop.svn.wordpress.org/trunk@20102 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 00:29:50 +00:00
Andrew Nacin b6b4d37fcb Allow WP_List_Table::_js_vars() to take an array of additional args to add. Allows us to have a single variable printing data when child classes need more data. Also, fix compact() call in [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20100 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 23:06:31 +00:00
Andrew Nacin c56b5f3f59 Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].
git-svn-id: https://develop.svn.wordpress.org/trunk@20098 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:32:29 +00:00
Andrew Nacin 9f47e027ca Revert [20096] which was an accidental partial revert of [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20097 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:31:15 +00:00
Andrew Nacin 7dd527a421 Use sanitize_key() for theme search tags/features. sanitize_title_with_dashes() is overkill. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20096 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:26:58 +00:00
bumpbot fd8c500bda Compress scripts/styles: 3.4-alpha-20095.
git-svn-id: https://develop.svn.wordpress.org/trunk@20095 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:15:21 +00:00
Andrew Nacin 43209998c6 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20094 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:09:26 +00:00
Jon Cave d996b72215 Use tabs for indentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@20093 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:03:15 +00:00
Jon Cave c6d3eafb7e Drop unnecessary if-statements which also have some strange logic. Fixes #20159.
git-svn-id: https://develop.svn.wordpress.org/trunk@20092 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:01:41 +00:00
bumpbot 2ebabb330c Compress scripts/styles: 3.4-alpha-20090.
git-svn-id: https://develop.svn.wordpress.org/trunk@20090 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:15:21 +00:00
Jon Cave b80111d67c Bail from AJAX success callback if wp_ajax_add_tag() returns errors. Props solarissmoke. Fixes #20086.
git-svn-id: https://develop.svn.wordpress.org/trunk@20086 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:01:51 +00:00
bumpbot 5b12ac7e80 Compress scripts/styles: 3.4-alpha-20084.
git-svn-id: https://develop.svn.wordpress.org/trunk@20084 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:30:19 +00:00
Andrew Nacin 214ea7bfcb Use blue arrows for blue admin's screen options and help tabs. Adjust baseline to be more compatible with Firefox. props helenyhou. fixes #16114.
git-svn-id: https://develop.svn.wordpress.org/trunk@20082 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:23:26 +00:00
Andrew Nacin 129754ed3d Don't autoload the uninstall_plugins option. fixes #16741.
git-svn-id: https://develop.svn.wordpress.org/trunk@20080 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:13:35 +00:00
bumpbot 58acedae74 Compress scripts/styles: 3.4-alpha-20079.
git-svn-id: https://develop.svn.wordpress.org/trunk@20079 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:00:21 +00:00
Andrew Nacin 1bc62a722a In miscellaneous publishing actions, use :last-child instead of a separate misc-pub-section-last class to control borders. Allows for sane use of the post_submitbox_misc_actions hook. (Actually uses :first-child for browser compat reasons.) fixes #19604.
git-svn-id: https://develop.svn.wordpress.org/trunk@20077 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:52:23 +00:00
Andrew Nacin b89570a1ef Improve background, styling, and alignment of the Help and Screen Options tabs. props helenyhou. props johnjamesjacoby for initial patch. see #16114.
git-svn-id: https://develop.svn.wordpress.org/trunk@20076 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:47:08 +00:00
Andrew Nacin f4d36e96a5 Add the wp_edit_nav_menu_walker filter to the ajax request. props wonderslug, ocean90. fixes #14527.
git-svn-id: https://develop.svn.wordpress.org/trunk@20072 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 17:50:01 +00:00
Dion Hulse 1cbc983342 Fix a small typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@20070 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 11:00:51 +00:00
Andrew Nacin 31e6f087d7 Use correct name for feature filter REQUEST data to ensure that the search/filter form is present when a filter is active. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20069 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:41:00 +00:00
Andrew Nacin eee4414129 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@20068 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:13:05 +00:00
Andrew Nacin 514b909597 Remove inline styles for 'Apply Filters' feature filter button. Don't <small> the 'Close filters' text. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20067 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:01:55 +00:00
bumpbot 5986e072fa Compress scripts/styles: 3.4-alpha-20066.
git-svn-id: https://develop.svn.wordpress.org/trunk@20066 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:00:20 +00:00
Andrew Nacin 12aa35e6aa Remove theme tags from the themes.php UI. They just take up room and are redundant with the feature filter. The installer already does not show tags. props DH-Shredder, fixes #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20065 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 23:58:10 +00:00
Andrew Nacin f2dfcad422 Line up elements on themes.php. Line up 'Available Themes' header and search/feature form. Switch to padding instead of margin for #current-theme to prevent margin-uncollapse jitters when animating the feature filter. Move 'Current Theme' inside #current-theme so it is hidden by the feature filter. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20064 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 23:55:09 +00:00
Ryan Boren 7df5a5294d Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@20060 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 18:57:28 +00:00
Andrew Nacin 76a0adc5e2 Remove extra $. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20052 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 22:54:50 +00:00
Andrew Nacin cc503e4315 In WP_Themes_List_Table, don't perform unnecessary sanitization on search terms or filter features. We only use these for case-insensitive comparison. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20048 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 22:19:18 +00:00
Andrew Nacin d7b7ac8c1b 'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.
git-svn-id: https://develop.svn.wordpress.org/trunk@20046 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 21:52:27 +00:00
Andrew Nacin 47db4344b9 Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
git-svn-id: https://develop.svn.wordpress.org/trunk@20043 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 20:31:56 +00:00
Andrew Nacin cdaee9042d Translate page template names! Have WP_Theme::get_page_templates() return templates keyed by filename, not by template name, as it makes more sense. Flip this in get_page_templates() to be compatible. fixes #6007.
git-svn-id: https://develop.svn.wordpress.org/trunk@20041 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 20:18:53 +00:00
Andrew Nacin 9cc63bb04f Use proper object. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20038 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 18:11:49 +00:00
Andrew Nacin c7855fb7bc Use wp_get_theme() rather than get_theme_data() in the verify theme deletion (multisite network) screen. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20037 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 07:50:56 +00:00
Andrew Nacin 53a209a4ee Introduce WP_Theme, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others.
* Getters and Helpers: Introduces a series of methods to allow for easy generation of headers for display, and other theme metadata, including page templates.
 * Screenshots: Handles support for multiple screenshots. (see # Additional screenshots must be PNG and start with screenshot-2.png, and be sequential to be counted. see #19816.
 * Error Handling: Broken themes have a WP_Error object attached to them.
 * Caching: Introduces a wp_cache_themes_persistently filter (also in [20020]) to enable persistent caching of all filesystem and sanitization operations normally handled by WP_Theme (and formerly get_file_data() and get_themes()). Themes are cached individually and across five different cache keys for different data pieces.
 * Compatibility: A WP_Theme object is backwards compatible with a theme's array formerly returned by get_themes() and get_theme(), and an stdClass object formerly returned by current_theme_info().
 * i18n/L10n: Theme headers are now localizable with proper Text Domain and Domain Path headers, like plugins. (Language packs may remove the requirement for headers.) For page templates, see #6007 (not fixed yet, but will be easy now). For headers, fixes #15858.
 * PHP and CSS files: New methods that fetch a list of theme files (for the theme editor) only on demand, rather than only loading them into memory. fixes #11214.

Functions deprecated:
 * get_themes(), get_allowed_themes() and get_broken_themes() -- use wp_get_themes()
 * get_theme() and current_theme_info() -- use wp_get_theme()
 * get_site_allowed_themes() -- use WP_Theme::get_allowed_on_network()
 * wpmu_get_blog_allowedthemes() -- use WP_theme::get_allowed_on_site()

see also [20016], [20018], [20019], [20020], [20021], [20022], [20025], [20026], [20027]. also fixes #19244.

see #20103.



git-svn-id: https://develop.svn.wordpress.org/trunk@20029 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 21:24:44 +00:00
Andrew Nacin f0c5c18d81 Faster theme searching. Only calculate what is necessary -- if the theme doesn't have all of the features, bail. If a word matches a tag or header, jump to the next word, we don't care how many times it matches. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20027 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:51:19 +00:00
Andrew Nacin 3924c4aab5 Don't sanitize theme tags while trying to search through them, as it is unnecessary. It is also very expensive -- 50% of the pageload for a search was spent sanitizing tags. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20026 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:41:53 +00:00
Andrew Nacin 11c4081aaf Add argument to get_theme_feature_list() to allow the tags to be returned without hitting the WP.org API. We'll be using this to translate tags. Remove trailing space in the 'Light' string. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20025 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:38:09 +00:00
Jon Cave cafa8dab24 Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20023 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:29:33 +00:00
Andrew Nacin 21630b2828 Do not save the last visited tab on the multisite Network Themes page and Site Themes tab. These are poor UX, see #18810 for plugins. Entering these screens will always default to 'all' themes view. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20022 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:13:21 +00:00
Jon Cave 4c99743d06 Drop image resizing code from wp_handle_upload(). Fixes #19800.
This code stops wp_handle_upload() from reporting errors when the upload couldn't be moved to its final local and it was a non-JS fallback that is unused.


git-svn-id: https://develop.svn.wordpress.org/trunk@20019 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 20:02:43 +00:00
Ryan Boren 89e9bcc1d6 Pinking shears 6-20000
git-svn-id: https://develop.svn.wordpress.org/trunk@20000 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-27 19:46:52 +00:00
Ryan Boren 5648306064 Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
git-svn-id: https://develop.svn.wordpress.org/trunk@19999 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-27 19:23:03 +00:00
Andrew Nacin 682b2a4b6d Remove out-of-place double quote. props niallkennedy. fixes #20113.
git-svn-id: https://develop.svn.wordpress.org/trunk@19987 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 20:49:54 +00:00
bumpbot 2a0b86ea08 Compress scripts/styles: 3.4-alpha-19983.
git-svn-id: https://develop.svn.wordpress.org/trunk@19983 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 02:00:58 +00:00
Andrew Ozz 0fa723245a HTML in image captions, first run, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@19982 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 01:58:18 +00:00
Peter Westwood 72ade0057d Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.
git-svn-id: https://develop.svn.wordpress.org/trunk@19981 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-23 18:16:46 +00:00
Andrew Nacin 7327a30867 Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306.
git-svn-id: https://develop.svn.wordpress.org/trunk@19980 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-23 14:42:01 +00:00
Andrew Nacin 082f9f9739 Use version_compare() when checking installed themes in the theme installer. fixes #20097.
git-svn-id: https://develop.svn.wordpress.org/trunk@19979 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 14:03:59 +00:00
bumpbot ccd9fbbbbb Compress scripts/styles: 3.4-alpha-19972.
git-svn-id: https://develop.svn.wordpress.org/trunk@19972 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:46:03 +00:00
Daryl Koopersmith 01cb46f5d7 Second pass at infinite scroll for themes, including polling, fixed paging, and fewer ajax calls. props DH-Shredder, helenyhou, garyc40. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@19971 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:44:10 +00:00
bumpbot 7399c1edc8 Compress scripts/styles: 3.4-alpha-19967.
git-svn-id: https://develop.svn.wordpress.org/trunk@19967 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:45:56 +00:00
Andrew Nacin f5e87e48af Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759.
git-svn-id: https://develop.svn.wordpress.org/trunk@19966 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:35:05 +00:00
Andrew Nacin 80b14c9de7 Allow bundled plugin headers to be translated. see #19597.
git-svn-id: https://develop.svn.wordpress.org/trunk@19965 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:26:08 +00:00
Andrew Nacin 4ca469ce8f Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869.
git-svn-id: https://develop.svn.wordpress.org/trunk@19956 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-20 16:35:03 +00:00
bumpbot 1ad8b7a376 Compress scripts/styles: 3.4-alpha-19955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19955 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-20 00:30:57 +00:00
Andrew Ozz 789c4388df Refresh wpCookie, fixes #20078
git-svn-id: https://develop.svn.wordpress.org/trunk@19954 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-19 23:08:10 +00:00
Andrew Nacin 859a366cdc Add an @return. fixes #19974.
git-svn-id: https://develop.svn.wordpress.org/trunk@19950 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 21:59:47 +00:00
Andrew Nacin 74124c36ea Add WP_Screen methods get_help_tabs(), get_help_tab( $id ), get_help_sidebar(). Store help tabs by tab ID, not numeric key; allows proper removal with remove_help_tab( $id ). props BenChapman, npetetin for initial getter patch. fixes #19974.
git-svn-id: https://develop.svn.wordpress.org/trunk@19944 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 23:40:02 +00:00
Andrew Nacin 0d31edafda Only show 'Show on screen' once in screen options. fixes #17431.
git-svn-id: https://develop.svn.wordpress.org/trunk@19943 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 23:19:52 +00:00
Andrew Nacin 07cfcf9cb6 Use class name for @return. props markuak, fixes #20063.
git-svn-id: https://develop.svn.wordpress.org/trunk@19942 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 23:15:05 +00:00
Daryl Koopersmith 691ca6ead3 Don't unintentionally override the global variable. props ocean90, see #20062.
git-svn-id: https://develop.svn.wordpress.org/trunk@19941 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 19:17:38 +00:00
Andrew Nacin 7eb54b91be Remove unused logo-login.png after all. fixes #19955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19940 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 05:06:09 +00:00
bumpbot af7e8999c8 Compress scripts/styles: 3.4-alpha-19939.
git-svn-id: https://develop.svn.wordpress.org/trunk@19939 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 05:00:52 +00:00
Andrew Nacin ec33125750 Remove old logo-login.gif from manifest. props edward mindreantre, see #19955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19938 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 04:59:42 +00:00
Andrew Nacin 09b4c5d21f Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19937 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 04:57:56 +00:00
Andrew Nacin ee01523b96 Deprecate ancient "debugging" tools.
* logIO() and the global $xmlrpc_logging in XML-RPC.
 * log_app() and the global $app_logging in APP.
 * debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051.



git-svn-id: https://develop.svn.wordpress.org/trunk@19935 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 00:02:42 +00:00
Jon Cave abfcb78ce7 Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19934 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-16 17:12:10 +00:00
bumpbot 3189f43063 Compress scripts/styles: 3.4-alpha-19931.
git-svn-id: https://develop.svn.wordpress.org/trunk@19931 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 19:27:20 +00:00
Jon Cave 6792ef3018 Display menu_order value in quick edit for non-hierarchical post types. Props nikolay.yordanov. Fixes #19911, see #18352.
git-svn-id: https://develop.svn.wordpress.org/trunk@19929 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 17:19:59 +00:00
Jon Cave 5d9ade050e Remove use of nonexistent include_last_update_time arg from get_terms() call. See #19953.
git-svn-id: https://develop.svn.wordpress.org/trunk@19928 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 16:48:27 +00:00
Ryan Boren edc9b42f36 Lose unnecessary space. Props SergeyBiryukov. fixes #19964
git-svn-id: https://develop.svn.wordpress.org/trunk@19921 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:25:40 +00:00
Andrew Nacin 42b95ae4c9 Cap check help text. see #19933.
git-svn-id: https://develop.svn.wordpress.org/trunk@19920 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:23:31 +00:00
Ryan Boren d7454c743c Cap check help text. Add mention of Welcome box. Props dougwrites, nacin. fixes #19933
git-svn-id: https://develop.svn.wordpress.org/trunk@19919 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:12:27 +00:00
Jon Cave 5055a133d5 s/oembed_cache/oembed-cache/ in admin AJAX $core_actions_*. Props jeremyfelt. Fixes #20038.
git-svn-id: https://develop.svn.wordpress.org/trunk@19917 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 10:01:00 +00:00
bumpbot c9d2c7c7d3 Compress scripts/styles: 3.4-alpha-19904.
git-svn-id: https://develop.svn.wordpress.org/trunk@19904 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 18:30:49 +00:00
Daryl Koopersmith 5ff9cd268a Trailing commas make JS cry. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19903 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 18:05:20 +00:00
Ryan Boren 99c65753a4 Add post ID argument to _wp_post_thumbnail_html() rather than relying on a global. Post the ID from wp_ajax_set_post_thumbnail(). Props batmoo. fixes #20003
git-svn-id: https://develop.svn.wordpress.org/trunk@19902 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 17:41:37 +00:00
bumpbot a0aee53ab4 Compress scripts/styles: 3.4-alpha-19898.
git-svn-id: https://develop.svn.wordpress.org/trunk@19898 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 09:00:50 +00:00
Mark Jaquith 54ab38d9ed Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19897 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 08:45:17 +00:00
bumpbot 4e7b7683d2 Compress scripts/styles: 3.4-alpha-19896.
git-svn-id: https://develop.svn.wordpress.org/trunk@19896 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:30:50 +00:00
Jon Cave b3a99c8589 Fix incorrect pending comment count updates for filtered views. Fixes #19905.
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.


git-svn-id: https://develop.svn.wordpress.org/trunk@19895 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:29:24 +00:00
bumpbot d0d49945ab Compress scripts/styles: 3.4-alpha-19894.
git-svn-id: https://develop.svn.wordpress.org/trunk@19894 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 22:00:49 +00:00
Ryan Boren d9d408fd44 Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: https://develop.svn.wordpress.org/trunk@19893 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 21:40:46 +00:00
bumpbot 352e3bb9b9 Compress scripts/styles: 3.4-alpha-19888.
git-svn-id: https://develop.svn.wordpress.org/trunk@19888 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:30:50 +00:00
Ryan Boren 1597835e12 Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: https://develop.svn.wordpress.org/trunk@19887 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:20:26 +00:00
Andrew Nacin 0b04f6afc5 Tabs, not spaces. Props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@19874 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:05:40 +00:00
Andrew Nacin 0c751dd7a3 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@19871 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:12:11 +00:00
Ryan Boren 6622691fbf Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: https://develop.svn.wordpress.org/trunk@19863 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 14:51:18 +00:00
Andrew Nacin 0c59eacb55 Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19862 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 06:05:35 +00:00
bumpbot 5bc782d896 Compress scripts/styles: 3.4-alpha-19861.
git-svn-id: https://develop.svn.wordpress.org/trunk@19861 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 06:00:51 +00:00
Andrew Nacin 958b85d7a4 Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19860 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 05:55:54 +00:00
Jon Cave cd097b5b6a Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19859 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:51:14 +00:00
Jon Cave 7efe34d79d Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19858 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:48:45 +00:00
Ryan Boren 7cd04da2e6 Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: https://develop.svn.wordpress.org/trunk@19857 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:06:52 +00:00
Andrew Nacin 5d78454d4c Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340.
git-svn-id: https://develop.svn.wordpress.org/trunk@19856 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 19:13:30 +00:00
bumpbot 15c9daa5b9 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: https://develop.svn.wordpress.org/trunk@19854 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:30:51 +00:00
Andrew Nacin 092808ead8 Allow localized commas to be used as tag separators. see #7897.
git-svn-id: https://develop.svn.wordpress.org/trunk@19853 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:06:12 +00:00
bumpbot a87e3742f9 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: https://develop.svn.wordpress.org/trunk@19841 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 21:00:50 +00:00
Ryan Boren f8dc7fe757 Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: https://develop.svn.wordpress.org/trunk@19840 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:54:01 +00:00
bumpbot b6c9842068 Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: https://develop.svn.wordpress.org/trunk@19839 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:00:50 +00:00
Andrew Nacin d2a65599a3 In general, password fields should always be LTR. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19835 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:33:19 +00:00
Andrew Nacin 0ab40dd1ba LTR for user-edit.php password fields and disabled user_login field. fixes #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19834 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:31:33 +00:00
Andrew Ozz ff9916420e Fix typo in $core_actions_get in admin-ajax.php, see #15327
git-svn-id: https://develop.svn.wordpress.org/trunk@19831 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 17:56:55 +00:00
Andrew Ozz e0505774e9 Remove unused TinyMCE media plugin images, props SergeyBiryukov, fixes #19963
git-svn-id: https://develop.svn.wordpress.org/trunk@19828 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 17:58:41 +00:00
bumpbot 04a88d8671 Compress scripts/styles: 3.4-alpha-19827.
git-svn-id: https://develop.svn.wordpress.org/trunk@19827 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 01:16:30 +00:00
Andrew Nacin d20d0ed48f Add ru_RU CSS. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19826 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:58:09 +00:00
Andrew Nacin da65af69e2 Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19825 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:54:42 +00:00
Ryan Boren 3a1d1b098b Setup now that global is not used. see #15327
git-svn-id: https://develop.svn.wordpress.org/trunk@19822 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 20:13:22 +00:00
Andrew Nacin ef81adda7b Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19820 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:23:25 +00:00
Andrew Nacin 7ff19e6012 Use existing string to properly translate month + year combo. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19819 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:11:01 +00:00
Andrew Nacin 31f8d5586b mailserver_login and mailserver_pass should always be LTR. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19818 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:05:43 +00:00
Andrew Nacin 6e9c274c00 New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19817 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:03:26 +00:00
Andrew Nacin e4134cbb0c Code is still code: force LTR for .code and <code>, and the function lists in plugin/theme editors. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19816 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-02 23:58:46 +00:00
Ryan Boren 80cc194365 Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@19815 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-02 23:35:37 +00:00
bumpbot 1387e4e2a7 Compress scripts/styles: 3.4-alpha-19814.
git-svn-id: https://develop.svn.wordpress.org/trunk@19814 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:41:34 +00:00
Ryan Boren 9b8806a8f7 New gear icon. Props empireoflight. fixes #10318
git-svn-id: https://develop.svn.wordpress.org/trunk@19813 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:39:24 +00:00
Andrew Nacin b3b0fa681d Use home_url() rather than get_option() + is_ssl(). props ocean90, fixes #19942.
git-svn-id: https://develop.svn.wordpress.org/trunk@19811 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:31:35 +00:00
Andrew Nacin 9a68d977e6 s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940.
git-svn-id: https://develop.svn.wordpress.org/trunk@19809 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 16:08:36 +00:00
Andrew Nacin 6a5ea2418a Provide a more WordPress-like context for 'Welcome' on the install screen. see #19698.
git-svn-id: https://develop.svn.wordpress.org/trunk@19808 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:49:41 +00:00
Andrew Nacin db7ac5be83 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: https://develop.svn.wordpress.org/trunk@19807 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:47:49 +00:00
Andrew Nacin de9b7f6ec2 Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788.
git-svn-id: https://develop.svn.wordpress.org/trunk@19806 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:45:19 +00:00
bumpbot 7dc4430f4f Compress scripts/styles: 3.4-alpha-19805.
git-svn-id: https://develop.svn.wordpress.org/trunk@19805 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:43:00 +00:00
Andrew Nacin c90d5bb693 Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788.
git-svn-id: https://develop.svn.wordpress.org/trunk@19804 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:39:52 +00:00
Andrew Nacin 2e0818c264 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19803 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:37:52 +00:00
Andrew Nacin 146886cd72 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: https://develop.svn.wordpress.org/trunk@19802 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 22:14:39 +00:00
bumpbot 701719af94 Compress scripts/styles: 3.4-alpha-19800.
git-svn-id: https://develop.svn.wordpress.org/trunk@19800 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 19:59:09 +00:00
Ryan Boren 52048ffa75 Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: https://develop.svn.wordpress.org/trunk@19799 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 18:26:07 +00:00
Ryan Boren 22784619f4 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: https://develop.svn.wordpress.org/trunk@19798 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 17:45:22 +00:00
Ryan Boren 939ed92f83 Remove references to specific search engines. fixes #18605
git-svn-id: https://develop.svn.wordpress.org/trunk@19794 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:51:00 +00:00
Ryan Boren 3d3073d095 Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: https://develop.svn.wordpress.org/trunk@19793 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:47:25 +00:00
Ryan Boren 9e6fbb0061 Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
git-svn-id: https://develop.svn.wordpress.org/trunk@19792 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 18:19:27 +00:00
Andrew Nacin fed670768a Poka-yoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@19791 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:49:50 +00:00
Andrew Nacin ffff76d391 Give install.css on setup-config.php some cache busting. see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19790 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:37:13 +00:00
Andrew Nacin 460ef260f7 LTR for fields on setup-config.php. see #19603, fixes #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19789 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:28:04 +00:00
Andrew Nacin fd475e222d Use the _x context function. props Mamaduka. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19788 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 23:43:14 +00:00
Andrew Nacin ea092db65b Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19786 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:25:59 +00:00