Commit Graph

239 Commits

Author SHA1 Message Date
ryan
2ca92d8905 Don't run url_to_postid on admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:22:33 +00:00
markjaquith
e6f396880b Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan
1c0b403516 Redirect consistency when saving pages and posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:55:24 +00:00
ryan
93d9dc3c21 s/Post/Page/. Props Denis-de-Bernardy. fixes #6361
git-svn-id: http://svn.automattic.com/wordpress/trunk@7490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:38:30 +00:00
westi
da305bbce0 Tabindex for the Preview/View links. See #6352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 22:19:25 +00:00
westi
32d28d7be2 Tab index love for Write>Page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 10:29:54 +00:00
markjaquith
44c9c17fe4 Don't show 'Go Back' link for drafts
git-svn-id: http://svn.automattic.com/wordpress/trunk@7439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:35:27 +00:00
markjaquith
62642cb9fe "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan
d95e0cf394 s/post/page/. Props xibe and ninjaWR. fixes #6260
git-svn-id: http://svn.automattic.com/wordpress/trunk@7350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 20:42:29 +00:00
markjaquith
0e881155a8 Sync "Last edited" on Edit Page screen to that on Edit Post screen. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:34:04 +00:00
markjaquith
0f9573513d Bring Edit Page screen up to parity with Edit Post screen WRT timestamps. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:26:53 +00:00
markjaquith
1ef02206f1 Fix reference to page as "post"
git-svn-id: http://svn.automattic.com/wordpress/trunk@7340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:18:17 +00:00
westi
e65d6369f2 Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:57:47 +00:00
westi
fe5387bbbc Add an action to allow plugins to add extra related links to the list. Fixes #6232.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:40:22 +00:00
ryan
d74331ba32 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 06:14:03 +00:00
ryan
7a1db035a2 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 23:58:31 +00:00
matt
2085ea1c9a Date display and editing tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 08:17:59 +00:00
westi
0070e011a2 Add description for custom fields on write>page. Fixes #6190 props hansengel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 17:36:26 +00:00
ryan
0b22d34ee6 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: http://svn.automattic.com/wordpress/trunk@7240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:54:48 +00:00
matt
7f77979b0a Visual and English tweaks throughout.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:23:07 +00:00
matt
c9b93dc282 Make deletes hover red, rawr.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 18:35:24 +00:00
matt
932ffd6ed7 A number of style tweaks; widen up a little; starting to add contextual help to various forms; catching up unloved forms with new UI guidelines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 10:05:54 +00:00
matt
878d16ecc6 Clean up comments links, link to more comments pages not posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 10:09:14 +00:00
ryan
4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan
08ed4d3b40 Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: http://svn.automattic.com/wordpress/trunk@7145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:15:34 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
846991d804 Fix private post toggle
git-svn-id: http://svn.automattic.com/wordpress/trunk@7120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 06:26:13 +00:00
ryan
d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan
4ecde2cdbb Set max width on .wrap. Props mt. fixes #6036
git-svn-id: http://svn.automattic.com/wordpress/trunk@7101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 08:08:17 +00:00
ryan
67fd73834b Update 'See Comments on this Page' link
git-svn-id: http://svn.automattic.com/wordpress/trunk@7085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 07:37:15 +00:00
ryan
83908c9078 Add page saved notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 20:53:07 +00:00
ryan
dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
5afb77ccdd Submitbox style changes from mt. see #5949
git-svn-id: http://svn.automattic.com/wordpress/trunk@6969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 03:45:19 +00:00
ryan
b666039878 Move submitboxes to be the first thing in the poststuff div. Props fitztrev. fixes #5947
git-svn-id: http://svn.automattic.com/wordpress/trunk@6966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 02:04:17 +00:00
ryan
00336b9a98 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 22:26:56 +00:00
ryan
e44e1b7202 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 22:20:19 +00:00
ryan
ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan
eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan
2c874f5189 Admin styling updates from mt. fixes #5940
git-svn-id: http://svn.automattic.com/wordpress/trunk@6950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:27:23 +00:00
ryan
efc3b70996 Add Related section to all write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:43:06 +00:00
ryan
3378e3b20b Lose the breaks and do it right
git-svn-id: http://svn.automattic.com/wordpress/trunk@6948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:31:56 +00:00
ryan
9183c9ee15 Add h2 headers to the write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 22:49:04 +00:00
ryan
b9c63b6f11 Change some meta box titles
git-svn-id: http://svn.automattic.com/wordpress/trunk@6932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 06:50:52 +00:00
ryan
4da577f121 Add Related section to edit page form
git-svn-id: http://svn.automattic.com/wordpress/trunk@6927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 03:16:47 +00:00
ryan
7d06b85a36 Move timestamp to submitbox. Put it in a slidedown. see #5846
git-svn-id: http://svn.automattic.com/wordpress/trunk@6904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 22:07:57 +00:00
ryan
2169d4e439 submit box actions hooks from filosofo. fixes #5873
git-svn-id: http://svn.automattic.com/wordpress/trunk@6901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:38:01 +00:00
ryan
a3b1336f7f Do page, not post, meta boxes. Props arickmann. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:20:29 +00:00
ryan
1e4cf4d54d Fix delete page nonce
git-svn-id: http://svn.automattic.com/wordpress/trunk@6787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:18:11 +00:00
ryan
62a4e6518b Fix display of dates for drafts and future posts. Props DD32 and ffemtcj. see #5774
git-svn-id: http://svn.automattic.com/wordpress/trunk@6768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 08:40:00 +00:00
ryan
7f78733f6b Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 21:06:15 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan
22599d1bc1 Make postbox IDs unique
git-svn-id: http://svn.automattic.com/wordpress/trunk@6671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 17:45:11 +00:00
ryan
0bf9c81fb5 Update edit page form. Post boxes need fixin'
git-svn-id: http://svn.automattic.com/wordpress/trunk@6665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:11:54 +00:00
ryan
0a5781da6e Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: http://svn.automattic.com/wordpress/trunk@6567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:01:32 +00:00
westi
9f9a2b862a Fix html for post customfields entry box. Fixes #5068 props minusfive.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:36:35 +00:00
ryan
8e547a3677 attribute_escape()s and int casts. see #4333
git-svn-id: http://svn.automattic.com/wordpress/trunk@5543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:41:04 +00:00
rob1n
44088f5463 Add id attribute where it's only name. fixes #3696
git-svn-id: http://svn.automattic.com/wordpress/trunk@5323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 00:47:01 +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
a5dc6a5271 wp-admin colonectomy by foolswisdom. fixes #3630
git-svn-id: http://svn.automattic.com/wordpress/trunk@4787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 07:43:56 +00:00
ryan
8c6162e883 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: http://svn.automattic.com/wordpress/trunk@4760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:32:54 +00:00
markjaquith
8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +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
markjaquith
deb53f7027 No need to backslash escape single quotes and line breaks when using js_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 06:04:39 +00:00
ryan
cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +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
c14edc434a This is vestigal
git-svn-id: http://svn.automattic.com/wordpress/trunk@4397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-15 01:44:37 +00:00
ryan
b5741c1270 Uploader improvements from mdawaffe. fixes #3191
git-svn-id: http://svn.automattic.com/wordpress/trunk@4274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-03 07:15:13 +00:00
ryan
13eb3fbb0d Add and use delete class on delete buttons. Props mdawaffe. fixes #3187
git-svn-id: http://svn.automattic.com/wordpress/trunk@4267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-02 18:34:08 +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
f600dfacfa Capitalization fixes from foolswisdom and davidosier. fixes #3077
git-svn-id: http://svn.automattic.com/wordpress/trunk@4125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 01:47:01 +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
c4a4c6c371 autosave span from masquerade
git-svn-id: http://svn.automattic.com/wordpress/trunk@4084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 07:26:48 +00:00
ryan
fbfe98308d Custom field AJAX fix from mdawaffe. fixes #2970
git-svn-id: http://svn.automattic.com/wordpress/trunk@4029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-23 17:14:51 +00:00
matt
157786ecaa Some renames
git-svn-id: http://svn.automattic.com/wordpress/trunk@3999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-06 04:27:45 +00:00
ryan
f02a7931d8 Validation fixes from leftjustified. fixes #2907
git-svn-id: http://svn.automattic.com/wordpress/trunk@3983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 20:28:02 +00:00
ryan
281418c54e Add delete page nonce. fixes #2847
git-svn-id: http://svn.automattic.com/wordpress/trunk@3932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 07:01:16 +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
e232ef9a32 js_escape() in onclicks. fixes #2851
git-svn-id: http://svn.automattic.com/wordpress/trunk@3907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 01:28:08 +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
e92d1c8341 Fix cap. Props ryanscheuermann. fixes #2723
git-svn-id: http://svn.automattic.com/wordpress/trunk@3775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-17 21:32:16 +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
ryan
a7337fded7 tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: http://svn.automattic.com/wordpress/trunk@3664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 07:50:33 +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
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
c8e61c99b8 Oops. Missing paren.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:23:09 +00:00
ryan
0cda0d89f0 Check Published for future posts. fixes #2488
git-svn-id: http://svn.automattic.com/wordpress/trunk@3560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:00:19 +00:00
ryan
2fc8c248b3 Add Publish button for pages. fixes #2451
git-svn-id: http://svn.automattic.com/wordpress/trunk@3550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 05:57:54 +00:00
ryan
e297c36253 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: http://svn.automattic.com/wordpress/trunk@3541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:29:33 +00:00
ryan
d6d431c1be 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: http://svn.automattic.com/wordpress/trunk@3513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 09:56:02 +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
19b29d08ee Check upload_files cap for inline uploader. Props David House and doit-cu. fixes #2302
git-svn-id: http://svn.automattic.com/wordpress/trunk@3456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 19:16:31 +00:00
ryan
f7ed2d60d3 Relocate edit_page_form hook for consistency. Props Denis-de-Bernardy. fixes #2118
git-svn-id: http://svn.automattic.com/wordpress/trunk@3434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 22:42:45 +00:00
ryan
410206ab66 dbx hooks from Owen. fixes #2250
git-svn-id: http://svn.automattic.com/wordpress/trunk@3415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:44:42 +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
e1f22d2364 Restore accidental reversion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 10:03:27 +00:00
ryan
544842e3dc Big tiny fixes from skeltoac. fixes #1897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 17:47:29 +00:00
matt
32daaee631 Some changes and tweaks to how the inline image uploading works.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:19:19 +00:00
ryan
5f5430e9dc A button called Save. Props morydd. fixes #1411
git-svn-id: http://svn.automattic.com/wordpress/trunk@3100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:15:24 +00:00
ryan
6705b20ff7 TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: http://svn.automattic.com/wordpress/trunk@3015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 19:17:08 +00:00
ryan
acfd349d19 Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834
git-svn-id: http://svn.automattic.com/wordpress/trunk@2994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:40:43 +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
0b735b842f Image uploading for pages. Props skeltoac. fixes #1759
git-svn-id: http://svn.automattic.com/wordpress/trunk@2951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-14 21:52:56 +00:00
ryan
14eb9ebc01 Partial migration to roles.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-21 05:13:49 +00:00
matt
8f184fb7a3 Fixes #972 for 1.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@2826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:06:04 +00:00
matt
d171aa7ec4 Move JS below edit form, fixes #1555
git-svn-id: http://svn.automattic.com/wordpress/trunk@2804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-23 07:46:33 +00:00
matt
77e8b6fcc4 Clap on Clap off
git-svn-id: http://svn.automattic.com/wordpress/trunk@2789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-18 01:51:59 +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
8f46d13348 More places where WYSIWYG should be triggered
git-svn-id: http://svn.automattic.com/wordpress/trunk@2749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-04 09:26:32 +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
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
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
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
matt
1f9a608be9 User data migration should be complete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 08:32:44 +00:00
ryan
8d5745bfb4 Fix strtotime warning. http://mosquito.wordpress.org/view.php?id=981
git-svn-id: http://svn.automattic.com/wordpress/trunk@2412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-06 05:48:41 +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
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
9ae063a5ed Don't show template dropdown if there's only one: http://mosquito.wordpress.org/view.php?id=530
git-svn-id: http://svn.automattic.com/wordpress/trunk@2203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 10:44:53 +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
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
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
d8eca12969 Better wording
git-svn-id: http://svn.automattic.com/wordpress/trunk@1934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 02:57:41 +00:00
saxmatt
4ceffc2672 Make page editing a bit more advanced.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 02:13:47 +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
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
rboren
60263c83d9 Make button save "Save Page" instead of "Create New Page" when editing an existing page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-28 04:01:51 +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
8050445860 Fix static page editing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 01:32:20 +00:00
saxmatt
164fa8588e Abstract quicktag code and don't show if it's Safari.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 17:51:33 +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
rboren
a63103125e Static pages. Take 1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:58:19 +00:00