Commit Graph

389 Commits

Author SHA1 Message Date
azaozz
4a50994a4e TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 22:08:17 +00:00
azaozz
80969e073e Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: http://svn.automattic.com/wordpress/trunk@11388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 20:29:26 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
azaozz
5310130057 HTML validity fixes, props hakre, fixes #9432
git-svn-id: http://svn.automattic.com/wordpress/trunk@11375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 20:19:51 +00:00
ryan
c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
ryan
a74facf66a Ampersand validation fix. Props hakre. fixes #9402
git-svn-id: http://svn.automattic.com/wordpress/trunk@11296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 05:58:57 +00:00
azaozz
6c74505f59 Make tags accessible without js on the edit screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 12:13:44 +00:00
azaozz
bf88b244cd Hide text while editor is loading, show html editor on error
git-svn-id: http://svn.automattic.com/wordpress/trunk@11171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 10:34:50 +00:00
ryan
41a3df9cd0 Don't double escape autosaves. fixes #9433
git-svn-id: http://svn.automattic.com/wordpress/trunk@11117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 02:47:41 +00:00
azaozz
fc0c1a2e1b TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 15:26:00 +00:00
ryan
267f508f2f Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 20:21:18 +00:00
azaozz
dee602f501 Show proper error when adding a custom field without a value, props scohoust, fixes #7541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:55:35 +00:00
ryan
72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz
c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
azaozz
7c018a31cf Move hidden span so it's not copied together with the permalink
git-svn-id: http://svn.automattic.com/wordpress/trunk@10754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 02:14:42 +00:00
westi
d66daa8a98 Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@10749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:14:09 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
801705a502 Initialize post_date_gmt for default post to edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:06:04 +00:00
ryan
35eb4bca32 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: http://svn.automattic.com/wordpress/trunk@10722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:16:29 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
azaozz
552b480eb2 Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: http://svn.automattic.com/wordpress/trunk@10528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 18:37:47 +00:00
azaozz
ccd5cea290 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: http://svn.automattic.com/wordpress/trunk@10525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 13:38:02 +00:00
azaozz
981ae0bb18 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: http://svn.automattic.com/wordpress/trunk@10458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 12:11:52 +00:00
azaozz
ab30688c26 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:31:31 +00:00
azaozz
5ce5238272 Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-16 12:58:38 +00:00
azaozz
3cc307471c TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: http://svn.automattic.com/wordpress/trunk@10338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 13:05:16 +00:00
azaozz
b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz
1ff4349ee5 Fix debug notices for bulk edit, fixes #8707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 22:35:08 +00:00
ryan
d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
azaozz
394889ad25 Silence warnings when looking for translations for external plugins for TinyMCE, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 01:12:00 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi
80a0472d7b Balance.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:26:16 +00:00
markjaquith
bf698116e0 Need to blank the password when visibility is public, not unset() it
git-svn-id: http://svn.automattic.com/wordpress/trunk@10106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:04:11 +00:00
ryan
d24130b77b No need to fake post_date for drafts anymore. fixes #6520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 02:46:21 +00:00
ryan
dd7e66c882 Use mb_* to create permalink excerpt. Props janbrasna. fixes #8419
git-svn-id: http://svn.automattic.com/wordpress/trunk@9986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 19:09:13 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
azaozz
3c15f6a8d3 Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 06:37:15 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan
29ab18dcb7 Check proper caps when publising a page. Props DD32. fixes #8208
git-svn-id: http://svn.automattic.com/wordpress/trunk@9701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:34:18 +00:00
ryan
9861eb1a85 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
ryan
6aa0ef87b8 Grammar fix from Speedboxer. fixes #8073
git-svn-id: http://svn.automattic.com/wordpress/trunk@9651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:01:03 +00:00
markjaquith
d6c4fac277 Visibility section of Publish Module for Posts. Pages later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:36:48 +00:00
azaozz
b756fbabcd QE fixes: don't display-filter titles, show QE for newly added cats and tags, fixes #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 09:39:42 +00:00
azaozz
41870c14a8 New design of Quick/Bulk Edit (added some colors and IE fixes), props mdawaffe, see #8144
git-svn-id: http://svn.automattic.com/wordpress/trunk@9604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 02:58:24 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
azaozz
11b5f8dae8 Few more notice fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 11:18:05 +00:00
azaozz
4a5e7ba2e4 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: http://svn.automattic.com/wordpress/trunk@9556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:56:29 +00:00
azaozz
7c063b0b50 Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: http://svn.automattic.com/wordpress/trunk@9509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 13:00:12 +00:00
azaozz
e6b85fc6e0 Add slash to the path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 19:16:29 +00:00
azaozz
bc3fc534cd Fix path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 18:21:00 +00:00
azaozz
24fc4f0c3b Preview fixes: ensure autosave is run at least once on new posts before preview, properly show previews for pending and scheduled posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 13:56:32 +00:00
azaozz
550a4413e9 Remove outdated TinyMCE files, fix loading of translations for default plugins, fixes #7994
git-svn-id: http://svn.automattic.com/wordpress/trunk@9469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 02:12:26 +00:00
ryan
5a7353c246 Validation fixes from Viper007Bond. fixes #8026
git-svn-id: http://svn.automattic.com/wordpress/trunk@9456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 05:03:05 +00:00
azaozz
9fba444f3b Preview for both drafts and published posts/pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 22:47:07 +00:00
ryan
b0e741b6af Default all boxes to open
git-svn-id: http://svn.automattic.com/wordpress/trunk@9446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 20:59:22 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
azaozz
6c46be687a TinyMCE: attempt to load a translation file for external plugins, if not found, try en.js, fixes #7950
git-svn-id: http://svn.automattic.com/wordpress/trunk@9353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 07:32:58 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
azaozz
6ba8661a1f Fix escaping of post meta, props DD32, fixes #7768
git-svn-id: http://svn.automattic.com/wordpress/trunk@9116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 09:40:30 +00:00
ryan
cd7ea183e7 strip slashes before preparing to avoid double escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@9105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:19:11 +00:00
ryan
637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +00:00
azaozz
cfc2109116 Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: http://svn.automattic.com/wordpress/trunk@9064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:30:14 +00:00
ryan
5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
azaozz
e3cc331835 Batch edit: allow removal of selected posts, prevent page parent lock.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 10:30:56 +00:00
azaozz
339e87dc5c Batch editing, first cut, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 13:42:34 +00:00
ryan
e3f6b2b271 phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
azaozz
203530fe88 Publish postbox and post status select updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 12:58:00 +00:00
ryan
6044ee63fa Don't assign default to pass-by-ref var. Not compatible with all PHP versions. see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 05:50:14 +00:00
ryan
2f582d83e7 Inline editing. First cut. Props Aaron Harp. see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-10 22:47:03 +00:00
ryan
19a1e9682b Notice fixes. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:50:11 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
ryan
113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
markjaquith
ce1404129e Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:31:40 +00:00
ryan
7564143444 Sticky Posts, firct cut. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:48:21 +00:00
ryan
ba0677a6ab Eliminate unused var. Props tschai. fixes #7374
git-svn-id: http://svn.automattic.com/wordpress/trunk@8397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 15:49:44 +00:00
ryan
48f963e437 Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: http://svn.automattic.com/wordpress/trunk@8248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:55:45 +00:00
ryan
e455106cdf Don't unpublish pages when a user who can edit publised pages but not publish new pages edits a page. Props jeremyclarke. see #6943 #7070 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-03 06:44:40 +00:00
ryan
4bb7f1c0c4 Don't unpublish posts when a user edit who can edit publised posts but not publih new posts edits a post. Props jeremyclarke. see #7070 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-02 21:01:42 +00:00
ryan
0db872b5a1 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@8011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 22:21:36 +00:00
ryan
05f229cef0 Don't double escape. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:12:17 +00:00
ryan
3846bff484 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:01:00 +00:00
ryan
129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan
0b05038ebb Add editable_slug filter. Props nbachiyski. see #6915
git-svn-id: http://svn.automattic.com/wordpress/trunk@7896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:08:13 +00:00
westi
26529c1423 Revert [7887] see #6915.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 08:15:54 +00:00
westi
ae998b8a76 Make international slugs easier to edit. Fixes #6915 props options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:13:42 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
132ac51a5a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
ryan
aeb2b5bf9f Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:19:43 +00:00
markjaquith
1e668ea293 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:00:59 +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
markjaquith
2aa9ee9d08 Always show 15 media files per page in the media manager (do not use front-of-house ppp setting). props Denis-de-Bernardy. fixes #6334
git-svn-id: http://svn.automattic.com/wordpress/trunk@7458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 20:03:31 +00:00
ryan
c66438659d ngettext fixes from nbachiyski. fixes #6261
git-svn-id: http://svn.automattic.com/wordpress/trunk@7397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:00:09 +00:00
ryan
9f1d38c249 Display 15 posts. Remove no longer needed add-post AJAX action. Props johnhennmacc. fixes #6264
git-svn-id: http://svn.automattic.com/wordpress/trunk@7352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 22:18:32 +00:00
ryan
385677b909 Better date editing from MarkJaquith. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 23:05:16 +00:00
westi
91011917f7 Only replace the last segment of the uri when generating the sample permalink. Fixes #6068.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 21:27:10 +00:00
ryan
feb0644005 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 06:07:53 +00:00
markjaquith
1da923bdfd Post slug fixes from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 22:09:28 +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
b1f0a853da Slug edit fix from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:02:53 +00:00
ryan
bee4e17d23 Show page hierarchy when editing page slugs. fixes #6068
git-svn-id: http://svn.automattic.com/wordpress/trunk@7133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 22:15:30 +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
5f7d1ae0cb Restrict edit.php searches to posts. No pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 22:29:57 +00:00
ryan
884be4169f Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 21:49:49 +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
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
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
f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan
366cfe0d03 Media Library design updates from Andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:13:20 +00:00
westi
251a2ffa0c Make sure we can publish private posts. Fixes #5881, #4206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 16:24:52 +00:00
ryan
48df0bbc2c Manage->Pages design update
git-svn-id: http://svn.automattic.com/wordpress/trunk@6796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 05:51:53 +00:00
ryan
94915febc5 Use full slug, not abbreviated slug, when editing. Props nbachiyski. fixes #5816
git-svn-id: http://svn.automattic.com/wordpress/trunk@6794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 23:19:09 +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
edf9c3607b Fix edit.php h2 text
git-svn-id: http://svn.automattic.com/wordpress/trunk@6733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:16:19 +00:00
ryan
3587caeb53 First cut at post status menu. Needs style fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 20:30:24 +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
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
matt
23770cb94e Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 00:20:52 +00:00
ryan
d3e7affa4b Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: http://svn.automattic.com/wordpress/trunk@6584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:46:13 +00:00
ryan
dab1c792c7 Remove unused variables. Props DD32. fixes #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
ryan
6bed155f5d Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: http://svn.automattic.com/wordpress/trunk@6333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:58:09 +00:00
ryan
1920dc0390 Post filter fixes from mdawaffe. fixes #5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@6287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 23:02:24 +00:00
ryan
62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +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
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +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
ebf520f0d7 Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-11 19:57:43 +00:00
ryan
fd5da3a85e Protect _wp_page_template too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:42:25 +00:00
ryan
e8dc080307 Prevent editing of protected meta keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-18 16:28:11 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +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
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00