Commit Graph

4812 Commits

Author SHA1 Message Date
Sergey Biryukov
0fd35a7e7d Update phpdoc for get_permalink(). props tivnet. fixes #25115.
git-svn-id: https://develop.svn.wordpress.org/trunk@25077 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 22:12:01 +00:00
Scott Taylor
20fa8b87b4 Improve inline docs for function params that can be serialized when non-scalar. Fixes #18488.
git-svn-id: https://develop.svn.wordpress.org/trunk@25076 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 21:10:23 +00:00
Jon Cave
790f9feb68 Pass false returned for timed out transients through transient_$transient filter.
This brings the same behaviour as external object caches to the default database
backend.

Props johnbillion. Fixes #24685.


git-svn-id: https://develop.svn.wordpress.org/trunk@25075 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 19:13:35 +00:00
Andrew Nacin
d71f11bdd7 Remove sourceMappingURL from jquery.min.js.
props Jayjdk.
fixes #24994.



git-svn-id: https://develop.svn.wordpress.org/trunk@25072 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 15:40:35 +00:00
Dion Hulse
ead4efa78a Add a note that the FTP Password will not be stored on the server to the FTP credentials page. Fixes #16492
git-svn-id: https://develop.svn.wordpress.org/trunk@25071 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 07:06:12 +00:00
Dion Hulse
b4f0fbd985 Add a filter on the Plugin and Theme installers table listing API args, this allows for plugins to hook in and add custom args to plugins_api() and themes_api() for the Plugin/Theme listing tabls. Fixes #18169
git-svn-id: https://develop.svn.wordpress.org/trunk@25070 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 06:51:51 +00:00
Lance Willett
16415b2f94 Twenty Fourteen: load Genericons correctly, and add comments to other CSS enqueue calls. Props obenland, fixes #25085.
git-svn-id: https://develop.svn.wordpress.org/trunk@25068 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 18:09:51 +00:00
Lance Willett
b2150ba33b Twenty Fourteen: accessibility changes to add focus styles to match the hover style on tag links. Props sabreuse, see #25054.
git-svn-id: https://develop.svn.wordpress.org/trunk@25067 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:59:00 +00:00
Lance Willett
b3b1b66654 Twenty Fourteen: accessibility changes to fix the color contrast ratio in link text and a few other places (notably hovers and focus outlines). Props sabreuse, see #25054.
git-svn-id: https://develop.svn.wordpress.org/trunk@25066 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:58:07 +00:00
Lance Willett
cb64ad39d9 Twenty Fourteen: change to just one footer widget area and use Masonry JS to display the widgets in columns. Props Frank Klein, closes #24874.
git-svn-id: https://develop.svn.wordpress.org/trunk@25065 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:52:22 +00:00
Lance Willett
d2d79e5588 Twenty Fourteen: Focus search box on search menu click, props kovshenin for original patch. Fixes #24895.
git-svn-id: https://develop.svn.wordpress.org/trunk@25064 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:45:18 +00:00
Lance Willett
97049b9c3b Twenty Fourteen: ensure toolbar doesn't have a gap at the top when you start scrolling, including back compat for 3.6. Props MikeHansenMe and SergeyBiryukov, fixes #24914.
git-svn-id: https://develop.svn.wordpress.org/trunk@25063 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:41:16 +00:00
Lance Willett
d45e621a04 Twenty Fourteen: remove masthead-fixed class after window returns to top. Props cainm, fixes #25026.
git-svn-id: https://develop.svn.wordpress.org/trunk@25062 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:36:28 +00:00
Lance Willett
ca1926490c Twenty Fourteen: don't allow line-wrapping in the top-level navigation menu items. Props georgestephanis, fixes #24917.
git-svn-id: https://develop.svn.wordpress.org/trunk@25061 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:32:15 +00:00
Lance Willett
d5c62ed77d Twenty Fourteen: change IDs to classes in markup and CSS selectors. Props obenland, see #24858.
git-svn-id: https://develop.svn.wordpress.org/trunk@25060 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 17:30:18 +00:00
Andrew Nacin
8984b71035 Allow for plugin translations to be loaded from WP_LANG_DIR/plugins/$domain-$locale.mo.
props dimadin.
see #18200.



