Commit Graph

10293 Commits

Author SHA1 Message Date
Peter Westwood a9673a9147 Export: Ignore auto-drafts when building the list of users for the export file. Fixes #21960.
git-svn-id: https://develop.svn.wordpress.org/trunk@21946 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 21:48:52 +00:00
Andrew Nacin 8565aa6e34 Reset $taxonomy in single_row's default branch. props tott. fixes #21240.
git-svn-id: https://develop.svn.wordpress.org/trunk@21945 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 20:28:25 +00:00
Andrew Nacin 1c58ef9f33 Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: https://develop.svn.wordpress.org/trunk@21944 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 19:34:23 +00:00
bumpbot 826daf5daf Compress scripts/styles: 3.5-alpha-21931.
git-svn-id: https://develop.svn.wordpress.org/trunk@21931 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-20 18:59:45 +00:00
Ryan Boren 2086631047 Remove unnecessary label. Props waclawjacek. fixes #17978
git-svn-id: https://develop.svn.wordpress.org/trunk@21927 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-20 13:59:39 +00:00
Ryan Boren 19252e7462 Allow granting the network admin email user super admin. Props JustinSainton, garyc40. fixes #16629
git-svn-id: https://develop.svn.wordpress.org/trunk@21925 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-20 13:50:35 +00:00
Peter Westwood d86f9f140f Posting: Improve the invalid date protection code based on feedback from nacin.
* Introduce a wp_checkdate() function with a single filter to centralise the code that validates dates.
 * Improve the error message
 * Correctly handle the return value of wp_insert_post which is not always a WP_Error on failure

Fixes #17180


git-svn-id: https://develop.svn.wordpress.org/trunk@21922 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-20 10:46:50 +00:00
Peter Westwood 59dd4b7d2b Posting: Make it much harder to create posts with invalid dates by enforcing the post date tests in the UI and the backend code.
Previously you could quite easily send a new post into the back of beyond by specifying an invalid date like the 30th Feb and this was very confusing.
Sometimes it would seem to work and sometimes the post would end up very far in the past - depending on the mysql version and other factors.

Fixes #17180 props jkudish.


git-svn-id: https://develop.svn.wordpress.org/trunk@21921 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 21:43:35 +00:00
bumpbot 42f1232e5e Compress scripts/styles: 3.5-alpha-21920.
git-svn-id: https://develop.svn.wordpress.org/trunk@21920 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 18:59:36 +00:00
Andrew Nacin 8aee69730b It is 'Alternative Text', not 'Alternate Text'. props alecrust, RyanJKoehler. fixes #21176.
git-svn-id: https://develop.svn.wordpress.org/trunk@21917 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 16:55:43 +00:00
Andrew Nacin 4a0d94a59e Flexible widths for select boxes above list tables. For posts, that means bulk actions and date/category filters. Opens up more room (can prevent wrapping) and allows for longer localized strings. props SergeyBiryukov, fixes #21752.
git-svn-id: https://develop.svn.wordpress.org/trunk@21916 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 15:44:01 +00:00
Ryan Boren 7c52a19a5a Reduce reliance on global variables in the list tables. Allow passing a screen ID to the list tables so that ajax handlers can set the needed screen.
Props nacin
fixes #21871


