Commit Graph

5914 Commits

Author SHA1 Message Date
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
ryan e87dd4f1c1 Start consolidatinh menu item outupt into output_menu_item(). DRY. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:17:51 +00:00
ryan 5f80b84a4f Nav cleanup. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 17:13:24 +00:00
nacin c5128bb074 Introduce unload_textdomain() and add plugin_locale and theme_locale filters to load_*_textdomain() functions. Fixes #9686 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@13330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 11:14:35 +00:00
nacin 4e56d1c6a9 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:42:40 +00:00
nacin b6050c6992 Don't show two ellipses in wp_widget_rss_output(). Fixes #11244 props miqrogroove
git-svn-id: http://svn.automattic.com/wordpress/trunk@13328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:30:21 +00:00
nacin 16a3d5e0a1 Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:44:27 +00:00
nacin 25883dca37 Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:15:47 +00:00
nacin 39bcbf2755 Change inline docs to reflect [13324]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:08:50 +00:00
nacin 191e0df9d2 Improvements and fixes to wpdb::tables(). See #12083 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:06:50 +00:00
dd32 3f35e43429 Restore [13194] which was accidentally overwritten in [13315]. See #12256
git-svn-id: http://svn.automattic.com/wordpress/trunk@13323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 07:10:47 +00:00
wpmuguru 955e9e7527 add function for deleting individual menus, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 03:19:30 +00:00
wpmuguru d91b382e1f fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344
git-svn-id: http://svn.automattic.com/wordpress/trunk@13321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 02:37:19 +00:00
ryan 981e0c66b3 Revert [13187] pending further debate. see #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 01:13:37 +00:00
ryan 766de41c58 Formatting cleanups. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:14:03 +00:00
markjaquith 09e8d27130 Whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:12:48 +00:00
markjaquith c1b647bb52 Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250. fixes #10930.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 22:54:21 +00:00
nacin 9a11f30898 Docs and code convention cleanups. see #11644 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@13314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 22:53:54 +00:00
nacin 38421f8b70 Don't use PHP short tag. Fixes #12337 props junsuijin
git-svn-id: http://svn.automattic.com/wordpress/trunk@13312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:26:48 +00:00
nacin 2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
ryan 2b182d39d9 jQuery 1.4.2. fixes #12305
git-svn-id: http://svn.automattic.com/wordpress/trunk@13310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:14 +00:00
nacin 2dcfc0913b Remove unused 'secret' option. Fixes #12221
git-svn-id: http://svn.automattic.com/wordpress/trunk@13309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:02 +00:00
nacin 2c52c876de Introduce is_textdomain_loaded(). Fixes #10527 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 19:10:03 +00:00
ryan 0ebb6732bf Custom background styling fixes. Props yoavf. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:46:29 +00:00
nacin 5557d3e4f0 Fix notice in WP_Http. Fixes #12316 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:45:45 +00:00
nacin 10ee577b12 Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:35:35 +00:00
nacin cd767cd7a8 Deprecate clean_url() for esc_url(). Fixes #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:25:51 +00:00
nacin 5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
wpmuguru a2a3953308 improve custom menu hierarchy logic, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:27:34 +00:00
ryan 1f169578f9 Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:19:54 +00:00
dd32 0ec732b34a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00