ryan
ce4fb5e015
Move editor js to editor.js. fixes #5799
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
ryan
eabaabd76b
Redirect if post not specified. Props lloydbudd. fixes #5754
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:40:52 +00:00
matt
cc18743397
Redirect to edit page with posted blurb as default.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 11:21:27 +00:00
ryan
3388050bf9
New image uploader from tellyworth. see #5609
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
ryan
e46b5e6bc2
Port autosave to jquery. Props rmccue. see #3824
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt
ae18e22598
New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
ryan
f8afc0b75d
jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan
321c310717
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
f78592cf01
Redirect back to post-new.php when doing a save and continue with empty post fields. fixes #4855
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:24:42 +00:00
ryan
eb3e9e6dc7
Display error message when attempting to edit post or page IDs that do not exist. Props Viper007Bond. fixes #4737
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 22:31:19 +00:00
ryan
e7d71efdd9
Revert jcalendar date picker experiment. Save it for another day. fixes #4641
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 19:26:03 +00:00
ryan
714f8edd6c
jquery data selector for post timestamps. Props tellyworth. fixes #4641
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:22:27 +00:00
matt
01961fba45
Kill the slow-loading iframe in favor of a popup link
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:02:19 +00:00
markjaquith
611b037efa
use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
markjaquith
3320dd1380
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith
d0f79bb3f2
trailing tabs and whitespace cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan
d6287980ea
Don't allow editing pages via post.php. Redirect to page.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-22 08:16:58 +00:00
markjaquith
5a76c03203
new function for escaping within attributes: attribute_escape()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
995d839bfb
Attachment data abstraction from mdawaffe. fixes #3440
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan
9f534ebae6
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
matt
c437b9c9b0
Some UI cleanups, changes, and various miscellany.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
markjaquith
2537888779
Better notice and link after post/page saving. Props mdawaffe. fixes #1690
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 07:46:47 +00:00
ryan
6b7de4afd3
Validate good times, come on. Props Viper007Bond. fixes #3113
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 17:28:29 +00:00
ryan
ebbcf250d5
i18n fixes from nbachiyski. fixes #3109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-05 18:52:24 +00:00
ryan
849a0d29d7
Use get_option instead of get_settings. Just 'cause.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
a458715afa
Fix autosave redirects
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 19:13:00 +00:00
ryan
7ac67243e8
autosave fix ups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:50:28 +00:00
ryan
b4601fc06c
Autosave and prototype. Props masquerade. fixes #3020 #3017
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 03:54:45 +00:00
ryan
33a88217f0
Fix redirect and publish.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-28 22:18:41 +00:00
ryan
42557940a1
Use wp_die(). Props filosofo. fixes #2914
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan
55af15d623
wp_reset_vars() from Sewar. fixes #2888
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-03 19:03:37 +00:00
ryan
ff19f4b5a5
Use wp_redirect().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 05:38:56 +00:00
ryan
ec9b6242a3
Use wp_get_referer(). fixes #2800
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 07:34:35 +00:00
ryan
96c3f739a8
Update nonce action strings. Props mdawaffe.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 23:08:05 +00:00
ryan
8ee6921b49
Improvements to the nonce AYS from mdawaffe. #2734
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-18 06:49:22 +00:00
ryan
3f57a94f4c
Nonce from above. #2678
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:36:06 +00:00
matt
823f832a8e
A better comment delete button
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 08:02:16 +00:00
ryan
d02d4a9319
Redirect if no action given.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:12:43 +00:00
ryan
baa30dd4d8
AJAX, cause you love it. Props mdawaffe. fixes #2561
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 01:51:55 +00:00
ryan
b8bbbd656e
Add referer check. Props masquerade.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-06 08:32:20 +00:00
ryan
75a62f2e1e
Add referer checks. Props masquerade.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-06 08:19:41 +00:00
ryan
1de4321d0b
Fix post save/delete redirects. fixes #2505 #2502
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 05:15:13 +00:00
ryan
29540c8e2b
Breakup post.php into post.php, comment.php, page.php, post-new.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 06:11:46 +00:00
ryan
d30b5f1c99
Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 20:09:13 +00:00
ryan
dd202ce1f9
Death to trailing tabs. Props Mark J. fixes #2405
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
f812294867
Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 10:03:48 +00:00
ryan
9a6867aa44
is_preview() fixes from David House. fixes #2188
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:39:56 +00:00
ryan
acff9479ff
Remove reference to non-existant edit-attachment-form. fixes #2270
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-12 03:44:44 +00:00
ryan
0962ff9bff
Confirm-delete dialog fix from Mark Jaquith. fixes #2249
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:50:35 +00:00
ryan
c24a484571
Don't require admin-header.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 17:00:39 +00:00
ryan
32743aec23
Don't die.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 22:26:22 +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
843a9afbfc
i18n fixes from nbachiyski. #2006
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan
bfcc6d9927
Close iframe properly. Props ringmaster. fixes #1932
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:30:46 +00:00
ryan
8272052631
Tab highlight fix from skeltoac. fixes #1619
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:20:33 +00:00
ryan
c9685b895a
Trailing slashes. Propers to Mark Jaquith. fixes #1893
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 10:10:10 +00:00
ryan
f048de8695
Bookmarklet script updates.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:44:41 +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
ryan
faa8397c00
Put the preview anchors on the h2. Props: markjaquith fixes #1765
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 01:52:56 +00:00
ryan
feb0b6d562
Post preview, now with extra spiff, from Mark Jaquith. fixes #1701
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-23 00:44:26 +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
65546ba7a5
Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-08 01:13:22 +00:00
matt
a7b8ae2f17
Tweaks and catchups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 08:58:10 +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
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
a6ade4a767
Role/capability system. Round one. Props: Owen Winkler
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +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
matt
e2d9a4c765
Ugly escaping
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:42:11 +00:00
ryan
5edea3a5cd
Fix ID in confirmdeletecomment.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:34:55 +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
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
32cb17c3dd
http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:45:51 +00:00
ryan
75af9cc6b6
Correctly set comment and ping status when publishing from advanced edit page. http://mosquito.wordpress.org/view.php?id=877 Props: MC_incubus
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-24 04:19:19 +00:00
matt
c377504cd3
More sanitization cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 04:06:37 +00:00
matt
c7bd7fe40b
Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-16 16:31:38 +00:00
ryan
92805e971f
Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:25:47 +00:00
ryan
8007e707c8
Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 19:24:37 +00:00
ryan
0d88aac206
i18n fix. http://mosquito.wordpress.org/view.php?id=1136 Props: nbachiyski
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 00:17:55 +00:00
ryan
ab0395cd3c
Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 03:38:28 +00:00
ryan
c81c012981
Don't let users who cannot publish edit published posts, even their own. Make consistent use of user_can_create_post(). http://mosquito.wordpress.org/view.php?id=1004 Props: MC_incubus
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 00:48:11 +00:00
ryan
1996a5986f
Don't make post slug sticky until the post is published. http://mosquito.wordpress.org/view.php?id=531
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 03:01:45 +00:00
ryan
b9433193df
Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 16:30:00 +00:00
ryan
894c4cc880
Localize strings. http://mosquito.wordpress.org/view.php?id=909 Props: nbachiyski
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 00:20:48 +00:00
saxmatt
f8efc5c837
Redirect to the right place - http://mosquito.wordpress.org/view.php?id=510
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:46:08 +00:00
saxmatt
a622906bd5
Don't let there be duplicate post_names
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:51:14 +00:00
saxmatt
ce7add2275
More presave filters.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:05:19 +00:00
saxmatt
c8c2d1ef89
When in advanced view it means the boxes are unchecked
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 09:25:54 +00:00
saxmatt
553e41cf73
Enclosure cleanups
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:10 +00:00
saxmatt
20a12ca306
Update rewrite rules on delete - http://wordpress.org/support/topic.php?id=22562
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 05:32:36 +00:00
michelvaldrighi
2774142c5a
Fix for bug #559 , capitalisation issue
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 11:03:45 +00:00
rboren
e9d1241d26
Remove support for 'all' queries and for poststart and postend.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
saxmatt
c4d8b5c8b4
Fix for assigning authors - http://mosquito.wordpress.org/view.php?id=759
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:32:28 +00:00
saxmatt
f95c9db9b7
Moderation confirmation from Ryan, some other template and comment editing improvements.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 04:22:01 +00:00
saxmatt
36f89f11c9
Fix for menu_order - http://mosquito.wordpress.org/view.php?id=740
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 05:36:20 +00:00
rboren
bf06e2f857
If post title is not provided, we still need to have a sanitized name for use in permalinks. Use the post id. Bug 717.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 05:18:55 +00:00
saxmatt
4015316834
http://mosquito.wordpress.org/view.php?id=521
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
saxmatt
99df7e3a03
Cleaning up filters and format-to-post
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 22:51:44 +00:00
saxmatt
6e71a37427
Show feedback that the post was saved.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:29:04 +00:00
saxmatt
064976d3e0
Expose menu_order.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 00:09:05 +00:00
saxmatt
7b3972f45e
http://mosquito.wordpress.org/view.php?id=568
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 08:17:07 +00:00
saxmatt
50346fe5b0
HTML fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:09:46 +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
rboren
a2b6757246
Remove call to undefined function clear_smarty_cache(). Bug 424.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 00:23:02 +00:00
rboren
e9cd4f12cc
Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:46:54 +00:00
rboren
c84728b1f3
Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 21:28:18 +00:00
saxmatt
d1ddb156ec
Allow users 9+ to post as other users, minor advanced post reorg.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
saxmatt
1c1c71b436
Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-16 19:29:51 +00:00
michelvaldrighi
b3547b3d8c
leave my textarea opened, kthx
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-29 15:29:36 +00:00
donncha
6d4a7e7228
Indented file.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 14:41:01 +00:00
emc3
757a8a8396
Fix header error when saving drafts.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:27:40 +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
michelvaldrighi
33203610c8
fix for bug #328 : better/sane way to get before using it as a fallback for post_name
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 15:58:06 +00:00
donncha
9f62c48cf9
Enclosure support moved to functions.php - it now scans the content
...
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 12:09:20 +00:00
michelvaldrighi
595ac150eb
removed call time pass by reference in enclosures support
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-16 10:18:36 +00:00
michelvaldrighi
a0a2e1f39d
replaced stuff with user_can_*() stuff
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:21:32 +00:00
donncha
f9823fb53c
Seperate enclosure URLs by 1 space, not 3.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 14:22:40 +00:00
donncha
c3d0099bfb
Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:48:15 +00:00
saxmatt
9d7cee76d2
Forgot to uncomment debug line
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:34:55 +00:00
saxmatt
40a8e6885b
Trackback and pingback cleanups.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
saxmatt
5b7e0784b2
Some code cleanup. Also double email fix care of Mark Jaquith.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 05:00:51 +00:00
rboren
6842c8a917
Use == instead of =
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 17:54:54 +00:00
donncha
dad5defb99
Added enclosure support.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 15:52:29 +00:00
saxmatt
64e27492d1
Some additional API hooks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:13:40 +00:00
saxmatt
f285ca5c55
Move balanceTags into filters.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:07:09 +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
c1f391ae7e
Better redirect cleaning.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 16:22:31 +00:00
saxmatt
c59a8a8119
Changes to how we do redirects.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:35:22 +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
3ec0bc86c0
Do not sanitize an empty title.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:38:47 +00:00
rboren
120f11f4ed
Do not sanitize an empty title.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:36:18 +00:00
saxmatt
e8f22c65a2
Axing of geo stuff, major cleanups on permalink options, style tweaks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +00:00
saxmatt
fc0583beab
Initial functionality so level 1 users may be allowed to publish or just post drafts.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 12:41:09 +00:00
rboren
5d9dc8f231
Save meta info to DB before doing the publish_post action.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 06:54:09 +00:00
rboren
d392728255
Honor default category in post forms. Bug 182.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 06:31:19 +00:00
saxmatt
ed34ca04d8
Set GUID when posting.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt
c9136856b5
Massive options cleanup and another step of cleaning up the upgrade/install.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt
37aedcd902
Case typo in delete_post API hook. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-28 08:54:44 +00:00
saxmatt
1c01cf7dcf
Bookmarklet escaping fix from Alex
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 08:29:14 +00:00
rboren
ea16450f63
Static pages. Take 1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:35:59 +00:00
rboren
b2fe32b18d
In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-06 01:28:51 +00:00
saxmatt
6c5157a526
Cleaning out some errors and fixing some XHTML 1.1 problems.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-01 08:04:39 +00:00
rboren
d45cb4460a
Delete postmeta when deleting a post. Bug 0000080.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 16:08:03 +00:00
rboren
c1084e521a
Bug 0000163. Confirm comment deletion. Courtesy of BrianMeidell and Kitten.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 04:01:45 +00:00
rboren
8633ffdba4
If the sanitized title is empty, fallback to the post ID for the nicename. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000116
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-24 03:22:49 +00:00