git-svn-id: https://develop.svn.wordpress.org/trunk@21914 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 12:43:31 +00:00
Andrew Nacin b4350a0424 Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745.
git-svn-id: https://develop.svn.wordpress.org/trunk@21913 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 01:51:40 +00:00
Andrew Nacin 30cc580f76 Avoid mangling UTF-8 strings that may be present in image metadata. props SergeyBiryukov for the unit tests [UT665]. fixes #9417.
git-svn-id: https://develop.svn.wordpress.org/trunk@21905 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 23:38:25 +00:00
Andrew Nacin 73f5dd8a35 Remove unused edit-site nonce fields from site-users and site-themes. props jeremyfelt, fixes #21277.
git-svn-id: https://develop.svn.wordpress.org/trunk@21903 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 23:06:22 +00:00
bumpbot e4b2e030e3 Compress scripts/styles: 3.5-alpha-21895.
git-svn-id: https://develop.svn.wordpress.org/trunk@21895 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 18:59:37 +00:00
Andrew Nacin 0ed8541439 Replace QuickPress labels with gray prompt texts. Stylish, but also done for localization purposes (string lengths). props ocean90. fixes #21754.
git-svn-id: https://develop.svn.wordpress.org/trunk@21894 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 18:45:44 +00:00
Andrew Nacin 6bb5d6c032 Include the home URL before the custom permalink structure input, so it is clear we only care about the path. props solarissmoke, fixes #8952.
git-svn-id: https://develop.svn.wordpress.org/trunk@21891 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 17:58:54 +00:00
Andrew Nacin ac948ddef7 Return term slugs rather than term names in attachment_fields_to_edit() as that is what we are dealing with. props eddiemoya, fixes #20765.
git-svn-id: https://develop.svn.wordpress.org/trunk@21889 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 17:34:01 +00:00
Andrew Nacin 5869cbc05a Synchronize block-level elements between the JS and PHP versions of wpautop. props SergeyBiryukov. fixes #18534.
git-svn-id: https://develop.svn.wordpress.org/trunk@21888 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 17:32:44 +00:00
Andrew Nacin 64dec4d525 Move the Cancel button for replying and quick-editing a comment to after the primary update/reply button so tabbing from the comment field takes you to the primary action. see #21340.
git-svn-id: https://develop.svn.wordpress.org/trunk@21883 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-17 22:13:53 +00:00
Andrew Nacin c154aed908 Remove unused $t_time variable. props ocean90. fixes #18531.
git-svn-id: https://develop.svn.wordpress.org/trunk@21880 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-17 02:12:09 +00:00
bumpbot 4c9bac8206 Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21879 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-17 00:59:40 +00:00
Andrew Nacin 9661c3bd9a Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466.
git-svn-id: https://develop.svn.wordpress.org/trunk@21878 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 23:03:35 +00:00
Andrew Ozz 7485a0ceed Admin menu: add phpdoc/inline comments describing the usage of the param $icon_url in add_menu_page(), add string 'none' to be used when a menu icon is added from CSS, switch core items in the admin menu to use 'none', fixes #21349
git-svn-id: https://develop.svn.wordpress.org/trunk@21877 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 22:51:44 +00:00
Andrew Nacin ac33e3e810 On setup-config step 2, default to focusing on the textarea and selecting its contents. fixes #21656.
git-svn-id: https://develop.svn.wordpress.org/trunk@21873 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 19:41:41 +00:00
Andrew Nacin 07ff0e30ed Docs for options_reading_blog_charset(). props SergeyBiryukov, fixes #21886.
git-svn-id: https://develop.svn.wordpress.org/trunk@21872 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 18:33:19 +00:00
Andrew Nacin b45377f3e9 Basic phpdoc for admin includes media.php. props c3mdigital. fixes #21144.
git-svn-id: https://develop.svn.wordpress.org/trunk@21871 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 18:31:42 +00:00
Andrew Nacin 7f65ab3f57 Curly quotes for setup-config strings.
git-svn-id: https://develop.svn.wordpress.org/trunk@21870 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 18:26:14 +00:00
Andrew Nacin 29d8f1bad7 If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657.
git-svn-id: https://develop.svn.wordpress.org/trunk@21869 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 18:01:04 +00:00
Andrew Nacin fee76161e3 Don't use hard-coded indexes when dealing with an array of roles. props elyobo. fixes #19222.
git-svn-id: https://develop.svn.wordpress.org/trunk@21866 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 16:24:33 +00:00
Andrew Nacin 50daa191c2 Trim incoming searches on the users list table. props tollmanz. fixes #21318.
git-svn-id: https://develop.svn.wordpress.org/trunk@21864 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 16:11:01 +00:00
Andrew Nacin 8437239bb2 Correct a translation context in the network admin. props SergeyBiryukov. fixes #20910.
git-svn-id: https://develop.svn.wordpress.org/trunk@21858 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-15 19:57:46 +00:00
Andrew Nacin afbbc9665a Combine some strings. props pavelevap. fixes #21087.
git-svn-id: https://develop.svn.wordpress.org/trunk@21857 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-15 19:57:05 +00:00
Andrew Nacin eea7a4b8d3 Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
git-svn-id: https://develop.svn.wordpress.org/trunk@21856 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-15 19:49:21 +00:00
Andrew Nacin 168d12a728 Simplify the markup and hierarchy of the Add Existing and Add New user forms on site-users.php. props obenland, fixes #21223.
git-svn-id: https://develop.svn.wordpress.org/trunk@21854 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-15 19:38:23 +00:00
Andrew Nacin 93f6ea672e Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values.
These can be set on options.php, or the UPLOADS constant or the filters in wp_upload_dir() should be used. WordPress should aim to avoid UI options that require filesystem changes as well, not to mention requiring the user to convert between paths and URLs.

