Ryan Boren
10dd8c858f
Integrate update_profile_email() into user-edit.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren
12c49c44f4
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick
45c254ac94
pass #2 change uploaded media rewrite rule, props nacin, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Mark Jaquith
845df4462a
Initialize $post_type_query_vars to avoid is_array() warning. see #12923
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12925 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 03:18:27 +00:00
Ron Rennick
650dc9bc98
internalize uploaded media rewrite rule, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12924 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 02:17:33 +00:00
Ryan Boren
46b701d830
Permalinks for custom post types. Props prettyboymp. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12923 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 23:12:26 +00:00
Ron Rennick
f4775300f1
add WP_DEBUG define check in DB code, props dxjones, see #12041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12922 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 22:22:21 +00:00
Ron Rennick
e1a54f07b8
reorganize code on ms startup. props nacin, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12921 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:26:08 +00:00
Ron Rennick
454cf82301
minor fixes to populate_options(), UI tweaks, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12920 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:01:14 +00:00
Ron Rennick
b78a8cd218
minor fixes/improvements to populate_network(), see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12919 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 18:01:23 +00:00
Ryan Boren
06c33bcfc5
options-reading.php cleanup. Props nacin. fixes #12058
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12918 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 16:42:19 +00:00
Ryan Boren
edd0157375
Introduce get_the_date(). Props jeremyclarke. fixes #11264
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12917 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 16:28:54 +00:00
Dion Hulse
4dd3d0c6be
Revert [12908]. Update Users cap to use a capability. See #12098 . Props nacin
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12916 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 08:12:56 +00:00
Peter Westwood
3a5f8c0ead
Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12915 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 21:32:39 +00:00
Peter Westwood
35677e6860
Add phpdoc to all the add_*_page functions.
...
Rename arguments to empasise that people should be using Capabilities not User Levels and named hooks not __FILE__.
See #12101 .
git-svn-id: https://develop.svn.wordpress.org/trunk@12914 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:36:00 +00:00
Peter Westwood
95b956bfb9
Fix add_pages_page to use the correct parent menu. Fixes #12100 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12913 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:16:00 +00:00
Peter Westwood
ac72e501ea
Fix typo in phpdoc for sanitize_text_field. Fixes #12091 props joshtime.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12912 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 15:41:19 +00:00
Dion Hulse
25878de823
Fix PHP Notices: Use checked() template function & initialise variables. s/WP/WordPress/ & some code formatting. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12911 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 12:23:50 +00:00
Dion Hulse
22eeec9f05
set svn:eol-style native on new files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12910 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:55:39 +00:00
Dion Hulse
eab8af1feb
Bring Server Name field into style lines with rest of page. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12909 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:47:53 +00:00
Dion Hulse
eca137d68f
Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12908 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:39:34 +00:00
Dion Hulse
3f48304cc8
Remove duplicate current_user_can() check.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12907 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:36:58 +00:00
Dion Hulse
0f51431087
Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12906 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 11:11:45 +00:00
Ryan Boren
a60c842ba6
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12905 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:33 +00:00
Ryan Boren
f6878865b5
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12904 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:01 +00:00
Ryan Boren
d70d1ab100
Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12903 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 21:45:32 +00:00
Ryan Boren
402b998100
Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12902 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:29:31 +00:00
Ryan Boren
1f8632249d
Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12901 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:16:07 +00:00
Ryan Boren
954968abef
Integrate mu_locale() into get_locale(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12900 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:03:51 +00:00
Ryan Boren
c180f69c52
Code style cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12899 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:53:32 +00:00
Ryan Boren
858e02d0d4
Update phpdoc to note that the default for public is false. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12898 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:26:33 +00:00
Ryan Boren
739fd7a3b8
ms-sites cleanup. Add escaping. Use API instead of direct queries. Add blog status label to row title. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12897 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 17:36:57 +00:00
Ryan Boren
bdbf075914
ms-settings cleanup. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12896 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 16:26:46 +00:00
Dion Hulse
ea82d93624
Use !empty() for Link searching title.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12895 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 08:11:20 +00:00
Dion Hulse
cfb58236dd
Add text to 'Add New' button in link manager. Props scribu. Fixes #12071
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12894 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 07:27:11 +00:00
Peter Westwood
c4b63151a5
Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12891 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 20:20:18 +00:00
Ryan Boren
93fc30b2a0
Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 19:00:16 +00:00
Ryan Boren
22e8867c67
User correct var. Props nacin. fixes #12066
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12889 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:30:50 +00:00
Ryan Boren
88024e6674
Clean up cache re-init code in Multisite. Props nacin. fixes #12065
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12888 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:28:44 +00:00
Ryan Boren
8d029acd42
Don't hardcode post type. Props typeomedia. fixes #12067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12887 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:21:26 +00:00
Ryan Boren
3dac74e345
Add ms-default-constants.php. Props nacin. see #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12886 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:16:58 +00:00
Ron Rennick
014f5da245
rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12885 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 16:09:52 +00:00
Ron Rennick
4e0bcbb98e
change wp- rewrite more specific rewrite rule, see #11994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12884 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 15:29:23 +00:00
Ron Rennick
334a3e294a
block multisite enable on localhost and ip address, see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12883 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 22:10:41 +00:00
Ryan Boren
0d41ebae21
Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12882 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 21:29:07 +00:00
Ryan Boren
61dcf802c7
Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12881 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:42:23 +00:00
Ron Rennick
4bcd7b3afd
Improvements to queries in populate_network(), also gettext, props nacin, see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +00:00
Ryan Boren
78f16856c6
Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12879 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 18:11:17 +00:00
Ryan Boren
19136bb073
Don't use deprecated functions. Props filosofo. fixes #11807
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12878 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:55:39 +00:00
Ryan Boren
fd48be5b71
Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12877 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:45:49 +00:00