Commit Graph

109 Commits

Author SHA1 Message Date
Ryan Boren
21a150eefa touch_time() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2719 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:02:05 +00:00
Ryan Boren
3b6dbfb88a Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2718 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:59:14 +00:00
Ryan Boren
9527e184fe More cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Ryan Boren
5dbb58cd91 Migrate to caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 22:26:26 +00:00
Ryan Boren
3c68ad0b0f Move menus from levels to capabilities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2705 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 16:04:14 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Matt Mullenweg
810e0018f4 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: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Matt Mullenweg
5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Ryan Boren
b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren
bcb1e84446 wp_delete_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@2698 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 22:03:42 +00:00
Ryan Boren
37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Ryan Boren
01fef613ff wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2695 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 19:26:51 +00:00
Ryan Boren
706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren
9e63ebda78 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: https://develop.svn.wordpress.org/trunk@2654 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 23:44:22 +00:00
Ryan Boren
68571f0e05 Page editing form cleaning and repair.
git-svn-id: https://develop.svn.wordpress.org/trunk@2652 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:07:16 +00:00
Ryan Boren
2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Ryan Boren
67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren
15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Matt Mullenweg
afc06a6f56 New schmancy posting interface
git-svn-id: https://develop.svn.wordpress.org/trunk@2639 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 07:31:36 +00:00
Matt Mullenweg
2f8b416e93 Addding check_admin_referer hook
git-svn-id: https://develop.svn.wordpress.org/trunk@2595 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 18:26:53 +00:00
Ryan Boren
eec22c6ac1 gettext check_admin_referer() error message.
git-svn-id: https://develop.svn.wordpress.org/trunk@2569 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 06:49:17 +00:00
Matt Mullenweg
f7c0f0c76c Firefox fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2544 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 02:16:57 +00:00
Ryan Boren
faed798153 Gracefully handle the lack of themes in get_page_templates(). http://mosquito.wordpress.org/view.php?id=1153 Props: donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2474 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-23 01:14:05 +00:00
Ryan Boren
57f958a020 Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2432 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:41:04 +00:00
Ryan Boren
d8cb7841fb Fix timestamp editing. http://mosquito.wordpress.org/view.php?id=1022
git-svn-id: https://develop.svn.wordpress.org/trunk@2429 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 09:50:26 +00:00
Matt Mullenweg
93e4071c2e Pre-emptive link to support
git-svn-id: https://develop.svn.wordpress.org/trunk@2405 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-04 19:34:21 +00:00
Ryan Boren
946e39cea1 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: https://develop.svn.wordpress.org/trunk@2381 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 16:11:27 +00:00
Matt Mullenweg
872f826316 Two small tweaks before release
git-svn-id: https://develop.svn.wordpress.org/trunk@2346 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 03:32:43 +00:00
Matt Mullenweg
ef80505704 http://mosquito.wordpress.org/view.php?id=772
git-svn-id: https://develop.svn.wordpress.org/trunk@2328 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 07:04:16 +00:00
Matt Mullenweg
b2041fc4d0 Friendlier file names in theme editor - http://mosquito.wordpress.org/view.php?id=598
git-svn-id: https://develop.svn.wordpress.org/trunk@2319 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:24:25 +00:00
Matt Mullenweg
2857c03307 Show updated time, not post time. - http://mosquito.wordpress.org/view.php?id=682
git-svn-id: https://develop.svn.wordpress.org/trunk@2291 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 09:32:00 +00:00
Ryan Boren
f87c05180b s///. http://mosquito.wordpress.org/view.php?id=832
git-svn-id: https://develop.svn.wordpress.org/trunk@2235 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 02:06:57 +00:00
Ryan Boren
1dd5e44500 Plugin page hooks. Props: morganiq. http://mosquito.wordpress.org/view.php?id=785 http://mosquito.wordpress.org/view.php?id=797
git-svn-id: https://develop.svn.wordpress.org/trunk@2234 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 01:15:06 +00:00
Ryan Boren
daef7f8d21 get_home_path() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2186 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:59:44 +00:00
Ryan Boren
c41a6e5dc8 Get the title for pluggable top level admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@2162 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-30 07:34:03 +00:00
Matt Mullenweg
63cbe74852 Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736
git-svn-id: https://develop.svn.wordpress.org/trunk@2125 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 06:05:44 +00:00
Ryan Boren
007eb334c5 Include legacy template files in the common file list only if they exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@2105 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 15:23:38 +00:00
Matt Mullenweg
c136a2ad21 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@2029 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:05:07 +00:00
Ryan Boren
0215f2ba6a Do not allow .. anywhere in the filename.
git-svn-id: https://develop.svn.wordpress.org/trunk@2019 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 18:05:46 +00:00
Ryan Boren
8662dfbc33 Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: https://develop.svn.wordpress.org/trunk@2006 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-27 22:30:52 +00:00
Matt Mullenweg
3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Ryan Boren
d4ba9cd960 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: https://develop.svn.wordpress.org/trunk@1995 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 00:53:56 +00:00
Matt Mullenweg
81d0e5f0e7 Proper alternation of category display background.
git-svn-id: https://develop.svn.wordpress.org/trunk@1954 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:24:39 +00:00
Matt Mullenweg
485940f596 Just a little code cleanup and case normalization. http://mosquito.wordpress.org/view.php?id=360
git-svn-id: https://develop.svn.wordpress.org/trunk@1953 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:22:21 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg
0b4c37d9d3 More HTML error fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1938 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 06:31:01 +00:00
Matt Mullenweg
1c6a2d83f5 Support for hidden custom fields (custom fields that start with _)
git-svn-id: https://develop.svn.wordpress.org/trunk@1935 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 04:12:20 +00:00
Matt Mullenweg
75e19e4ec2 No reason not to have default for current category argument.
git-svn-id: https://develop.svn.wordpress.org/trunk@1929 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:44:05 +00:00
Ryan Boren
51602443ca 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: https://develop.svn.wordpress.org/trunk@1924 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 22:32:49 +00:00
Ryan Boren
3d7408b88d Mark strings for translation. Bug 514. Patch by nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1913 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 06:53:10 +00:00