fixes #21720.



git-svn-id: https://develop.svn.wordpress.org/trunk@21852 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-14 21:00:39 +00:00
Andrew Nacin 42a2b4a12f "[ ] Discourage search engines from indexing this site". fixes #16416.
git-svn-id: https://develop.svn.wordpress.org/trunk@21851 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-14 20:26:20 +00:00
Andrew Nacin 537a6769e6 If an option was not sent to options.php, pass null to update_option(), rather than trimming the null and converting it to an empty string. This provides better context for sanitize_option() while still storing what ends up being an empty string either way. see #16416.
git-svn-id: https://develop.svn.wordpress.org/trunk@21849 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-14 19:12:35 +00:00
Andrew Nacin bd6d86d123 Avoid the need for a hidden input when suppressing the blog_charset option. fixes #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21842 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-14 03:23:06 +00:00
Andrew Nacin f62839c45b Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy.
When blog_public only has two values (as judged by whether the blog_privacy_selector action is used), convert from radio buttons to a checkbox, and rename from 'Site Visibility' to a more specific 'Search Engine Visibility'.

The text and implementation may change a bit. see #16416.



git-svn-id: https://develop.svn.wordpress.org/trunk@21838 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-13 17:28:57 +00:00
Andrew Nacin 2313f09a45 Correct return values for two deprecated media admin functions. props SergeyBiryukov. fixes #21518.
git-svn-id: https://develop.svn.wordpress.org/trunk@21835 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-13 17:09:41 +00:00
Andrew Nacin 5870391283 Fix Press This bookmarklet focus and active styles. props SergeyBiryukov, fixes #21850.
git-svn-id: https://develop.svn.wordpress.org/trunk@21832 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-13 17:04:08 +00:00
Andrew Nacin 8d3a9ba45b Disable multisite quotas by default on new installs. props mpvanwinkle77. fixes #21513.
git-svn-id: https://develop.svn.wordpress.org/trunk@21827 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-12 15:48:40 +00:00
Andrew Nacin 5d3c3fcfba Don't show Appearance > Widgets if the theme has no sidebars defined. props SergeyBiryukov for the initial patch. fixes #21761.
git-svn-id: https://develop.svn.wordpress.org/trunk@21825 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-12 02:16:46 +00:00
Andrew Nacin 7f29924c6a Remove ms-files.php rewriting from WordPress multisite. fixes #19235.
Keep existing networks compatible with a ms_files_rewriting network option.



git-svn-id: https://develop.svn.wordpress.org/trunk@21823 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 22:22:20 +00:00
Andrew Nacin dfac91464f Remove AtomPub from core.
* Will be replaced with http://wordpress.org/extend/plugins/atom-publishing-protocol/.
 * Introduces an action, xmlrpc_rsd_apis, to add APIs to xmlrpc.php?rsd.
 * Introduces support for 'error' being 403 and 50x in class-wp.php.
 * Removes 'Remote Publishing' from Writing Settings (see [21804]). Keeps the remote_publishing settings section.

DB version is bumped to generate the new wp-app rewrite rule and remove the old enable_app option.

props wonderboymusic.
fixes #21509.



git-svn-id: https://develop.svn.wordpress.org/trunk@21818 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 20:11:39 +00:00
Andrew Nacin a5e8f80f58 Undo nested paragraphs added in [21816]. see #17944.
git-svn-id: https://develop.svn.wordpress.org/trunk@21817 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 19:16:53 +00:00
Andrew Nacin 533217f3ba Indicate on themes.php when a theme is a child that requires a parent theme. fixes #17944.
git-svn-id: https://develop.svn.wordpress.org/trunk@21816 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 19:12:37 +00:00
Ryan Boren e40aee3913 Avoid 'Creating default object from empty value' warning in PHP 5.4. Props SergeyBiryukov, knutsp. fixes #21716
git-svn-id: https://develop.svn.wordpress.org/trunk@21815 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 18:54:56 +00:00
Daryl Koopersmith 1cc9c42bc4 Use JS Attachment models in wp.Uploader. fixes #21868.
Moves the uploading Attachments queue from the media workspace view to the uploader itself. This ensures that all attachments are added to the central attachmnet store.

