Commit Graph

101 Commits

Author SHA1 Message Date
Andrew Nacin 5dbf47294f When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:33:56 +00:00
Andrew Nacin c5eb9e9c61 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 18:30:32 +00:00
Dion Hulse 0197326e4c Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: https://develop.svn.wordpress.org/trunk@14056 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:17:19 +00:00
Ryan Boren 6f1de4e209 Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@14019 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 15:06:42 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ryan Boren 1ca609f8d3 Move wp_shortlink_header to template_redirect. Props miqrogroove. see #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13652 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 21:19:54 +00:00
Ryan Boren 96ace89041 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13635 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:36:38 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Dion Hulse 1fa94a6e1e Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13399 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 11:09:34 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Peter Westwood 1600c4610f Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 16:45:16 +00:00
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Andrew Ozz 3ee2175000 Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257, see #11249
git-svn-id: https://develop.svn.wordpress.org/trunk@12302 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 07:46:36 +00:00
Ryan Boren 7badee2a3a Switch to wp_kses_data() for displayed filtering to avoid slashing. fixes #10949
git-svn-id: https://develop.svn.wordpress.org/trunk@12126 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 17:32:23 +00:00
Ryan Boren 486efbd69f Introduce wp_kses_post() and wp_kses_data() for filtering unescaped data. Fixes slashing of displayed fields. fixes #10949
git-svn-id: https://develop.svn.wordpress.org/trunk@12125 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 17:15:58 +00:00
Ryan Boren 2f034b4430 Schedule trash collection from admin page loads. see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12120 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 18:13:42 +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 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
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
Ryan Boren b7f82a38b5 Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: https://develop.svn.wordpress.org/trunk@11929 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 13:57:48 +00:00
Ryan Boren 7bc6b530f2 rel=canonical for singular pages. see #10115
git-svn-id: https://develop.svn.wordpress.org/trunk@11777 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 16:43:51 +00:00
Ryan Boren 60936ba553 Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11734 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 23:09:47 +00:00
Ryan Boren 48eb83e12b Use _wp_specialchars to get NOQUOTES. see #9934
git-svn-id: https://develop.svn.wordpress.org/trunk@11488 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 19:54:13 +00:00
Ryan Boren 6560835570 Don't use esc_html() for DB bound data. see #9934
git-svn-id: https://develop.svn.wordpress.org/trunk@11460 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 05:05:46 +00:00
Ryan Boren bc3941424e Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11410 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 17:03:19 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Ryan Boren 015190e536 texturize widget titles. Props jtatum. fixes #7084
git-svn-id: https://develop.svn.wordpress.org/trunk@11208 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 21:38:08 +00:00
Peter Westwood 6963c9d1b9 Add relational links to next/prev/parent posts. See #8703 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10815 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:56:03 +00:00
Ryan Boren 2e9a9d1426 Timezone support. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10753 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 00:50:00 +00:00
Andrew Ozz ccaf039e0d Cron spawning improvement, see #9005
git-svn-id: https://develop.svn.wordpress.org/trunk@10521 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 13:32:34 +00:00
Andrew Ozz 4d58681aa4 Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884
git-svn-id: https://develop.svn.wordpress.org/trunk@10442 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 12:59:10 +00:00
Andrew Ozz 19577d0a8d Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10377 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 05:04:58 +00:00
Andrew Ozz 22eddf34d2 Split the script queue in head and footer part, concatenate and compress the default js and css, first run, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10357 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 14:18:51 +00:00
Mark Jaquith 72965bba30 urldecode slugs in the Edit Post screen permalink. props janbrasna. fixes #8418
git-svn-id: https://develop.svn.wordpress.org/trunk@10108 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 09:12:28 +00:00
Ryan Boren 7c243ba2b7 Run wp_user_settings() from admin-header
git-svn-id: https://develop.svn.wordpress.org/trunk@10059 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 05:33:36 +00:00
Andrew Ozz 78b8de31b6 Preview for both drafts and published posts/pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9451 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 22:47:07 +00:00
Ryan Boren ee35ce8253 Make pings_open() and comments_open() aware of old post settings. see #7741
git-svn-id: https://develop.svn.wordpress.org/trunk@9015 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 03:31:26 +00:00
Ryan Boren cb195c411f Close comments for old posts. see #7741
git-svn-id: https://develop.svn.wordpress.org/trunk@8892 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 16:26:37 +00:00
Ryan Boren ed655f5b56 Add wp_print_styles to wp_head. Props rickoman. fixes #7720
git-svn-id: https://develop.svn.wordpress.org/trunk@8854 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-09 21:54:24 +00:00
Andrew Ozz 9ed6500c5b Saving/restoring the user interface state, see #7654
git-svn-id: https://develop.svn.wordpress.org/trunk@8784 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 06:34:43 +00:00
Mark Jaquith cab4a6a625 Silently add /index.php/ to category_base and tag_base for blogs using PATHINFO permalinks. fixes #4536
git-svn-id: https://develop.svn.wordpress.org/trunk@8213 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-29 08:20:25 +00:00
Ryan Boren 163aa65807 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren 6fad8c567f Style loader from mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7970 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:56:04 +00:00
Ryan Boren c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Ryan Boren cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Ryan Boren fef755b796 Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: https://develop.svn.wordpress.org/trunk@6985 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 19:59:12 +00:00
Ryan Boren 579698f0b1 Media library work from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 05:53:47 +00:00