Commit Graph

12623 Commits

Author SHA1 Message Date
Andrew Nacin
2254f7d6e9 Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.
git-svn-id: https://develop.svn.wordpress.org/trunk@14047 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:40:47 +00:00
Dion Hulse
9b44257e39 Update the text on the Manage Themes page for when there is only 1 theme available. Props jane & IRC people for strings. Fixes #12916
git-svn-id: https://develop.svn.wordpress.org/trunk@14046 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 03:27:22 +00:00
Dion Hulse
b7cbdf82bf Removing stray svn:ignore property
git-svn-id: https://develop.svn.wordpress.org/trunk@14045 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 02:49:16 +00:00
Ryan Boren
ad1b9608e6 add_meta_boxes actions for comment and link forms.
git-svn-id: https://develop.svn.wordpress.org/trunk@14044 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 15:17:57 +00:00
Andrew Nacin
acb76fe42d More grant/revoke super admin improvements. fixes #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14043 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 08:26:16 +00:00
Andrew Nacin
213aca7b04 Fix revoke_super_admin(). see #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14042 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 07:17:42 +00:00
Ryan Boren
a214b120c4 Call create_initial_post_types() before plugins and themes are loaded so that premature post API calls don't fail. fixes #12918
git-svn-id: https://develop.svn.wordpress.org/trunk@14041 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 16:45:18 +00:00
Andrew Nacin
d07cfaff16 Revert [14011]. Add some actions. fixes #12109, see #12460.
git-svn-id: https://develop.svn.wordpress.org/trunk@14040 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 04:15:58 +00:00
Andrew Nacin
8fa7ed4573 Remove references to the old .fade class for message divs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14039 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:36:52 +00:00
Andrew Nacin
67dbb82d69 Stop a dismissed admin notice feed from appearing on the next page load. see #12912.
git-svn-id: https://develop.svn.wordpress.org/trunk@14038 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:31:51 +00:00
Andrew Nacin
7241fea99b Remove unnecessary quote escaping and \n\t indentation in twentyten. see #12902
git-svn-id: https://develop.svn.wordpress.org/trunk@14037 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:13:48 +00:00
Andrew Nacin
6d5a19ed17 Simplify logic in is_multisite().
git-svn-id: https://develop.svn.wordpress.org/trunk@14036 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 02:39:17 +00:00
Andrew Nacin
7ad8304223 Register a dummy [media] shortcode for strip_shortcodes et al. props belg4mit, Viper007Bond. fixes #12505
git-svn-id: https://develop.svn.wordpress.org/trunk@14035 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 02:16:21 +00:00
Andrew Nacin
c30f9e100c Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
git-svn-id: https://develop.svn.wordpress.org/trunk@14034 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 01:04:22 +00:00
Ron Rennick
46fe5b484f use meta caps in [14032], see #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@14033 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 21:04:42 +00:00
Ryan Boren
e53c2d4da4 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: https://develop.svn.wordpress.org/trunk@14032 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:28:10 +00:00
Ryan Boren
96ea328c0a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: https://develop.svn.wordpress.org/trunk@14031 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:25:48 +00:00
Mark Jaquith
e12a085938 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14030 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 13:52:12 +00:00
Ryan Boren
27922b88e6 Update css minifications.
git-svn-id: https://develop.svn.wordpress.org/trunk@14029 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 13:49:41 +00:00
Mark Jaquith
dddfbdfc5f get_the_author_link(). props zoranzaric. fixes #12892
git-svn-id: https://develop.svn.wordpress.org/trunk@14028 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 12:26:28 +00:00
Dion Hulse
e28019c1ec 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: https://develop.svn.wordpress.org/trunk@14027 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 08:29:46 +00:00
Andrew Nacin
fb9e47a5a9 Use correct var in inline_edit_row(). fixes #12887.
git-svn-id: https://develop.svn.wordpress.org/trunk@14026 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 06:01:29 +00:00
Andrew Nacin
f11175d631 Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869
git-svn-id: https://develop.svn.wordpress.org/trunk@14025 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 05:08:37 +00:00
Andrew Nacin
2bd947fa9c 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: https://develop.svn.wordpress.org/trunk@14024 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 03:54:43 +00:00
Andrew Nacin
9e5a7a14f6 Have quick/bulk edit styled per existence of hierarchical taxonomies for that post type. Reintroduce classes that are specific for post types. fixes #12883.
git-svn-id: https://develop.svn.wordpress.org/trunk@14023 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 02:58:23 +00:00
Andrew Nacin
1c4872fdea In ms-sites.php blog, display 'mature' option for root blog. Also, small styling cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14022 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 23:13:44 +00:00
Andrew Nacin
01229a6a54 New Super Admin screen and menu icons from Ben Dunkle.
git-svn-id: https://develop.svn.wordpress.org/trunk@14021 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 18:36:31 +00:00
Andrew Nacin
d4cf406ab4 Remove old bulk actions MS sites code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14020 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 18:17:21 +00:00
Ryan Boren
6f1de4e209 Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@14019 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 15:06:42 +00:00
Andrew Nacin
bc13365e82 Remove old bulk edit super admin code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14018 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 13:26:12 +00:00
Dion Hulse
85706b7347 Fix a typo in the Theme Bulk upgrader. Fixes upgrading for those using FTP.
git-svn-id: https://develop.svn.wordpress.org/trunk@14017 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:28:55 +00:00
Dion Hulse
8cbbe731a2 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: https://develop.svn.wordpress.org/trunk@14016 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:51 +00:00
Mark Jaquith
7c6b7b0a91 Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14015 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 11:20:47 +00:00
Mark Jaquith
697e807eb0 Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: https://develop.svn.wordpress.org/trunk@14014 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 04:32:08 +00:00
Mark Jaquith
0a85b39a4f These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar
git-svn-id: https://develop.svn.wordpress.org/trunk@14013 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 02:43:23 +00:00
Ron Rennick
71d295f69b set registered datestamp to current time during enable network, see #12747
git-svn-id: https://develop.svn.wordpress.org/trunk@14012 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 01:41:34 +00:00
Ron Rennick
4b543dbc76 add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@14011 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 22:28:21 +00:00
Joseph Scott
72e9f66ed4 Update stats provided to api.wordpress.org see #12672
git-svn-id: https://develop.svn.wordpress.org/trunk@14010 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 20:19:07 +00:00
Ryan Boren
079dd022e7 Add global-posts to global cache groups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14009 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 18:29:56 +00:00
Andrew Nacin
5d940a955b Fix broken string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14008 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:31:38 +00:00
Dion Hulse
028bd4322e Update broken translation. S/post thumbnail/featured image/
git-svn-id: https://develop.svn.wordpress.org/trunk@14007 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:15:35 +00:00
potbot
c138fdcac5 POT, generated from r14005
git-svn-id: https://develop.svn.wordpress.org/trunk@14006 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 04:21:01 +00:00
Ron Rennick
8ead991585 remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: https://develop.svn.wordpress.org/trunk@14005 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 04:00:51 +00:00
Ron Rennick
2d028e668f fix validation on dashboard site in ms-options, fixes #12831
git-svn-id: https://develop.svn.wordpress.org/trunk@14004 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 03:12:54 +00:00
Ron Rennick
1bbf9dd065 more manage_network_* caps, see #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@14003 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 02:59:10 +00:00
Dion Hulse
007a50a14a 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: https://develop.svn.wordpress.org/trunk@14002 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 02:58:39 +00:00
Dion Hulse
49cd5dfeab Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: https://develop.svn.wordpress.org/trunk@14001 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 00:00:53 +00:00
Andrew Nacin
1fa9e99992 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: https://develop.svn.wordpress.org/trunk@14000 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 00:00:13 +00:00
Andrew Nacin
2fc834c550 More verbose message on how to add MS constants to one's config file. props sivel, see #12848
git-svn-id: https://develop.svn.wordpress.org/trunk@13999 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 23:49:11 +00:00
Andrew Nacin
5bf79d1d8e File-level phpdoc for multisite files.
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00