Updates wp.Uploader to pass Attachment models to callbacks instead of Plupload file objects. Attachments in the process of uploading have a reference to the file object (which can be fetched by calling `attachment.get('file');`).

Also updates the customizer to be compatible with the API changes.


git-svn-id: https://develop.svn.wordpress.org/trunk@21814 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 16:55:58 +00:00
Andrew Nacin ee88036c08 Use network_site_url() for wp-signup.php. props markjaquith. see #19796.
git-svn-id: https://develop.svn.wordpress.org/trunk@21813 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 12:27:25 +00:00
Andrew Nacin 6557b319c4 Use the key we found using array_search() to unset it from the array. props hakre. fixes #16562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21812 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 02:12:34 +00:00
Andrew Nacin 56c0d2932c Remove old edit_*_per_page usermeta keys.
These per-page values were when the post type or taxonomy name has a hyphen.
Previously, these were converted to underscores. This changed in [21322].

fixes #18958.



git-svn-id: https://develop.svn.wordpress.org/trunk@21811 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 02:08:29 +00:00
Andrew Nacin 1e270f44a4 Remove 'hwstring_small' from attachment metadata and deprecate get_udims(). props SergeyBiryukov. fixes #21518.
git-svn-id: https://develop.svn.wordpress.org/trunk@21808 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 01:38:26 +00:00
Andrew Nacin 7846681ed4 Don't show 'Uncategorized' in the category column on edit.php if there are no categories (including the default one). props ocean90. fixes #21240.
git-svn-id: https://develop.svn.wordpress.org/trunk@21806 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 01:31:53 +00:00
Andrew Nacin 6df2aff40b Turn XML-RPC on and remove the option on the Writing Settings page.
props markoheijnen for the initial patch.

Introduces a new filter, xmlrpc_enabled.

Respects any current callbacks registered to the pre_option_enable_xmlrpc
and option_enable_xmlrpc filters, for anyone forcing it off via code.

fixes #21509.



git-svn-id: https://develop.svn.wordpress.org/trunk@21804 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 00:37:31 +00:00
Andrew Nacin 31b1ba5cb1 Wrap the unused options line in populate_options().
git-svn-id: https://develop.svn.wordpress.org/trunk@21803 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 00:08:58 +00:00
Ryan Boren 34320e9089 Add missing closedir() to wpmu_delete_blog(). Props timfs. fixes #21780
git-svn-id: https://develop.svn.wordpress.org/trunk@21801 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-10 21:16:03 +00:00
Ryan Boren 46f3985c39 Deprecate get_default_post_to_edit(). Props SergeyBiryukov. fixes #21677
git-svn-id: https://develop.svn.wordpress.org/trunk@21800 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-10 20:39:45 +00:00
Ryan Boren fa5557c6d4 When reassigning posts and links during user deletion, clear the post and link caches. Props kurtpayne. fixes #20447
git-svn-id: https://develop.svn.wordpress.org/trunk@21798 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-10 19:56:08 +00:00
Ryan Boren 9360033fbe Check for an empty post in wp_popular_terms_checklist(). _wp_ajax_add_hierarchical_term() doesn't set up global post info. Props SergeyBiryukov. see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21791 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-10 16:45:49 +00:00
Daryl Koopersmith 7d6e53317c New button styles.
Using the new buttons:

* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".

For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.

get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).

props lessbloat, helenyhou, trepmal, nacin. see #21598.



git-svn-id: https://develop.svn.wordpress.org/trunk@21789 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-08 04:58:34 +00:00
Andrew Nacin bcf58b34c4 Allow easy registration of taxonomy columns on post (and custom post type) list table screens.
To register a column for a list table, use the new manage_taxonomies_for_{$post_type}_columns
filter. Introduces show_admin_column => true for register_taxonomy(), which automatically
displays that column on all associated post types.

