Commit Graph

191 Commits

Author SHA1 Message Date
Ryan Boren bde96bc025 Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: https://develop.svn.wordpress.org/trunk@3513 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 09:56:02 +00:00
Ryan Boren f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren 2f46d64518 Remove execute bit from uploaded files. #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3501 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-30 22:03:06 +00:00
Ryan Boren d9f55997b3 Make check_admin_referer() pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3497 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 23:06:58 +00:00
Ryan Boren a2e19bdbef Username sanitization cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3481 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:09:16 +00:00
Ryan Boren 3855fbe248 Don't list current theme in the availablet themes list.
git-svn-id: https://develop.svn.wordpress.org/trunk@3476 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 07:38:29 +00:00
Matt Mullenweg a3b37a3efd Strip some more funny chars, fixes #2093
git-svn-id: https://develop.svn.wordpress.org/trunk@3446 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-17 00:48:24 +00:00
Matt Mullenweg f3a9342825 Don't allow uploading PHP files, fixes #2300.
git-svn-id: https://develop.svn.wordpress.org/trunk@3444 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 23:02:27 +00:00
Ryan Boren 6ad81b7202 Strip # from filenames. fixes #2166
git-svn-id: https://develop.svn.wordpress.org/trunk@3394 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 21:31:51 +00:00
Ryan Boren 0d3ec17bb1 Silenzio.
git-svn-id: https://develop.svn.wordpress.org/trunk@3380 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 21:42:56 +00:00
Ryan Boren e45a58d547 LJ tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3375 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:25:41 +00:00
Ryan Boren 5ff3240176 Title fixes for plugin menu pages. fixes #1447
git-svn-id: https://develop.svn.wordpress.org/trunk@3367 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 00:45:13 +00:00
Ryan Boren d417f96524 Validation tweaks. fixes #2097
git-svn-id: https://develop.svn.wordpress.org/trunk@3329 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:10:09 +00:00
Ryan Boren 025178d959 Widen those buttons. fixes #2091
git-svn-id: https://develop.svn.wordpress.org/trunk@3325 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-18 15:54:02 +00:00
Ryan Boren 33f045c3df noscript support for uploading. fixes #2078
git-svn-id: https://develop.svn.wordpress.org/trunk@3307 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-14 08:29:43 +00:00
Ryan Boren f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren 56e626673e i18n updates from nbachiyski. fixes #2069
git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 22:48:30 +00:00
Ryan Boren 2ca271695a Remove debug cruft. fixes #2056
git-svn-id: https://develop.svn.wordpress.org/trunk@3288 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 17:57:50 +00:00
Ryan Boren d9c8d0818a MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: https://develop.svn.wordpress.org/trunk@3283 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:24:14 +00:00
Ryan Boren 6f6e018161 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: https://develop.svn.wordpress.org/trunk@3276 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 00:36:07 +00:00
Ryan Boren 3edb82141a Add edit_pages checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3269 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 04:04:23 +00:00
Ryan Boren 163b423722 Relocate wp_upload_dir(). fixes #2019
git-svn-id: https://develop.svn.wordpress.org/trunk@3267 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:17:03 +00:00
Ryan Boren aa5674dc27 Attachment cleanups from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3251 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 22:44:00 +00:00
Matt Mullenweg e6ce4ad421 Fixes #1966
git-svn-id: https://develop.svn.wordpress.org/trunk@3224 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:06:21 +00:00
Matt Mullenweg 83ac138c9d Allow 0 for postmeta, fixes #1912
git-svn-id: https://develop.svn.wordpress.org/trunk@3221 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 10:21:23 +00:00
Matt Mullenweg a0556647af Don't show 0 as a month.
git-svn-id: https://develop.svn.wordpress.org/trunk@3202 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 07:57:58 +00:00
Ryan Boren 43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren 5f54b206a7 Remove unused vars. Fixed var reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@3176 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:23:08 +00:00
Ryan Boren 7a90a61c9d Attachment cleanups from skeltoac. fixes #1870
git-svn-id: https://develop.svn.wordpress.org/trunk@3145 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 09:25:47 +00:00
Ryan Boren eb4979a640 New bookmarklet action.
git-svn-id: https://develop.svn.wordpress.org/trunk@3127 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:26:24 +00:00
Matt Mullenweg 3c5bb8ee03 This doesn't work with PHP running under suexec.
git-svn-id: https://develop.svn.wordpress.org/trunk@3124 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 02:50:14 +00:00
Matt Mullenweg b27225b0ca Removing personal options, putting on profile page. Fixes #1557
git-svn-id: https://develop.svn.wordpress.org/trunk@3112 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:32:38 +00:00
Ryan Boren cae1b67170 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: https://develop.svn.wordpress.org/trunk@3103 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 03:27:22 +00:00
Ryan Boren acce976ef2 Typo. fixes #1805
git-svn-id: https://develop.svn.wordpress.org/trunk@3099 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:09:27 +00:00
Ryan Boren c8a8ab6807 Importer work.
git-svn-id: https://develop.svn.wordpress.org/trunk@3098 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:07:56 +00:00
Ryan Boren 68852dc1f5 Import data uploading. wp_import_handle_upload(), wp_import_cleanup(), wp_import_upload_form().
git-svn-id: https://develop.svn.wordpress.org/trunk@3093 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 23:39:32 +00:00
Ryan Boren 1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Matt Mullenweg 3e46dabd03 These are not the categories you're looking for, fixes #1654
git-svn-id: https://develop.svn.wordpress.org/trunk@3079 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:11:15 +00:00
Matt Mullenweg 9385ddc440 No weird chars in #1714
git-svn-id: https://develop.svn.wordpress.org/trunk@3075 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:59:47 +00:00
Matt Mullenweg a313d7adfb Fixes #1837 timestamp funkiness
git-svn-id: https://develop.svn.wordpress.org/trunk@3074 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:56:41 +00:00
Matt Mullenweg 6666f2ac8f Fixes #1825 again so people can't demote themselves
git-svn-id: https://develop.svn.wordpress.org/trunk@3064 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:56:05 +00:00
Matt Mullenweg a5c87098b9 Image FUNction, fixes #1797
git-svn-id: https://develop.svn.wordpress.org/trunk@3042 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:27:58 +00:00
Matt Mullenweg 0aea367865 Be nicer to people without http
git-svn-id: https://develop.svn.wordpress.org/trunk@3040 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:13:30 +00:00
Ryan Boren 8ca220554a Add radio button for our default permalink structure. Add got_mod_rewrite(). Props Mark Jaquith. fixes #1840
git-svn-id: https://develop.svn.wordpress.org/trunk@3029 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:25:39 +00:00
Ryan Boren 5679c4dd36 Order cats by name. Props davidhouse. fixes #1780
git-svn-id: https://develop.svn.wordpress.org/trunk@3000 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 06:48:41 +00:00
Ryan Boren 1cda7496ef Add ids to timestamp fields. Props nmoog. fixes #1796
git-svn-id: https://develop.svn.wordpress.org/trunk@2998 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 06:21:50 +00:00
Ryan Boren c244bfd360 Show Role in profile and user edit. Don't allow users with edit_users caps to demote themselves. Props: davidhouse, ringmaster. fixes #1825
git-svn-id: https://develop.svn.wordpress.org/trunk@2995 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:58:52 +00:00
Ryan Boren 573e9a1bcb wp_handle_upload() and image upload improvements from Andy. fixes #1806
git-svn-id: https://develop.svn.wordpress.org/trunk@2979 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-01 21:28:03 +00:00
Ryan Boren 471552766e Create upload dirs with same perms as wp-content. fixes #1784 #1726
git-svn-id: https://develop.svn.wordpress.org/trunk@2967 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:12:54 +00:00
Ryan Boren 1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00