ryan
|
f809fda4e7
|
Allow pluggable arg checking in current_theme_supports. Props dd32. fixes #11611
git-svn-id: http://svn.automattic.com/wordpress/trunk@19682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-05 18:29:40 +00:00 |
|
ryan
|
d1ba11c7d1
|
Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2012-01-04 19:03:33 +00:00 |
|
nacin
|
3f890507d4
|
Hide the toolbar on all subsequent links in the theme preview. props linuxologos, fixes #19610.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-12-20 22:10:47 +00:00 |
|
ryan
|
07ff8b216b
|
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-12-13 23:45:31 +00:00 |
|
nacin
|
e78ef2fc43
|
Check is_array() against get_themes() in get_theme(). props cgrymala, see #19244.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-14 23:56:18 +00:00 |
|
ryan
|
6bbc8d4ce4
|
Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-11-11 14:10:54 +00:00 |
|
nacin
|
89c0895887
|
new does not require by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-18 20:20:59 +00:00 |
|
markjaquith
|
37aae9f46f
|
Give custom background CSS more specificity. props GaryJ. fixes #18698
git-svn-id: http://svn.automattic.com/wordpress/trunk@18886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-05 17:20:43 +00:00 |
|
ryan
|
2edc82cd61
|
* Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598
git-svn-id: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-29 21:41:22 +00:00 |
|
duck_
|
6e2ffdc289
|
Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-19 16:29:03 +00:00 |
|
azaozz
|
dc936c54c1
|
Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-08 20:59:41 +00:00 |
|
azaozz
|
c00346820f
|
Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-08 20:07:15 +00:00 |
|
azaozz
|
b79223097c
|
Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-08 19:25:20 +00:00 |
|
duck_
|
2f51b9be0d
|
Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-05 19:08:15 +00:00 |
|
azaozz
|
4852c5887f
|
Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-02 22:13:55 +00:00 |
|
ryan
|
9907923011
|
Add theme support option for turning on random default headers. fixes #17832
git-svn-id: http://svn.automattic.com/wordpress/trunk@18325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-22 19:09:23 +00:00 |
|
dd32
|
2de2e62337
|
Twenty Eleven trumps it's pretenders. Fixes #17841
git-svn-id: http://svn.automattic.com/wordpress/trunk@18322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-20 03:07:24 +00:00 |
|
nacin
|
2571545ec0
|
@since s/3.2/3.2.0/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-11 04:40:18 +00:00 |
|
ryan
|
81a5f821fb
|
Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-22 23:19:42 +00:00 |
|
nacin
|
fad60afa23
|
Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-22 22:30:05 +00:00 |
|
ryan
|
e0ffff9fb5
|
Fix hiding of header image. Fix radio selection when falling back to randomized default headers. Props lancewillett, kawauso. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-29 19:45:30 +00:00 |
|
ryan
|
67d53316e0
|
Allow selecting previously uploader headers and randomly serving previously uploaded or default headers. Props lancewillett. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-28 23:02:16 +00:00 |
|
westi
|
42f57d4798
|
Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-15 23:44:06 +00:00 |
|
ryan
|
85f1feed84
|
Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-06 04:11:14 +00:00 |
|
markjaquith
|
3509f37ac1
|
I bungled [17214]. Reverting the revert, so it can be reverted properly! see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-04 20:55:59 +00:00 |
|
markjaquith
|
6fc301a723
|
Revert [15611] for 3.1. Needs more time for peer review and iteration. see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-04 07:23:41 +00:00 |
|
ryan
|
2de6f5ba96
|
Ignore unsupported post types in add_theme_support(). Props garyc40. fixes #16073
git-svn-id: http://svn.automattic.com/wordpress/trunk@17213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-03 23:56:42 +00:00 |
|
nacin
|
8a6ec685fb
|
Revert [16915]. Don't honor the page template for the posts page. Deal with this with a better UX in 3.2. see #15513, fixes #15945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-23 17:05:47 +00:00 |
|
ryan
|
587ea006b5
|
Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-21 17:17:58 +00:00 |
|
westi
|
8a261e59e2
|
-- bad white space part deux
git-svn-id: http://svn.automattic.com/wordpress/trunk@17023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 08:42:37 +00:00 |
|
westi
|
c1b7a3ef59
|
If we are previewing don't show the admin bar. See #15856
git-svn-id: http://svn.automattic.com/wordpress/trunk@17020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 08:32:53 +00:00 |
|
nacin
|
4cc8f440e4
|
Add theme_mods option if is_admin. props MarkJaquith, fixes #14828.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 17:39:00 +00:00 |
|
nacin
|
e4698ba1be
|
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712, props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-14 19:19:47 +00:00 |
|
nacin
|
3efc0738b6
|
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-14 19:17:49 +00:00 |
|
ryan
|
14b8509961
|
Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
git-svn-id: http://svn.automattic.com/wordpress/trunk@16915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-14 15:45:19 +00:00 |
|
ryan
|
3949ce12d0
|
Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 21:21:50 +00:00 |
|
nacin
|
0036c52101
|
Make get_header_image() ssl-aware. fixes #14835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-09 17:59:35 +00:00 |
|
nacin
|
4e2fb85913
|
Introduce remove_editor_styles(). fixes #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-04 10:09:00 +00:00 |
|
nacin
|
373a66db0f
|
Introduce remove_custom_background(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-04 09:59:35 +00:00 |
|
nacin
|
72958d1c53
|
Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-03 22:53:01 +00:00 |
|
markjaquith
|
74f17e9850
|
Fix typo in PHPdoc. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 22:56:55 +00:00 |
|
nacin
|
831ffc5483
|
Return true if not is_admin. Tidy. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 00:50:23 +00:00 |
|
nacin
|
efe850aa42
|
Introduce remove_custom_image_header(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 00:16:35 +00:00 |
|
ryan
|
3f72e340d6
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 19:24:38 +00:00 |
|
ryan
|
a6cdc2dea4
|
Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
git-svn-id: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 16:11:44 +00:00 |
|
nacin
|
81a8f2d3ce
|
Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 09:53:55 +00:00 |
|
markjaquith
|
17fbb0e123
|
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: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 07:41:07 +00:00 |
|
scribu
|
b890848aaa
|
Use get_queried_object() in more get_*_template() functions. Fixes #15263
git-svn-id: http://svn.automattic.com/wordpress/trunk@16115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 11:23:10 +00:00 |
|
scribu
|
e2efa78154
|
use get_queried_object() wrappers throughout. See #14015
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 11:02:17 +00:00 |
|
nacin
|
16d0878544
|
Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-28 05:22:45 +00:00 |
|