props jtsternberg, SergeyBiryukov for initial patches.
fixes #21240.



git-svn-id: https://develop.svn.wordpress.org/trunk@21788 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-08 03:18:36 +00:00
Andrew Ozz a624cda5c5 Don't try to show the submenu when it's visible (Chrome), part props ericlewis, fixes #21832
git-svn-id: https://develop.svn.wordpress.org/trunk@21787 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-07 22:34:43 +00:00
Andrew Nacin 626a4b2a56 Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@21781 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-07 15:49:20 +00:00
Daryl Koopersmith 3ef72a1dee First pass at integrating featured images with the new media workflow.
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.

see #21776, #21390.


git-svn-id: https://develop.svn.wordpress.org/trunk@21770 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-06 08:49:35 +00:00
Ryan Boren 653e3b3ae6 Change the number of themes shown per page in themes.php from 999 to 36 so that infinite scroll engages. 36 was chosen to match the per page limit for theme-install.php
git-svn-id: https://develop.svn.wordpress.org/trunk@21768 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 20:33:34 +00:00
Andrew Nacin 2951df0632 Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only.
git-svn-id: https://develop.svn.wordpress.org/trunk@21755 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 22:35:12 +00:00
Andrew Nacin a064f74572 Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749.
git-svn-id: https://develop.svn.wordpress.org/trunk@21752 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 22:25:25 +00:00
bumpbot 04e7435945 Compress scripts/styles: -3.5-21751.
git-svn-id: https://develop.svn.wordpress.org/trunk@21751 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:59:25 +00:00
Ryan Boren 80147a8a19 Remove the filter setting when searching media. Props helenyhou. fixes #19452
git-svn-id: https://develop.svn.wordpress.org/trunk@21750 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:20:51 +00:00
Ryan Boren 1bd73817b0 Make the 'Download Export File' button primary. Props helenyhou. fixes #21781
git-svn-id: https://develop.svn.wordpress.org/trunk@21749 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:11:17 +00:00
Ryan Boren e6aaf6386d Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373
git-svn-id: https://develop.svn.wordpress.org/trunk@21746 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:05:06 +00:00
Ryan Boren 1ce32cbf14 Remove not so useful author column sorting. Props scribu. fixes #17141
git-svn-id: https://develop.svn.wordpress.org/trunk@21743 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:57:18 +00:00
Ryan Boren d31b2ea583 Make the callback optional for add_settings_section(). Props lightningspirit. fixes #21630
git-svn-id: https://develop.svn.wordpress.org/trunk@21742 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:55:20 +00:00
Andrew Nacin a8549576b4 Only allow operations on network plugins through the network admin. see #21187, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@21740 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:51:33 +00:00
Andrew Nacin 3fb49b9ffd Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
props SergeyBiryukov. fixes #21106 for trunk. see #21152.



git-svn-id: https://develop.svn.wordpress.org/trunk@21737 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:27:14 +00:00
Andrew Nacin dcb0d4fe80 Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309.
git-svn-id: https://develop.svn.wordpress.org/trunk@21736 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 18:23:51 +00:00
Ryan Boren 31ec698423 Use get_post() instead of global $post.
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.

Props nacin
see #21309


git-svn-id: https://develop.svn.wordpress.org/trunk@21735 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 16:29:28 +00:00
Andrew Nacin 2a8af13e3e setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316.
git-svn-id: https://develop.svn.wordpress.org/trunk@21716 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 02:46:01 +00:00
Andrew Nacin 040d03235d Don't include functions.php in wp_load_translations_early()
to avoid a parse error in a PHP4 environment (caused by use of
the clone keyword in option.php).

Manually include functions.php in the rare situations where it
is not already included by the time we need to load translations
early.

Remove the functions.php dependency by switching the wp_die() calls
to die(), in wp_check_php_mysql_versions().

props SergeyBiryukov, see #21316, for trunk.




