Skip to content
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

Fenriz07 0.5 dev #1555

Merged
merged 7 commits into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/inc/avatars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inc/avatars.php
.. php:function:: largo_has_gravatar()

Determine whether or not an author has a valid gravatar image
see: http://codex.wordpress.org/Using_Gravatars
see: https://codex.wordpress.org/Using_Gravatars

:param $email $tring: an author's email address

Expand Down
12 changes: 6 additions & 6 deletions docs/api/inc/helpers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ inc/helpers.php

:uses: largo_fb_url_to_username

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/personal_options_update
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/personal_options_update

.. php:function:: validate_fb_username()

Expand All @@ -56,7 +56,7 @@ inc/helpers.php
:param bool $update: whether this is a user update
:param object $user: a WP_User object

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/user_profile_update_errors
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/user_profile_update_errors

:since: 0.4

Expand Down Expand Up @@ -86,9 +86,9 @@ inc/helpers.php

:uses: largo_twitter_url_to_username

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/personal_options_update
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/personal_options_update

.. php:function:: validate_twitter_username()

Expand All @@ -101,7 +101,7 @@ inc/helpers.php

:uses: largo_twitter_url_to_username

:link: http://codex.wordpress.org/Plugin_API/Action_Reference/user_profile_update_errors
:link: https://codex.wordpress.org/Plugin_API/Action_Reference/user_profile_update_errors

:since: 0.4

Expand Down
2 changes: 1 addition & 1 deletion docs/api/inc/users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ inc/users.php

In a multisite network, allow site admins to edit user profiles

:link: http://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/
:link: https://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/

:since: 0.3

Expand Down
2 changes: 1 addition & 1 deletion docs/api/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ options.php

If you are making your theme translatable, you should replace 'options_framework_theme'
with the actual text domain for your theme. Read more:
http://codex.wordpress.org/Function_Reference/load_theme_textdomain
https://codex.wordpress.org/Function_Reference/load_theme_textdomain

.. php:function:: optionsframework_custom_scripts()

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@


# -- START Change the local theme
# @see http://docs.readthedocs.io/en/latest/theme.html
# @see https://docs.readthedocs.io/en/latest/theme.html

# on_rtd is whether we are on readthedocs.io
import os
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/childthemes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Child themes are `a feature of WordPress <https://largo.readthedocs.io/en/write-
Creating Child Themes
---------------------

In order to make it easier to upgrade to future versions of the Largo parent theme, you will want to add any customizations that are unique to your site by creating a child theme. WordPress has a `tutorial you can follow <http://codex.wordpress.org/Child_Themes>`_ that explains how to create and configure a child theme.
In order to make it easier to upgrade to future versions of the Largo parent theme, you will want to add any customizations that are unique to your site by creating a child theme. WordPress has a `tutorial you can follow <https://codex.wordpress.org/Child_Themes>`_ that explains how to create and configure a child theme.

NEVER modify the Largo parent theme directly, even to make small changes. It will make your life much harder when we release a new version because your changes are highly likely to be overwritten.

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/constants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The other constants

.. php:const:: INN_MEMBER

``INN_MEMBER`` indicates whether or not a WordPress site belongs to `a member of the Institute for Nonprofit News <http://inn.org/members/>`_.
``INN_MEMBER`` indicates whether or not a WordPress site belongs to `a member of the Institute for Nonprofit News <https://inn.org/members/>`_.

``INN_MEMBER`` is defined as true in ``functions.php`` if it is not otherwise defined and if ``INN_HOSTED`` is true. If ``INN_HOSTED`` is false, then ``INN_MEMBER`` will also be false unless ``INN_MEMBER`` is explicitly defined in ``wp_config.php`` or in the ``functions.php`` of a child theme.

Expand Down
4 changes: 2 additions & 2 deletions docs/developers/hooksfilters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ Template Hooks

Sometimes you may want to fire certain functions or include additional blocks of markup on a page without having to modify or override an entire template file.

