Commit Graph

8777 Commits

Author SHA1 Message Date
Ryan Boren 28851bb6fe Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
git-svn-id: https://develop.svn.wordpress.org/trunk@18600 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 17:56:34 +00:00
Peter Westwood ab660228ab Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: https://develop.svn.wordpress.org/trunk@18599 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 08:05:15 +00:00
Ryan Boren 1d3e616495 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18597 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:32:59 +00:00
Peter Westwood a60b4ff564 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@18596 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:37:25 +00:00
Peter Westwood ade9233305 End each row with a new line to make the raw HTML easier to read.
git-svn-id: https://develop.svn.wordpress.org/trunk@18595 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:13:33 +00:00
Peter Westwood 4dfdd2e9b2 Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@18594 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:12:07 +00:00
Dion Hulse ddfa97ee0a Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: https://develop.svn.wordpress.org/trunk@18590 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 07:48:13 +00:00
Andrew Nacin 8d5241c094 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: https://develop.svn.wordpress.org/trunk@18586 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 15:56:14 +00:00
Andrew Ozz ee57e82c80 Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: https://develop.svn.wordpress.org/trunk@18583 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 04:36:21 +00:00
Andrew Ozz 1e0034e8fd Auto column switching for the dashboard, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18582 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 04:00:56 +00:00
Andrew Ozz 2ae505d0c6 Auto column switching (post.php only for now), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Andrew Ozz 41c6f84cd9 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18579 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 16:44:02 +00:00
Andrew Ozz 4e6957a730 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18578 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 15:38:14 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz 3f921df606 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz 750d395b81 Another fix for Press This, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18574 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 17:04:16 +00:00
Andrew Ozz 9734668734 Fix Press This editors, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18570 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 01:14:56 +00:00
Andrew Nacin 193baf96e7 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: https://develop.svn.wordpress.org/trunk@18569 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:40:37 +00:00
Andrew Nacin bbfd457437 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: https://develop.svn.wordpress.org/trunk@18565 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:26:18 +00:00
Andrew Nacin 2d52bddbde Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18564 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:17:47 +00:00
Andrew Nacin 5464b1abc2 Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18563 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:16:57 +00:00
Andrew Nacin 13999695f1 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18562 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 02:29:06 +00:00
Andrew Ozz 182f43c74d Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18555 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 14:32:36 +00:00
Andrew Nacin 8eedd18ff6 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: https://develop.svn.wordpress.org/trunk@18554 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 06:53:19 +00:00
Andrew Ozz f68214a20a Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18553 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 04:54:51 +00:00
Andrew Nacin 92092a0249 Remove beta upgrade code from 3.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@18552 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 02:26:59 +00:00
Andrew Nacin 7f88e981ac Clean up message handling logic in upload.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@18550 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 00:12:02 +00:00
Andrew Nacin 03e0c5c7a1 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: https://develop.svn.wordpress.org/trunk@18547 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-14 22:23:22 +00:00
Andrew Nacin c30907963d Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: https://develop.svn.wordpress.org/trunk@18544 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 18:01:26 +00:00
Andrew Nacin 7fe1e0fc4a Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18536 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 22:32:35 +00:00
Jon Cave 707ab6c656 Direct a user to the main site to install importers, fixes #17990
git-svn-id: https://develop.svn.wordpress.org/trunk@18535 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 20:49:47 +00:00
Ryan Boren b684e2b836 Use title case. Props trepmal. fixes #17773
git-svn-id: https://develop.svn.wordpress.org/trunk@18533 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 18:17:30 +00:00
Nikolay Bachiyski c5b4e06e15 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: https://develop.svn.wordpress.org/trunk@18531 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:42:59 +00:00
Nikolay Bachiyski f228bf94cf Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: https://develop.svn.wordpress.org/trunk@18530 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:36:18 +00:00
Nikolay Bachiyski 7ce4b9b44d Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: https://develop.svn.wordpress.org/trunk@18529 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:33:22 +00:00
Andrew Nacin 7665b28755 Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: https://develop.svn.wordpress.org/trunk@18527 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 03:02:01 +00:00
Andrew Nacin d90d462e6b Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: https://develop.svn.wordpress.org/trunk@18526 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:54:59 +00:00
Andrew Nacin 3e14a6675b Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: https://develop.svn.wordpress.org/trunk@18525 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:26:36 +00:00
Andrew Nacin 0c5290d9e3 Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18523 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:17:26 +00:00
Andrew Nacin 51982620ce Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: https://develop.svn.wordpress.org/trunk@18522 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:00:45 +00:00
Andrew Nacin c859ac8682 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: https://develop.svn.wordpress.org/trunk@18520 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:53:54 +00:00
Andrew Ozz b7e35b3f6c Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz aad319a3ac Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Ryan Boren eda7d43e85 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: https://develop.svn.wordpress.org/trunk@18513 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:57:31 +00:00
Andrew Ozz 6ce85719a7 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Ryan Boren dbd72319f1 Add gettext. Props Latz. fixes #18173
git-svn-id: https://develop.svn.wordpress.org/trunk@18509 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:29:46 +00:00
Ryan Boren ecd3baa078 Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: https://develop.svn.wordpress.org/trunk@18508 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:07:51 +00:00
Andrew Nacin 7f154ed6c3 Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: https://develop.svn.wordpress.org/trunk@18505 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 12:40:15 +00:00
Ryan Boren 8eea785bcb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18504 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 03:09:27 +00:00
Andrew Ozz 5b4ac17cc5 Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Ryan Boren 53122aafe5 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18502 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 19:14:06 +00:00
Ryan Boren dbb0b7c8d6 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: https://develop.svn.wordpress.org/trunk@18500 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 16:48:37 +00:00
Andrew Ozz 0674464f19 Remove debug remnants, props scribu, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18499 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:36:18 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz d5a6cf3dfd Refactor Quicktags, props garyc40, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Andrew Nacin 14b7842a79 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18493 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:20:06 +00:00
Andrew Nacin db79dcc18a Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18492 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:16:19 +00:00
Andrew Ozz 54eb9f1f3c Remove tabs from JS, props duck_, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 08:44:29 +00:00
Ryan Boren 3735347ba7 Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: https://develop.svn.wordpress.org/trunk@18487 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:36:45 +00:00
Andrew Ozz 57bff0b6d8 Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz 4e81b893e9 Remove debug bits, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18483 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 09:03:24 +00:00
Andrew Ozz 12a7d989e0 Pluploader take 1, props jacobwg, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Nacin f81a0e5a3c Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: https://develop.svn.wordpress.org/trunk@18481 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 06:07:38 +00:00
Ryan Boren 40c8d3aff1 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: https://develop.svn.wordpress.org/trunk@18475 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:10:00 +00:00
Ryan Boren 24c08b8bf5 Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: https://develop.svn.wordpress.org/trunk@18473 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:35:39 +00:00
Ryan Boren 5d649a9235 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Andrew Ozz 06f33f29ba Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Dion Hulse 4429d66a15 Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz ebbf92afc1 UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: https://develop.svn.wordpress.org/trunk@18453 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:15:27 +00:00
Ryan Boren 1b135d38f3 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: https://develop.svn.wordpress.org/trunk@18452 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:04:12 +00:00
Ryan Boren b4b82c9725 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18449 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:32:12 +00:00
Ryan Boren f6153bcf5d Typo fix. Props kawauso. fixes #18177
git-svn-id: https://develop.svn.wordpress.org/trunk@18447 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:46:01 +00:00
Ryan Boren 6b5d8397b0 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Ryan Boren 4dcfeabff1 Sites search improvements. fixes #18013
git-svn-id: https://develop.svn.wordpress.org/trunk@18442 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:42:26 +00:00
Andrew Ozz 36144f6484 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18436 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:53:29 +00:00
Andrew Nacin ffd9f52cb5 Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18435 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:48:43 +00:00
Andrew Nacin bdf534021b Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: https://develop.svn.wordpress.org/trunk@18432 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:22:24 +00:00
Andrew Ozz 4a2626dd4c Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18428 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:16:09 +00:00
Andrew Nacin bb7c1ac6d7 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18426 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:03:04 +00:00
Andrew Nacin 486b75c370 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18424 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 18:55:39 +00:00
Andrew Nacin cfcb6d0ecc Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18420 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:50:34 +00:00
Andrew Nacin d81744097b Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18416 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:36:47 +00:00
Ryan Boren f8c336ca41 Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18406 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-07 18:03:30 +00:00
Andrew Nacin c8947a4f44 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18404 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-06 23:33:05 +00:00
Andrew Ozz 576466e544 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18399 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 07:03:26 +00:00
Andrew Nacin 19e358a2c5 Affirm current credits timeout. see #17759.
git-svn-id: https://develop.svn.wordpress.org/trunk@18393 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 15:58:43 +00:00
Andrew Ozz bb5f063809 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: https://develop.svn.wordpress.org/trunk@18390 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:15:04 +00:00
Ryan Boren 9e7890c3f6 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18386 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:59:45 +00:00
Andrew Ozz 1d8d8bffc9 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: https://develop.svn.wordpress.org/trunk@18381 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:46:00 +00:00
Andrew Ozz 9977a6a559 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: https://develop.svn.wordpress.org/trunk@18380 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:23:09 +00:00
Andrew Nacin b40bdc3928 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:50:07 +00:00
Andrew Nacin 85d77664fb wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:46:46 +00:00
Ryan Boren 6022d6e39c Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18369 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:47:35 +00:00
Ryan Boren 2258beaf3c Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18365 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:44:56 +00:00
Andrew Ozz 520081cec7 User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@18364 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 16:17:49 +00:00
Dion Hulse 100f17c96d Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: https://develop.svn.wordpress.org/trunk@18362 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 06:47:34 +00:00
Ryan Boren cdd05b3c9f Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18350 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:47:04 +00:00
Andrew Ozz c2c5456fd1 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Andrew Ozz 5bdde5667e Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: https://develop.svn.wordpress.org/trunk@18347 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 19:35:26 +00:00
Ryan Boren 091ec81919 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Ryan Boren fec6f56351 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: https://develop.svn.wordpress.org/trunk@18340 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 21:49:22 +00:00
Nikolay Bachiyski 497b25df66 Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: https://develop.svn.wordpress.org/trunk@18337 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 11:18:20 +00:00
Ryan Boren ba11fe1ed2 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: https://develop.svn.wordpress.org/trunk@18332 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:57:21 +00:00
Andrew Ozz 1598bef0d5 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: https://develop.svn.wordpress.org/trunk@18331 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:41:42 +00:00
Andrew Nacin 5244cdb17e Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: https://develop.svn.wordpress.org/trunk@18327 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:21 +00:00
Peter Westwood 41d548231e Ensure we have a valid timezone identifier before trying to use it.
Validate the new timezone identifier during option update.
Fixes #17840.