git-svn-id: https://develop.svn.wordpress.org/trunk@25059 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 12:33:07 +00:00
Dion Hulse
4049977b50 Correct a typo in a docblock in [25055]. Props buffler. See #16754
git-svn-id: https://develop.svn.wordpress.org/trunk@25058 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 07:09:35 +00:00
Dion Hulse
318a1c9c52 WP_Filesystem: Use the FTP_* path override constants during upgrades for prefixed paths, ie. use FTP_BASE for ABSPATH/sub-dir as well as just for ABSPATH/. Props vericgar for initial patch. See #14401
git-svn-id: https://develop.svn.wordpress.org/trunk@25057 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 06:46:37 +00:00
Dion Hulse
e4361d8f96 Check to see if mbstring.func_overload is configured to affect string functions before switching charsets. Props SergeyBiryukov. Fixes #25063
git-svn-id: https://develop.svn.wordpress.org/trunk@25056 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 06:23:48 +00:00
Dion Hulse
114974f156 Remove some PHP4-ness from the antispambot() function, and update it to match some modern coding standards. Props hakre and crrobi01 for initial patches. Fixes #16754
git-svn-id: https://develop.svn.wordpress.org/trunk@25055 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 06:07:50 +00:00
Dion Hulse
3bcbd35fd9 Simplify _deep_replace() by removing it's obscure looping and replacement checking logic, and instead, using the PHP5 $count parameter of str_replace(). Props hakre. Fixes #16903
git-svn-id: https://develop.svn.wordpress.org/trunk@25054 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 05:56:22 +00:00
Dion Hulse
cff05f9997 WP_HTTP: Curl: When using Stream-to-file on servers using mbstring.func_overload ensure that the file is written out correctly. Props DrProtocols. See #25061 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@25051 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-18 08:17:48 +00:00
Dominik Schilling (ocean90)
6262af65df Introduce save_post_{$post_type} hook.
The hook is fired before the general save_post hook and has the same args as save_post.

props bmb, SergeyBiryukov, ocean90, fixes #16176.

git-svn-id: https://develop.svn.wordpress.org/trunk@25050 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 20:20:24 +00:00
Dominik Schilling (ocean90)
b308cdbd87 Flush the cache in Recent Comments widget on edit_comment. props pento, fixes #24779.
git-svn-id: https://develop.svn.wordpress.org/trunk@25049 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 09:29:52 +00:00
Dion Hulse
c6e43f5327 WP_Upgrader: Don't activate maintenance mode in bulk_upgrade() when no Themes or Plugins are specified. This doesn't affect Core, but rather, plugins who use the upgrade routines and do not do precautionary tests. Props jamescollins. Fixes #24496
git-svn-id: https://develop.svn.wordpress.org/trunk@25048 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 05:35:17 +00:00
Dion Hulse
cd9e0814e6 Make use of the recursive option in mkdir() in wp_mkdir_p(). Avoids a bunch of silenced PHP Notices being logged. Fixes #23196
git-svn-id: https://develop.svn.wordpress.org/trunk@25047 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 03:08:50 +00:00
Dion Hulse
b5b118558e WP_HTTP: Cookies: When following redirects, include the request cookies in the redirected requests. Fixes #24987
git-svn-id: https://develop.svn.wordpress.org/trunk@25046 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 01:19:04 +00:00
Andrew Ozz
08eaf4e3dc In wp-login.php check if cookies are enabled before attempting to log the user in with wp_signon(), fixes #24961.
git-svn-id: https://develop.svn.wordpress.org/trunk@25045 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 01:00:25 +00:00
Dion Hulse
fcc9006ef5 WP_HTTP: Cookies: Fill the defaults for the Cookie object based on the current requested URL. Fixes #21182
git-svn-id: https://develop.svn.wordpress.org/trunk@25044 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 00:33:39 +00:00
Jon Cave
5be5a1412e Introduce a notoptions cache for site options.
Props wonderboymusic. Fixes #19008.


