Commit Graph

11532 Commits

Author SHA1 Message Date
Ryan Boren
529156a002 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: https://develop.svn.wordpress.org/trunk@12946 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:46:25 +00:00
Ryan Boren
f8c7cafbf4 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12945 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:19:21 +00:00
Ryan Boren
eeaa9c307e Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Ryan Boren
0d85cbf999 Make calendar valid HTML 5. Props iammattthomas. fixes #11554
git-svn-id: https://develop.svn.wordpress.org/trunk@12943 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:06:58 +00:00
Dion Hulse
890ed9561d Remove redundant Category forms/code/ajax. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12942 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 11:01:07 +00:00
Dion Hulse
d2f30e5762 Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838, Fixes #11191
git-svn-id: https://develop.svn.wordpress.org/trunk@12941 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 10:51:58 +00:00
Ron Rennick
04c99ec671 add closing table cell tag to dashboard right now, props Simek, fixes #12121
git-svn-id: https://develop.svn.wordpress.org/trunk@12940 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 23:06:27 +00:00
Mark Jaquith
cb141f847f Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 21:38:09 +00:00
Ryan Boren
d491a56710 Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12938 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 19:50:37 +00:00
Ryan Boren
5bc5965535 Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12937 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:54:42 +00:00
Ron Rennick
012732f59d improvements to custom content dir support, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ryan Boren
4f04f80237 Use API to retrieve user. fixes #11776
git-svn-id: https://develop.svn.wordpress.org/trunk@12935 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 17:37:15 +00:00
Ryan Boren
e4f0869fb9 Use Network and Site for labels. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12934 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 17:23:29 +00:00
Ron Rennick
9cfbad8ba3 fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren
119e88cdf8 phpdoc for global_terms(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12932 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 22:58:06 +00:00
Ryan Boren
3b613d9aa5 Give network level upgrades separate API that is run when upgrading the main blog. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12931 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:53:26 +00:00
Ryan Boren
2b1691cdf4 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren
1d85da4417 Move functions to ms-deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@12929 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:05:01 +00:00
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