nacin
e2c3b87693
Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:16:28 +00:00
nacin
b35eb435a3
Use $paged global instead of get_query_var('paged') in Twenty Ten. see #12748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:12:36 +00:00
nacin
523b8a0846
Clarify order of operations for a child theme removing a filter of a parent theme. see #12695 , see #12748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 12:55:08 +00:00
dd32
33b86da7ce
Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 10:22:30 +00:00
nacin
fab0607ee4
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: http://svn.automattic.com/wordpress/trunk@13886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 00:05:17 +00:00
nacin
a4c7fb5869
Rough cut of Twenty Ten inline documentation. see #12695 . props jorbin, demetris.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 22:03:15 +00:00
ryan
8e4859a35c
Use network_*_url(). see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 21:45:31 +00:00
wpmuguru
fbf3ee6abc
delete user cap in remove_all_caps(), props ocean90, see #12711
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:35:06 +00:00
ryan
3a69eacbbe
Don't stomp scheme arg. see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:25:30 +00:00
wpmuguru
27b9ed12f8
tweaks to network_*_url(), see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 19:57:17 +00:00
ryan
2a13a4a888
network_site_url(), network_home_url(), network_admin_url(). see #12736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 17:53:03 +00:00
ryan
81d796ab5f
Remove classic and default themes. see #10654
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 17:07:58 +00:00
ryan
11dc8e15c9
Check for urls that have a scheme but no host in wp_validate_redirect().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:47:17 +00:00
wpmuguru
175c104baa
add remove_theme_support(), props nathanrice, fixes #12739
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:26:54 +00:00
dd32
e97deb4b05
Display "Edit $taxonomy" on edit-tags.php Edit screen. Props jfarthing84. See #12746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 10:23:25 +00:00
dd32
949d9a0362
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: http://svn.automattic.com/wordpress/trunk@13875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 09:57:34 +00:00
dd32
1c0c3bdbc2
Restore Edit link for active plugins. Whitespace & if end markers. Also removed a non-needed bool check. Fixes #12741
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 07:23:29 +00:00
iammattthomas
e8eb2634eb
Remove print.css from twentyten
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 04:16:03 +00:00
iammattthomas
0fe0c542ec
Merge twentyten print style into style.css. Fixes #12733 . Props demetris.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 00:48:03 +00:00
dd32
513e965bc0
Standardise the CSS coding standards in install.dev.css
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 11:28:25 +00:00
dd32
6097e9d0e3
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: http://svn.automattic.com/wordpress/trunk@13870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 11:26:06 +00:00
dd32
28b30dec84
Fix typo in r13850. See #12232
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 08:23:46 +00:00
dd32
bee035af16
Make the WordPress Magic translate Plugins properly. Fixes #12681
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:43:16 +00:00
dd32
e4bd7fa6ce
Add extra hooks to Right Now dashboard widget. Props jfarthing84. See #12202
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:13:53 +00:00
dd32
8ad6b78d44
Slight Coding standards update
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:05:50 +00:00
dd32
f3e9d332d2
Fix the Permalink editor for custom post_types. Fixes #12742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
dd32
a2a1a3c9f0
JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:48:20 +00:00
dd32
ceb1acf3f7
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: http://svn.automattic.com/wordpress/trunk@13863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:42:44 +00:00
dd32
adb825f6d0
Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:35:42 +00:00
dd32
8abdcecbfe
Fix notices in post_custom(). Props sirzooro. Fixes #11839
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:19:44 +00:00
dd32
bf6510abd1
Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32
32c90a6883
Mark auto-deactivated plugins as recently active after the Plugin Editor deactivates them. Fixes #10925
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:28:52 +00:00
dd32
a0d734beea
Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:10:37 +00:00
dd32
47c064b890
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: http://svn.automattic.com/wordpress/trunk@13857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:57:09 +00:00
dd32
f0088e38eb
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: http://svn.automattic.com/wordpress/trunk@13856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:53:04 +00:00
dd32
4422f6d1fd
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: http://svn.automattic.com/wordpress/trunk@13855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:37:10 +00:00
dd32
0e4aaa13d3
Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:07:31 +00:00
dd32
7bafa5ee43
Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:57:45 +00:00
dd32
8c6fb6f8ec
Change form field ID's to prevent ID clashes with listing table column headers. See #11937
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:42:34 +00:00
dd32
8f30ffcb9e
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: http://svn.automattic.com/wordpress/trunk@13851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:32:35 +00:00
dd32
a47cdd86cb
Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:07:03 +00:00
dd32
c0974fb518
Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:56:43 +00:00
dd32
5a42dae784
Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:33:25 +00:00
dd32
334670a67a
Correct Array style for returning Multiple HTTP Headers. See #12045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:23:40 +00:00
iammattthomas
45b1a1fe24
A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 21:50:39 +00:00
nacin
fca5b63772
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: http://svn.automattic.com/wordpress/trunk@13845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:56:54 +00:00
nacin
d0404ed946
Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:22:05 +00:00
nacin
2cb4abfa63
New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586 (checks in images for [13842])
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:42:52 +00:00
nacin
7c968b2962
New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:41:01 +00:00
dd32
284a6cbc63
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: http://svn.automattic.com/wordpress/trunk@13841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:40:59 +00:00