Commit Graph

6434 Commits

Author SHA1 Message Date
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
wpmuguru
709ed743e5 strip www from subdomains in blog lookup, see #13104
git-svn-id: http://svn.automattic.com/wordpress/trunk@14342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:34:11 +00:00
dd32
be926482ce Fix custom WP_Queries when using page_on_front. Props aaroncampbell. See #12391 (Which caused it), Fixes #12047
git-svn-id: http://svn.automattic.com/wordpress/trunk@14341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:28:11 +00:00
nacin
16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin
54763a0e76 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:15:41 +00:00
nacin
bbe76ccd6e Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: http://svn.automattic.com/wordpress/trunk@14331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:10:42 +00:00
markjaquith
247c08f604 Make sure alloptions is an array before we try to use unset() on its alleged key
git-svn-id: http://svn.automattic.com/wordpress/trunk@14330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 06:02:54 +00:00
nacin
d751526e11 Align the update nag with the screen meta box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 22:09:34 +00:00
nacin
3a2f3b3433 s/blog/site/ in more places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 07:09:38 +00:00
ryan
b1d6ee584a Replace dashes with empty strings instead of underscores so that keys match keys that might be stored in a persistent cache from 2.9. Remove current user reset. Kinda buggy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 17:57:30 +00:00
markjaquith
4a1e7550a3 Make sure sidebars_widgets is an array. If it is a string (no idea how, but it happens), we get a fatal error
git-svn-id: http://svn.automattic.com/wordpress/trunk@14320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 17:37:42 +00:00
nacin
0cfdd41300 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00