Commit Graph

6080 Commits

Author SHA1 Message Date
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
nacin
b43bb4330f Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:14:59 +00:00
nacin
05f7724075 install.php whitespace cleanup, inline docs, function @sinces, fixes #11491
git-svn-id: http://svn.automattic.com/wordpress/trunk@13124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 20:40:42 +00:00
wpmuguru
29a9729ccf strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: http://svn.automattic.com/wordpress/trunk@13115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 17:49:38 +00:00
wpmuguru
1d5b49f6f8 use cached data in ms-admin.php stats, props ddebernardy, fixes #11772
git-svn-id: http://svn.automattic.com/wordpress/trunk@13114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 17:10:50 +00:00
nacin
f0c91f4ba2 Fix arg order in [13104]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:46:38 +00:00
nacin
b4f362264e Don't use deprecated functions. see #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:35:10 +00:00
nacin
07d5fab8d6 Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
git-svn-id: http://svn.automattic.com/wordpress/trunk@13104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 09:49:44 +00:00
dd32
8136de990c Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:56:38 +00:00
nacin
8aede6cab7 Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: http://svn.automattic.com/wordpress/trunk@13100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:49:27 +00:00
nacin
95b27d05ce Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:42:02 +00:00
dd32
044cf9b83c Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:09:04 +00:00
dd32
14c0a033a5 Banish User_level 10 use from Network Menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:00:09 +00:00
nacin
c8c6e1e6d7 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:14:37 +00:00
dd32
22e4b1200e Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:08:15 +00:00
dd32
5e339cea52 Flow on tax-modification errors on Tax inline edit to the UI. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:04:54 +00:00
dd32
c9ea3a7686 Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:40:47 +00:00
nacin
87556345bf Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:35:47 +00:00
nacin
ef49fb5612 Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:39:39 +00:00
dd32
c0f5c80ab4 Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
git-svn-id: http://svn.automattic.com/wordpress/trunk@13082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:04:01 +00:00
dd32
ea6e709e1d Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:52:33 +00:00
nacin
ab0ca98e9b Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:17:57 +00:00
nacin
eddc178ee1 Escape thousandsSeparator and decimalPoint JS variables, see #12005
git-svn-id: http://svn.automattic.com/wordpress/trunk@13078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:12:51 +00:00
dd32
8a5c11e08c Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:08:16 +00:00
wpmuguru
a392f8a441 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 22:45:35 +00:00
wpmuguru
107d80fd95 add siteurl site option for MU upgrade, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 17:37:17 +00:00
wpmuguru
1651f7e92a fix dashboard right now category links, fixes #12205
git-svn-id: http://svn.automattic.com/wordpress/trunk@13057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 20:10:15 +00:00
ryan
51066760c6 Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: http://svn.automattic.com/wordpress/trunk@13055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 19:17:00 +00:00
ryan
dde64e4cf1 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: http://svn.automattic.com/wordpress/trunk@13053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 16:17:12 +00:00
ryan
534e797399 Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:20:36 +00:00
ryan
a35ead034f Use show_ui instead of _show. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:43:29 +00:00
ryan
45aba89157 Fix screen layout options for custom post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:41:07 +00:00
ryan
6eadff2714 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:49:16 +00:00
dd32
d671bbe036 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 10:59:45 +00:00
ryan
61859c5f5e First pass at custom background support. Needs UI love. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
wpmuguru
0ee2237e6c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: http://svn.automattic.com/wordpress/trunk@13039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 18:03:46 +00:00
wpmuguru
9ff83a8272 do not add /index.php permalink base in multisite, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:10:43 +00:00
dd32
d7f782322a Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: http://svn.automattic.com/wordpress/trunk@13035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 10:56:39 +00:00
ryan
0d58cacca6 Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: http://svn.automattic.com/wordpress/trunk@13033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 22:17:18 +00:00
ryan
a8e393c607 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:15:44 +00:00
ryan
c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan
817f184ba0 Change wording in string to make translation easier. Props simosx. fixes #12173
git-svn-id: http://svn.automattic.com/wordpress/trunk@13022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:18:13 +00:00
westi
5128c1ccc2 Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:28:05 +00:00
ryan
1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00
dd32
4149e68076 Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 06:40:51 +00:00
dd32
cd2d29e71c Remove cat_rows() admin template functions. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:54:33 +00:00
dd32
ca925d3bfa PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:07:36 +00:00
dd32
5b6d0357b2 Better error checking for ZipArchive extraction. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:02:24 +00:00
dd32
5d72fa3d97 Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 04:52:35 +00:00
wpmuguru
b21a238a87 Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: http://svn.automattic.com/wordpress/trunk@13003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 04:13:22 +00:00
dd32
de63fc36f8 Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: http://svn.automattic.com/wordpress/trunk@13001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 02:15:27 +00:00
wpmuguru
830e5e5316 Allow network install to be restarted, see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@13000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 02:13:20 +00:00
dd32
65176075c0 Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:59:30 +00:00
dd32
a87c1e3ca9 Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:31:40 +00:00
dd32
a8793e00c0 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: http://svn.automattic.com/wordpress/trunk@12997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:12:29 +00:00
wpmuguru
77c173c785 Add activate link for network plugins in single site install, props nacin, fixes #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 00:03:10 +00:00
ryan
d0f8826c0b Add more visibility args to post status registration. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan
9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
westi
b9bc395359 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:56:10 +00:00
westi
093b14a634 Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 12:35:15 +00:00
markjaquith
0f924eee99 Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
markjaquith
ec16dee2f3 Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 07:31:38 +00:00
dd32
9961d7bf1b Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: http://svn.automattic.com/wordpress/trunk@12985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 07:19:25 +00:00
dd32
08e12373a5 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:49:11 +00:00
dd32
041c570da1 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: http://svn.automattic.com/wordpress/trunk@12983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:20:38 +00:00
dd32
16a769cde9 Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: http://svn.automattic.com/wordpress/trunk@12982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 05:15:26 +00:00
ryan
ba6228f2b7 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:49:19 +00:00
ryan
e55a20f862 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:33:53 +00:00
wpmuguru
4563531639 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:33:35 +00:00
ryan
df305b7893 Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:10:30 +00:00
ryan
a7e2f2533b Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: http://svn.automattic.com/wordpress/trunk@12972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:18 +00:00
wpmuguru
4b7ca50b8d add support for network only to identify network plugins, see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 16:33:35 +00:00
dd32
df52e16478 Revert accidental case changes in [12966]. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:37:58 +00:00
dd32
cc208eac27 Allow viewing of Attached hierarchical Terms when the user doesnt have Manage capability of the taxonomy, Only set terms if user has Management capability. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:33:29 +00:00
dd32
4601844233 update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:16:31 +00:00
dd32
4430afb179 Cleanup admin_notice_feed(). Props nacin. Fixes #12138
git-svn-id: http://svn.automattic.com/wordpress/trunk@12965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:00:18 +00:00
wpmuguru
9dc63f2f43 remove mod_security upload rewrite in ms htaccess, see [7563] for details
git-svn-id: http://svn.automattic.com/wordpress/trunk@12962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 23:24:15 +00:00
ryan
7b81cdc30f Update real parent file back compat for pages menus. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 22:09:35 +00:00
ryan
7a77e674ac Move Network menu to the top. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:32:06 +00:00
ryan
79007568a6 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:28:52 +00:00
ryan
f4ad08882e Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:00:18 +00:00
wpmuguru
603d6cb6df add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: http://svn.automattic.com/wordpress/trunk@12952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:26:38 +00:00
ryan
4cf531976f Minify ms css. see #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:11:51 +00:00
wpmuguru
6d92c1c2c1 move ms css to ms.dev.css, see #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:10:29 +00:00
wpmuguru
1961703968 move ms css to ms.css, fixes #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:03:08 +00:00
ryan
9f8149616d ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:57:32 +00:00
ryan
3894489a5f Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan
cf7da6eab8 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: http://svn.automattic.com/wordpress/trunk@12946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:46:25 +00:00
ryan
b595595a43 Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:19:21 +00:00
ryan
da7fe139e6 Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: http://svn.automattic.com/wordpress/trunk@12944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 16:45:55 +00:00
dd32
95fcd6b7ee Remove redundant Category forms/code/ajax. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 11:01:07 +00:00
dd32
fc39e39397 Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838, Fixes #11191
git-svn-id: http://svn.automattic.com/wordpress/trunk@12941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 10:51:58 +00:00
wpmuguru
059e60a37c add closing table cell tag to dashboard right now, props Simek, fixes #12121
git-svn-id: http://svn.automattic.com/wordpress/trunk@12940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 23:06:27 +00:00
markjaquith
32d18323de Use $required_php_version. Props nacin. fixes #11637
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan
d45311c9fb 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: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
wpmuguru
d1069acd38 improvements to custom content dir support, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:19:56 +00:00
ryan
a62e167391 Use API to retrieve user. fixes #11776
git-svn-id: http://svn.automattic.com/wordpress/trunk@12935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:37:15 +00:00
ryan
559888b3ac Use Network and Site for labels. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:23:29 +00:00
wpmuguru
3ff2ace58a fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
ryan
e215f4b963 Give network level upgrades separate API that is run when upgrading the main blog. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:53:26 +00:00
ryan
1592ca9ff2 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan
7a4d409064 Move functions to ms-deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@12929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:05:01 +00:00
ryan
8caab555bd Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:00:45 +00:00
ryan
5922f7e2c4 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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
wpmuguru
998704b8d7 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
wpmuguru
cfbffea85e minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:01:14 +00:00
wpmuguru
c26805d326 minor fixes/improvements to populate_network(), see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 18:01:23 +00:00
ryan
1425f78663 options-reading.php cleanup. Props nacin. fixes #12058
git-svn-id: http://svn.automattic.com/wordpress/trunk@12918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:42:19 +00:00
dd32
94af70dea8 Revert [12908]. Update Users cap to use a capability. See #12098. Props nacin
git-svn-id: http://svn.automattic.com/wordpress/trunk@12916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 08:12:56 +00:00
westi
1d30c846c6 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: http://svn.automattic.com/wordpress/trunk@12914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:36:00 +00:00
westi
398a8ca6ac Fix add_pages_page to use the correct parent menu. Fixes #12100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:16:00 +00:00
dd32
237fac7bd6 Fix PHP Notices: Use checked() template function & initialise variables. s/WP/WordPress/ & some code formatting. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 12:23:50 +00:00
dd32
1dd9728029 set svn:eol-style native on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:55:39 +00:00
dd32
b326637c82 Bring Server Name field into style lines with rest of page. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:47:53 +00:00
dd32
6b5cba1de8 Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:39:34 +00:00
dd32
72a4e7a350 Remove duplicate current_user_can() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:36:58 +00:00
dd32
a950dbf3f6 Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:11:45 +00:00
ryan
1bfbe0dde2 Move 'My Blogs' into its own file. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:33 +00:00
ryan
0f2060ef5d Move 'My Blogs' into its own file. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:01 +00:00
ryan
363da801f5 Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 21:45:32 +00:00
ryan
227168b639 Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:29:31 +00:00
ryan
bbae1e98fd ms-sites cleanup. Add escaping. Use API instead of direct queries. Add blog status label to row title. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 17:36:57 +00:00
dd32
34a88119f8 Use !empty() for Link searching title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 08:11:20 +00:00
dd32
92835977c3 Add text to 'Add New' button in link manager. Props scribu. Fixes #12071
git-svn-id: http://svn.automattic.com/wordpress/trunk@12894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 07:27:11 +00:00
westi
3a5e6ea7d0 Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 20:20:18 +00:00
ryan
bdfb0460da 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: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan
6eb6fbf151 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: http://svn.automattic.com/wordpress/trunk@12887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:21:26 +00:00
wpmuguru
696a6815cf change wp- rewrite more specific rewrite rule, see #11994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 15:29:23 +00:00
wpmuguru
74dd287bd0 block multisite enable on localhost and ip address, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 22:10:41 +00:00
wpmuguru
cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan
fc204c952d Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:55:39 +00:00
ryan
b99372f363 Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: http://svn.automattic.com/wordpress/trunk@12876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:44:47 +00:00
ryan
012ef7a259 Set post_type for QuickPress publishing. Props nacin. fixes #12049
git-svn-id: http://svn.automattic.com/wordpress/trunk@12874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:36:17 +00:00
ryan
03a643de52 Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
git-svn-id: http://svn.automattic.com/wordpress/trunk@12873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:34:11 +00:00
ryan
b1a242078a Show td attributes for custon coolumns. Props camiloclc. fixes #12050
git-svn-id: http://svn.automattic.com/wordpress/trunk@12872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:28:03 +00:00
ryan
1b98b9c106 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan
19aa0c798c Don't load deprecated magpie for dashboard. Props nacin. fixes #12051
git-svn-id: http://svn.automattic.com/wordpress/trunk@12869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:02:16 +00:00
ryan
15579ed49a Minify RTL CSS
git-svn-id: http://svn.automattic.com/wordpress/trunk@12867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:57:15 +00:00
ryan
c0bda375a5 RTL CSS fix. Props yoavf. fixes #12053
git-svn-id: http://svn.automattic.com/wordpress/trunk@12866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:50:06 +00:00
ryan
b7bde3492d Whitespace cleanup and inline docs. Props nacin. see #12027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:48:37 +00:00
wpmuguru
301dc6dbf0 allow initial site_id to be assigned by MySQL, fixes #12021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 00:20:10 +00:00
wpmuguru
793ba21ad1 Add beginning of string to regex in [12860], See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:38:23 +00:00
wpmuguru
f465b2f23e Change options-permalinks to use is_main_site(), fix /blog offset display, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:02:49 +00:00
ryan
699387f747 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
ryan
cd57004569 Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:46:09 +00:00
ryan
212533c466 Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:42:37 +00:00
ryan
5d2365a499 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan
ef301b7489 unset temp vars so they don't pollute the global namespace. Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:16:53 +00:00
ryan
055f3db3a3 unset temp vars in menu.php so they don't pollute the global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:09:45 +00:00
ryan
943f69cb1f Unset menu_perms once we're done with it. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:55:51 +00:00