Commit Graph

289 Commits

Author SHA1 Message Date
ryan
4f895adff7 Remove execute bit from uploaded files. #2190
git-svn-id: http://svn.automattic.com/wordpress/trunk@3501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 22:03:06 +00:00
ryan
f035ac9b20 Make check_admin_referer() pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 23:06:58 +00:00
ryan
99385a2f18 Username sanitization cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:09:16 +00:00
ryan
7cba6fd969 Don't list current theme in the availablet themes list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:38:29 +00:00
matt
78d25a023b Strip some more funny chars, fixes #2093
git-svn-id: http://svn.automattic.com/wordpress/trunk@3446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-17 00:48:24 +00:00
matt
9865911bff Don't allow uploading PHP files, fixes #2300.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-16 23:02:27 +00:00
ryan
d004dacd10 Strip # from filenames. fixes #2166
git-svn-id: http://svn.automattic.com/wordpress/trunk@3394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 21:31:51 +00:00
ryan
fb25862f14 Silenzio.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 21:42:56 +00:00
ryan
00e695e6f5 LJ tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:25:41 +00:00
ryan
97749ecf1d Title fixes for plugin menu pages. fixes #1447
git-svn-id: http://svn.automattic.com/wordpress/trunk@3367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:45:13 +00:00
ryan
4f3bef3ac1 Validation tweaks. fixes #2097
git-svn-id: http://svn.automattic.com/wordpress/trunk@3329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:10:09 +00:00
ryan
f7feb0f213 Widen those buttons. fixes #2091
git-svn-id: http://svn.automattic.com/wordpress/trunk@3325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-18 15:54:02 +00:00
ryan
0df81fe574 noscript support for uploading. fixes #2078
git-svn-id: http://svn.automattic.com/wordpress/trunk@3307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-14 08:29:43 +00:00
ryan
ab9b8f8b6a Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 19:19:56 +00:00
ryan
ece625403c i18n updates from nbachiyski. fixes #2069
git-svn-id: http://svn.automattic.com/wordpress/trunk@3295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 22:48:30 +00:00
ryan
ffcfc84b78 Remove debug cruft. fixes #2056
git-svn-id: http://svn.automattic.com/wordpress/trunk@3288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 17:57:50 +00:00
ryan
06c51d01c2 MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: http://svn.automattic.com/wordpress/trunk@3283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:24:14 +00:00
ryan
1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan
1a44970d3a Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 04:04:23 +00:00
ryan
bd31c21f83 Relocate wp_upload_dir(). fixes #2019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:17:03 +00:00
ryan
3e14966b54 Attachment cleanups from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 22:44:00 +00:00
matt
9a440c7951 Fixes #1966
git-svn-id: http://svn.automattic.com/wordpress/trunk@3224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:06:21 +00:00
matt
380033a673 Allow 0 for postmeta, fixes #1912
git-svn-id: http://svn.automattic.com/wordpress/trunk@3221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 10:21:23 +00:00
matt
45c73a3298 Don't show 0 as a month.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:57:58 +00:00
ryan
73dde55507 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 00:36:36 +00:00
ryan
9947a83ae2 Remove unused vars. Fixed var reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:23:08 +00:00
ryan
f4f22fce81 Attachment cleanups from skeltoac. fixes #1870
git-svn-id: http://svn.automattic.com/wordpress/trunk@3145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 09:25:47 +00:00
ryan
f34d914107 New bookmarklet action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:26:24 +00:00
matt
2428727fa3 This doesn't work with PHP running under suexec.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 02:50:14 +00:00
matt
d0aa219739 Removing personal options, putting on profile page. Fixes #1557
git-svn-id: http://svn.automattic.com/wordpress/trunk@3112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:32:38 +00:00
ryan
005dce9352 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 03:27:22 +00:00
ryan
b80dfb3469 Typo. fixes #1805
git-svn-id: http://svn.automattic.com/wordpress/trunk@3099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:09:27 +00:00
ryan
82e3412256 Importer work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:07:56 +00:00
ryan
a90b0d297d Import data uploading. wp_import_handle_upload(), wp_import_cleanup(), wp_import_upload_form().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 23:39:32 +00:00
ryan
f83326f125 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 22:55:24 +00:00
matt
8d1cfdb434 These are not the categories you're looking for, fixes #1654
git-svn-id: http://svn.automattic.com/wordpress/trunk@3079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:11:15 +00:00
matt
5a4c1ef911 No weird chars in #1714
git-svn-id: http://svn.automattic.com/wordpress/trunk@3075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:59:47 +00:00
matt
f059c4f049 Fixes #1837 timestamp funkiness
git-svn-id: http://svn.automattic.com/wordpress/trunk@3074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:56:41 +00:00
matt
c45ca605cb Fixes #1825 again so people can't demote themselves
git-svn-id: http://svn.automattic.com/wordpress/trunk@3064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:56:05 +00:00
matt
3feb023992 Image FUNction, fixes #1797
git-svn-id: http://svn.automattic.com/wordpress/trunk@3042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:27:58 +00:00
matt
7c20f40c39 Be nicer to people without http
git-svn-id: http://svn.automattic.com/wordpress/trunk@3040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:13:30 +00:00
ryan
7710b94ad0 Add radio button for our default permalink structure. Add got_mod_rewrite(). Props Mark Jaquith. fixes #1840
git-svn-id: http://svn.automattic.com/wordpress/trunk@3029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:25:39 +00:00
ryan
56289508f3 Order cats by name. Props davidhouse. fixes #1780
git-svn-id: http://svn.automattic.com/wordpress/trunk@3000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 06:48:41 +00:00
ryan
f85f2529c6 Add ids to timestamp fields. Props nmoog. fixes #1796
git-svn-id: http://svn.automattic.com/wordpress/trunk@2998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 06:21:50 +00:00
ryan
a8b6fe21ba 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: http://svn.automattic.com/wordpress/trunk@2995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:58:52 +00:00
ryan
45435f003e wp_handle_upload() and image upload improvements from Andy. fixes #1806
git-svn-id: http://svn.automattic.com/wordpress/trunk@2979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-01 21:28:03 +00:00
ryan
4de2c0de08 Create upload dirs with same perms as wp-content. fixes #1784 #1726
git-svn-id: http://svn.automattic.com/wordpress/trunk@2967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-28 01:12:54 +00:00
ryan
45fc6c1664 Image fu from Andy. fixes #1776
git-svn-id: http://svn.automattic.com/wordpress/trunk@2958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 20:48:32 +00:00
ryan
a7fc7ec1b7 Move some fxns to admin-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-06 17:26:06 +00:00
ryan
4c607e6d67 Typo fix from ringmaster. fixes #1717
git-svn-id: http://svn.automattic.com/wordpress/trunk@2927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-30 22:45:06 +00:00
ryan
bb27dabb29 Image Uploader bug fixes and UI rework from Andy. fixes #1718
git-svn-id: http://svn.automattic.com/wordpress/trunk@2926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-30 22:42:26 +00:00
matt
c773470866 Minor cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-27 03:42:17 +00:00
ryan
7b0442ea12 Image uploading widget from skeltoac. fixes #1710
git-svn-id: http://svn.automattic.com/wordpress/trunk@2921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 23:55:36 +00:00
ryan
d8ea1c7db4 Populate link_owner. Props donncha. fixes #1695
git-svn-id: http://svn.automattic.com/wordpress/trunk@2901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-21 16:32:05 +00:00
ryan
ad3e2f6dba Consolidate link forms into edit-link-form
git-svn-id: http://svn.automattic.com/wordpress/trunk@2890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-19 00:47:58 +00:00
ryan
cd0db4edfa Link love. Add get_link(), get_link_to_edit(), add_link(), edit_link(), wp_insert_link(), wp_update_link(), wp_delete_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-18 19:44:14 +00:00
ryan
dd14bda3ae Don't write multiple rewrite rule blocks to htaccess. fixes #1661
git-svn-id: http://svn.automattic.com/wordpress/trunk@2886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-16 03:25:22 +00:00
ryan
7d7b930e17 comment_exists() from skeltoac. fixes #1679
git-svn-id: http://svn.automattic.com/wordpress/trunk@2879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-15 23:36:48 +00:00
ryan
5ba66d6c04 User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-14 00:03:02 +00:00
ryan
a8146c0523 Add post_exists() and wp_create_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-10 22:45:07 +00:00
ryan
92a670361c Add category_exists() and wp_create_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-10 18:44:05 +00:00
ryan
54d761eee0 Fix page edit redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 20:38:30 +00:00
matt
d2e83e3d2c Fix menu annoyance. Clean up themes.php code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-05 23:33:10 +00:00
ryan
c7771dcaaf On the fly list manipulation. Delete in style. Mad props to mdawaffe. Applies to #1634
git-svn-id: http://svn.automattic.com/wordpress/trunk@2832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-31 02:39:17 +00:00
matt
2b1dc4616d Hook compatibility
git-svn-id: http://svn.automattic.com/wordpress/trunk@2830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:24:12 +00:00
matt
69405371e3 Friendlier names
git-svn-id: http://svn.automattic.com/wordpress/trunk@2825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:05:44 +00:00
ryan
c369310b0c Better support for theme plugins. add_theme_page() and active theme functions.php autoloader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-29 23:40:32 +00:00
matt
e643a11b36 Enter now works for popups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-28 08:30:21 +00:00
matt
6da9feeacb Browse Happy :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 19:18:26 +00:00
matt
e7d3959ae5 Move images
git-svn-id: http://svn.automattic.com/wordpress/trunk@2813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 19:10:56 +00:00
matt
185732b420 Big JS move
git-svn-id: http://svn.automattic.com/wordpress/trunk@2812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 18:48:56 +00:00
matt
878bcd48ec Be ambiguous
git-svn-id: http://svn.automattic.com/wordpress/trunk@2811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 18:42:41 +00:00
ryan
16aa6aee11 New import system. Very rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-21 07:03:23 +00:00
ryan
597157fbbf Improved insert_with_markers(). Props Eric Anderson. fixes #1417
git-svn-id: http://svn.automattic.com/wordpress/trunk@2797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:56:27 +00:00
ryan
c58b95fe37 Fix add_options_page(). Props to Owen. fixes #1562
git-svn-id: http://svn.automattic.com/wordpress/trunk@2792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:33:09 +00:00
matt
fd1748ef2f You should be able to change the defaults
git-svn-id: http://svn.automattic.com/wordpress/trunk@2753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-05 20:44:18 +00:00
matt
e270daf352 Make sure it's an array first.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:21:53 +00:00
matt
d62ae6b368 Better name
git-svn-id: http://svn.automattic.com/wordpress/trunk@2738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-01 20:24:11 +00:00
matt
ba19c859f9 A few CSS polishes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:22:48 +00:00
ryan
63073bc4fe Fix draft list and publish button. fixes #1514
git-svn-id: http://svn.automattic.com/wordpress/trunk@2723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 21:08:47 +00:00
ryan
4260709314 touch_time() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:02:05 +00:00
ryan
ed3d0a7589 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 18:59:14 +00:00
ryan
508e55acd2 More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 02:16:45 +00:00
ryan
02523f59d3 Migrate to caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 22:26:26 +00:00
ryan
0218d1e198 Move menus from levels to capabilities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 16:04:14 +00:00
ryan
7af36168cb Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-12 15:53:13 +00:00
matt
13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
matt
233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan
a79476f1e7 wp_delete_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 22:03:42 +00:00
ryan
cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
ryan
740381afdf wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 19:26:51 +00:00
ryan
8b55719431 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 19:55:12 +00:00
ryan
16efd6a7f3 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: http://svn.automattic.com/wordpress/trunk@2654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 23:44:22 +00:00
ryan
4cb88cef6e Page editing form cleaning and repair.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 03:07:16 +00:00
ryan
0b7373e0cc Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 02:51:48 +00:00
ryan
477f109d97 Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 01:33:38 +00:00
ryan
5cfc1a248b Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:08:38 +00:00
matt
4a25d166b4 New schmancy posting interface
git-svn-id: http://svn.automattic.com/wordpress/trunk@2639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 07:31:36 +00:00
matt
4b538e243c Addding check_admin_referer hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@2595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 18:26:53 +00:00
ryan
9d12ebaed3 gettext check_admin_referer() error message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 06:49:17 +00:00
matt
0c3b3e5347 Firefox fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 02:16:57 +00:00
ryan
9697579316 Gracefully handle the lack of themes in get_page_templates(). http://mosquito.wordpress.org/view.php?id=1153 Props: donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@2474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-23 01:14:05 +00:00
ryan
c21410812f Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-11 03:41:04 +00:00
ryan
379367cfbe Fix timestamp editing. http://mosquito.wordpress.org/view.php?id=1022
git-svn-id: http://svn.automattic.com/wordpress/trunk@2429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 09:50:26 +00:00
matt
88dce7c55b Pre-emptive link to support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-04 19:34:21 +00:00
ryan
0e74c2524b Add callback API to add_menu_page(). Fix some menu bugs. http://mosquito.wordpress.org/view.php?id=975 Reviewed by Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 16:11:27 +00:00
saxmatt
d720a8ef0a Two small tweaks before release
git-svn-id: http://svn.automattic.com/wordpress/trunk@2346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 03:32:43 +00:00
saxmatt
f4dafc015f http://mosquito.wordpress.org/view.php?id=772
git-svn-id: http://svn.automattic.com/wordpress/trunk@2328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 07:04:16 +00:00
saxmatt
df3a83a5fb Friendlier file names in theme editor - http://mosquito.wordpress.org/view.php?id=598
git-svn-id: http://svn.automattic.com/wordpress/trunk@2319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:24:25 +00:00
saxmatt
b698cac8ee Show updated time, not post time. - http://mosquito.wordpress.org/view.php?id=682
git-svn-id: http://svn.automattic.com/wordpress/trunk@2291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 09:32:00 +00:00
rboren
c4bc224fa9 s///. http://mosquito.wordpress.org/view.php?id=832
git-svn-id: http://svn.automattic.com/wordpress/trunk@2235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 02:06:57 +00:00
rboren
3ec8c50289 Plugin page hooks. Props: morganiq. http://mosquito.wordpress.org/view.php?id=785 http://mosquito.wordpress.org/view.php?id=797
git-svn-id: http://svn.automattic.com/wordpress/trunk@2234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 01:15:06 +00:00
rboren
d883df1424 get_home_path() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:59:44 +00:00
rboren
48d334e1c0 Get the title for pluggable top level admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-30 07:34:03 +00:00
saxmatt
326ac00ee6 Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736
git-svn-id: http://svn.automattic.com/wordpress/trunk@2125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:05:44 +00:00
rboren
fdb5bdb740 Include legacy template files in the common file list only if they exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 15:23:38 +00:00
saxmatt
373276ee25 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:05:07 +00:00
rboren
5c92876ab2 Do not allow .. anywhere in the filename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 18:05:46 +00:00
rboren
888021c22a Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-27 22:30:52 +00:00
saxmatt
637cfdc7a4 Cleaning up blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +00:00
rboren
0b79658085 Use SCRIPT_FILENAME instead of PATH_TRANSLATED since PATH_TRANSLATED is not always set. Consolidate home path logic into get_home_path().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 00:53:56 +00:00
saxmatt
ecdec8f8e3 Proper alternation of category display background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:24:39 +00:00
saxmatt
d53401fbd5 Just a little code cleanup and case normalization. http://mosquito.wordpress.org/view.php?id=360
git-svn-id: http://svn.automattic.com/wordpress/trunk@1953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:22:21 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt
de360e84e1 More HTML error fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 06:31:01 +00:00
saxmatt
5ba63ff4d5 Support for hidden custom fields (custom fields that start with _)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 04:12:20 +00:00
saxmatt
b6c13ceee4 No reason not to have default for current category argument.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:44:05 +00:00
rboren
fb1e3de410 Rationalize menu access levels. Submenus should have an access level greater than or equal to its parent. Require level 8 for all file editing pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 22:32:49 +00:00
rboren
d849a73f55 Mark strings for translation. Bug 514. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 06:53:10 +00:00
rboren
497b71996a Submenu construction improvement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 05:02:07 +00:00
rboren
b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren
bd4e71a7ba Allow plugins to be loaded from subdirs of wp-content/plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 00:33:04 +00:00
rboren
a4c058f2c8 get_plugin_data() and get_plugins()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 02:29:45 +00:00
rboren
8b9b4d71da add_menu_page(), add_submenu_page(), add_management_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 01:50:37 +00:00
rboren
477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00
saxmatt
8615d77651 Fail more gracefully for lower level users
git-svn-id: http://svn.automattic.com/wordpress/trunk@1862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:51:31 +00:00
rboren
0102268117 Theme, plugin, and file editing cleanup. Work in progress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:15:44 +00:00
rboren
7cbf843347 List broken themes and suggest corrective action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-24 23:48:51 +00:00
rboren
04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
rboren
4568e83625 Do not stomp permalink setting. Bug 372.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:50:08 +00:00
rboren
3472b445a2 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 03:54:57 +00:00
rboren
943351b556 Check to see if any pages exist when generating page rewrite rules. Bug 345. Patch from MC_incubus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 00:16:44 +00:00
rboren
0f9c6ec8e9 Add switch_theme action. Cleanup staticize-reloaded's cache when theme is switched.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 06:20:52 +00:00
rboren
543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren
96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
saxmatt
2d4dd7e6fb Pages update and tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:27:13 +00:00
rboren
217dd27ea9 Do not attemp to load marker data from a non-existent htaccess. Bug 308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 02:32:51 +00:00
rboren
dcb4808bfc Do not try to link to theme and author uris that are not there. Bug 295.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 06:08:40 +00:00
rboren
df9a953c1d Revert to default theme if active theme is broken.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 18:09:32 +00:00