Commit Graph

6754 Commits

Author SHA1 Message Date
Andrew Nacin d5a2b82b96 Prevent 'Enter menu name here' menus, and offer some feedback. props koopersmith, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15124 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 03:33:54 +00:00
Andrew Nacin 46c0c97c06 Hide the 'Close' link in nav menu no-JS. The Cancel link should suitably handle the modified workflow. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15122 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 22:47:42 +00:00
Andrew Nacin 285213f7ae Let's not emphasize that multisite might as well be its own language. fixes #13706.
git-svn-id: https://develop.svn.wordpress.org/trunk@15118 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 21:11:37 +00:00
Peter Westwood c8dae44e09 Let the filters know its a sample permalink. Props yoast.
git-svn-id: https://develop.svn.wordpress.org/trunk@15117 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:52:22 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Ryan Boren 87b18f33d2 Whitespace cleanup. Props zeo. fixes #13678
git-svn-id: https://develop.svn.wordpress.org/trunk@15115 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 19:56:19 +00:00
Ryan Boren 197becc54d Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15114 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 17:58:57 +00:00
Andrew Nacin 7128d1984b Add menu_id to wp_nav_menu() and move container_id to the container. Set the container arg to false to not use a container. fixes #13669
git-svn-id: https://develop.svn.wordpress.org/trunk@15113 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 17:04:07 +00:00
Ryan Boren dea561c819 wp_get_nav_menus filter. Props filosofo. fixes #13702
git-svn-id: https://develop.svn.wordpress.org/trunk@15112 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 16:31:42 +00:00
Andrew Nacin b94b5ece42 Ensure we're only auto-adding root pages to menus. fixes #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@15111 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 15:08:03 +00:00
Ryan Boren 00e5134460 Remove debug. fixes #13670
git-svn-id: https://develop.svn.wordpress.org/trunk@15110 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 15:00:09 +00:00
Ryan Boren ad175650ea IIS rewrite fixes. Props duck_, ruslany. fixes #13679
git-svn-id: https://develop.svn.wordpress.org/trunk@15109 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:58:36 +00:00
Ryan Boren f0ab192369 Make _pad_term_counts custom post type aware. Props reko. fixes #13670
git-svn-id: https://develop.svn.wordpress.org/trunk@15108 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:55:33 +00:00
Ryan Boren cf4521e441 Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: https://develop.svn.wordpress.org/trunk@15107 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:02:54 +00:00
Ryan Boren a5dbd0e164 clearstatcache() after writing files. Props momo360modena. fixes #13683
git-svn-id: https://develop.svn.wordpress.org/trunk@15106 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:01:21 +00:00
Ryan Boren 88f326d1c8 Consolidate nav menu class assignments. Props filosofo. fixes #13664
git-svn-id: https://develop.svn.wordpress.org/trunk@15105 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 13:48:26 +00:00
Ryan Boren a6e58d85bf Nav menu API cleanups. Props filosofo. fixes #13696
git-svn-id: https://develop.svn.wordpress.org/trunk@15104 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 13:43:46 +00:00
Ryan Boren ba0dab7090 Use import cap. Add old edit_files cap to list of caps to shutdown if DISALLOW_FILE_EDIT. see #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15097 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:08:27 +00:00
Ryan Boren 171d6811cc Add export capability. fixes #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15096 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:02:05 +00:00
Ryan Boren 5ca16149e2 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15093 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:29:42 +00:00
Andrew Nacin 5b3b2aaee1 Introduce has_nav_menu(). Returns boolean whether the theme's registered nav menu location has a menu assigned to it. props greenshady for the idea.
git-svn-id: https://develop.svn.wordpress.org/trunk@15091 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 16:40:14 +00:00
Ryan Boren 24f53ef665 Remove login-header.png. Use CSS3 with fallback color. Login RTL fix. Props ocean90. fixes #13587
git-svn-id: https://develop.svn.wordpress.org/trunk@15090 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:54:00 +00:00
Ryan Boren e2407a19fc Don't add sticky class if is_paged(). Props iandstewart. fixes #13666
git-svn-id: https://develop.svn.wordpress.org/trunk@15088 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:03:49 +00:00
Ryan Boren 87ea4f3f2c Add colors-fresh and colors-classic to rtl_styles so that suffixes are handled properly. fixes #13676
git-svn-id: https://develop.svn.wordpress.org/trunk@15087 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 14:23:56 +00:00
Andrew Nacin f90f5c86e5 /me bumps versions.
git-svn-id: https://develop.svn.wordpress.org/trunk@15084 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 21:49:13 +00:00
Ron Rennick e5bd1500f0 add rewrites for registration pages, fixes #13638
git-svn-id: https://develop.svn.wordpress.org/trunk@15081 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 20:50:27 +00:00
Andrew Nacin e21a5a1b24 Nav menu improvements. props koopersmith. RTL support for tabs, better tab handling, other improvements. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15080 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 20:22:49 +00:00
Andrew Nacin 4a0f1ff357 Use correct element in jQuery selector. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15079 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 16:30:02 +00:00
Andrew Nacin d45fc420f4 Cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@15078 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 16:11:20 +00:00
Andrew Nacin d5dd6a6aec Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@15077 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 15:47:53 +00:00
Andrew Nacin b19e242aa5 Remove vestigial 'context' code for wp_nav_menu. This was used when we used to use the same function as a theme template tag and admin template function (now we don't.) fixes #13656.
git-svn-id: https://develop.svn.wordpress.org/trunk@15075 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 14:54:50 +00:00
Andrew Nacin ef2a9bacc1 Don't fall back to pages list in the menus widget. props filosofo, fixes #13634.
git-svn-id: https://develop.svn.wordpress.org/trunk@15074 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 14:15:28 +00:00
Mark Jaquith 29a6333a1f Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Peter Westwood 15a5c6120a Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@15069 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-30 21:37:19 +00:00
Mark Jaquith 8484570814 Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: https://develop.svn.wordpress.org/trunk@15068 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-30 08:45:50 +00:00
Andrew Nacin 075859cb0c Fix a default taxonomy label. props michaelh, fixes #13624.
git-svn-id: https://develop.svn.wordpress.org/trunk@15065 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 20:45:31 +00:00
Nikolay Bachiyski ea4293b291 Better detection whether we are on the Network page. Use custom constant to tell us. See #13565, props nacin
We used to load multisite translations each time WP_ALLOW_MULTISITE was defined, but
it could lead to alot of false positives. Generic config files can include to allow
users to updgrade to multisite without further editing the config file.


git-svn-id: https://develop.svn.wordpress.org/trunk@15064 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 20:35:19 +00:00
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