Commit Graph

12475 Commits

Author SHA1 Message Date
Andrew Nacin 96697adf96 Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743.
git-svn-id: https://develop.svn.wordpress.org/trunk@13899 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:20:28 +00:00
Andrew Nacin 2e63fcbfd6 Add link to Updating WordPress codex page. props mrmist, fixes #11280.
git-svn-id: https://develop.svn.wordpress.org/trunk@13898 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:16:57 +00:00
Andrew Nacin 20ebe2a218 File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@13897 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 07:54:09 +00:00
Ryan Boren 154e634767 Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13896 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 19:13:38 +00:00
Andrew Nacin 7c772cde16 Correct the @since's for custom-header.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@13895 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 18:55:35 +00:00
Ron Rennick a2244bcc26 restore user list display in single site, props ocean90, see #12711, #12767
git-svn-id: https://develop.svn.wordpress.org/trunk@13894 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 18:28:11 +00:00
Ron Rennick 8bfc74c42b new Super Admin menu icon, props jane, see #12374
git-svn-id: https://develop.svn.wordpress.org/trunk@13893 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 16:28:51 +00:00
Nikolay Bachiyski fc09c8aa26 POT, generated from r13891
git-svn-id: https://develop.svn.wordpress.org/trunk@13892 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 15:51:09 +00:00
Ryan Boren fedb70e678 Filter robots.txt output
git-svn-id: https://develop.svn.wordpress.org/trunk@13891 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 15:48:52 +00:00
Andrew Nacin 8d38a2f78e Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@13890 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 13:16:28 +00:00
Andrew Nacin 4746be453f Use $paged global instead of get_query_var('paged') in Twenty Ten. see #12748
git-svn-id: https://develop.svn.wordpress.org/trunk@13889 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 13:12:36 +00:00
Andrew Nacin d3715d1b45 Clarify order of operations for a child theme removing a filter of a parent theme. see #12695, see #12748
git-svn-id: https://develop.svn.wordpress.org/trunk@13888 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 12:55:08 +00:00
Dion Hulse 52269956a3 Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
git-svn-id: https://develop.svn.wordpress.org/trunk@13887 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 10:22:30 +00:00
Andrew Nacin e6e9ad218d Second pass on twentyten/functions.php inline documentation. see #12695. Also:
rename twentyten_init() to twentyten_setup(), to reflect the hook it is run on (init would be too late, it must be after_setup_theme). Remove unnecessary twentyten_get_page_number() and transfer functionality to twentyten_the_page_number(). Remove the function_exists() wrappers from functions that are simply tied to a hook, as a better practice would be to remove the hook instead of plugging the function. For architecture changes, see #12748.

git-svn-id: https://develop.svn.wordpress.org/trunk@13886 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 00:05:17 +00:00
Andrew Nacin f15366a78c Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13885 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 22:03:15 +00:00
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