git-svn-id: https://develop.svn.wordpress.org/trunk@25043 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 22:41:23 +00:00
Andrew Nacin
7a2f69832e Twenty Eleven: Fix some mobile layout bugs on single post format view. props lancewillett, fixes #25019.
git-svn-id: https://develop.svn.wordpress.org/trunk@25042 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 21:14:40 +00:00
Andrew Nacin
09e8223871 Obey $prefix when $display = false in single_term_title(), single_post_title(), and post_type_archive_title(). props yoavf, fixes #16632.
git-svn-id: https://develop.svn.wordpress.org/trunk@25041 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:53:37 +00:00
Jon Cave
97dfd85d30 Search for wp-util.min.js in the correct directory when auto-defining SCRIPT_DEBUG.
See #24976, [25005].


git-svn-id: https://develop.svn.wordpress.org/trunk@25040 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:32:59 +00:00
Helen Hou-Sandi
becf161fb8 Make sure quick edited non-alternate list table rows don't become alternate. props mordauk. fixes #24951.
git-svn-id: https://develop.svn.wordpress.org/trunk@25039 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:18:31 +00:00
Andrew Nacin
81248f6568 In populate_network(), insert the first site as blog_id 1, overriding any auto-increment DB seed. props wpmuguru, fixes #16568.
git-svn-id: https://develop.svn.wordpress.org/trunk@25038 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:07:05 +00:00
Andrew Nacin
9aa5512e94 Add a function to return an empty string, for filters. props wpsmith, trepmal. fixes #20357.
git-svn-id: https://develop.svn.wordpress.org/trunk@25037 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:01:06 +00:00
Andrew Nacin
38b4ca010a send_origin_headers() in admin-post.php.
props nickdaugherty, fixes #24600.



git-svn-id: https://develop.svn.wordpress.org/trunk@25036 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:58:42 +00:00
Andrew Nacin
ea7196081f Add a maxlength attribute to the post password input, reflecting the current DB field length.\
props RayBernard, DrewAPicture.
see #24792.



git-svn-id: https://develop.svn.wordpress.org/trunk@25035 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:55:19 +00:00
Andrew Nacin
a1ff9555a9 Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261.
git-svn-id: https://develop.svn.wordpress.org/trunk@25034 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:53:50 +00:00
Andrew Nacin
a2008aa773 Return esc_url_raw(), not esc_url(), from get_blogaddress_by_domain(). props tlovett1, fixes #25057. #wcpvd
git-svn-id: https://develop.svn.wordpress.org/trunk@25033 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:41:59 +00:00
Ryan Boren
5125650b72 Be consistent with the arguments passed to the theme_action_links filter. Stop passing stylesheet from class-wp-ms-themes-list-table.php.
Props georgestephanis
fixes #24478


git-svn-id: https://develop.svn.wordpress.org/trunk@25032 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 15:46:08 +00:00
Helen Hou-Sandi
123b419481 Only set and run internal search for linking selected text if the panel is open. Make sure the focus is in the URL field whenever opening the linking modal to preserve previous behavior. props greuben. fixes #16276.
git-svn-id: https://develop.svn.wordpress.org/trunk@25031 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 21:43:29 +00:00
Ryan Boren
17267dd999 wp_get_shortlink() improvements.
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests

Props sillybean, layotte, cais
fixes #18632
see #14760



