Commit Graph

6445 Commits

Author SHA1 Message Date
nacin
9fb099891f Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
wpmuguru
94e529cee3 add export property to post types, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 16:23:25 +00:00
nacin
950ce6553b Remove re-adding of filter. see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@14440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 16:00:30 +00:00
nacin
0891a9dea0 More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
7466fadd24 Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
nacin
86c5154557 Clean up whitespace in status/PT/tax registration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 06:13:28 +00:00
dd32
c843c7edf3 Remove accidental code. See #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 05:48:08 +00:00
nacin
5edbc3d3c7 Revert accidental removal of parse_url(). see #9008, props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 04:57:22 +00:00
wpmuguru
abed02b32d use homeurl(), props PeteMall, see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@14429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 00:28:29 +00:00
ryan
2ecda01ce0 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32
2bbdd19973 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
wpmuguru
8c3476d90e use filter vs action in 14420, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:58:04 +00:00
wpmuguru
bc0ae7852f limit upload size to site's available limit, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
ryan
02c300164a White list instead of black list post types when searching. Props sivel. fixes #13183
git-svn-id: http://svn.automattic.com/wordpress/trunk@14419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:22:34 +00:00
nbachiyski
7ee70968ce Refactor get_available_languages() to use glob() instead of *dir functions. See #13023
git-svn-id: http://svn.automattic.com/wordpress/trunk@14417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:07:31 +00:00
nacin
856f478a9e Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:03:52 +00:00
ryan
039b8aa6e5 Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507
git-svn-id: http://svn.automattic.com/wordpress/trunk@14414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:46:19 +00:00
markjaquith
0c1ce4e9bc Add some new protocols for KSES. Make the list of protocols filterable. Start esc_url() with the same list. fixes #10914. props technosailor
git-svn-id: http://svn.automattic.com/wordpress/trunk@14412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:20:20 +00:00
nacin
4d855dbda7 Use get_row instead of get_var in get_site_option, aligning it with get_option, due to funkiness with 0/false/null. fixes #13043. props laceous.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:02:32 +00:00
westi
1afa45d117 Add is_child_theme(). Fixes #12998 props ptahdunbar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:56:57 +00:00
nacin
0cd84fba21 Add HTML 5 elements to kses, first pass. props rmccue. see #12835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:34:49 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
dd32
8213b95a67 s/#/ \/\/ / - Remove #comment with // comment in WP_Query
git-svn-id: http://svn.automattic.com/wordpress/trunk@14402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:20:46 +00:00
dd32
e840bb1167 WP_Query whitespace cleanup, some loop cleanup as well
git-svn-id: http://svn.automattic.com/wordpress/trunk@14401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:19:13 +00:00
nacin
aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
dd32
9a87641ad8 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: http://svn.automattic.com/wordpress/trunk@14387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:44 +00:00
nacin
e965a965d3 Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:12:19 +00:00
ryan
18513489e2 Hooks for the widgets api. Props ptahdunbar. fixes #12546
git-svn-id: http://svn.automattic.com/wordpress/trunk@14382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:01:43 +00:00
nacin
b63ee5748a Deprecate checkdnsrr from is_email. Unused in core, and wonky on some server setups (Mac OS X < PHP 5.3 specifically). A plugin can always add it back. props technosailor, fixes #12503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:54:37 +00:00
wpmuguru
49e39c3b59 only use domain cookies in a subdomain install, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@14380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:53:05 +00:00
nbachiyski
2a1d6e141b Take out the leading space from the translatable string
git-svn-id: http://svn.automattic.com/wordpress/trunk@14378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:48:33 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
nacin
0c2e93aee7 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 16:59:51 +00:00
westi
70aa9e12eb Fix the edit post link to cope with the change in behaviour of admin_url to always escape the url. See #13051.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:56:35 +00:00
westi
628d0b247d Correctly mark things as private in the phpDoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@14370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 13:27:15 +00:00
nacin
08f650de1a First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:28:35 +00:00
nacin
9d077332ba Fix string in ms_not_installed().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:14:15 +00:00
westi
c01891f5bd Refactor the error messages and make them translatable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:13:40 +00:00
westi
ae468d52ac First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.


git-svn-id: http://svn.automattic.com/wordpress/trunk@14365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 09:57:24 +00:00
nacin
223277cc44 Fix notice in ms_not_installed().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 09:51:40 +00:00
nacin
c5af6664a6 Remove debug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 07:12:26 +00:00
nacin
0b597379e4 Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 06:28:05 +00:00
nacin
4d7c88f4a4 Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 05:49:19 +00:00
dd32
514808ebd1 Bump Manifest version number. See #13177
git-svn-id: http://svn.automattic.com/wordpress/trunk@14357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:48:40 +00:00
dd32
4916a8075d Serve a canonical redirection for ?p=, ?page_id=, ?attachment_id= url's for incorrect post_types (ie. ?p=<page_id> will redirect to that page url). Fixes #13125
git-svn-id: http://svn.automattic.com/wordpress/trunk@14355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:37:11 +00:00
nacin
421cade8cb Tweaks for nav menu admin tabs with JS disabled. props koopersmith, see #13215
git-svn-id: http://svn.automattic.com/wordpress/trunk@14353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:51:43 +00:00
wpmuguru
6ed0c429d1 fix warning in r14342, see #13104
git-svn-id: http://svn.automattic.com/wordpress/trunk@14351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:33:02 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
a77ea8d632 Only query for global_terms_enabled once.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:08:05 +00:00
wpmuguru
e2f361cea4 use correct var in r14342, see #13104
git-svn-id: http://svn.automattic.com/wordpress/trunk@14343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:40:31 +00:00