Lance Willett
90df91666c
Twenty Twelve: correctly enqueue the fonts CSS file, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:19:50 +00:00
potbot
326b2db4fa
POT, generated from r20007
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20008 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 04:17:41 +00:00
Lance Willett
91511b6a18
Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978 .
...
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.
Props iandstewart for the original JS file and concept.
git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett
2a1dff3136
Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:48:34 +00:00
potbot
fc85a24fea
POT, generated from r20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20005 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:17:50 +00:00
Lance Willett
4709676a6f
Twenty Twelve: remove test lines from r20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20004 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:14:00 +00:00
Lance Willett
28592c377a
Twenty Twelve: use the time element for image attachment views, and esc_html()
for get_the_date()
in the element's output. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20003 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:10:53 +00:00
Andrew Nacin
563c3231b2
Move the template loading functions from wp-includes/theme.php to wp-includes/template.php. This includes get_query_template(), locate_template(), and friends. see #20103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20002 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 01:49:49 +00:00
Andrew Nacin
97adddcaf7
Always return an absolute path in get_raw_theme_root() and get_theme_roots().
...
These functions were changed in [15641] to avoid any calculations when only one theme directory is registered. However, the short-circuit ended up being relative to WP_CONTENT_DIR, rather than absolute. This broke situations where theme roots are outside the content directory (technically allowed), and made return values inconsistent, as when multiple roots were registered, absolute paths were always returned.
fixes #17597 . see #20103 . see #14911 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20001 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 01:28:56 +00:00
Ryan Boren
89e9bcc1d6
Pinking shears 6-20000
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20000 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-27 19:46:52 +00:00
Ryan Boren
5648306064
Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19999 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-27 19:23:03 +00:00
bumpbot
b9736c98e6
Compress scripts/styles: 3.4-alpha-19998.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19998 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:31:03 +00:00
bumpbot
071026ba26
Compress scripts/styles: 3.4-alpha-19996.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19997 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:16:01 +00:00
Andrew Nacin
fefbd866d6
Correct [19952]. see #19592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19996 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:15:08 +00:00
Daryl Koopersmith
9f29c06954
Introduce new theme customizer to replace theme preview. Rough first pass. props koopersmith, ocean90. see #19910 .
...
Merges in http://plugins.svn.wordpress.org/gandalf/branches/dev/ rev 510148.
git-svn-id: https://develop.svn.wordpress.org/trunk@19995 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:12:43 +00:00
bumpbot
8ba7abcdef
Compress scripts/styles: 3.4-alpha-19994.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19994 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:15:56 +00:00
Andrew Ozz
d3cecfc612
Use json_encode when outputting translated strings for use in TinyMCE, fixes #20119
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19993 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:11:29 +00:00
Andrew Nacin
eecaca2457
Add jQuery postMessage v 0.2. Dual licensed MIT/GPL. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19992 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:04:17 +00:00
bumpbot
31e28f6f2e
Compress scripts/styles: 3.4-alpha-19991.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19991 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 00:01:02 +00:00
Andrew Ozz
ffdbe9be58
TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19990 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 23:46:04 +00:00
bumpbot
076239d0ed
Compress scripts/styles: 3.4-alpha-19989.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19989 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 22:30:59 +00:00
Andrew Ozz
d1eb773689
Close TinyMCE popups/dialogs when clicking on the background, fixes #20117
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19988 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 22:29:46 +00:00
Andrew Nacin
682b2a4b6d
Remove out-of-place double quote. props niallkennedy. fixes #20113 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19987 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 20:49:54 +00:00
Andrew Ozz
cb306d5f4b
Add new string to the proper i18n object, see #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19986 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 20:42:36 +00:00
bumpbot
d3d4cb95e8
Compress scripts/styles: 3.4-alpha-19985.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19985 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 19:30:59 +00:00
Andrew Ozz
1a357fa920
Don't show edit/remove image buttons in the visual editor when an image is floated, doesn't have a caption and there is text in the same paragraph, props solarissmoke, fixes #19611
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19984 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 19:18:59 +00:00
bumpbot
2a0b86ea08
Compress scripts/styles: 3.4-alpha-19983.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19983 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 02:00:58 +00:00
Andrew Ozz
0fa723245a
HTML in image captions, first run, see #18311
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19982 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 01:58:18 +00:00
Peter Westwood
72ade0057d
Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19981 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-23 18:16:46 +00:00
Andrew Nacin
7327a30867
Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19980 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-23 14:42:01 +00:00
Andrew Nacin
082f9f9739
Use version_compare() when checking installed themes in the theme installer. fixes #20097 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19979 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 14:03:59 +00:00
bumpbot
ce89e9f68f
Compress scripts/styles: 3.4-alpha-19978.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19978 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 03:15:57 +00:00
Andrew Ozz
d67e4c47f3
Use native TinyMCE popup for the image properties dialog, fixes #20096 , see #20094
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19977 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 03:05:25 +00:00
Jon Cave
770361f4e3
Reduce memory usage in wp-includes/kses.php by switching unnecessary empty arrays to boolean. Fixes #20017 .
...
safecss_filter_attr() block for style tags must be moved out of the is_array() only branch of wp_kses_attr() to accommodate for this.
git-svn-id: https://develop.svn.wordpress.org/trunk@19976 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 20:33:44 +00:00
Jon Cave
5fcb582c25
Stop invalid SQL syntax by bailing from wp_get_object_terms() if $object_ids or $taxonomies is empty. Props batmoo. Fixes #19952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19975 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 20:20:50 +00:00
Jon Cave
e60c17736d
Overhaul mysql2date() documentation and parameter names. See #20056 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19974 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 20:03:11 +00:00
Jon Cave
3b607e3675
Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19973 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:55:18 +00:00
bumpbot
ccd9fbbbbb
Compress scripts/styles: 3.4-alpha-19972.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19972 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:46:03 +00:00
Daryl Koopersmith
01cb46f5d7
Second pass at infinite scroll for themes, including polling, fixed paging, and fewer ajax calls. props DH-Shredder, helenyhou, garyc40. see #19815 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19971 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:44:10 +00:00
Jon Cave
a92c4a6f2c
Ensure that a category is part of the query before redirecting permalink structures containing %category%. Fixes #19241 .
...
This fixes incorrect canonical redirects for singular queries using custom rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@19970 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 19:00:06 +00:00
Andrew Nacin
b21b3b75f3
Twenty Twelve always trumps its pretenders. see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19969 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 17:39:05 +00:00
Andrew Nacin
7c0a450920
Add template names to theme pots. see #6007 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00
bumpbot
7399c1edc8
Compress scripts/styles: 3.4-alpha-19967.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19967 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:45:56 +00:00
Andrew Nacin
f5e87e48af
Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19966 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:35:05 +00:00
Andrew Nacin
80b14c9de7
Allow bundled plugin headers to be translated. see #19597 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19965 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:26:08 +00:00
potbot
c82d0d0b72
POT, generated from r19963
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19964 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:18:15 +00:00
Andrew Nacin
0bd00272c5
Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19963 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 14:49:38 +00:00
potbot
91e62fb960
POT, generated from r19961
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19962 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 07:18:03 +00:00
Lance Willett
df599d08f0
Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19961 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:41:20 +00:00
Lance Willett
c3e0e18f8a
Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19960 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:34:36 +00:00