Commit Graph

6740 Commits

Author SHA1 Message Date
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
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