Commit Graph

6717 Commits

Author SHA1 Message Date
Andrew Nacin 45057df1ae Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: https://develop.svn.wordpress.org/trunk@15063 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 20:33:48 +00:00
Mark Jaquith b5cd195f68 Do not load window.onbeforeonload event if we are not on an existing nav menu. props filosofo. Reduce opacity on nav menu postboxes if we are not on an existing nav menu, and for JS users, deactivate all links and form elements, to make it obvious that those UI elements are not usable at this stage. fixes #13615
git-svn-id: https://develop.svn.wordpress.org/trunk@15062 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 19:39:40 +00:00
Ron Rennick f2b7384e9c bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15060 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 18:23:47 +00:00
Andrew Nacin 60b96042f2 Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.
git-svn-id: https://develop.svn.wordpress.org/trunk@15056 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:46:46 +00:00
Nikolay Bachiyski df34727db8 Load multisite strings POT file only on multisite requests. Fixes #13565
git-svn-id: https://develop.svn.wordpress.org/trunk@15053 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 15:32:43 +00:00
Ron Rennick bd7ccea9ee strip www before adding subdomain when creating new site
git-svn-id: https://develop.svn.wordpress.org/trunk@15050 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 00:32:10 +00:00
Andrew Nacin 51cc204001 Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: https://develop.svn.wordpress.org/trunk@15049 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 23:04:00 +00:00
Andrew Nacin 1614d124ba Allow the text labels in the multisite elements of the Right Now dashboard widget. Fixes display with narrow columns due to screen options or browser window width. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@15048 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 22:40:56 +00:00
Andrew Nacin 5ff8d718f2 Don't show double-AYS for deleting a menu. props filosofo, duck_. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15046 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:38:19 +00:00
Andrew Nacin 83a4da5d7b Give translators a little more room with nav menu meta box tabs. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15044 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:34:27 +00:00
Ron Rennick 2df4a9451a don't clobber term if sitecategories doesn't exist, fixes 13482
git-svn-id: https://develop.svn.wordpress.org/trunk@15042 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:03:29 +00:00
Ryan Boren aa561cd06c Unique menu container ids. Props filosofo. fixes #13597
git-svn-id: https://develop.svn.wordpress.org/trunk@15034 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 16:32:57 +00:00
Andrew Nacin b8820a2537 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@15023 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 02:36:49 +00:00
Andrew Nacin 7baec4f576 RC 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15021 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 01:38:29 +00:00
Andrew Nacin 28c54a5e20 Custom background UI tweaks. Make 'Select Color' a link instead of a button, move color below the background image options, standardize screen reader text.
git-svn-id: https://develop.svn.wordpress.org/trunk@15016 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 00:01:59 +00:00
Andrew Nacin d7607a4cdd Menu touchups. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15010 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:45:52 +00:00
Andrew Nacin 29ccf1ec31 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15008 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:22:09 +00:00
Peter Westwood f0f29d7f44 ↑↑↓↓←→←→BA
git-svn-id: https://develop.svn.wordpress.org/trunk@15006 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 21:44:07 +00:00
Mark Jaquith 05e2e9b2c4 Initialize instead of using isset(). props nacin. see #13556
git-svn-id: https://develop.svn.wordpress.org/trunk@15003 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 20:41:36 +00:00
Mark Jaquith 3c7a2a3cb8 Tweaks to wp_constrain_dimensions() for better fits and consistency. fixes #13556
git-svn-id: https://develop.svn.wordpress.org/trunk@15002 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 20:37:42 +00:00
Andrew Nacin 70fb7342c7 Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14999 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 18:57:07 +00:00
Andrew Nacin 592434afb5 Forever eliminate 'Wordpress' from the planet (or at least the little bit we can influence). props matt.
git-svn-id: https://develop.svn.wordpress.org/trunk@14996 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 16:11:27 +00:00
Andrew Nacin 7679315725 Some minor IE6/7 tweaks for menus. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14993 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 13:54:14 +00:00
Andrew Nacin ac048dfbd8 Some inline doc updates for get_post_type_capabilities and get_post_type_labels. props MichaelH, fixes #13573.
git-svn-id: https://develop.svn.wordpress.org/trunk@14991 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 12:44:08 +00:00
Andrew Nacin 08b0fd1a03 Use word-wrap:break-word in the nav menus. props ocean90, fixes #13574.
git-svn-id: https://develop.svn.wordpress.org/trunk@14990 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 12:42:09 +00:00
Dion Hulse a6194f1e0c Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: https://develop.svn.wordpress.org/trunk@14984 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 09:49:38 +00:00
Peter Westwood b98c14cc34 Improved translation of the comment count in theme-compat. Props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@14983 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 08:52:14 +00:00
Andrew Nacin ae9acca74d Add some educational tips. Suggest using add_image_size() in the inline docs for image_get_intermediate_size() and wp_get_attachment_image(). props jorbin. see #13556.
git-svn-id: https://develop.svn.wordpress.org/trunk@14981 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 05:03:46 +00:00
Andrew Nacin 4e04b51d7b Use orange for the plugin install thickbox button, not the new gray for update notification bubbles. fixes #13474.
git-svn-id: https://develop.svn.wordpress.org/trunk@14980 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:50:11 +00:00
Mark Jaquith b499437681 Use the correct array members of image_resize_dimensions() result when calculating best match for dynamic HTML image resize. fixes #13556
git-svn-id: https://develop.svn.wordpress.org/trunk@14979 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:40:14 +00:00
Andrew Nacin 9b8998cb46 Clean up the menu name/actions section. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14977 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:19:23 +00:00
Andrew Nacin 4bcefca0ca Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14976 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:14:35 +00:00
Andrew Nacin e549305dd4 Don't show expand/collapse menu bit for menu meta boxes except on hover. props duck_, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14972 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:28:23 +00:00
Andrew Nacin 9b4a85cdaf Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:24:33 +00:00
Andrew Nacin f5f97a46d3 Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: https://develop.svn.wordpress.org/trunk@14964 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:30:00 +00:00
Peter Westwood 7ea705db5b tick tock
git-svn-id: https://develop.svn.wordpress.org/trunk@14960 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:55:51 +00:00
Mark Jaquith 10ceba3686 Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
git-svn-id: https://develop.svn.wordpress.org/trunk@14954 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 19:56:26 +00:00
Andrew Nacin 42bad1e654 Final bit of escaping in feeds. fixes #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14952 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 18:30:51 +00:00
Peter Westwood de09357409 Some more url escaping in feeds. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14950 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:47:29 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Andrew Nacin 12a45498b6 Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14948 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:25:57 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Ryan Boren 22cb105416 No default value for pass by ref. Props filosofo. fixes #13553
git-svn-id: https://develop.svn.wordpress.org/trunk@14945 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 16:25:29 +00:00
Ryan Boren 6c79e1395d Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: https://develop.svn.wordpress.org/trunk@14944 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 15:41:21 +00:00
Ryan Boren f333c16f10 More menu class back compat. Props filosofo. fixes #13543
git-svn-id: https://develop.svn.wordpress.org/trunk@14942 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:18:46 +00:00
Nikolay Bachiyski f4084990ea Focus on category field when adding a new category in the write panel
git-svn-id: https://develop.svn.wordpress.org/trunk@14940 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 09:17:40 +00:00
Andrew Nacin 20597ef3f8 Ensure auto-added pages are both published and sent to the end of the menu. Tiny enhancement and optimization to wp_update_nav_menu_item come with it. fixes #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14937 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 06:59:14 +00:00
Andrew Nacin e0630f2a93 Don't store nonexistent (deleted) menus in the auto-add option. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14934 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 05:11:46 +00:00
Andrew Nacin b8a0634d79 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:01:14 +00:00
Andrew Nacin f26024e7b6 Prevent super admins from shooting themselves in the foot. props jorbin. Checks blog names against an array (filterable) of reserved keywords for subdirectory installs. fixes #13304.
git-svn-id: https://develop.svn.wordpress.org/trunk@14928 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:13:16 +00:00