Commit Graph

12460 Commits

Author SHA1 Message Date
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Ron Rennick 049fcf5b46 delete user cap in remove_all_caps(), props ocean90, see #12711
git-svn-id: https://develop.svn.wordpress.org/trunk@13883 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:35:06 +00:00
Ryan Boren 8b71175392 Don't stomp scheme arg. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13882 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:25:30 +00:00
Ron Rennick 430123a00c tweaks to network_*_url(), see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13881 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 19:57:17 +00:00
Ryan Boren 8392d79d1e network_site_url(), network_home_url(), network_admin_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13880 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 17:53:03 +00:00
Ryan Boren 2af7bc317c Remove classic and default themes. see #10654
git-svn-id: https://develop.svn.wordpress.org/trunk@13879 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 17:07:58 +00:00
Ryan Boren 0129bad3ef Check for urls that have a scheme but no host in wp_validate_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@13878 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 16:47:17 +00:00
Ron Rennick 580bd283fd add remove_theme_support(), props nathanrice, fixes #12739
git-svn-id: https://develop.svn.wordpress.org/trunk@13877 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 16:26:54 +00:00
Dion Hulse 3e9d7f8975 Display "Edit $taxonomy" on edit-tags.php Edit screen. Props jfarthing84. See #12746
git-svn-id: https://develop.svn.wordpress.org/trunk@13876 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 10:23:25 +00:00
Dion Hulse 6740a74398 Do not add rel="attachment" for direct(File URL, not Post URL) links to non-media files in "Insert into Post". Fixes #7040
git-svn-id: https://develop.svn.wordpress.org/trunk@13875 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 09:57:34 +00:00
Dion Hulse ac3210d8c0 Restore Edit link for active plugins. Whitespace & if end markers. Also removed a non-needed bool check. Fixes #12741
git-svn-id: https://develop.svn.wordpress.org/trunk@13874 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 07:23:29 +00:00
Matt Thomas 15153c6db3 Remove print.css from twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13873 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 04:16:03 +00:00
Matt Thomas 21e08209ca Merge twentyten print style into style.css. Fixes #12733. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13872 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 00:48:03 +00:00
Dion Hulse eecf190b63 Standardise the CSS coding standards in install.dev.css
git-svn-id: https://develop.svn.wordpress.org/trunk@13871 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 11:28:25 +00:00
Dion Hulse e02622be5b Pretty up the code text boxes on Install. Affects the non-writable wp-config.php mainly. Code styling taken from Network panel. Props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13870 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 11:26:06 +00:00
Dion Hulse 7eeb87b8d2 Fix typo in r13850. See #12232
git-svn-id: https://develop.svn.wordpress.org/trunk@13869 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 08:23:46 +00:00
Dion Hulse 38e670f45b Make the WordPress Magic translate Plugins properly. Fixes #12681
git-svn-id: https://develop.svn.wordpress.org/trunk@13868 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:43:16 +00:00
Dion Hulse ff0e3800bc Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13867 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:13:53 +00:00
Dion Hulse cc26a706e8 Slight Coding standards update
git-svn-id: https://develop.svn.wordpress.org/trunk@13866 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:05:50 +00:00
Dion Hulse b9682621d0 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: https://develop.svn.wordpress.org/trunk@13865 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 05:23:49 +00:00
Dion Hulse fd04241472 JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382
git-svn-id: https://develop.svn.wordpress.org/trunk@13864 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:48:20 +00:00
Dion Hulse 9393b90872 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. For the recursive object handling, Props carbolineum. Fixes #11963
git-svn-id: https://develop.svn.wordpress.org/trunk@13863 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:42:44 +00:00
Dion Hulse 0773ef03a6 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
git-svn-id: https://develop.svn.wordpress.org/trunk@13862 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:35:42 +00:00
Dion Hulse 85b5a63f56 Fix notices in post_custom(). Props sirzooro. Fixes #11839
git-svn-id: https://develop.svn.wordpress.org/trunk@13861 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:19:44 +00:00
Dion Hulse c552d48674 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: https://develop.svn.wordpress.org/trunk@13860 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:39:00 +00:00
Dion Hulse 724ae803d8 Mark auto-deactivated plugins as recently active after the Plugin Editor deactivates them. Fixes #10925
git-svn-id: https://develop.svn.wordpress.org/trunk@13859 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:28:52 +00:00
Dion Hulse 6f02bf815c Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
git-svn-id: https://develop.svn.wordpress.org/trunk@13858 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:10:37 +00:00
Dion Hulse dfee0416ec Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297
git-svn-id: https://develop.svn.wordpress.org/trunk@13857 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:57:09 +00:00
Dion Hulse d3eec153be Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13856 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:53:04 +00:00
Dion Hulse da2927d104 Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13855 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:37:10 +00:00
Dion Hulse c23d49d135 Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13854 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:07:31 +00:00
Dion Hulse 65b33d2608 Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
git-svn-id: https://develop.svn.wordpress.org/trunk@13853 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:57:45 +00:00
Dion Hulse 6cd731abb4 Change form field ID's to prevent ID clashes with listing table column headers. See #11937
git-svn-id: https://develop.svn.wordpress.org/trunk@13852 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:42:34 +00:00
Dion Hulse 7d29486ed5 Properly escape plugin admin menu URL's for display. Crops up with custom post_type's with a custom submenu item with & instead of &
git-svn-id: https://develop.svn.wordpress.org/trunk@13851 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:32:35 +00:00
Dion Hulse 244addfc0d Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: https://develop.svn.wordpress.org/trunk@13850 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:07:03 +00:00
Dion Hulse c784614283 Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
git-svn-id: https://develop.svn.wordpress.org/trunk@13849 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:56:43 +00:00
Dion Hulse bc64064f82 Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13848 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:33:25 +00:00
Dion Hulse 0620459e8d Correct Array style for returning Multiple HTTP Headers. See #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13847 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:23:40 +00:00
Matt Thomas f654e1a2e6 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13846 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 21:50:39 +00:00
Andrew Nacin 280b71b5e2 Bail in wp_unique_term_slug if the slug is unique and we don't need to come up with a new one. fixes #10712.
git-svn-id: https://develop.svn.wordpress.org/trunk@13845 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 07:56:54 +00:00
Andrew Nacin 11dfbcba06 Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
git-svn-id: https://develop.svn.wordpress.org/trunk@13844 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 07:22:05 +00:00
Andrew Nacin a5b40ae46a New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586 (checks in images for [13842])
git-svn-id: https://develop.svn.wordpress.org/trunk@13843 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:42:52 +00:00
Andrew Nacin a73b1c55b2 New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13842 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:41:01 +00:00
Dion Hulse c161ae3d7d Use $ptype_obj->edit_type_cap instead of 'edit_posts' for custom post_type menu's & edit.php access. Allows for a user to have the capability to edit a post_type irrespective of their Posts access. Props rovo89. Fixes #12691
git-svn-id: https://develop.svn.wordpress.org/trunk@13841 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:40:59 +00:00
Dion Hulse 9b51769311 Fix Link Category Tab styling. Props ocean90. Fixes #12712
git-svn-id: https://develop.svn.wordpress.org/trunk@13840 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:21:53 +00:00
Dion Hulse 99359a2b48 Remove Debug cruft.. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13839 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:03:58 +00:00
Dion Hulse 9cd846b401 Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13838 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 05:56:27 +00:00
Andrew Nacin 8091c83b26 Standardize db config-sample values. fixes #11523
git-svn-id: https://develop.svn.wordpress.org/trunk@13837 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 05:42:08 +00:00
Matt Thomas 904064f000 Twenty Ten: Don't use post thumbnail as the custom header if it's smaller than the header size. See #12661. Props iandstewart
git-svn-id: https://develop.svn.wordpress.org/trunk@13836 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 01:59:46 +00:00
Andrew Nacin 7f9b08bdb2 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: https://develop.svn.wordpress.org/trunk@13835 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 21:50:54 +00:00