WordPress allows you to define custom action hooks using the `do_action() <http://codex.wordpress.org/Function_Reference/do_action>`_ function like so: ::
WordPress allows you to define custom action hooks using the `do_action() <https://codex.wordpress.org/Function_Reference/do_action>`_ function like so: ::

do_action( 'largo_top' );

and then from functions.php in a child theme you can use the `add_action() <http://codex.wordpress.org/Function_Reference/add_action>`_ function to fire another function you define to insert markup or perform some other action when the do_action() function is executed, for example: ::
and then from functions.php in a child theme you can use the `add_action() <https://codex.wordpress.org/Function_Reference/add_action>`_ function to fire another function you define to insert markup or perform some other action when the do_action() function is executed, for example: ::

add_action( 'largo_top', 'largo_render_network_header' );

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Child Themes
What *is* a child theme?
````````````````````````

From the `WordPress Codex <http://codex.wordpress.org/Child_Themes>`_:
From the `WordPress Codex <https://codex.wordpress.org/Child_Themes>`_:

A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Setting up Largo and WordPress

7. First, install the Python dependencies.

We use a few Python libraries for this project, including `Fabric <http://www.fabfile.org>`_ which powers the INN deploy-tools to elegantly run `many common but complex tasks <https:/INN/deploy-tools/blob/master/COMMANDS.md>`_. In the `OS X setup guide <https:/INN/docs/blob/master/staffing/onboarding/os-x-setup.md>`_, you should have installed Python virtualenv and virtualenvwrapper.
We use a few Python libraries for this project, including `Fabric <https://www.fabfile.org>`_ which powers the INN deploy-tools to elegantly run `many common but complex tasks <https:/INN/deploy-tools/blob/master/COMMANDS.md>`_. In the `OS X setup guide <https:/INN/docs/blob/master/staffing/onboarding/os-x-setup.md>`_, you should have installed Python virtualenv and virtualenvwrapper.

Make sure you tell virtualenvwrapper where the umbrella is. ::

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/technicalnotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pluggable (overridable) Largo functions

Many of Largo's core functions are pluggable so you can write your own version of them by using the same function name in a child theme's ``functions.php``.

You can read up on how that works in the `WordPress codex section about child themes <http://codex.wordpress.org/Child_Themes>`_.
You can read up on how that works in the `WordPress codex section about child themes <https://codex.wordpress.org/Child_Themes>`_.

See: `Function Reference <../api/index.html>`_.

Expand Down
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Welcome to the Largo Project
============================

`Largo <http://largoproject.org>`_ is a responsive WordPress starter/parent theme built specifically with the needs of news publishers in mind and is built and maintained by the news apps and technology team at the `Institute for Nonprofit News (INN) <http://nerds.inn.org>`_.
`Largo <https://largo.inn.org/>`_ is a responsive WordPress starter/parent theme built specifically with the needs of news publishers in mind and is built and maintained by the news apps and technology team at the `Institute for Nonprofit News (INN) <http://nerds.inn.org>`_.

Questions? Comments? Send us an email at [email protected]

Expand All @@ -11,13 +11,13 @@ Technical Issues (Bugs, Feature Requests, etc.): https:/INN/Largo/is

Largo User Guides for Administrators, Authors, and Editors: https://largo.inn.org/guides/

Help Desk (Support Requests): http://support.largoproject.org
Help Desk (Support Requests): https://support.inn.org/

Knowledge Base: http://support.largoproject.org/support/solutions
Knowledge Base: https://support.inn.org/

User Forum: http://support.largoproject.org/support/discussions
User Forum: https://support.inn.org/

Twitter: http://twitter.com/largoproject
Twitter: https://twitter.com/largoproject

Mailing List: http://eepurl.com/yu0bT

Expand Down
10 changes: 5 additions & 5 deletions fonts/fontello/LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Font license info

Author: Dave Gandy
License: SIL ()
Homepage: http://fortawesome.github.com/Font-Awesome/
Homepage: https://fortawesome.github.com/Font-Awesome/


