Commit Graph

5944 Commits

Author SHA1 Message Date
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
ryan 82d81675f9 s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:18:13 +00:00
ryan 0a81feaaeb Whitelist entities. Props miqrogroove. see #12284
git-svn-id: http://svn.automattic.com/wordpress/trunk@13358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:37:20 +00:00
ryan efe8a967be Don't quote escaped strings. Props dd32. see #11608
git-svn-id: http://svn.automattic.com/wordpress/trunk@13357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:30:34 +00:00
wpmuguru e7114b42f9 dont show items when menu empty, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 00:37:15 +00:00
nacin 5a1013b8ba Don't use private wpdb vars. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 00:18:18 +00:00
nacin 496752e14e Proper RTL + .dev.css support, first pass. See #12292
git-svn-id: http://svn.automattic.com/wordpress/trunk@13351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:46:07 +00:00
nacin 99ee3da2df Add .type-{post_type} to post_class. fixes #11609
git-svn-id: http://svn.automattic.com/wordpress/trunk@13350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:32:17 +00:00
nacin 1a6f4adb67 Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
git-svn-id: http://svn.automattic.com/wordpress/trunk@13349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:26:30 +00:00
nacin c68fb87dee Validate $object_id in *_metadata() functions. Props scribu fixes #11841
git-svn-id: http://svn.automattic.com/wordpress/trunk@13347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:42:54 +00:00
ryan be7d6dda05 Fix php open tag. Props TobiasBg. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:07:33 +00:00
ryan 5fa6e0a242 Some nav menu API. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:06:21 +00:00
nacin dd8dbfb6fe More wpdb cleanups, docs. see #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:04:29 +00:00
nacin cc6e217d1d Fall back to $wpdb::blogid, not main blog id, in wpdb->tables(). See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:38:41 +00:00
ryan 7d4fa95591 More output consolidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:22:56 +00:00
nacin 7aa43e9c8b Ensure we have MS global tables defined during network install. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:58:53 +00:00
ryan e35199deb6 More output consolidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:28:41 +00:00
ryan fc6e8c8741 More output consolidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:45:59 +00:00