Jon Cave
8039f91954
Echo "WordPress.org" as well as translating it in the Meta widget. See #19603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19838 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:52:42 +00:00
Andrew Nacin
fc12b9fa10
Add a translator's comment. see #19924 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19837 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:43:26 +00:00
Andrew Nacin
e92b79e31f
Do RTL detection based on a translated string, rather than a hardcoded list. Makes things a bit cleaner. fixes #19924 , fixes #19600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19836 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:36:24 +00:00
Andrew Nacin
d0ec0de49d
Translate TinyMCE's spellchecker languages. props SergeyBiryukov, fixes #19962 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19833 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:13:06 +00:00
Andrew Ozz
469745d625
Move an unsightly semicolon to where it belongs in wp_localize_script(), props tw2113, fixes #19830
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19832 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 18:52:57 +00:00
Andrew Ozz
4f500fdb56
Update TinyMCE to 3.4.8, fixes #19969 , fixes #19936 , fixes #19741
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19830 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 22:23:27 +00:00
Andrew Nacin
10d17e6e29
Use translate, not translate with context. props azaozz. see #19603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19829 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 18:37:53 +00:00
bumpbot
04a88d8671
Compress scripts/styles: 3.4-alpha-19827.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19827 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 01:16:30 +00:00
Andrew Nacin
ca343daf1c
Translate another http://wordpress.org/ link. see #19603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19823 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 20:16:58 +00:00
Andrew Nacin
b3aee653fd
Return an empty object properly. see #17242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19821 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 13:38:03 +00:00
Ryan Boren
80cc194365
Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19815 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-02 23:35:37 +00:00
bumpbot
1387e4e2a7
Compress scripts/styles: 3.4-alpha-19814.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19814 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:41:34 +00:00
Andrew Nacin
05c839608a
Don't create a variable we only use once. props niallkennedy, fixes #19941 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19812 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:33:43 +00:00
Jon Cave
5371356600
Pages must be paged (/page/x/) to allow for the page_for_posts option. See #19876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19810 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 19:19:32 +00:00
bumpbot
7dc4430f4f
Compress scripts/styles: 3.4-alpha-19805.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19805 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:43:00 +00:00
Andrew Nacin
2e0818c264
Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19803 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:37:52 +00:00
Andrew Nacin
25eac276df
Re-purpose wp_die() for ajax responses.
...
* Allows unit testing of core ajax actions.
* wp_die() now has separate filters to choose a handler depending on the context (ajax, XML-RPC, else).
* wp_die) in ajax context does not need to be called with a string. Conversion takes place before die().
props kurtpayne, see #15327 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19801 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 22:12:58 +00:00
bumpbot
701719af94
Compress scripts/styles: 3.4-alpha-19800.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19800 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 19:59:09 +00:00
Ryan Boren
52048ffa75
Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19799 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 18:26:07 +00:00
Ryan Boren
22784619f4
Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19798 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 17:45:22 +00:00
Andrew Nacin
bbec83ba02
Only set text_direction based on a locale being RTL if we successfully loaded a locale.mo file. Otherwise we may be in RTL land based on a WPLANG constant but nothing else. fixes #19924 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19797 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:30:36 +00:00
Andrew Nacin
d6886c9059
wptexturize() does not need to staticize variables it only uses to set up variables it needs statically. see #19602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19796 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:28:30 +00:00
Andrew Nacin
d87851514a
Allow the single quotes, apostrophes, and primes in wptexturize() to be translated. Allows replacements to be disabled by translating them back to " and '. fixes #19602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19795 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:06:32 +00:00
Ryan Boren
3d3073d095
Remove blog_id column from wp_options. Props scribu. fixes #17188
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19793 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:47:25 +00:00
Andrew Nacin
7f118d4b05
Load admin-$locale.mo in setup-config.php. see #19852 , see #18180 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19787 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:49:34 +00:00
Andrew Nacin
75b11699c1
Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440 . see #5517 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19784 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 19:56:33 +00:00
Jon Cave
6a7fe5b25c
Use new $args parameter for (WP_Rewrite::)add_permastruct(). Fixes #16092 .
...
Use array_intersect_key() to keep WP_Rewrite::$extra_permastructs free of unnecessary/unknown keys + values.
git-svn-id: https://develop.svn.wordpress.org/trunk@19779 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 21:00:59 +00:00
Jon Cave
e195032ff4
Redirect bare category URLs for permalink structures starting with %category%. Fixes #19876 .
...
When using a structure like /%category%/%postname%/ it might be thought that /uncategorized/
(missing the "/category/" base) results in the category archive. Previously this worked due to
$walk_dirs = true for the post permalink structure, but canonical didn't redirect it. Now
there is no rewrite rule to match => 404. The fix is to use a canonical redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@19778 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 20:40:55 +00:00
Peter Westwood
15e41d5879
Correct the datatype for the skip_frames argument in the phpDoc props Rarst.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19777 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 14:36:16 +00:00
Jon Cave
e6cbf0b4e6
Separated into 3 commits for good luck. See r19775.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19776 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:37:08 +00:00
Peter Westwood
dbc1c14868
Separating my commits so that my spelling mistakes are plain for everyone to see. Fix another mistake props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19775 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:32:55 +00:00
Peter Westwood
6538ad3d0c
Fix my spelling mistakes and typos in the wp_debug_backtrace_summary() phpDoc props duck_ see #19589 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19774 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:25:58 +00:00
Peter Westwood
b3a331887a
Refactor WPDB::get_caller() into wp_debug_backtrace_summary() and improve the functionality to provide enhanced context and a standardised default pretty format. Fixes #19589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19773 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 11:56:50 +00:00
Ryan Boren
4b5b2e4658
Load the new admin and network admin mo files, if present. see #19852
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19772 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 22:19:56 +00:00
Andrew Nacin
30889de384
Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19771 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 18:52:20 +00:00
Andrew Nacin
64ade9c31b
Docs for WP_Locale::is_locale_rtl( $locale ). see #18180 , see #19600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19761 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 21:20:19 +00:00
Andrew Nacin
2fd55c3df1
Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19760 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 20:34:27 +00:00
Jon Cave
c67d273f1f
Remove redundant logic from filter_SSL(). Props deltafactory. Fixes #19899 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19759 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 09:21:44 +00:00
Jon Cave
a981d2ad3a
Add the $query parameter to add_rewrite_tag() so that it matches WP_Rewrite::add_rewrite_tag(). Fixes #19871 .
...
Also rename some other parameters so that they all match.
git-svn-id: https://develop.svn.wordpress.org/trunk@19756 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 22:48:24 +00:00
Andrew Nacin
16cc855201
Initial support for RTL detection in core. props SergeyBiryukov for compiling the list. fixes #19600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19755 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 22:41:55 +00:00
Andrew Nacin
eb56e50088
Remove locale_vars from WP_Locale. Explicitly set the text_direction property from a global, not from an arbitrary list. see #19600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19754 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 22:29:33 +00:00
Jon Cave
0ac5563ac8
Improve the inline documentation of rewrite endpoints. See #16303 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19753 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 21:58:23 +00:00
Jon Cave
827e45d7fa
Improve documentation of WP_Rewrite. Fixes #19897 .
...
In particular WP_Rewrite::$front, WP_Rewrite::$root, WP_Rewrite::$use_verbose_page_rules and WP_Rewrite::generate_rewrite_rules(). As well as some code indentation prettification.
git-svn-id: https://develop.svn.wordpress.org/trunk@19752 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 21:44:02 +00:00
Peter Westwood
b285909d01
Update the documentation of wp_set_comment_status to match current functionality props solarissmoke.
...
The 'delete' status was removed in [11749] when the concept of a trash status was introduced for #4529 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19751 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 10:41:52 +00:00
Andrew Nacin
6c10676b18
s/thumbnail/post-thumbnail/. props PeteMall, fixes #19804 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19750 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:21:02 +00:00
Andrew Nacin
c647c3494d
Use get_blog_prefix() in another MU function. see #19891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19749 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:10:46 +00:00
Andrew Nacin
844dd38b8f
Use get_blog_prefix() in get_most_recent_post_of_user(). see #19891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19748 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:09:30 +00:00
Andrew Nacin
c8b1c822ce
Remove copy-pasted comment from upload_is_user_over_quota()'s phpdoc. It came from recurse_dirsize(). see #19879 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19747 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 23:54:24 +00:00
Andrew Nacin
838bb8c0c5
s/parem/param/. props Latz. fixes #19823 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19744 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 21:52:49 +00:00
Jon Cave
a9b6163795
Upgrade add_permastruct() to allow more control over WP_Rewrite::generate_rewrite_rules(). See #16092 .
...
The third argument is now a configuration array that mirrors the parameters of generate_rewrite_rules()
and allows for add_permastruct() specific args (i.e. with_front). The full configuration is stored in
WP_Rewrite::$extra_permastructs to be used by WP_Rewrite::rewrite_rules().
git-svn-id: https://develop.svn.wordpress.org/trunk@19743 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 18:27:18 +00:00