Commit Graph

12792 Commits

Author SHA1 Message Date
dd32
d5ee7bca10 Replace use of tmpfile() with a safe get_temp_dir(). tmpfile() may use a temporary directly which is not writable. Add static caching to get_temp_dir() & better protect against bad server configs. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:51 +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
wpmuguru
aebc2cb826 set registered datestamp to current time during enable network, see #12747
git-svn-id: http://svn.automattic.com/wordpress/trunk@14012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 01:41:34 +00:00
wpmuguru
3e970343af add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@14011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 22:28:21 +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
nacin
4892ad8757 Fix broken string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:31:38 +00:00
dd32
8984530614 Update broken translation. S/post thumbnail/featured image/
git-svn-id: http://svn.automattic.com/wordpress/trunk@14007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 09:15:35 +00:00
potbot
a08b7ff487 POT, generated from r14005
git-svn-id: http://svn.automattic.com/wordpress/trunk@14006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:21:01 +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
wpmuguru
dd1637ec7d fix validation on dashboard site in ms-options, fixes #12831
git-svn-id: http://svn.automattic.com/wordpress/trunk@14004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 03:12:54 +00:00
wpmuguru
e439ce17bd more manage_network_* caps, see #12109
git-svn-id: http://svn.automattic.com/wordpress/trunk@14003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 02:59:10 +00:00
dd32
b22d2ea457 Move all Feature Images => header image integration into a is_singular() check. Prevents a PHP notice when $post is not set (For example, a 404 page). Fixes #12661
git-svn-id: http://svn.automattic.com/wordpress/trunk@14002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 02:58:39 +00:00
dd32
a87700319b Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: http://svn.automattic.com/wordpress/trunk@14001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 00:00:53 +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
149ac73766 More verbose message on how to add MS constants to one's config file. props sivel, see #12848
git-svn-id: http://svn.automattic.com/wordpress/trunk@13999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 23:49:11 +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
f925c3c2b4 Adjust get_file_description() to account for absolute paths. see #12843
git-svn-id: http://svn.automattic.com/wordpress/trunk@13994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:07:27 +00:00
nacin
37faed2c03 Give names to author.php and tag.php in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:23:09 +00:00
nacin
6182fa89af Give editor-style.css a name in the theme editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 11:14:29 +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
cb6f8774b1 We're not lame if they don't have the PHP 5 DateTime library. Change the message when there is no timezone support. props neoxx, fixes #12580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 08:15:20 +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
8681248856 Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587
git-svn-id: http://svn.automattic.com/wordpress/trunk@13987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 06:37:10 +00:00
nacin
df5d722046 A few more readme.html tweaks. fixes #10835
git-svn-id: http://svn.automattic.com/wordpress/trunk@13986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 05:57:00 +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
329cc77afd Don't allow # in custom permalink structures and cat/tag bases. Improve some MS branching. fixes #12271
git-svn-id: http://svn.automattic.com/wordpress/trunk@13980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:41:39 +00:00
nacin
e9a109f34e Push the Delete link to the end for plugin actions. see #12741
git-svn-id: http://svn.automattic.com/wordpress/trunk@13979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:24:16 +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
686baae7cc Cast away the default styling of the recent comments widget in twentyten. fixes #12703
git-svn-id: http://svn.automattic.com/wordpress/trunk@13977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:33:52 +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
05065a4d46 A lighter gradient for the favorite actions menu. props JohnONolan, see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 21:47:32 +00:00
westi
f3e717ae2b Make the link a seperate translation so people only have to translate it if they really want to. See #12787.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 13:25:47 +00:00
nacin
e8ac3d117d Add indent to front page drop-downs in options-reading, to better indicate they are dependent on the radio button above them. fixes #12266
git-svn-id: http://svn.automattic.com/wordpress/trunk@13971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:53:46 +00:00
nacin
ba7e1e93b2 Restore arrow used in widgets panel. Doubled as fav-arrow.gif until [13824]. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:32:48 +00:00
nacin
baa8cd08bb Fix display of 'enter title here'. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:27:46 +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