git-svn-id: https://develop.svn.wordpress.org/trunk@18323 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 14:58:50 +00:00
Andrew Nacin fdbc800dcc Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: https://develop.svn.wordpress.org/trunk@18320 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:05:46 +00:00
Andrew Nacin 5ef9f551a3 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: https://develop.svn.wordpress.org/trunk@18319 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:02:58 +00:00
Dion Hulse 2ed7ccf052 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: https://develop.svn.wordpress.org/trunk@18318 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-17 05:41:35 +00:00
Andrew Nacin 702409e5d9 Add missing translate() call.
git-svn-id: https://develop.svn.wordpress.org/trunk@18315 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 00:18:51 +00:00
Andrew Nacin d75f27ab80 Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@18314 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-15 19:23:35 +00:00
Dion Hulse 696c091d9a Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: https://develop.svn.wordpress.org/trunk@18310 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:55:04 +00:00
Dion Hulse 31b16ec043 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: https://develop.svn.wordpress.org/trunk@18309 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:40:38 +00:00
Dion Hulse 5c644c6b77 Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
git-svn-id: https://develop.svn.wordpress.org/trunk@18308 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:31:35 +00:00
Dion Hulse b941320959 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: https://develop.svn.wordpress.org/trunk@18307 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 12:39:11 +00:00
Andrew Nacin 95c33db79f Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: https://develop.svn.wordpress.org/trunk@18298 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 08:50:16 +00:00
Andrew Nacin caa6046220 [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781.
git-svn-id: https://develop.svn.wordpress.org/trunk@18297 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 08:30:53 +00:00
Andrew Ozz afa3e61432 Always use curly brackets with foreach, see [18295]
git-svn-id: https://develop.svn.wordpress.org/trunk@18296 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 01:03:55 +00:00
Andrew Ozz 3ff031ae87 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@18295 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 00:24:47 +00:00
Andrew Nacin 8e9b972098 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: https://develop.svn.wordpress.org/trunk@18294 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 21:38:57 +00:00
Dion Hulse 577f585169 Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 12:47:18 +00:00
Andrew Ozz bcf0131e7a More Press This cleanup and fixes, see #17757
git-svn-id: https://develop.svn.wordpress.org/trunk@18283 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 23:12:21 +00:00
Andrew Ozz 01cf7a93ba Press This RTL css fixes, props ocean90, fixes #17757
git-svn-id: https://develop.svn.wordpress.org/trunk@18282 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 21:17:34 +00:00
Andrew Nacin 80d166905a Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: https://develop.svn.wordpress.org/trunk@18281 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 21:14:03 +00:00
Andrew Nacin 1914c5464e UI refresh for Press This. props koopersmith, see #17757.
git-svn-id: https://develop.svn.wordpress.org/trunk@18279 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 19:37:23 +00:00
Andrew Nacin 54caf260f6 Fix display of browser nag, use lowercase hex values, move identical styles out of colors-* and into dashboard.css. props duck_, fixes #17765.
git-svn-id: https://develop.svn.wordpress.org/trunk@18278 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 19:32:19 +00:00
Ryan Boren 7d7509eabd Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: https://develop.svn.wordpress.org/trunk@18277 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:52:15 +00:00
Ryan Boren feaf2597bf Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18276 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:44:06 +00:00
Andrew Nacin a657a1986c @since s/3.2/3.2.0/
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Dion Hulse 1b36a05e18 Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: https://develop.svn.wordpress.org/trunk@18265 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:33:17 +00:00
Dion Hulse 4963d5f945 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: https://develop.svn.wordpress.org/trunk@18264 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:16:42 +00:00
Andrew Nacin 9ebb57dafd Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760.
git-svn-id: https://develop.svn.wordpress.org/trunk@18262 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 02:35:00 +00:00
Andrew Nacin c24e4daf5a Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: https://develop.svn.wordpress.org/trunk@18260 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 00:55:48 +00:00
Daryl Koopersmith 76a8b918db The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@18258 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:47:28 +00:00
Ryan Boren 9216255ee3 Update _old_files for 3.2. see #17759
git-svn-id: https://develop.svn.wordpress.org/trunk@18256 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:15:01 +00:00
Ryan Boren 46d96c7704 Bring out the pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Andrew Nacin 563e7fb099 Remove 'Development.' fixes #15991.
git-svn-id: https://develop.svn.wordpress.org/trunk@18252 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:55:28 +00:00
Andrew Nacin fb2e53b23c Don't add extra spaces. props duck_, see #16861.
git-svn-id: https://develop.svn.wordpress.org/trunk@18250 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:30:54 +00:00
Andrew Nacin 5f4f14cae4 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: https://develop.svn.wordpress.org/trunk@18249 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:28:02 +00:00
Andrew Nacin 9f4d6e2d27 Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758.
git-svn-id: https://develop.svn.wordpress.org/trunk@18248 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:16:30 +00:00
Andrew Ozz e3a1054bef Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Andrew Nacin dc3acebeb2 Revert [18243].
git-svn-id: https://develop.svn.wordpress.org/trunk@18246 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:01:52 +00:00
Andrew Nacin 7d45a7cdef s/Blue/Classic/
git-svn-id: https://develop.svn.wordpress.org/trunk@18243 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:37:14 +00:00
Andrew Nacin dabb39d410 Some more credits strings.
git-svn-id: https://develop.svn.wordpress.org/trunk@18242 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:27:14 +00:00
Andrew Ozz 48951ad388 DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: https://develop.svn.wordpress.org/trunk@18241 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:08:49 +00:00
Daryl Koopersmith 76ddc16e4a Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@18238 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:48:25 +00:00
Andrew Ozz 44ade04f5b Fix pagination when searching or filtering, props solarissmoke, koopersmith, fixes #17685
git-svn-id: https://develop.svn.wordpress.org/trunk@18237 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:33:45 +00:00
Daryl Koopersmith 98084cd724 The Lightening, Part One: Lighten tabs UI on new post and menus screens. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@18236 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:10:40 +00:00
Mark Jaquith 2aea6faf97 Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:02:03 +00:00