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
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
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
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
bumpbot
1ad8b7a376
Compress scripts/styles: 3.4-alpha-19955.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19955 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-20 00:30:57 +00:00
Andrew Nacin
d219e90d41
Update wp-tinymce.js.gz.
...
* Plugins are now sorted alphabetically during concatenation, to ensure consistent generation.
* Key tinymce/wp-tinymce.js.gz off the revision number, rather than the date.
see #19592 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19953 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-19 01:54:02 +00:00
Andrew Nacin
4e770c210c
Update TinyMCE mark loaded src. see #19592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19952 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-19 01:46:48 +00:00
Andrew Ozz
c033588e1d
FIx charset in minified file, see #19592
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19951 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 22:06:17 +00:00
Andrew Nacin
5fff43429f
Add reminder to version the Press This bookmarklet link in case breaking changes are made in the future. fixes #20071 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19949 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 18:46:15 +00:00
bumpbot
a3f45a4d1c
Compress scripts/styles: 3.4-alpha-19948.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19948 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 08:00:17 +00:00
Andrew Ozz
89efacf68c
Revert [19946], bumpbot may need to be UTF-8 aware.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19947 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 07:48:56 +00:00
bumpbot
95cee51167
Compress scripts/styles: 3.4-alpha-19946.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19946 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 07:00:26 +00:00
Andrew Ozz
402c8c302d
Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19945 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 06:43:47 +00:00
bumpbot
af7e8999c8
Compress scripts/styles: 3.4-alpha-19939.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19939 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 05:00:52 +00:00
Andrew Nacin
c4f71a65a4
Don't try to load the visual editor for Amazon's Silk browser (Kindle Fire), as it doesn't work. Add in a sunrise clause for WebKit build 534. see #20012 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19936 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 00:21:00 +00:00
Andrew Nacin
ee01523b96
Deprecate ancient "debugging" tools.
...
* logIO() and the global $xmlrpc_logging in XML-RPC.
* log_app() and the global $app_logging in APP.
* debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19935 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 00:02:42 +00:00
Andrew Nacin
f7441d78e9
Combine two identical case statements.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19933 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-16 15:42:02 +00:00
Andrew Nacin
e413239e0a
Use is_admin WP_Query propery, not is_admin(), when adding protected post statuses to the query. Allows for overriding on the parse_query hook. fixes #20049 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19932 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 19:58:10 +00:00
bumpbot
3189f43063
Compress scripts/styles: 3.4-alpha-19931.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19931 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 19:27:20 +00:00
Jon Cave
35eae452e8
Taxonomy rewrite generation when turning on permalinks, r18443 for taxonomies. Props SergeyBiryukov. Fixes #19794 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19930 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 17:30:37 +00:00
Jon Cave
3f8ae63a88
Remove old show_last_update/include_last_update_time/show_date code from category template functions. Props solarissmoke. Fixes #19953 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19927 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 16:46:01 +00:00
Ryan Boren
ee5aae19ef
Set post password cookies via an action in wp-login.php. Retire wp-pass.php (one less root file). Obey login ssl preferences for post password form submission. Props SergeyBiryukov. fixes #19798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19925 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:29:22 +00:00
Ryan Boren
2c83196cff
Update phpdoc for wp_mime_type_icon(). Props SergeyBiryukov, mitchoyoshitaka. fixes #16604
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19924 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:12:01 +00:00
Ryan Boren
f7abac6c21
Properly redirect to install.php when visiting wp-login.php with a config file but no db. Props SergeyBiryukov. fixes #18397
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19923 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:08:45 +00:00
Ryan Boren
4ccc748312
Use site_url() to construct the cron url. Props SergeyBiryukov. see #13449
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19922 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:53:35 +00:00
Ryan Boren
021c55798e
Split the main WP_Query posts query into two queries to avoid temp tables. Leverage cache to avoid second query in persistent cache environments. Props scribu, cheald, prettyboymp. see #18536
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19918 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 15:09:35 +00:00
Ryan Boren
362ef00fc4
Disallow changing the post type in mw_editPost(). see #18429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19914 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 21:01:55 +00:00
Jon Cave
aeff5194b5
Stop WP_Editor from outputting TinyMCE external plugins/languages multiple times. Props Cyapow. Fixes #19648 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19913 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 18:05:04 +00:00
Andrew Ozz
5c1c053485
Add the editor ID and the post type (when available) as classes to the TinyMCE's body, fixes #19437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19912 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 07:22:45 +00:00
Andrew Nacin
682c9bd310
Make sure we are using the admin-ajax handler when we call wp_die() for WP_Ajax_Response. see #20024 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19911 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-12 19:02:07 +00:00
Andrew Nacin
52838cbf4d
Docs, see ##19882.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19910 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:49:56 +00:00
Andrew Nacin
1995262477
Allow get_comment_meta() to be called with only a comment ID, something get_metadata() allows. Same functionality as get_user_meta() and get_post_meta(). see #19882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19909 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:44:30 +00:00
Andrew Nacin
c8f498046f
Allow get_post_meta() to be called with only a post ID, as get_metadata() handles this. props scribu, fixes #19882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19908 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:42:54 +00:00
Andrew Nacin
9f6709c599
Use correct reference in regex. props danielbachhuber, fixes #20018 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19907 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:28:37 +00:00
Jon Cave
dd9c09eff5
Make get_post_custom() a wrapper of get_post_meta() so that it works when cache addition is suspended and to simplify it.
...
Props leewillis77 for the initial patch. Fixes #19708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19906 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:00:37 +00:00
Ryan Boren
4d6b3dd997
Remove unnecessary cap check in wp_newPage(). mw_newPost() will handle it. Props nprasath002. fixes #19981
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19905 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 20:49:27 +00:00
bumpbot
c9d2c7c7d3
Compress scripts/styles: 3.4-alpha-19904.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19904 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 18:30:49 +00:00
Jon Cave
8229caa7c4
Add @since and @access tag to _split_str_by_whitespace(). Props ocean90. See #16892 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19900 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:57:21 +00:00
Jon Cave
ffa81a1b1e
Improve efficiency of make_clickable(). Props mdawaffe. Fixes #16892 .
...
Not only does this improve general performance, but also helps to prevent
segfaults caused by malicious input to the regular expression. The regular
expression is also simplified to help readability and maintenance.
git-svn-id: https://develop.svn.wordpress.org/trunk@19899 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:42:15 +00:00
bumpbot
a0aee53ab4
Compress scripts/styles: 3.4-alpha-19898.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19898 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 09:00:50 +00:00
Mark Jaquith
54ab38d9ed
Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19897 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 08:45:17 +00:00
bumpbot
4e7b7683d2
Compress scripts/styles: 3.4-alpha-19896.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19896 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:30:50 +00:00