Coder Social home page Coder Social logo

post-connector-core's People

Contributors

barrykooij avatar coenjacobs avatar rarst avatar remyvv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

post-connector-core's Issues

Fix notice on creating new connection

Backtrace from warning 'Trying to get property of non-object' at /vagrant/post-connector/wp-includes/post.php 2187:

/vagrant/post-connector/wp-includes/post.php 5483 calling _count_posts_cache_key()
calling _transition_post_status()
/vagrant/post-connector/wp-includes/plugin.php 470 calling call_user_func_array()
/vagrant/post-connector/wp-includes/post.php 3664 calling do_action()
/vagrant/post-connector/wp-includes/post.php 3199 calling wp_transition_post_status()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-connection-manager-core.php 34 calling wp_insert_post()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-connection-manager-core.php 271 calling add()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-admin-menu.php 117 calling save()
calling handle_post()
/vagrant/post-connector/wp-includes/plugin.php 470 calling call_user_func_array()
/vagrant/post-connector/wp-admin/admin.php 144 calling do_action()
Backtrace from warning 'Trying to get property of non-object' at /vagrant/post-connector/wp-includes/post.php 2187:

/vagrant/post-connector/wp-includes/post.php 5483 calling _count_posts_cache_key()
calling _transition_post_status()
/vagrant/post-connector/wp-includes/plugin.php 470 calling call_user_func_array()
/vagrant/post-connector/wp-includes/post.php 3664 calling do_action()
/vagrant/post-connector/wp-includes/post.php 3199 calling wp_transition_post_status()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-connection-manager-core.php 34 calling wp_insert_post()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-connection-manager-core.php 271 calling add()
/vagrant/post-connector/wp-content/plugins/post-connector-premium/core/classes/class-admin-menu.php 117 calling save()
calling handle_post()
/vagrant/post-connector/wp-includes/plugin.php 470 calling call_user_func_array()
/vagrant/post-connector/wp-admin/admin.php 144 calling do_action()
Backtrace from warning 'Cannot modify header information - headers already sent' at /vagrant/post-connector/wp-includes/pluggable.php 1121

Extra title for (auto) displaying parent posts

Example: I want to use this plugin for displaying companies and cars, so I make a connection between companies post type and cars post type. I set the title for "Cars" and I enable automatic display for both parent and child posts.

In this case the list of cars are displayed on the company post with the title "Cars", which is perfect. But when I go to a car post I see the link backward to the company with the title "Cars" again, which makes no sense here.

It would be better to have 2 titles, 1 for the parent post and 1 for the child posts.

Title `Post Connector:` translation

In admin https://github.com/barrykooij/post-connector-core/blob/master/classes/class-admin-menu.php#L181 and https://github.com/barrykooij/post-connector-core/blob/master/classes/class-admin-menu.php#L244 you could add localization to the string Post Connector:. I'm suggesting with : to differentiate from other strings with just Post Connector as menu label and plugin title that you might not want to localize.

You would just need to add the _e() function as<?php echo _e( 'Post Connector:', 'post-connector' ); ?>

I can pull this if you want.

Thanks.

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.