Commit Graph

5961 Commits

Author SHA1 Message Date
nacin 90fe1465d3 s/cancelled/canceled/
git-svn-id: http://svn.automattic.com/wordpress/trunk@13437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:12:27 +00:00
nacin 90a8933105 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: http://svn.automattic.com/wordpress/trunk@13436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:09:29 +00:00
nacin da2634030a Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
git-svn-id: http://svn.automattic.com/wordpress/trunk@13434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:06:09 +00:00
nacin c277384459 Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 18:51:37 +00:00
nacin f1f86f16e3 Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 17:18:59 +00:00
nacin 4b88d15411 Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: http://svn.automattic.com/wordpress/trunk@13430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:40:35 +00:00
nacin a208566e67 Suppress potential is_readable() warning. Fixes #12148 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:25:10 +00:00
nacin a8e56e49ec Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: http://svn.automattic.com/wordpress/trunk@13427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:21:47 +00:00
nacin dbdc7a9e83 @since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:14:26 +00:00
nacin 8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin bf207bc6e6 Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: http://svn.automattic.com/wordpress/trunk@13424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 04:53:30 +00:00
nacin 0b66fc91e0 Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: http://svn.automattic.com/wordpress/trunk@13422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:37:20 +00:00
wpmuguru 4dc6a43f96 always call set_blog_id after blog lookup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:05:11 +00:00
ryan a3ae373902 Note theme support for custom background, header, and menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:04:59 +00:00
westi e2f5b1f6c9 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:01:30 +00:00
ryan 2551152255 Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:00:26 +00:00
westi e3cba9ffe7 '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@13414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:57:38 +00:00
westi 34d3291d32 Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:56:28 +00:00
ryan 5a9eb8e363 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: http://svn.automattic.com/wordpress/trunk@13411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:46:53 +00:00
westi 7ab6035d59 Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:16:07 +00:00
ryan 5de87dcff1 Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:13:13 +00:00
ryan b77baf5afb Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:06:44 +00:00
ryan 46ae8913d3 Pass taxonomy when looking for duplicate term slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:04:02 +00:00
ryan a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
wpmuguru e8503ab54a move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 17:10:00 +00:00
ryan b61d45fa11 s/Custom Menu/Menu/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:57:57 +00:00
dd32 9d54f38d89 Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 11:09:34 +00:00
dd32 f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
markjaquith 280a19ff6c Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:48:17 +00:00
dd32 cb8fd85d1e Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: http://svn.automattic.com/wordpress/trunk@13396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 07:56:25 +00:00
markjaquith 18c313559f Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 05:40:03 +00:00
wpmuguru 4378b20de3 Warnings, code & UI/UX cleanup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 23:12:51 +00:00
markjaquith 9296276140 Bump script version
git-svn-id: http://svn.automattic.com/wordpress/trunk@13391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:54:00 +00:00
ryan 730f87bf97 Formatting cleanups for the nav menu widget. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:33:27 +00:00
wpmuguru e50b8fa348 database code cleanup, See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:30:13 +00:00
wpmuguru c9df482e54 update wpdb blogid using setter, See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:07:23 +00:00
ryan a312eea3a7 Hash to static gravatar domains. Props apokalyptik.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:50:40 +00:00
nacin 8bcc5969dc Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
markjaquith d01197b568 Some XSS escaping love for nav menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:10:12 +00:00
ryan 635409844e Rename nav menu widget. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:25:13 +00:00
ryan 9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
nacin f423a2ee5e More wpdb cleanups, see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:58:52 +00:00
ryan 12f9c6113e Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:52:54 +00:00
markjaquith 39b5d188b5 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:37:00 +00:00
markjaquith 3024e581ca Use esc_js() so pages with quotes can be added to custom menu. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:20:45 +00:00
markjaquith 67aed4d0a2 Fix menu links. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:11:49 +00:00
ryan 091d1150d3 Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
ryan d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
nacin cddfbdd914 Coil the kses entities whitelist. See #12284
git-svn-id: http://svn.automattic.com/wordpress/trunk@13363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:33:14 +00:00
ryan 2430c97718 Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:41:35 +00:00