Commit Graph

5960 Commits

Author SHA1 Message Date
Dion Hulse 9da2f26d98 Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13081 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:52:33 +00:00
Andrew Nacin b154b4d604 Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:17:57 +00:00
Andrew Nacin d53857acc8 Escape thousandsSeparator and decimalPoint JS variables, see #12005
git-svn-id: https://develop.svn.wordpress.org/trunk@13078 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:12:51 +00:00
Dion Hulse b1535c3d7e Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13077 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:08:16 +00:00
Ron Rennick 8abaa3bad4 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13070 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 22:45:35 +00:00
Ron Rennick 113a86ebbd add siteurl site option for MU upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13067 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:37:17 +00:00
Ron Rennick 930b21a770 fix dashboard right now category links, fixes #12205
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 20:10:15 +00:00
Ryan Boren d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Ryan Boren d204fd6215 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +00:00
Ryan Boren 2f7ef8196b 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: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren 1e2b47d4f6 Use show_ui instead of _show. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13046 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:43:29 +00:00
Ryan Boren 6a5c43f5fc Fix screen layout options for custom post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +00:00
Ryan Boren d22d07e1f2 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: https://develop.svn.wordpress.org/trunk@13043 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:49:16 +00:00
Dion Hulse 718fa1b6e8 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 10:59:45 +00:00
Ryan Boren 8bc11462e3 First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 20:37:12 +00:00
Ron Rennick 62690f100c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: https://develop.svn.wordpress.org/trunk@13039 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 18:03:46 +00:00
Ron Rennick 9d74c95ed8 do not add /index.php permalink base in multisite, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13036 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:10:43 +00:00
Dion Hulse e5b17da3fb Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: https://develop.svn.wordpress.org/trunk@13035 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 10:56:39 +00:00
Ryan Boren 883cad6a6f Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +00:00
Ryan Boren fc60118ff7 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13026 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:15:44 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Ryan Boren e2cd2290f4 Change wording in string to make translation easier. Props simosx. fixes #12173
git-svn-id: https://develop.svn.wordpress.org/trunk@13022 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:18:13 +00:00
Peter Westwood 77e592fead Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: https://develop.svn.wordpress.org/trunk@13015 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:28:05 +00:00
Ryan Boren 82e3b2f8f4 Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00
Dion Hulse 2a4403812a Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13009 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:40:51 +00:00
Dion Hulse 19fc6eaf94 Remove cat_rows() admin template functions. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13008 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:54:33 +00:00
Dion Hulse 142262150e PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13007 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:07:36 +00:00
Dion Hulse b8ebf2ee2c Better error checking for ZipArchive extraction. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13006 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:02:24 +00:00
Dion Hulse 1419d92ddf Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13005 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:52:35 +00:00
Ron Rennick f2ade7aa6d Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: https://develop.svn.wordpress.org/trunk@13003 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:13:22 +00:00
Dion Hulse 8f6db1c96f Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: https://develop.svn.wordpress.org/trunk@13001 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:15:27 +00:00
Ron Rennick ac720d22ea Allow network install to be restarted, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@13000 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:13:20 +00:00
Dion Hulse eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Ron Rennick d59cf38464 Add activate link for network plugins in single site install, props nacin, fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12996 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 00:03:10 +00:00
Ryan Boren 68db07fb9b Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:46:00 +00:00
Ryan Boren 8be3a24819 Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:27:30 +00:00
Peter Westwood 13b54b44d8 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12991 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 14:56:10 +00:00
Peter Westwood 86233c4dbd Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Mark Jaquith 2d54780d5e 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: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Mark Jaquith 4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Dion Hulse 96578ed6b8 Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: https://develop.svn.wordpress.org/trunk@12985 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:19:25 +00:00
Dion Hulse d9281a3e46 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12984 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:49:11 +00:00
Dion Hulse 8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Ryan Boren 65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ryan Boren 1e9a464f69 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12976 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:33:53 +00:00
Ron Rennick 96665140d5 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:33:35 +00:00
Ryan Boren 49bce47b8d Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:10:30 +00:00