git-svn-id: https://develop.svn.wordpress.org/trunk@25030 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 20:08:06 +00:00
Helen Hou-Sandi
0de512789e Better align the x icons with tag names. props TobiasBg. fixes #25050.
git-svn-id: https://develop.svn.wordpress.org/trunk@25029 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 19:58:04 +00:00
Sergey Biryukov
6c3b030245 Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.
git-svn-id: https://develop.svn.wordpress.org/trunk@25028 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 16:24:08 +00:00
Helen Hou-Sandi
2225b6ff1f Make sure the close button in the Customizer still works after a refresh. props lessbloat. fixes #22682.
git-svn-id: https://develop.svn.wordpress.org/trunk@25027 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 13:48:05 +00:00
Sergey Biryukov
54f2629d52 Correct sort_column argument description for wp_page_menu(). props jakub.tyrcha, c3mdigital. fixes #16516.
git-svn-id: https://develop.svn.wordpress.org/trunk@25026 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 11:58:18 +00:00
Dion Hulse
b971127bac Remove the usage of @$_GET and @$_POST and just check to see if the indicies are set. Fixes #22429
git-svn-id: https://develop.svn.wordpress.org/trunk@25025 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 06:05:54 +00:00
Dion Hulse
51c3faba5d WP_Filesystem: Make WP_Filesystem_Base::search_for_folder() a bit more usable on the command-line when the $verbose mode is used, additionally, bail early from the function rather than repeating itself if the CWD is the root directory already.
git-svn-id: https://develop.svn.wordpress.org/trunk@25024 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 05:59:36 +00:00
Lance Willett
f330352fa3 Twenty Fourteen: second pass at matching code standards achieved with Twenty Thirteen development. See #24858, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@25023 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 00:24:27 +00:00
Andrew Ozz
615a38d183 TinyMCE: always use js/editimage.js in the custom 'editimage' plugin, same way as the default TinyMCE plugins. Fixes #24999.
git-svn-id: https://develop.svn.wordpress.org/trunk@25022 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 21:50:43 +00:00
Lance Willett
633e58960d Twenty Fourteen: first pass at matching code standards achieved with Twenty Thirteen development. See #24858, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@25021 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 16:38:01 +00:00
Dominik Schilling (ocean90)
bf8e3cab1e Remove unused cat JavaScript file. props carldanley. fixes #24989.
git-svn-id: https://develop.svn.wordpress.org/trunk@25020 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:43:03 +00:00
Jon Cave
38345135a1 Add javascript files deleted in [25013] to $_old_files. See #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25019 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:18:04 +00:00
Dominik Schilling (ocean90)
9d2282c26a Remove references to unused globals. props jeremyfelt. fixes #24984.
git-svn-id: https://develop.svn.wordpress.org/trunk@25018 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:00:37 +00:00
Dion Hulse
37c3399a0c WP_HTTP: Allow name => value pairs to be passed in to the 'cookie' parameter, simplifies plugin code when needing to specify basic cookies. Fixes #21999
git-svn-id: https://develop.svn.wordpress.org/trunk@25016 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-08 02:43:36 +00:00
Andrew Nacin
4483b947a4 Remove zero-byte files that were meant to be deleted in [23446]. see #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25013 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 17:43:50 +00:00
Peter Westwood
5891d79a14 Restore the for/id attributes in the post password for as they are necessary for accessibility tools. Fixes #18729.
git-svn-id: https://develop.svn.wordpress.org/trunk@25011 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 13:43:17 +00:00
Peter Westwood
2008bdf818 Make is much easier for a theme to style the Post Password form.
Fixes #18729 props philiparthurmoore for the original patches.


git-svn-id: https://develop.svn.wordpress.org/trunk@25010 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 11:49:57 +00:00
Peter Westwood
4d75b0f336 Use a CDATA second for comment authors in RSS2 comment feeds so that HTML in comments doesn't kill the XML validation.
Fixes #17767 props wonderboymusic, dzver.


git-svn-id: https://develop.svn.wordpress.org/trunk@25009 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 11:16:29 +00:00
Andrew Nacin
48678e21b9 SCRIPT_DEBUG is no longer needed when using develop.svn's src/ directory. see #24976.
git-svn-id: https://develop.svn.wordpress.org/trunk@25005 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 07:15:57 +00:00
Andrew Nacin
b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00