## Brandico

(C) 2012 by Vitaly Puzrin

Author: Crowdsourced, for Fontello project
License: SIL (http://scripts.sil.org/OFL)
License: SIL (https://scripts.sil.org/OFL)
Homepage:


Expand All @@ -24,7 +24,7 @@ Font license info
Copyright (C) 2012 by Daniel Bruce

Author: Daniel Bruce
License: CC BY-SA (http://creativecommons.org/licenses/by-sa/2.0/)
License: CC BY-SA (https://creativecommons.org/licenses/by-sa/2.0/)
Homepage: http://www.entypo.com


Expand All @@ -33,7 +33,7 @@ Font license info
Copyright (C) 2012 by Sam Collins

Author: Sam Collins
License: MIT (http://opensource.org/licenses/mit-license.php)
Homepage: http://zocial.smcllns.com/
License: MIT (https://opensource.org/licenses/mit-license.php)
Homepage: https://zocial.smcllns.com/


4 changes: 2 additions & 2 deletions fonts/fontello/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<html>
<head>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta charset="UTF-8"><style type="text/css">/*
* Bootstrap v2.2.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
Expand Down
4 changes: 2 additions & 2 deletions fonts/fontello/font/fontello.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* Largo functions and definitions
*
* When using a child theme (see http://codex.wordpress.org/Theme_Development and
* http://codex.wordpress.org/Child_Themes), you can override certain functions
* When using a child theme (see https://codex.wordpress.org/Theme_Development and
* https://codex.wordpress.org/Child_Themes), you can override certain functions
* (those wrapped in a function_exists() call) by defining them first in your child theme's
* functions.php file. The child theme's functions.php file is included before the parent
* theme's file, so the child theme functions would be used.
Expand All @@ -24,7 +24,7 @@
* }
* </code>
*
* For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API.
* For more information on hooks, actions, and filters, see https://codex.wordpress.org/Plugin_API.
*
* @package Largo
*/
Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
echo ' | ' . 'Page ' . max( $paged, $page );
?>
</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="profile" href="https://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
if ( is_singular() && get_option( 'thread_comments' ) )
Expand Down
2 changes: 1 addition & 1 deletion img/is-video-play-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions inc/avatars.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/**
* Determine whether or not an author has a valid gravatar image
* see: http://codex.wordpress.org/Using_Gravatars
* see: https://codex.wordpress.org/Using_Gravatars
*
* @param $email string an author's email address
* @return bool true if a gravatar is available for this user
Expand All @@ -20,7 +20,7 @@ function largo_has_gravatar( $email ) {
return (bool) $cache_value;
}

$uri = 'http://www.gravatar.com/avatar/' . $hash . '?d=404';
$uri = 'https://www.gravatar.com/avatar/' . $hash . '?d=404';
$response = wp_remote_head( $uri );
if ( 200 == wp_remote_retrieve_response_code( $response ) ) {
$cache_value = '1';
Expand Down
2 changes: 1 addition & 1 deletion inc/avatars/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function largo_add_avatar_field($user) {
if (empty($image_src) && largo_has_gravatar($user->user_email)) {
echo get_avatar($user->ID);
echo '<br />';
_e('Currently using Gravatar. Change at <a href="http://gravatar.com/">gravatar.com</a> or choose a different image below.', 'largo');
_e('Currently using Gravatar. Change at <a href="https://gravatar.com/">gravatar.com</a> or choose a different image below.', 'largo');
} ?>
</p>

Expand Down
24 changes: 12 additions & 12 deletions inc/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function largo_dashboard_widgets_nonmember() {
function largo_dashboard_network_news() {
echo '<div class="rss-widget">';
wp_widget_rss_output( array(
'url' => 'http://feeds.feedburner.com/INNArticles',
'url' => 'https://feeds.feedburner.com/INNArticles',
'title' => __( 'INN Network News', 'largo' ),
'items' => 1,
'show_summary' => 1,
Expand All @@ -72,9 +72,9 @@ function largo_dashboard_quick_links() {
<ul>
<li><a href="https://largo.inn.org/">Largo Project Website</a></li>
<li><a href="https://largo.readthedocs.io/">Largo Documentation</a></li>
<li><a href="https://support.inn.org">Help Desk</a></li>
<li><a href="https://support.inn.org/support/solutions">Knowledge Base</a></li>
<li><a href="mailto:[email protected]">Contact Us</a></li>
<li><a href="https://support.inn.org/">Help Desk</a></li>
<li><a href="https://support.inn.org/">Knowledge Base</a></li>
</ul>
<p>Developers can also log issues on <a href="https:/INN/Largo">our public github repository</a> and if you would like to be included in our Largo users\' group, <a href="http://inn.us1.list-manage1.com/subscribe?u=81670c9d1b5fbeba1c29f2865&id=913028b23c">sign up here</a>.</p>
</div>
Expand Down Expand Up @@ -117,23 +117,23 @@ function largo_dash_admin_menu( $wp_admin_bar ) {
$wp_admin_bar->add_node( $args );

// Main Website
$args = array( 'id' => 'website', 'title' => 'Main Website', 'href' => 'http://largoproject.org/', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'website', 'title' => 'Main Website', 'href' => 'https://largo.inn.org//', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Documentation
$args = array( 'id' => 'largo_docs', 'title' => 'Documentation', 'href' => 'http://largo.readthedocs.io/', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'largo_docs', 'title' => 'Documentation', 'href' => 'https://largo.readthedocs.io/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Knowledge Base
$args = array( 'id' => 'knowledge_base', 'title' => 'Knowledge Base', 'href' => 'http://support.largoproject.org/support/solutions', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'knowledge_base', 'title' => 'Knowledge Base', 'href' => 'https://support.inn.org/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Member Help Desk
$args = array( 'id' => 'support', 'title' => 'Help Desk', 'href' => 'http://support.largoproject.org', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'support', 'title' => 'Help Desk', 'href' => 'https://support.inn.org/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Member Forums
$args = array( 'id' => 'user_forums', 'title' => 'Community Forums', 'href' => 'http://support.largoproject.org/support/discussions', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'user_forums', 'title' => 'Community Forums', 'href' => 'https://support.inn.org/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Largo on GitHub
Expand All @@ -145,22 +145,22 @@ function largo_dash_admin_menu( $wp_admin_bar ) {
$wp_admin_bar->add_node( $args );

// INN Nerds
$args = array( 'id' => 'inn_nerds', 'title' => 'INN Nerds', 'href' => 'http://nerds.inn.org', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'inn_nerds', 'title' => 'INN Nerds', 'href' => 'https://labs.inn.org/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// About INN
$args = array( 'id' => 'about_inn', 'title' => 'About INN', 'href' => 'http://inn.org', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'about_inn', 'title' => 'About INN', 'href' => 'https://inn.org', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

// Donate
$args = array( 'id' => 'donate_inn', 'title' => 'Donate', 'href' => 'https://inn.org/donate', 'parent' => 'largo_admin_mega' );
$args = array( 'id' => 'donate_inn', 'title' => 'Donate', 'href' => 'https://inn.org/donate/', 'parent' => 'largo_admin_mega' );
$wp_admin_bar->add_node( $args );

}

// add a credit line to the admin footer
function largo_admin_footer_text( $default_text ) {
return '<span id="footer-thankyou">This website powered by <a href="http://largoproject.org">Project Largo</a> from <a href="http://inn.org">INN</a> and <a href="http://wordpress.org">WordPress</a>.</span>';
return '<span id="footer-thankyou">This website powered by <a href="https://largo.inn.org/">Project Largo</a> from <a href="https://inn.org/">INN</a> and <a href="https://wordpress.org">WordPress</a>.</span>';
}
add_filter( 'admin_footer_text', 'largo_admin_footer_text' );

Expand Down
Loading