Skip to content

Commit

Permalink
Remove Path Publicize UI
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftbj committed Sep 17, 2018
1 parent 58ec303 commit 1db90c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Binary file removed modules/publicize/assets/path-logo.png
Binary file not shown.
14 changes: 2 additions & 12 deletions modules/publicize/publicize-jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ function __construct() {
add_action( 'wp_ajax_publicize_facebook_options_page', array( $this, 'options_page_facebook' ) );
add_action( 'wp_ajax_publicize_twitter_options_page', array( $this, 'options_page_twitter' ) );
add_action( 'wp_ajax_publicize_linkedin_options_page', array( $this, 'options_page_linkedin' ) );
add_action( 'wp_ajax_publicize_path_options_page', array( $this, 'options_page_path' ) );
add_action( 'wp_ajax_publicize_google_plus_options_page', array( $this, 'options_page_google_plus' ) );

add_action( 'wp_ajax_publicize_tumblr_options_save', array( $this, 'options_save_tumblr' ) );
add_action( 'wp_ajax_publicize_facebook_options_save', array( $this, 'options_save_facebook' ) );
add_action( 'wp_ajax_publicize_twitter_options_save', array( $this, 'options_save_twitter' ) );
add_action( 'wp_ajax_publicize_linkedin_options_save', array( $this, 'options_save_linkedin' ) );
add_action( 'wp_ajax_publicize_path_options_save', array( $this, 'options_save_path' ) );
add_action( 'wp_ajax_publicize_google_plus_options_save', array( $this, 'options_save_google_plus' ) );

add_action( 'load-settings_page_sharing', array( $this, 'force_user_connection' ) );
Expand Down Expand Up @@ -265,7 +263,8 @@ function disconnect_url( $service_name, $id ) {
/**
* Get social networks, either all available or only those that the site is connected to.
*
* @since 2.0
* @since 2.0.0
* @since 6.6.0 Removed Path. Service closed October 2018.
*
* @param string $filter Select the list of services that will be returned. Defaults to 'all', accepts 'connected'.
*
Expand All @@ -277,7 +276,6 @@ function get_services( $filter = 'all' ) {
'twitter' => array(),
'linkedin' => array(),
'tumblr' => array(),
'path' => array(),
'google_plus' => array(),
);

Expand Down Expand Up @@ -631,10 +629,6 @@ function options_page_linkedin() {
Publicize_UI::options_page_other( 'linkedin' );
}

function options_page_path() {
Publicize_UI::options_page_other( 'path' );
}

function options_page_google_plus() {
Publicize_UI::options_page_other( 'google_plus' );
}
Expand All @@ -647,10 +641,6 @@ function options_save_linkedin() {
$this->options_save_other( 'linkedin' );
}

function options_save_path() {
$this->options_save_other( 'path' );
}

function options_save_google_plus() {
$this->options_save_other( 'google_plus' );
}
Expand Down

0 comments on commit 1db90c2

Please sign in to comment.