Commit Graph

134 Commits

Author SHA1 Message Date
Peter Westwood
da46c93af9 Refactor template location code to reduce duplication.
Also make it easier for theme authors to pull in seperate files into templates while making theme overrideable. See #7492.

git-svn-id: https://develop.svn.wordpress.org/trunk@8624 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:18:05 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith
3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Peter Westwood
16e673b165 Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:26:59 +00:00
Peter Westwood
8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren
28ae8ab3dc Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: https://develop.svn.wordpress.org/trunk@8415 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 16:44:06 +00:00
Ryan Boren
bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren
5d786d179c More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:39:11 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren
3aa6501d8e inline docs for wp_admin_css(). Props mdawaffe. see #7033
git-svn-id: https://develop.svn.wordpress.org/trunk@7994 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 21:23:22 +00:00
Ryan Boren
ab6c52cdf7 Use style loader for gears manifest. Props azaozz. fixes #7015
git-svn-id: https://develop.svn.wordpress.org/trunk@7981 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 15:27:28 +00:00
Ryan Boren
0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Ryan Boren
ce3388a5ea Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7976 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 23:24:23 +00:00
Ryan Boren
58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren
9d294b6342 get_archives_link filter. Props codealsatian. fixes #5530 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7959 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 16:43:44 +00:00
Matt Mullenweg
ea8035697d get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7941 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 03:57:09 +00:00
Ryan Boren
5b1eff3aaf Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:33:42 +00:00
Peter Westwood
cc2dd59c98 Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: https://develop.svn.wordpress.org/trunk@7562 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 19:05:22 +00:00
Mark Jaquith
5e779414fd 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: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Ryan Boren
215d0c769c Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: https://develop.svn.wordpress.org/trunk@7477 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 18:33:31 +00:00
Mark Jaquith
9de58b184a Autosave when title has content and loses focus. props ryan. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@7394 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 05:38:58 +00:00
Matt Mullenweg
0d07e27f8e So fresh and so clean, clean.
git-svn-id: https://develop.svn.wordpress.org/trunk@7313 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 17:02:16 +00:00
Ryan Boren
c9a9b9373a Admin color selector. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7249 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:06:03 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
59057e6250 Fix edit comment form tab indices. fixes #5712
git-svn-id: https://develop.svn.wordpress.org/trunk@7032 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 04:53:48 +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
Ryan Boren
98779e9752 Don't show Add Media when editing comments. Props azaozz. fixes #5910
git-svn-id: https://develop.svn.wordpress.org/trunk@6930 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 05:39:04 +00:00
Ryan Boren
679cd738b9 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: https://develop.svn.wordpress.org/trunk@6894 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:11:12 +00:00
Ryan Boren
3c1a115108 htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: https://develop.svn.wordpress.org/trunk@6767 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 07:29:36 +00:00
Ryan Boren
7b16c13118 Show media upload buttons when RTE is not enabled. Props tellyworth. fixes #5764
git-svn-id: https://develop.svn.wordpress.org/trunk@6746 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 04:21:22 +00:00
Ryan Boren
3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren
4be56a17b1 TinyMCE 3.0 Final from azaozz. see #5674
git-svn-id: https://develop.svn.wordpress.org/trunk@6694 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 18:10:46 +00:00
Peter Westwood
4f1971cfdb Switch from abs(intval()) to absint(). See #4762.
git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 18:48:38 +00:00
Ryan Boren
2b0713315f TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674
git-svn-id: https://develop.svn.wordpress.org/trunk@6632 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 15:44:05 +00:00
Ryan Boren
c606c5bc63 Get named sidebars. Props AaronCampbell. fixes #5615
git-svn-id: https://develop.svn.wordpress.org/trunk@6609 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 04:51:29 +00:00
Matt Mullenweg
93f3010e7f Don't try fancy tab focus if the WYSIWYG isn't active. Hat tip: skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@6601 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-12 01:55:51 +00:00
Ryan Boren
edbba502ed Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: https://develop.svn.wordpress.org/trunk@6567 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 19:01:32 +00:00
Matt Mullenweg
090108bfc8 Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
git-svn-id: https://develop.svn.wordpress.org/trunk@6544 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 08:03:29 +00:00
Ryan Boren
5546161120 Add separator location arg to wp_title. Props cpoteet. fixes #4407
git-svn-id: https://develop.svn.wordpress.org/trunk@6538 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 20:45:17 +00:00
Peter Westwood
c4b97ae9e3 Beautify. Fixes #5561 props fitztrev.
git-svn-id: https://develop.svn.wordpress.org/trunk@6536 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 18:21:19 +00:00
Ryan Boren
4ed01307bb Localize calendar caption. Props takayukister. fixes #5562
git-svn-id: https://develop.svn.wordpress.org/trunk@6533 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-01 18:38:32 +00:00
Ryan Boren
d8876f4dba language_attributes() improvements from ionfish. fixes #5393
git-svn-id: https://develop.svn.wordpress.org/trunk@6408 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:44:02 +00:00
Ryan Boren
3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
930a39d235 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: https://develop.svn.wordpress.org/trunk@6343 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 21:40:00 +00:00
Ryan Boren
dd19fe2a27 wp_get_archives caching. fixes #5275
git-svn-id: https://develop.svn.wordpress.org/trunk@6296 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 06:03:11 +00:00
Peter Westwood
3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Ryan Boren
f1aa921ebf WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6192 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 17:29:34 +00:00
Mark Jaquith
11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Ryan Boren
5aecb8912f Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6148 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:51:00 +00:00