Commit Graph

100 Commits

Author SHA1 Message Date
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Mark Jaquith 647422ad33 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin 7be12299b7 Merge two strings in JS, which were merged elsewhere some time ago.
git-svn-id: https://develop.svn.wordpress.org/trunk@16248 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:52:02 +00:00
Mark Jaquith 018429a9f6 Do our return falses. Props duck_. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:58:04 +00:00
Mark Jaquith ef54c47f7a add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Nikolay Bachiyski f4084990ea Focus on category field when adding a new category in the write panel
git-svn-id: https://develop.svn.wordpress.org/trunk@14940 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 09:17:40 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ryan Boren afc24755fc autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: https://develop.svn.wordpress.org/trunk@14663 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:03:46 +00:00
Dion Hulse 7f9bee2845 Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Dion Hulse c1fe068ec6 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: https://develop.svn.wordpress.org/trunk@14387 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:44 +00:00
Dion Hulse 632de8561e Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: https://develop.svn.wordpress.org/trunk@14125 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:54:44 +00:00
Andrew Nacin 7456b2d56c Fix display of 'enter title here'. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13969 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:27:46 +00:00
Andrew Nacin 76049e428d Add 'enter title here' text to title box. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13964 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 10:23:17 +00:00
Dion Hulse ff6575838c Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: https://develop.svn.wordpress.org/trunk@13909 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:16:55 +00:00
Dion Hulse da2927d104 Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13855 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:37:10 +00:00
Ryan Boren 0a2d1ad6ec Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:06:14 +00:00
Ryan Boren ab099ded21 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13410 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:04 +00:00
Andrew Ozz bca05ce950 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: https://develop.svn.wordpress.org/trunk@13195 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 11:20:15 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Andrew Ozz c2b584a91b Validate date/time fields for posts and comments, fixes #10309
git-svn-id: https://develop.svn.wordpress.org/trunk@12318 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 09:56:20 +00:00
Andrew Ozz 5988aa12b1 Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107
git-svn-id: https://develop.svn.wordpress.org/trunk@12159 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 21:54:52 +00:00
Andrew Ozz 5c564f80b5 Fix tag input tip in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@12114 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 08:43:17 +00:00
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Andrew Ozz 459e0bcfc9 Fix tags and categories postboxes in PressThis
git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 07:30:10 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 6db1862bd7 Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
git-svn-id: https://develop.svn.wordpress.org/trunk@11879 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 04:11:16 +00:00
Andrew Ozz a7db9e2ac1 Fix the test for autosave in post.js, fixes #10135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11637 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-25 06:03:14 +00:00
Andrew Ozz adda656922 Ensure autosave is run before showing preview for new posts/pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@11466 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 11:04:00 +00:00
Andrew Ozz b4511b71fd Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: https://develop.svn.wordpress.org/trunk@11224 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 21:31:07 +00:00
Andrew Ozz 759fde9021 jQuery 1.3.2 and UI 1.7.1, may still have some regressions, add screen columns setting to the write/edit post/page screen options, fixes #8867
git-svn-id: https://develop.svn.wordpress.org/trunk@10834 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 14:29:22 +00:00
Andrew Ozz c1eaa022ba Don't block the Publish button after adding new category, fixes #9174
git-svn-id: https://develop.svn.wordpress.org/trunk@10596 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 18:49:47 +00:00
Andrew Ozz 7e830e17c4 Show comments on the Edit Post screen in separate postbox
git-svn-id: https://develop.svn.wordpress.org/trunk@10480 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 03:41:19 +00:00
Andrew Ozz aae58c3556 Fix Press This tags input, fixes #8743
git-svn-id: https://develop.svn.wordpress.org/trunk@10374 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-18 00:56:15 +00:00
Andrew Ozz 80fb5c79ce Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Andrew Ozz 416baab11a Minify all js and add the non-minified files as .dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@10291 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-02 15:08:58 +00:00
Andrew Ozz 077540b9af Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: https://develop.svn.wordpress.org/trunk@10258 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-27 12:18:38 +00:00
Andrew Ozz fdfc9ec532 Fix l10n bug in post taxonomy js, props tellyworth, fixes #8717
git-svn-id: https://develop.svn.wordpress.org/trunk@10255 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-26 03:09:32 +00:00
Ryan Boren 3c7eca56ab Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: https://develop.svn.wordpress.org/trunk@10222 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 19:12:26 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 46e0dfd13f Hide slug box by default. Allow turning it on via screen options. fixes #8332
git-svn-id: https://develop.svn.wordpress.org/trunk@9956 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 22:35:01 +00:00
Mark Jaquith ea4423bab7 Better handling of text for submit button on already scheduled pages/posts
git-svn-id: https://develop.svn.wordpress.org/trunk@9678 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 08:39:39 +00:00
Andrew Ozz 054a6aa047 Keep state for image size, alignment and url in the uploader and for categories view on the write page, fixes #7520
git-svn-id: https://develop.svn.wordpress.org/trunk@9654 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 03:07:39 +00:00
Mark Jaquith fa2bd6f96e Visibility section of Publish Module for Posts. Pages later.
git-svn-id: https://develop.svn.wordpress.org/trunk@9639 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 18:36:48 +00:00
Andrew Ozz 9f5fe913ec Styling for custom fields
git-svn-id: https://develop.svn.wordpress.org/trunk@9564 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 02:15:53 +00:00
Andrew Ozz cf9e769f9d Fix adding similar tags
git-svn-id: https://develop.svn.wordpress.org/trunk@9542 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 02:54:35 +00:00
Andrew Ozz baac11eb10 Fixes for choose tag from tag cloud and reply to comment from admin
git-svn-id: https://develop.svn.wordpress.org/trunk@9520 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 01:44:10 +00:00
Andrew Ozz 2dde47a9f2 Add "Choose from popular tags" to the tags postbox
git-svn-id: https://develop.svn.wordpress.org/trunk@9518 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 23:15:59 +00:00
Mark Jaquith 34fed9014b Update to publish box styles. More horizontal room, consistent button placement, better for i18n, better wording.
git-svn-id: https://develop.svn.wordpress.org/trunk@9491 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 07:06:36 +00:00