GithubHelp home page GithubHelp logo

microsoft / bing-wordpress-url-submission-plugin Goto Github PK

View Code? Open in Web Editor NEW
29.0 9.0 12.0 2.97 MB

WordPress plugin solution that WordPress website owners can install to notify Bing whenever their website contents is updated or created allowing instant crawling, indexing and discovery of their site content.

Home Page: https://wordpress.org/plugins/bing-webmaster-tools/

License: GNU General Public License v2.0

PHP 39.47% HTML 1.28% JavaScript 4.73% TypeScript 32.97% CSS 0.07% SCSS 21.13% Hack 0.35%
wordpress-plugin bing-webmaster

bing-wordpress-url-submission-plugin's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar nevalsar avatar pingal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bing-wordpress-url-submission-plugin's Issues

SVN structure of this plugin incorrect

I use WPackagist to managed our site's wordpress plugins via composer. I'd like to do the same with this plugin, but it looks like something is incorrect in SVN. Specifically, it might have an extra folder in the hierarchy that shouldn't be there.

WordPress database error

Hey,

Some recent database errors that reference the plugin:

[17-Dec-2021 10:17:18 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 for query SELECT COUNT(1) FROM ; made by deactivate_plugins, do_action('deactivate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, deactivate_bing_webmaster_url_submission, Bing_Webmaster_Deactivator::deactivate, QM_DB->query, apply_filters('query'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDropQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query
[17-Dec-2021 10:19:16 UTC] WordPress database error Table 'wp_db_name.wp_bwt_failed_submissions' doesn't exist for query SELECT COUNT(1) FROM wp_bwt_failed_submissions; made by activate_plugins, activate_plugin, do_action('activate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_bing_webmaster_url_submission, Bing_Webmaster_Activator::activate, Bing_Webmaster_Activator::add_failed_submissions_table, dbDelta, apply_filters('dbdelta_queries'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDBDeltaQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query
[17-Dec-2021 10:19:16 UTC] WordPress database error Table 'wp_db_name.wp_bwt_failed_submissions' doesn't exist for query SELECT COUNT(1) FROM wp_bwt_failed_submissions; made by activate_plugins, activate_plugin, do_action('activate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_bing_webmaster_url_submission, Bing_Webmaster_Activator::activate, Bing_Webmaster_Activator::add_failed_submissions_table, dbDelta, QM_DB->query, apply_filters('query'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDropQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query

"WSAL" is WP Activity Log.

This seems to be only on plugin deactivation/activation. If you need more data I can edit wpdb::print_error() and add a backtrace.

Can not submit API key

Hello, please can you help me to solve this one? When I submit the API key and hit the "Start using plugin" button nothing happens and I get the error in console: Uncaught (in promise) TypeError: Cannot read property 'length' of undefined at StartPage.tsx:21

Thank you very much in advance

Conflict with EDD

When trying to update a file I get this error in Easy Digital Downloads. You need to try/catch this so you don't break websites.

Fatal error: Uncaught Error: Can only throw objects in /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/utils/class-bing-url-submission-admin-routes.php:303 Stack trace: #0 /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/class-bing-url-submission-admin.php(178): Bing_Webmaster_Admin_Routes->submit_url_to_bwt('https://redux.i...', 'https://redux.i...', '0565c0ea6ba8421...', 'update', false) #1 /www/redux_896/public/wp-includes/class-wp-hook.php(287): Bing_Webmaster_Admin->on_post_published('publish', 'publish', Object(WP_Post)) #2 /www/redux_896/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /www/redux_896/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /www/redux_896/public/wp-includes/post.php(4667): do_action('transition_post...', 'publish', 'publish', Object(WP_Post)) #5 /www/redux_896/public/wp-includes/post.php(4054): wp_transition_post_status('publish', 'publish', Object(WP_Post)) #6 /www/redux_896/public/wp-includes/post.php( in /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/utils/class-bing-url-submission-admin-routes.php on line 303

Submits non-public URLs

A plugin I use uses a custom post type to save data. When the post is created Bing URL Submissions Plugin sends the URL of that post to Bing to be indexed. The URL returns 404 to the public.

Please test the URLs before submission with ~ wp_remote_head().

Otherwise the submission API quota is wasted.

I think this solves the ticket raised at: Random URL being submitted to Bing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.