git-svn-id: https://develop.svn.wordpress.org/trunk@21715 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 02:38:37 +00:00
Andrew Nacin 7981f50934 Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511.
git-svn-id: https://develop.svn.wordpress.org/trunk@21703 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 21:57:53 +00:00
Andrew Nacin 4769e9e656 Don't call self_admin_url() or esc_url() when declaring that WordPress updated successfully, as they may not exist in the current (just updated) version.
props SergeyBiryukov.
see #21511.
for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@21702 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 21:56:12 +00:00
Andrew Nacin 9a4bba9390 Only show network-only plugins in the network admin. props SergeyBiryukov. see #21187, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@21700 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 19:42:31 +00:00
bumpbot 1cf2f96b3c Compress scripts/styles: 3.5-alpha-21698.
git-svn-id: https://develop.svn.wordpress.org/trunk@21698 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:59:27 +00:00
Andrew Nacin a7bc84096f Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21697 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:39:06 +00:00
Andrew Nacin 903479fb96 Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777.
git-svn-id: https://develop.svn.wordpress.org/trunk@21696 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:35:22 +00:00
bumpbot 62f79fd6e3 Compress scripts/styles: 3.5-alpha-21690.
git-svn-id: https://develop.svn.wordpress.org/trunk@21690 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 18:59:24 +00:00
Mark Jaquith 02975388bd Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@21688 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 18:20:28 +00:00
Ryan Boren 7907be8f15 Introduce WP_Screen::in_admin() for determining which admin the screen is in.
Change is_*_admin() to reference in_admin() with fallback to the WP_*_ADMIN constants during early bootstrap. This allows unit tests and ajax handlers to set the admin context.

fixes #21742


git-svn-id: https://develop.svn.wordpress.org/trunk@21687 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 17:16:46 +00:00
Daryl Koopersmith 5a4a17687a Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: https://develop.svn.wordpress.org/trunk@21683 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 04:54:23 +00:00
Daryl Koopersmith 84a9e47c0d Fix a misnamed variable, which caused the query-attachments ajax handler to ignore all input. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@21682 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 04:32:25 +00:00
Andrew Nacin 215be466c3 Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@21681 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 02:58:51 +00:00
bumpbot 56b3860a86 Compress scripts/styles: 3.5-alpha-21673.
git-svn-id: https://develop.svn.wordpress.org/trunk@21673 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 18:59:30 +00:00
Andrew Ozz ceaf979590 Fix min row height in .widefat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21671 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 18:47:22 +00:00
Ryan Boren 92ea34f6a2 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759
git-svn-id: https://develop.svn.wordpress.org/trunk@21664 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 13:33:00 +00:00
bumpbot bca5b5538d Compress scripts/styles: 3.5-alpha-21663.
git-svn-id: https://develop.svn.wordpress.org/trunk@21663 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 04:09:57 +00:00
Andrew Nacin d17a70efde Update old files array:
* Remove old names for jQuery UI Effects files. see #21736.
 * Remove un-minified version of Jcrop and jQuery Color. see #21692, #20728.
 * Remove .dev.css and .dev.js. see #21633.



git-svn-id: https://develop.svn.wordpress.org/trunk@21660 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:35:30 +00:00
Andrew Nacin 0dbb4dfb27 Update some code comments from .dev.js to .js. props georgestephanis. see #21633.
git-svn-id: https://develop.svn.wordpress.org/trunk@21659 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:15:57 +00:00
Andrew Nacin 5986fef232 Remove reference to blog_charset option in Settings > Reading help. fixes #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21653 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 05:50:10 +00:00
Ryan Boren 01527025c9 Add tags_input, page_template, and post_category get magic to WP_Post.
Deprecate get_post_to_edit() and wp_get_single_post().
Props scribu
see #21309


git-svn-id: https://develop.svn.wordpress.org/trunk@21651 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 19:08:28 +00:00
Andrew Nacin b502460093 Remove paths to where theme files are located from theme details on themes.php. props lessbloat, see #17944.
git-svn-id: https://develop.svn.wordpress.org/trunk@21650 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:48:50 +00:00
Ryan Boren 5b6667c43e Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
git-svn-id: https://develop.svn.wordpress.org/trunk@21647 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:03:12 +00:00
Andrew Nacin 48a3353f5e Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.
Any plugin wishing to use jQuery color animations must set jquery-color as a dependency
(or enqueue it).

Remove the un-minified version of jQuery Color.

props scribu.
fixes #21692.



