Commit Graph

12429 Commits

Author SHA1 Message Date
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
Andrew Nacin 2205476b34 Update string to better reflect the times. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13834 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 21:07:12 +00:00
Andrew Nacin a383d24d57 Remove 'Turbo' link from admin header. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 20:59:57 +00:00
Andrew Nacin 2ec8eace83 Move ajax spinner to be adjacent to the Quick Edit Update button. also, the dashboard recent comments Submit Reply button. fixes #12345
git-svn-id: https://develop.svn.wordpress.org/trunk@13832 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:55:48 +00:00
Andrew Nacin 0459129e69 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13831 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:44:43 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Andrew Nacin d43df7123a Change @since 2.9 to @since 2.9.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13829 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:23:39 +00:00
Andrew Nacin 53250b7986 Remove wp-ajax.php. admin-ajax.php can be used (and is better for) for front-end/nopriv AJAX requests. fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13828 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:17:14 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin 411e9a74f1 Remove one-pixel white bottom border off new light gray header. After some discussion, mainly due to screen options/help tabs. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13826 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 18:40:29 +00:00
Andrew Nacin 2f67d59255 Fix potential notice in wp_handle_sideload().
git-svn-id: https://develop.svn.wordpress.org/trunk@13825 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 17:42:34 +00:00
Ryan Boren 3d69d47f63 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13824 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 17:09:53 +00:00
Andrew Nacin 07c30fb4e9 Syndication feeds show the (#) most recent 'items', not posts, as it applies to comments as well. See #12556, see #7092
git-svn-id: https://develop.svn.wordpress.org/trunk@13823 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:17:19 +00:00
Andrew Nacin e721260a3b WP_I18N_* for .maintenance strings. fixes #12485
git-svn-id: https://develop.svn.wordpress.org/trunk@13822 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:06:12 +00:00
Andrew Nacin 84ba6e473e Correct inline docs and parameter names for get_objects_in_term() to reflect that it uses term ids, not term slugs. fixes #11835
git-svn-id: https://develop.svn.wordpress.org/trunk@13821 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:00:17 +00:00
Andrew Nacin a258c8ec2b Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: https://develop.svn.wordpress.org/trunk@13820 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:56:10 +00:00
Andrew Nacin 28f8063d1f Introduce get_index_template(). Allows child themes to override a parent theme's index.php. Props koopersmith, fixes #12635
git-svn-id: https://develop.svn.wordpress.org/trunk@13819 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:52:43 +00:00
Matt Thomas 645f20b3fa Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13818 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 05:37:55 +00:00
Andrew Nacin 48c90e9f13 Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: https://develop.svn.wordpress.org/trunk@13817 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 04:42:08 +00:00
Peter Westwood a28f0f27cf Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@13816 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:04:27 +00:00
Peter Westwood 8003673862 Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
git-svn-id: https://develop.svn.wordpress.org/trunk@13815 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:02:45 +00:00
Ryan Boren 0286b0f2e5 Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@13814 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:00:36 +00:00
Ryan Boren 450110f9f2 Don't return WP_Error from term_description(). Props filosofo. fixes #12707
git-svn-id: https://develop.svn.wordpress.org/trunk@13813 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 17:28:16 +00:00
Nikolay Bachiyski cab7d51114 Set some $_SERVER values to empty strings if missing. Fixes notices if WordPress is run from the command-line and is far more pleasant than using isset() all over the place.
git-svn-id: https://develop.svn.wordpress.org/trunk@13812 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 15:33:35 +00:00
Andrew Nacin 3d67dd8d50 Use actual hostname instead of example.com in subdirectory/subdomain examples. fixes #12679, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@13811 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 02:49:23 +00:00
Ryan Boren eeb49f6bef Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13810 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-24 18:35:31 +00:00
Andrew Nacin adb0bd1ff3 Use set_time_limit(0) in import/mt.php. see #12595
git-svn-id: https://develop.svn.wordpress.org/trunk@13807 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:20:03 +00:00
Andrew Nacin 5bcb23827d Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:13:58 +00:00
Andrew Nacin e5f55c5b3d Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 23:03:31 +00:00
Andrew Nacin 0ac5c26d2d Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566. (Script loader bump for r13802, r13803). props ptahdunbar for the commits.
git-svn-id: https://develop.svn.wordpress.org/trunk@13804 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:33:12 +00:00
Andrew Nacin 945699faff Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13803 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:26:27 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00