Commit Graph

10881 Commits

Author SHA1 Message Date
Ryan Boren 2ca56ce091 Start roughing in GUU. see #10973
git-svn-id: https://develop.svn.wordpress.org/trunk@12066 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 16:11:59 +00:00
Andrew Ozz 0c847d8256 Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12065 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:51:16 +00:00
Mark Jaquith 8276810f7f pull thumbnail scripts out of Page admin pages. see #10928. props scribu, gracious even in reversion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12064 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:46:10 +00:00
Peter Westwood 4299a36395 Display a smaller filename in the theme editor urls and make theme files editable again. Fixes #10974.
git-svn-id: https://develop.svn.wordpress.org/trunk@12063 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:39:04 +00:00
Ryan Boren 83ad1ab1a8 Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: https://develop.svn.wordpress.org/trunk@12062 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:28:44 +00:00
Mark Jaquith 395f0b9e2d Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: https://develop.svn.wordpress.org/trunk@12061 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:10:46 +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
Mark Jaquith d3f1d779f3 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12059 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:36:21 +00:00
Ryan Boren 945ae5b936 Make get_adjacent_post work with custom post_types. Props prettyboymp. fixes #10717
git-svn-id: https://develop.svn.wordpress.org/trunk@12058 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:31:20 +00:00
Mark Jaquith dabaeac026 Allow pages to have thumbnails too. Props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12056 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 14:44:17 +00:00
Andrew Ozz a68beea184 Separate fields for image alt and image caption in the uploader.
git-svn-id: https://develop.svn.wordpress.org/trunk@12055 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 05:09:41 +00:00
Mark Jaquith 12eb2c5a71 Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12054 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 13:58:44 +00:00
Peter Westwood 94a2054bf5 Ensure we always have author info to check capabilities with. Fixes notice on Add new post page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12053 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 12:06:39 +00:00
Peter Westwood c61e6f6bbd Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12052 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 11:50:59 +00:00
Andrew Ozz fa3370c044 Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: https://develop.svn.wordpress.org/trunk@12051 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 06:14:16 +00:00
Andrew Ozz 226abaca88 Smoooth animations for comment move to trash and undo, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12050 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:59:03 +00:00
Andrew Ozz 6b03fbb997 Bring WP_Dependencies::dequeue() in line with WP_Dependencies::enqueue(), props chrisbliss18, fixes #9870
git-svn-id: https://develop.svn.wordpress.org/trunk@12049 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:51:30 +00:00
Peter Westwood 8427416edf Ensure that Title is always set for plugin data as it was before. see #8964.
git-svn-id: https://develop.svn.wordpress.org/trunk@12048 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 17:01:07 +00:00
Ryan Boren 2d890657ea Use array_intersect_assoc()
git-svn-id: https://develop.svn.wordpress.org/trunk@12047 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 16:20:52 +00:00
Mark Jaquith d580bc1971 Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
git-svn-id: https://develop.svn.wordpress.org/trunk@12046 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 05:18:29 +00:00
Mark Jaquith 47db906431 Fix wp_list_comments() ol/ul/div logic oversight. props junsuijin. fixes #10742
git-svn-id: https://develop.svn.wordpress.org/trunk@12045 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:47:35 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Peter Westwood 097a918639 Restore the functionality of the theme_root filter. See #10467.
git-svn-id: https://develop.svn.wordpress.org/trunk@12043 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:45:32 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Mark Jaquith 74f844388c Director of Whitespace rules default-filters.php with an iron fist
git-svn-id: https://develop.svn.wordpress.org/trunk@12041 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 17:27:45 +00:00
Mark Jaquith 12d1c6e5cc Remove redundant !empty() checks. props filosofo. see #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12040 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 14:47:04 +00:00
Mark Jaquith 066c4520df Add wp-post-image CSS class to post images. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12039 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 14:27:04 +00:00
Mark Jaquith 8b3529decc Revert errant local theme modifications in [12036]. Note to self: svn status is your friend.
git-svn-id: https://develop.svn.wordpress.org/trunk@12038 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 14:20:35 +00:00
Mark Jaquith 492763166b Remove close TB call that was removed earlier. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12037 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 13:58:10 +00:00
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Mark Jaquith 45b4ea5807 Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12035 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:31:48 +00:00
Mark Jaquith da87e95962 Do not do a canonical redirect for negated author query strings. fixes #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12034 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 09:13:38 +00:00
Peter Westwood a8bf4adf41 Page Templates now have there full path specified so no need to prepend WP_CONTENT_DIR. Fixes #10953 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12033 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 20:46:09 +00:00
Ryan Boren 52c593458d Strip commas and spaces from charset. Props Jose Carlos Norte
git-svn-id: https://develop.svn.wordpress.org/trunk@12032 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 16:21:28 +00:00
Mark Jaquith 6d99e52613 Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12031 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 08:42:32 +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 aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Mark Jaquith 529e336c1e Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716
git-svn-id: https://develop.svn.wordpress.org/trunk@12028 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 02:30:51 +00:00
Ryan Boren 05458bb414 Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12027 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:36:24 +00:00
Ryan Boren d7367f405a Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: https://develop.svn.wordpress.org/trunk@12026 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:04:54 +00:00
Mark Jaquith 1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Ryan Boren 8bd343a22e Bump db version
git-svn-id: https://develop.svn.wordpress.org/trunk@12024 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 18:50:16 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +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 8e956b6488 Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: https://develop.svn.wordpress.org/trunk@12021 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 11:26:59 +00:00
Andrew Ozz 2dc1de999c Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@12020 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 00:37:26 +00:00
Mark Jaquith 77749a6009 First pass at canonical post image template functions. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12019 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 08:31:21 +00:00
Mark Jaquith a3bf844ed3 Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@12018 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:41:42 +00:00
Andrew Ozz cfad60032c Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12017 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:24:05 +00:00
Andrew Ozz 158ddd44ef Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@12016 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 23:28:06 +00:00