git-svn-id: https://develop.svn.wordpress.org/trunk@21646 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:51:35 +00:00
Andrew Ozz 575e541b27 More visible :focus style for form elements, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21641 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 05:48:58 +00:00
Andrew Ozz 1c98a9a04f Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
git-svn-id: https://develop.svn.wordpress.org/trunk@21631 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 22:39:01 +00:00
Andrew Nacin 5a9dd669a2 Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786.
git-svn-id: https://develop.svn.wordpress.org/trunk@21605 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:32:23 +00:00
Andrew Nacin e1d2b7baa0 Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:22:14 +00:00
Ryan Boren 9905abe697 Update phpdoc for functions that return WP_Post. Soft deprecate get_page(). see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21598 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 20:34:41 +00:00
Ryan Boren de06b81360 Remove return ref from all calls to get_post()
Return WP_Post from get_default_post_to_edit()
Replace all calls to get_page() with get_post()
see #21309


git-svn-id: https://develop.svn.wordpress.org/trunk@21597 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 20:01:10 +00:00
Andrew Nacin 4a797c0b62 Remove references to still-existing files from the old files array. see #20980.
git-svn-id: https://develop.svn.wordpress.org/trunk@21594 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:58:43 +00:00
Andrew Nacin 64caad03e7 Remove Prototype and script.aculo.us from core.
Continue to register them, pulling from ajax.googleapis.com. This is only being done for backwards compatibility;
libraries in use will continue to be local sources.

In the process, update to the latest versions of Prototype (1.7.1, June 5) and script.aculo.us (1.9.0, from 2010).

props helenyhou.
fixes #21661, #16664, #16665.



git-svn-id: https://develop.svn.wordpress.org/trunk@21593 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:51:08 +00:00
Andrew Nacin db981a3b27 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: https://develop.svn.wordpress.org/trunk@21592 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:04:18 +00:00
bumpbot 5623f1ca85 Compress scripts/styles: 3.5-alpha-21589.
git-svn-id: https://develop.svn.wordpress.org/trunk@21589 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 20:58:31 +00:00
Andrew Ozz efcde9517c Better styling of theme filter, props SergeyBiryukov, fixes #21637
git-svn-id: https://develop.svn.wordpress.org/trunk@21588 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 19:16:31 +00:00
bumpbot 54c5743c66 Compress scripts/styles: 3.5-alpha-21587.
git-svn-id: https://develop.svn.wordpress.org/trunk@21587 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 18:58:32 +00:00
Andrew Ozz 877e8f6a2a Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
git-svn-id: https://develop.svn.wordpress.org/trunk@21584 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 17:40:17 +00:00
bumpbot a748fa33c4 Compress scripts/styles: 3.5-alpha-21583.
git-svn-id: https://develop.svn.wordpress.org/trunk@21583 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 16:58:25 +00:00
Andrew Ozz 991c78713e Remove erroneous vertical-align: center values, props helenyhou, fixes #20586
git-svn-id: https://develop.svn.wordpress.org/trunk@21582 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 15:23:10 +00:00
bumpbot ebcef178df Compress scripts/styles: 3.5-alpha-21580. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21580 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 02:58:28 +00:00
Andrew Ozz 29471da7bd Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925
git-svn-id: https://develop.svn.wordpress.org/trunk@21579 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 02:28:30 +00:00
Andrew Ozz 200beacacf Remove text-shadow on hover from update and comments bubbles in the admin menu, props markjaquith, fixes #21449
git-svn-id: https://develop.svn.wordpress.org/trunk@21578 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 02:25:28 +00:00
Andrew Ozz e4759ac950 Replace the dark spinner with the light on the widgets screen and retire wpspin_dark.gif, props helenyhou and lessbloat, fixes #20957
git-svn-id: https://develop.svn.wordpress.org/trunk@21577 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 02:02:37 +00:00
bumpbot 562ce55e89 Compress scripts/styles: 3.5-alpha-21575.
git-svn-id: https://develop.svn.wordpress.org/trunk@21575 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 22:58:27 +00:00
Andrew Ozz 27fdffa9db Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
git-svn-id: https://develop.svn.wordpress.org/trunk@21574 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 22:46:30 +00:00
Andrew Nacin 8cac9d023a Remove unused multisite option 'language'. props wonderboymusic. fixes #21545.
git-svn-id: https://develop.svn.wordpress.org/trunk@21551 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 16:43:44 +00:00
bumpbot c699530ab6 Compress scripts/styles: 3.5-alpha-21548.
git-svn-id: https://develop.svn.wordpress.org/trunk@21548 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 18:58:22 +00:00
Mark Jaquith 40c77861db Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
git-svn-id: https://develop.svn.wordpress.org/trunk@21547 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 18:16:52 +00:00
Andrew Nacin 3bd03e0826 Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21539 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 16:46:47 +00:00
Ryan Boren 98864bbb7e Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
git-svn-id: https://develop.svn.wordpress.org/trunk@21538 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 14:19:03 +00:00
Andrew Nacin 48a78c01a3 Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307.
git-svn-id: https://develop.svn.wordpress.org/trunk@21536 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 23:08:07 +00:00
bumpbot 4ce19368bf Compress scripts/styles: 3.5-alpha-21535.
git-svn-id: https://develop.svn.wordpress.org/trunk@21535 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 16:58:26 +00:00
Andrew Ozz ffba15c130 Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21534 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 15:45:31 +00:00
bumpbot 36a3924822 Compress scripts/styles: 3.5-alpha-21530.
git-svn-id: https://develop.svn.wordpress.org/trunk@21530 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:58:27 +00:00
Andrew Ozz f0d18a35dd Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21529 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:40:11 +00:00
bumpbot 06112b685f Compress scripts/styles: 3.5-alpha-21514.
git-svn-id: https://develop.svn.wordpress.org/trunk@21514 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 20:58:23 +00:00
Andrew Ozz 94be7cf95b Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21510 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 19:37:27 +00:00
Ryan Boren 082f515280 Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433
git-svn-id: https://develop.svn.wordpress.org/trunk@21508 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 19:24:36 +00:00
bumpbot cd93e31cfa Compress scripts/styles: 3.5-alpha-21505.
git-svn-id: https://develop.svn.wordpress.org/trunk@21505 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:58:20 +00:00
Ryan Boren 4974f5f233 Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
git-svn-id: https://develop.svn.wordpress.org/trunk@21504 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:39:15 +00:00
Ryan Boren 52c9b5af0d Better instruction text on custom header screen. Props jane, JustinSainton fixes #20992
git-svn-id: https://develop.svn.wordpress.org/trunk@21502 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:32:26 +00:00
Andrew Nacin 9931c1a45d Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled.
Enforce this by denying the 'manage_links' capability, which hides the All Links, Add New Link, and Link Categories screens. Hide WP_Widget_Links and the UI for the default_link_category as well.

