Commit Graph

6247 Commits

Author SHA1 Message Date
nacin
e0eea8e857 Some wpdb cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:25 +00:00
dd32
c7b7d67892 Remember the post_parent during autosaves. Props duck_. Fixes #12938
git-svn-id: http://svn.automattic.com/wordpress/trunk@14057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:01 +00:00
dd32
0b4ebffe70 Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: http://svn.automattic.com/wordpress/trunk@14056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:17:19 +00:00
nacin
14e2cb8f6e Don't set MIME headers in MS activation/welcome emails. fixes #12728, props barry.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:11:03 +00:00
nacin
5e36f9f821 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:54:33 +00:00
dd32
ab16d12c2c Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
git-svn-id: http://svn.automattic.com/wordpress/trunk@14053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:42:45 +00:00
nacin
71d7acc71d Mark Snoopy as deprecated. see #12882
git-svn-id: http://svn.automattic.com/wordpress/trunk@14052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:32:02 +00:00
nacin
880b27ee2b Clean up the HTTP inline docs to reflect the times. props jacobsantos, fixes #12882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:23:21 +00:00
nacin
b4d8b0cbb7 Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:40:47 +00:00
nacin
ec7530d5bb Simplify logic in is_multisite().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:39:17 +00:00
nacin
c29313ab4d Register a dummy [media] shortcode for strip_shortcodes et al. props belg4mit, Viper007Bond. fixes #12505
git-svn-id: http://svn.automattic.com/wordpress/trunk@14035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:16:21 +00:00
nacin
48dc61d1a9 Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 01:04:22 +00:00
ryan
f609d0c8a3 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: http://svn.automattic.com/wordpress/trunk@14032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:28:10 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
markjaquith
46a353ece7 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 13:52:12 +00:00
markjaquith
621ed18936 get_the_author_link(). props zoranzaric. fixes #12892
git-svn-id: http://svn.automattic.com/wordpress/trunk@14028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 12:26:28 +00:00
dd32
fedd1a12d4 Fix a case where $post_type = 'any' causes a large query to run without any specifications (post_name/limits/id/etc). See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@14027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 08:29:46 +00:00
nacin
c6ef197f53 New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 03:54:43 +00:00
ryan
a7f987c35a Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 15:06:42 +00:00
markjaquith
07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
markjaquith
f1fd3f2780 Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: http://svn.automattic.com/wordpress/trunk@14014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 04:32:08 +00:00
markjaquith
17ee0e577a These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar
git-svn-id: http://svn.automattic.com/wordpress/trunk@14013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 02:43:23 +00:00
josephscott
19e2b4e4b7 Update stats provided to api.wordpress.org see #12672
git-svn-id: http://svn.automattic.com/wordpress/trunk@14010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 20:19:07 +00:00
ryan
526a92fd2c Add global-posts to global cache groups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 18:29:56 +00:00
wpmuguru
7edc8acfb9 remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: http://svn.automattic.com/wordpress/trunk@14005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:00:51 +00:00
nacin
751a7d10ea Prevent half-baked loading of MS that would happen when constants are added into wp-config below the wp-settings include. Now it would error on the redefinition of the MULTISITE constant, instead of vague errors, and prevent any MS from loading. see #12848
git-svn-id: http://svn.automattic.com/wordpress/trunk@14000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 00:00:13 +00:00
nacin
c449adb237 File-level phpdoc for multisite files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 13:29:35 +00:00
nacin
c059c511df Use the API to remove comments when deleting a post. Cleans up comment meta in the process. fixes #12766, props briancolinger
git-svn-id: http://svn.automattic.com/wordpress/trunk@13997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:42:34 +00:00
nacin
f181423040 Request XML from an oEmbed provider if the provider returns '501 Not Implemented' for JSON. props nbachiyski, fixes #11964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:30:22 +00:00
nacin
791192d961 Add $force_delete to wp_delete_comment(). see #12766, see #11470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:20:19 +00:00
nacin
1a4a30fcf1 Deprecate trackback_rdf(). fixes #11139
git-svn-id: http://svn.automattic.com/wordpress/trunk@13991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 10:04:56 +00:00
nacin
c602ff86c3 Correct logic in wp_list_authors() for combinations of hide_empty and style args. fixes #10042
git-svn-id: http://svn.automattic.com/wordpress/trunk@13989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:41:07 +00:00
nacin
5f134c587e Deprecate funky_javascript_fix() and it's callback. fixes #12520.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:11:23 +00:00
nacin
2e054e2805 Add docs to add_post_type_support(). fixes #12644, props sillybean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 04:14:17 +00:00
nacin
2581314a95 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: http://svn.automattic.com/wordpress/trunk@13984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:53:14 +00:00
nacin
ecec297237 Cast subject of _deep_replace() to string to prevent an infinite loop. props mdawaffe, fixes #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:07:14 +00:00
nacin
e4aabba998 Add block-level HTML5 elements to wpautop(). props rmccue. fixes #12335
git-svn-id: http://svn.automattic.com/wordpress/trunk@13982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 01:14:22 +00:00
nacin
2501fac129 Remove Gears from UI. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:48:28 +00:00
nacin
6efe44acbc Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: http://svn.automattic.com/wordpress/trunk@13978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:38:38 +00:00
nacin
7289a8df23 Fix the sticky footer. hides a scrollbar. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:30:27 +00:00
nacin
8e436271ed Ensure we're escaping css classes for front end nav menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:04:37 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
06382b1f76 More admin header improvements. props JohnONolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:13:38 +00:00
nacin
75c8e2d67e Move wp-login.php background from body.login to body selector. props JohnONolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 11:37:24 +00:00
nacin
d05e120d44 Add 'enter title here' text to title box. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
nacin
90e50f7e37 Allow .csv. fixes #12757
git-svn-id: http://svn.automattic.com/wordpress/trunk@13962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 08:24:13 +00:00
nacin
5c8d92d2b1 Check for string, as method may be an array. fixes #10778
git-svn-id: http://svn.automattic.com/wordpress/trunk@13958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:18:16 +00:00
nacin
c5c47b4b20 Make remove_user a meta capability. see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
markjaquith
0af8aa67b6 Bump versions for 3.0-beta1
git-svn-id: http://svn.automattic.com/wordpress/trunk@13954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 01:50:01 +00:00
nacin
c905fc1420 Allow methods to be used as a callback in wp_unique_filename(). fixes #12824 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:54:56 +00:00