Commit Graph

490 Commits

Author SHA1 Message Date
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Rami Yushuvaev 4375618438 i18n context functions (#12156)
* Replace some context function with translation comments

* Remove two more context function

* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00
Rami Yushuvaev fec057c993 Use get_admin_page_title() function to display admin titles (#12077)
*  Use get_admin_page_title() function to display admin titles

* revert

* i18n: use sprintf() in translation strings
2016-10-13 13:34:48 -03:00
Rami Yushuvaev b8f2f29d5a Remove deprecated admin screen icons (#12074) 2016-10-12 10:57:24 -03:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Jonathan Belcher 45739697e0
Change Add-ons to Extensions within the admin 2016-10-05 14:25:28 -04:00
Matty d037c4a3f2 Ensures any checks for 'woothemes.com' in logic also check for 'woocommerce.com'. 2016-09-28 12:19:58 +02:00
Jonathan Belcher 1d066234d5
[feature] Add ons screen update 2016-09-26 15:45:10 -04:00
Claudio Sanches be029374ce Fixed coding standards 2016-09-13 18:24:21 -03:00
rspublishing 2526ba49a8 Replace WooThemes.com with WooCommerce.com 2016-09-13 13:47:40 +02:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos 6ac7f03241 Generic.Formatting.DisallowMultipleStatements.SameLine 2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos 9543c7fe1c WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis 2016-08-27 07:29:49 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos 6c30f84fa2 WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys 2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley 0667c1cde1 Remove option based tools 2016-08-24 17:35:13 +01:00
Mike Jolley 169780d31b woocommerce-message--success
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions

Closes #11722
2016-08-22 18:41:38 +01:00
Claudio Sanches 47177667aa Removed internal scroll from log viewer, closes #11729 2016-08-19 18:48:49 -03:00
Mike Jolley 3b0af0c54b Merge pull request #11670 from woothemes/fix-reports-custom-daterange
Reports: Clean up custom date range UI
2016-08-12 10:36:48 +01:00
kellychoffman f41321fb27 input length: increased to 11 2016-08-11 15:59:25 -06:00
corsonr 51060807c4 remove un-necessary slashes 2016-08-11 16:07:40 +02:00
rspublishing f3956131bf Copy update in setup wizard 2016-08-11 08:40:12 +02:00
kellychoffman 9a7b391b74 custom date: add en dash, larger inputs, no hidden text 2016-08-10 10:35:42 -06:00
Justin Shreve 8df6ff3c7b Convert wp-admin's system status page to use the same backend code as the API. 2016-08-03 10:50:47 -07:00
Mike Jolley d756b9c7ba Merge branch 'pr/11337'
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:44:00 +01:00
Mike Jolley 922ba0337f Fix removal and tweak buttons 2016-08-02 14:42:27 +01:00
Mike Jolley 3c1f5e5e46 Tweak geoip instruction
Closes #11587
2016-08-02 14:06:48 +01:00
Claudio Sanches 63a570f161 [2.6] Display proper screen render text for custom range reports, closes #11543 2016-07-27 16:16:54 -03:00
Justin Shreve de603974d4 Only hide MySQL (when is_mysql is set) if MariaDB is found in the version string. 2016-07-25 10:43:27 -07:00
Justin Shreve 9b2ae1827d Remove unneccessary ver variable. We already display using wpdb's db_version 2016-07-25 10:29:27 -07:00
Justin Shreve dbba5c7bbc Remove "MySQL" string check on version, which was preventing the MySQL version from displaying on the system status report. Version #s don't seem to include "MySQL" in them anymore so the check would prevent the block from being shown. 2016-07-25 10:29:27 -07:00
Mike Jolley 00d5eedda2 Merge pull request #11483 from jobthomas/hotfix-geolite-notice
Hotfix geolite notice
2016-07-22 13:57:13 +02:00
Claudio Sanches 56f4efc8e3 Merge pull request #11469 from corsonr/status_report_db_prefix
Add database prefix to status report
2016-07-20 17:09:50 -03:00
corsonr b825b0b943 removed un-necessary esc_html 2016-07-20 14:43:41 +02:00
Job 614cd520ba Updated error message
To not cause extra problems for the maxmind team, added better
explanation on which file to download.
2016-07-20 11:51:32 +02:00
corsonr c2eb7f50ca display error if prefix longer than 20 2016-07-19 14:47:36 +02:00
corsonr eab45222a4 fixed parse error 2016-07-19 14:13:31 +02:00
corsonr c385e57fbe added esc_html() and conditional statement 2016-07-19 14:11:09 +02:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
corsonr 06e8c7e6de Add database prefix to status report 2016-07-19 09:12:06 +02:00
Claudio Sanches 7d9d091767 Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
toddlahman 4b5af40536 add button to delete any log file 2016-07-04 17:10:17 -07:00
Mike Jolley 02f8e12ed5 Remove h1 and legacy icon, switch to nav element
Closes #11296
2016-06-30 08:39:04 +01:00
Mike Jolley 931660038a Update debug mode wording
Closes #11258
2016-06-27 12:28:46 +01:00
Mike Jolley b1d4ce3276 Only show mysql notice if mysql in version string
Closes #11254
2016-06-27 12:23:47 +01:00
Mike Jolley 6fc6e07c46 Added link to force DB update if cron is disabled.
@claudiosmweb
2016-06-15 11:07:12 +01:00
Claudio Sanches 831ab7411d Merge jobs adjust-campaign-tags branch 2016-06-13 12:14:35 -03:00
Mike Jolley 34f2bd683e Prevent update notice appearing twice
@claudiosmweb
2016-06-13 12:44:19 +01:00
Mike Jolley 1185333b56 Move legacy API code into WC_Legacy_API
@claudiosmweb to keep legacy api separated from the new REST API code.
2016-06-07 11:03:16 +01:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Shiva Poudel 00cc3711ac Minor tweaks and JSHint ignore for update notice script 2016-06-06 23:05:10 +05:45
Claudio Sanches 4b65b10923 s/CURL/cURL 2016-06-05 16:07:46 -03:00
Mike Jolley ebc913da38 Notice tweaks 2016-06-03 12:28:27 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley ddae9d3722 Split update notice text 2016-05-26 15:00:22 +01:00
Mike Jolley 62712c1648 Fix maxmind label 2016-05-25 12:05:33 +01:00
Ryan Ray b57da86dee Made a tiny adjustment to the order of words and formatting. The sentence is a bit shorter and clearer (to me) now. 2016-05-12 14:22:48 -04:00
Mike Jolley 44bca2633e Notice HTML 2016-05-11 14:22:21 +01:00
Mike Jolley a8bd4bc6e1 Updating/updated notices 2016-05-11 12:43:35 +01:00
Allen Snook 98a15d52d7 Changed action name to avoid potential filter collision 2016-05-09 13:42:27 -07:00
Allen Snook 920f2a7809 Check against tabs list before considering action 2016-05-06 11:38:10 -07:00
Allen Snook 58a04a1922 Add filtering for system status page tabs and actions too 2016-05-06 11:27:56 -07:00
Lee Willis e5b4932495 Fix typo 2016-04-28 13:35:11 +01:00
Mike Jolley e21313a237 Check for is_mysql
Closes #10793
2016-04-27 12:03:52 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00
Claudio Sanches 505dfd7672 Fixed i18n functions 2016-04-22 14:08:44 -03:00
Mike Jolley 9a3aa8e498 Further woocommerce_termmeta removal 2016-04-22 17:43:07 +01:00
Shiva Poudel 8fd8c58aaa Change Codex docs to https support 2016-04-22 00:26:15 +05:45
Mike Jolley 0425ad5060 Check for set but non existing pages
Closes #10758
2016-04-21 12:23:50 +01:00
Mike Jolley c1a8d6742f Note when WC.php is used in theme
Closes #10741
2016-04-20 10:37:54 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley 8e0e9a0cc2 Deprecate Simplify in favour of feature plugin 2016-04-19 13:14:13 +01:00
Job c93b16bd05 Updated campaign tags
* Source: setupwizard, helptab, addons, notice (took the terms already
used in WC core and deleted all dashes)
* Medium: product
* Content: videos, docs, storefront, themecompatibility, wcthemes,
wcextensions, about, newsletter, tickets, apidocs (+ different content
for every reference in addons tab)
* Campaign: woocommerceplugin
2016-04-19 11:32:45 +02:00
Mike Jolley 3fcc68e2f8 Replace http hrefs with https
Closes #10716
2016-04-18 11:58:12 +01:00
Matty 79fe8508c8 Adjusts all Google Analytics tags to be lowercase. 2016-04-14 18:30:25 -04:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 00ba45512e Merge branch 'shipping-wizard-removal' 2016-04-01 11:20:14 +01:00
Mike Jolley 082a3bc2c9 Change system status nav markup 2016-04-01 10:53:30 +01:00
Mike Jolley bfadb22c7c Added notice when no methods exist 2016-03-31 18:54:33 +01:00
Mike Jolley c757fd9940 Merge branch 'shipping-zone-modals'
# Conflicts:
#	assets/css/admin.css
#	assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Mike Jolley cb27af14c4 Status page geoip database 2016-03-30 13:11:26 +01:00
Mike Jolley 687d4be0bf Case 2016-03-29 19:51:09 +01:00
Mike Jolley 975c360ae3 Tweak icons and blank slate text 2016-03-29 19:37:02 +01:00
Mike Jolley dc635771e8 System status: Output CURL version
@claudiosmweb Might be good for 2.5 too
2016-03-29 14:27:37 +01:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley 34767ebe0c Bump min recommended requirements to 5.6 2016-03-16 12:42:57 +00:00
Mike Jolley 0ac7b23a1c Use one save button and add classname
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley e22d324be4 Add notice for legacy shipping zones after update 2016-03-15 15:58:03 +00:00
Mike Jolley 2d2c64d2ab Change heading and tab markup
Closes #10515
2016-03-10 12:52:20 +00:00
Shiva Poudel 1a9f30d7e1 Simplify the copy-error message in system status 2016-03-09 01:04:41 +05:45
Shiva Poudel 3111ecf8e8 Remove WP 4.2 emojis prefix in system status report 2016-03-08 23:32:39 +05:45
Mike Jolley f7f26b192b Don't affect log when generating log text 2016-03-08 13:24:19 +00:00
James Koster 69c9ab0345 Use Dashicons on system status page. #9791 2016-03-08 10:21:06 +00:00
Mike Jolley 2a98607532 Remove log dir from debug
@mattyza
2016-03-07 13:16:39 +00:00
James Koster 5d7f95fa7f Update the Storefront banner to include the new logo. closes #10313 2016-03-07 11:36:07 +00:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Justin Shreve 4c560e4da6 Merge pull request #10462 from justinshreve/clipboard-fail-10450
Provide help if clipboard copying fails (Safari or zeroclipboard issue) in wp-admin
2016-03-03 02:48:42 -08:00
Shiva Poudel e0a99751f8 Blank target for links in theme suport notice 2016-03-03 15:53:12 +05:45
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Justin Shreve defff6c5a9 Add the payment token tables to the database status report. 2016-03-01 11:49:40 -08:00
Shiva Poudel 162e6f874e Tweak some lines endings for views 2016-02-23 14:56:02 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Mike Jolley 8d391e86e6 Merge pull request #10370 from BFTrick/system-status-private
Adding Check in System Status for Private WooCommerce Pages
2016-02-19 12:40:49 +00:00
Patrick Rauland abfce2dea9 removing html from translatable string in system status. see #10370 2016-02-18 11:52:12 -07:00
Patrick Rauland 14ffeaa2a3 making post_status check in system status literal. See #10370 2016-02-18 11:46:03 -07:00
Justin Shreve 4c498336fe Fix up some minor coding standards issues 2016-02-18 08:40:02 -08:00
Justin Shreve cfe39073a3 Fix headings on the add-ons/extensions screens 2016-02-18 08:39:02 -08:00
Justin Shreve d28c4f4f39 Fix hierarchy in the system status pages. 2016-02-18 08:39:02 -08:00
Justin Shreve 608f651133 Fix hierarchy on settings screens. 2016-02-18 08:39:02 -08:00
Justin Shreve 6d683b7492 Fix up hierarchy on all of the generated report screens. 2016-02-18 08:39:02 -08:00
Patrick Rauland dae216104e adding check for private WooCommerce pages 2016-02-17 10:06:28 -07:00
Justin Shreve ff95d880bd Add shipping zone tables to the database status report 2016-02-11 10:24:11 -08:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley 1eebb19899 [2.5] Wrap report in backtick to stop people breaking .org forums
Before @jdembowski runs out of coffee
2016-02-05 09:55:51 +00:00
Claudio Sanches 1626d29414 Fixed coding standards and improved code for #10070 2016-01-21 19:38:15 -02:00
Nicola Mustone ff82b623bd invert signs 2016-01-14 11:09:30 +01:00
Nicola Mustone 03e3f7ca3d better wording 2016-01-14 10:51:56 +01:00
Nicola Mustone f457d1c453 use the correct constant 2016-01-14 10:42:57 +01:00
Nicola Mustone 9499d561d3 add WP_CRON to the system status 2016-01-14 08:01:22 +01:00
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +00:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 8ebba9cc68 "enabled" column 2015-12-16 16:24:58 +00:00
Mike Jolley e13ba4f029 Empty states 2015-12-16 15:37:40 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley bf362de020 worldwide methods 2015-12-16 13:38:03 +00:00
Mike Jolley d8f96f4dc9 zones empty state 2015-12-15 19:10:41 +00:00
Mike Jolley 44b2834d73 Worldwide zones needs handling 2015-12-15 17:54:51 +00:00
Mike Jolley e25d876779 List and sort methods within zones 2015-12-15 17:48:03 +00:00
Mike Jolley 05783272a2 Merge branch 'exensible-addons-screen' 2015-12-15 16:41:56 +00:00
Mike Jolley f48f09ebdf Fix zone links 2015-12-15 16:35:33 +00:00
Mike Jolley 6cea054fca Method list screen and method screen with breadcrumbs 2015-12-11 14:11:12 +00:00
Luan Cuba 9a52cc3abd It should be "character" instend of "charactrer". 2015-12-10 17:51:50 -02:00
Mike Jolley 66d4065ae4 postcode saving 2015-12-10 18:33:59 +00:00
Mike Jolley 4893db3afe tweak js 2015-12-10 17:47:14 +00:00
Mike Jolley 0e2bfa551c wc-shipping-zone-postcodes 2015-12-10 17:29:09 +00:00
Mike Jolley d859b6f2f9 remove trs 2015-12-10 17:27:25 +00:00
Mike Jolley 4557157890 List regions 2015-12-10 17:07:18 +00:00
Mike Jolley cf5381083d Started on zone regions selector 2015-12-10 15:09:37 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches 586b656d07 Better translate strings for #9799 2015-12-09 12:11:48 -02:00
Claudio Sanches 5653f63275 Added Multibyte String in System Status
Closes #9789

cc @mikejolley
2015-12-08 14:38:36 -02:00
Mike Jolley 56f274b68b non-functional Mockup for the shipping zones interface 2015-12-08 12:45:18 +00:00
Mike Jolley 177892b9c3 Refactored the addons screens to use new json files 2015-12-03 13:38:13 +00:00