Convert all references to 'posts and links' when handling reassignment on user deletion to just 'posts'.

see #21307.



git-svn-id: https://develop.svn.wordpress.org/trunk@21501 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-13 16:18:42 +00:00
Andrew Nacin 58ad892373 Stop adding default links and the 'Blogroll' link category on install. props wonderboymusic. see #21307.
git-svn-id: https://develop.svn.wordpress.org/trunk@21500 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-13 15:55:15 +00:00
bumpbot de461b777b Compress scripts/styles: 3.5-alpha-21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21499 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-11 02:58:19 +00:00
Andrew Ozz da532a7573 Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
git-svn-id: https://develop.svn.wordpress.org/trunk@21498 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-11 02:36:01 +00:00
Ryan Boren 9580f65af6 Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user(). Introduce WP_User::to_array(). Eliminate uses of get_object_vars() when passing to wp_*_user(). fixes #21429
git-svn-id: https://develop.svn.wordpress.org/trunk@21496 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-10 15:36:54 +00:00
Peter Westwood ce84487878 Multisite: Fix the new get_space_used() function to correctly calculate Megabytes used and update some phpdoc. Props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21474 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 07:17:33 +00:00
Andrew Nacin 4218686707 Introduce wpdb::get_charset_collate() to return the DEFAULT CHARACTER SET and COLLATE for use in table schemas.
props simonwheatley, pento. fixes #18451.



git-svn-id: https://develop.svn.wordpress.org/trunk@21471 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 06:13:48 +00:00
Andrew Nacin 249e32e96b Hide the charset setting for installs that have a charset of UTF-8 already. fixes #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21467 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-07 03:10:59 +00:00