New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace links from the WordPress News to the ClassicPress Blog #248
Conversation
…the Dashboard widget, #40
Explanation of my comments above: we shouldn't translate our site URLs, since they will be available in English only for the time being. Previously: ClassicPress/ClassicPress-v1#193 Apart from that, this PR looks good as a first step. 👍 |
Thanks for reviewing, @nylen! Gettext functions now removed from URLs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, and for the quick update! I'll merge this after the automated tests pass.
Thanks! |
* petitions: (21 commits) Travis fix for JSLint Style new ally HTML tab JSLint error fix Use the right ally markup Use the right ally markup jshint fix - Strings must use singlequote Add transient key to save the internet with cache Add transient key to save the internet with cache Fixing tab spacing Fix Spacing & Comment Remove CP Naming Add Dashboard petitions widget Add Petitions Dashboard widget Renovate[bot]: Update dependency autoprefixer to v9.4.0 (ClassicPress#256) Renovate[bot]: Update Node.js to v10.14.1 (ClassicPress#252) Change dashboard news from WordPress News to the ClassicPress Blog (ClassicPress#248) Renovate[bot]: Update Node.js to v10.14.0 (ClassicPress#251) Renovate[bot]: Update dependency webpack to v4.26.1 (ClassicPress#249) Bump source version to 1.0.0-beta1+dev Fix upgrades from ClassicPress to ClassicPress ...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Description
Replaces links from the WordPress News to the ClassicPress Blog in the News widget on the Dashboard.
Changes number of fetching items from 1 to 5.
Motivation and context
This is an early step of implementation ClassicPress/ClassicPress-v1#236. A small change to make news links consistent.
According to comment ClassicPress/ClassicPress-v1#236
How has this been tested?
Needs to clear the transient cache before testing.
Or alternatively, comment out a block of code:
ClassicPress/src/wp-admin/includes/dashboard.php
Lines 985 to 988 in 3d68141
Types of changes
Checklist: